ConfigTool Pins Tool does not set GPIO outputs

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

ConfigTool Pins Tool does not set GPIO outputs

ソリューションへジャンプ
2,220件の閲覧回数
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 解決策
2,192件の閲覧回数
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 返答(返信)
2,193件の閲覧回数
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,189件の閲覧回数
anakha
Contributor III
That's works, thanks a lot
0 件の賞賛
返信