ConfigTool Pins Tool does not set GPIO outputs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ConfigTool Pins Tool does not set GPIO outputs

Jump to solution
779 Views
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 Kudos
Reply
1 Solution
751 Views
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

 

 

View solution in original post

2 Replies
752 Views
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

 

 

748 Views
anakha
Contributor III
That's works, thanks a lot
0 Kudos
Reply