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?
已解决! 转到解答。
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