S32k314 GPIO setting inputbuffer and outputbuffer error

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

S32k314 GPIO setting inputbuffer and outputbuffer error

Jump to solution
692 Views
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

 

Tags (3)
0 Kudos
Reply
1 Solution
637 Views
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

View solution in original post

0 Kudos
Reply
6 Replies
659 Views
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 Kudos
Reply
638 Views
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 Kudos
Reply
560 Views
Alex_hsu
Contributor II

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

0 Kudos
Reply
521 Views
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 Kudos
Reply
511 Views
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 Kudos
Reply
671 Views
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 Kudos
Reply