Inquiry S32K148 LPI2C0 slave setup

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

Inquiry S32K148 LPI2C0 slave setup

跳至解决方案
1,648 次查看
my_tesla
Contributor I

Hi NXP community,

I would like to use the lpi2c0 interface on my S32K148 microcontroller and set it up as a slave. But in the examples library in the S32DS IDE I only found an exampe code for lpi2c1.Is there an example code I can use or is it possible to change the lpi2c1 code to lpi2c0?
Any help or ideas are much appreciated!

Best regards

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

Hi,

Just change the module

danielmartynek_0-1615896409890.png

Enable the LPI2C0 pins:

danielmartynek_1-1615896472400.png

And generate the code:

danielmartynek_2-1615896521869.png

 

Regards,

Daniel

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,640 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Just change the module

danielmartynek_0-1615896409890.png

Enable the LPI2C0 pins:

danielmartynek_1-1615896472400.png

And generate the code:

danielmartynek_2-1615896521869.png

 

Regards,

Daniel

 

0 项奖励
回复
1,633 次查看
my_tesla
Contributor I

Hi Daniel,

Thank you for your support!

0 项奖励
回复