Changing TRDC configuration for GPIO2

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Changing TRDC configuration for GPIO2

186 次查看
deepshika_borundiya
Contributor III

I am trying to control GPIO_IO16 from M core on GPIO2. To do so, I'll have to chane configurations of SM: mx95evk.cfg, scmi.h and tdrc.h. However, I am unable to identify PAC of GPIO2 in TRDC headerfile. 

0 项奖励
回复
2 回复数

103 次查看
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @deepshika_borundiya 

Have you tried updating the pin_mux.c file?

 

Those are the possible mux for GPIO_IO16:

Manuel_Salas_0-1761152198217.png

 

In your iomux file:

IOMUXC_SetPinMux(IOMUXC_PAD_GPIO_IO16__GPIO2_IO_BIT16, 0U);

 

Best regards,

Salas.

0 项奖励
回复

87 次查看
deepshika_borundiya
Contributor III

Hi @Manuel_Salas ,

I am a little new to this domain and I might be wrong here. However, these files are for A55's Linux kernel. I am trying to control GPIO_IO16 from M7, via Zephyr RTOS. For that, I'll have to move the resource using SM's configuration and header files (mx95evk.cfg, config_scmi.h, config_trdc.h). Please let me know if there is any other way to going about this along with detailed steps that need to be followed.

Thanks,
Deepshika

0 项奖励
回复