S32k314 GPIO setting inputbuffer and outputbuffer error

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

S32k314 GPIO setting inputbuffer and outputbuffer error

跳至解决方案
2,632 次查看
Alex_hsu
Contributor II

S32DS version: S32DS3.5

RTD version: RTD 4.0.0

We are currently encountering some problems during the development of S32K314. When using "mex" to configure the GPIO output buffer, it is set to enable, but it seems to be disabled in the generated code. What could be the cause of this?

This issue is not limited to one or two GPIOs. It seems that other communication pins are also experiencing similar problems. Are there any relevant solutions or information regarding this issue?

mex pin setting:

Alex_hsu_1-1717656643685.png

 

gen code:

Alex_hsu_2-1717656784083.png

 

Alex_hsu_0-1717656550752.png

 

标记 (3)
0 项奖励
回复
1 解答
2,577 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Alex_hsu,

By default, all pins with Grey ticked in Pins tool is routed already, user don't need to add these pins to configuration pins list.

Julin_AragnM_0-1717791965313.png

I suggest removing all PowerAndGround out of pins list, as it already routed.

Best regards,
Julián

在原帖中查看解决方案

0 项奖励
回复
6 回复数
2,599 次查看
Alex_hsu
Contributor II

I define all the 172 pins

Alex_hsu_0-1717721886401.png

Alex_hsu_1-1717721901892.png

Alex_hsu_2-1717721921927.png

Alex_hsu_3-1717721955873.png

Alex_hsu_4-1717721971655.png

and here's the powerandground pin define setting

Alex_hsu_5-1717722011689.png

 

 

0 项奖励
回复
2,578 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Alex_hsu,

By default, all pins with Grey ticked in Pins tool is routed already, user don't need to add these pins to configuration pins list.

Julin_AragnM_0-1717791965313.png

I suggest removing all PowerAndGround out of pins list, as it already routed.

Best regards,
Julián

0 项奖励
回复
2,500 次查看
Alex_hsu
Contributor II

It seems like that solved the problem, but why the error occurred?

0 项奖励
回复
2,461 次查看
Alex_hsu
Contributor II

Hi after without setting the power and ground pins the other pins looks fine,

but still 2 pins setting is error.

Alex_hsu_0-1718347891875.png

This raises my concern about whether there might be other errors generated in the gen code by S32DS3.5 .

 

0 项奖励
回复
2,451 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Alex_hsu,

Please make sure either the Peripheral OSC or Peripheral PG groups are not declared either, as re-declaring already routed pins cause this issue.

Best regards,
Julián

0 项奖励
回复
2,611 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Alex_hsu,

Could you share your pin configuration? Are you enabling by chance the PowerAndGround dedicated group? How many pins are being configured? 

Best regards,
Julián 

0 项奖励
回复