Read / Write gpio

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

Read / Write gpio

Jump to solution
604 Views
Sanchita_Kochar
Contributor II

For S32K324,

how to write on gpio ?

how to read from gpio?

1 or 0, logic high or logic low

0 Kudos
1 Solution
597 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

simple code using direct SIUL2 register

PetrS_0-1673006116471.png

If you would like to use RTD then refer to https://www.nxp.com/webapp/Download?colCode=06_S32K3XX_PINS_AND_CLOCKS_WITH_RTD_TRAINING and/or refer to e.g. Siul2_Dio_Ip_Example_S32K344 in the S32DS

BR, Petr

View solution in original post

2 Replies
598 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

simple code using direct SIUL2 register

PetrS_0-1673006116471.png

If you would like to use RTD then refer to https://www.nxp.com/webapp/Download?colCode=06_S32K3XX_PINS_AND_CLOCKS_WITH_RTD_TRAINING and/or refer to e.g. Siul2_Dio_Ip_Example_S32K344 in the S32DS

BR, Petr

592 Views
Sanchita_Kochar
Contributor II

Thank you so much!!!

0 Kudos