S32K312 I2C SyncTransmit example

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

S32K312 I2C SyncTransmit example

403 Views
kjy106906
Contributor IV

I find I2C example only about I2c_AsyncTransmit. (SW32K3_RTD_4.4_2.0.0, I2c_TS_T40D34M20I0R0)

Is there an example about I2c_SyncTransmit?

 

Thank you

Tags (1)
0 Kudos
1 Reply

390 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @kjy106906,

There is no such example.

But the I2c_AsyncTransmit() function can be replace with the I2c_SyncTransmit() function.

Then, there is no need for the I2c_GetStatus() while loop.

 

Regards,

Daniel

 

 

0 Kudos