LpI2C set slave address

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

LpI2C set slave address

Jump to solution
324 Views
jetty_1012
Contributor II

Hello,

(1) Do I need to call the API Lpi2c_Ip_MasterSetSlaveAddr to set slave address everytime before I want to send data through LpI2C?

(2) It seems that slave address has been configured through S32DS. So if I call Lpi2c_Ip_MasterInit for initialization, slave address will be set to default value which has been configured in S32DS, am I right?

jetty_1012_0-1696732657693.jpeg

 

Thanks.

Tags (1)
0 Kudos
1 Solution
306 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@jetty_1012

yes, Lpi2c_Ip_MasterSetSlaveAddr will be called in Lpi2c_Ip_MasterInit.

Senlent_0-1696743557100.png

 

View solution in original post

0 Kudos
1 Reply
307 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@jetty_1012

yes, Lpi2c_Ip_MasterSetSlaveAddr will be called in Lpi2c_Ip_MasterInit.

Senlent_0-1696743557100.png

 

0 Kudos