Inquiry S32K148 LPI2C0 slave setup

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Inquiry S32K148 LPI2C0 slave setup

ソリューションへジャンプ
1,655件の閲覧回数
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,646件の閲覧回数
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,647件の閲覧回数
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,640件の閲覧回数
my_tesla
Contributor I

Hi Daniel,

Thank you for your support!

0 件の賞賛
返信