ConfigTool Pins Tool does not set GPIO outputs

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

ConfigTool Pins Tool does not set GPIO outputs

跳至解决方案
442 次查看
anakha
Contributor III

Hi,

I encounter an issue with pin configuration at S32. I am testing some features of S32K344 without using Autosar (non-autosar). SDK (RTD) version is 3.0.0.

I noticed that Pins Tool in Configuration Tool (CT) is generating GPIO outputs as disabled as seen at below. Other outputs, such as CAN Tx are OK. 

Due to this, initializing pins with below line is not set these GPIO pins as output.

Siul2_Port_Ip_Init(NUM_OF_CONFIGURED_PINS0, g_pin_mux_InitConfigArr0);

I need to config selected pin as output. 

Siul2_Port_Ip_SetOutputBuffer(PORTE_H_HALF, 1,	TRUE, PORT_MUX_AS_GPIO);		// set CAN4 STB E17

 

I manually change code in "Siul2_Port_Ip_Cfg" but it is re-updated when I changed something in CT. 

There is only one board configuration so it is not mixed or re-used.

 

Is this normal or am I missing something?

What Pins Tool does if I need to configure all GPIOs as input or output?

Screenshot 2024-01-18 131543.png

 

0 项奖励
回复
1 解答
414 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @anakha,

Did you add any PowerAndGround or other pins that are routed by default to the project?

If so, can you remove it? There is no point in adding these pins.

 

Regards,

Daniel

 

 

在原帖中查看解决方案

2 回复数
415 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @anakha,

Did you add any PowerAndGround or other pins that are routed by default to the project?

If so, can you remove it? There is no point in adding these pins.

 

Regards,

Daniel

 

 

411 次查看
anakha
Contributor III
That's works, thanks a lot
0 项奖励
回复