Read / Write gpio

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

Read / Write gpio

跳至解决方案
750 次查看
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 项奖励
回复
1 解答
743 次查看
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

在原帖中查看解决方案

2 回复数
744 次查看
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

738 次查看
Sanchita_Kochar
Contributor II

Thank you so much!!!

0 项奖励
回复