1882469_en-US

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

1882469_en-US

1882469_en-US

S32k314 GPIO setting inputbuffer and outputbuffer error

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


Re: S32k314 GPIO setting inputbuffer and outputbuffer error

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

Re: S32k314 GPIO setting inputbuffer and outputbuffer error

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 .


Re: S32k314 GPIO setting inputbuffer and outputbuffer error

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

Re: S32k314 GPIO setting inputbuffer and outputbuffer error

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

Re: S32k314 GPIO setting inputbuffer and outputbuffer error

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



Re: S32k314 GPIO setting inputbuffer and outputbuffer error

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 

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 09:55 PM
Updated by: