S32K396 DIO Config not working

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

S32K396 DIO Config not working

ソリューションへジャンプ
645件の閲覧回数
agus_idiada
Contributor III

Hello,

I am using S32K396-BGA-DC1 board, with Simulink in matlab2024a.

After solving this topic S32K396-DIO-from-example-LED-D34 I want to configure two more DIO pins as outputs.

The thing is that the new configured pins PTC30 & PTD6 that are on the FlexIO pinout are not working for me. I may be missing something in the configuration but I don't know what else to touch.

Can you please help me with this issue, I attached the modified project.

Thanks, Agustin.

0 件の賞賛
返信
1 解決策
629件の閲覧回数
dragostoma
NXP Employee
NXP Employee

Hi, @agus_idiada,

I'm glad to hear that you solved the previous issue related to the custom project selection. Now referring to the pins problem, I highly recommend you check out the following Community thread, where the PortPins tabs connection is explained.

I took a look at the attached application, and I can say that you correctly configured the PTD6 and PTC30 pins in the Dio tab. Moreover, the pins are correctly set in the Pins tab too, under the Dio_Pins_MBDT functional group.

dragostoma_0-1725280218550.png

But what I think your application configuration is missing are the settings in the Port tab. Based on the above thread where the Port and Pins correlation is detailed, you must configure the desired pins in the Port tab too.

dragostoma_1-1725280552049.png

dragostoma_2-1725280616469.png

After correctly set the pins, you should be able to use them in your application project.

 

Hope this helps,

Dragos

元の投稿で解決策を見る

1 返信
630件の閲覧回数
dragostoma
NXP Employee
NXP Employee

Hi, @agus_idiada,

I'm glad to hear that you solved the previous issue related to the custom project selection. Now referring to the pins problem, I highly recommend you check out the following Community thread, where the PortPins tabs connection is explained.

I took a look at the attached application, and I can say that you correctly configured the PTD6 and PTC30 pins in the Dio tab. Moreover, the pins are correctly set in the Pins tab too, under the Dio_Pins_MBDT functional group.

dragostoma_0-1725280218550.png

But what I think your application configuration is missing are the settings in the Port tab. Based on the above thread where the Port and Pins correlation is detailed, you must configure the desired pins in the Port tab too.

dragostoma_1-1725280552049.png

dragostoma_2-1725280616469.png

After correctly set the pins, you should be able to use them in your application project.

 

Hope this helps,

Dragos