S32K396 DIO Config not working

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

S32K396 DIO Config not working

跳至解决方案
654 次查看
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 解答
638 次查看
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 回复
639 次查看
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