Inquiry S32K148 LPI2C0 slave setup

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

Inquiry S32K148 LPI2C0 slave setup

Jump to solution
1,685 Views
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 Kudos
Reply
1 Solution
1,676 Views
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

 

View solution in original post

0 Kudos
Reply
2 Replies
1,677 Views
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 Kudos
Reply
1,670 Views
my_tesla
Contributor I

Hi Daniel,

Thank you for your support!

0 Kudos
Reply