S32k314 GPIO setting inputbuffer and outputbuffer error

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

S32k314 GPIO setting inputbuffer and outputbuffer error

ソリューションへジャンプ
2,624件の閲覧回数
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,569件の閲覧回数
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,591件の閲覧回数
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,570件の閲覧回数
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,492件の閲覧回数
Alex_hsu
Contributor II

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

0 件の賞賛
返信
2,453件の閲覧回数
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,443件の閲覧回数
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,603件の閲覧回数
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 件の賞賛
返信