s32k-324 Gpio driver to Read/Write on registers

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

s32k-324 Gpio driver to Read/Write on registers

跳至解决方案
1,278 次查看
Sanchita_Kochar
Contributor II

Can I please get the gpio driver to read from registers and write to registers for S32K-324?

0 项奖励
回复
1 解答
1,255 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

The RTD drivers in the S32DS IDE have graphic configuration tool which allows you to configure the pins, etc.

Then, you just need to initialize the drivers in the code.

There are APIs for that.

Again, please refer to the examples.

 

Regards,

Daniel

 

 

 

在原帖中查看解决方案

3 回复数
1,257 次查看
Sanchita_Kochar
Contributor II

How to Configure a pad for use as general purpose output.?

 

0 项奖励
回复
1,256 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

The RTD drivers in the S32DS IDE have graphic configuration tool which allows you to configure the pins, etc.

Then, you just need to initialize the drivers in the code.

There are APIs for that.

Again, please refer to the examples.

 

Regards,

Daniel

 

 

 

1,264 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Sanchita_Kochar,

There are RTD drivers for S32K324 (S32 Design Studio 3.4 IDE)

https://www.nxp.com/design/automotive-software-and-tools/real-time-drivers-rtd:AUTOMOTIVE-RTD

Refer to the following examples (The IP drivers are not compatible with Autosar, the rest of it is).

danielmartynek_0-1674118045908.png

 

Let me know if you have any questions,

 

BR, Daniel