Changing TRDC configuration for GPIO2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Changing TRDC configuration for GPIO2

132件の閲覧回数
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 返答(返信)

49件の閲覧回数
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 件の賞賛
返信

33件の閲覧回数
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 件の賞賛
返信