i2c: repeated Start condition in S32K312

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

i2c: repeated Start condition in S32K312

371 Views
kelly716716
Contributor I

Dear NXP Support Team,

We would like to inquire about an issue regarding i2c, and we greatly appreciate your assistance.

Our Environment:
Compiler: S32DS3.5
MCU: S32K312
SDK: RTD4.0.0

The issue at hand involves I2C data transmission, where we aim to achieve repeated Start condition. However, based on our logic analyzer readings(as shown in the attached picture), we observe that while we are sending data, we are not receiving any data. We have referred to information available on forums (https://community.nxp.com/t5/MCUXpresso-SDK/I2C-repeated-Start-condition-using-fsl-i2c-freertos/td-p...). Therefore, we would like to ask if your company has provided support for this functionality so far.

We sincerely appreciate your assistance in addressing this matter.

Thank you.

Best regards,
Kelly

0 Kudos
1 Reply

309 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Kelly,

The Lpi2c_Ip_MasterSendDataBlocking() should be called with SendStop = 0, so that the Lpi2c_Ip_MasterReceiveDataBlocking() that follows can start with a repeated start condition.

danielmartynek_0-1708420665700.png

 

Regadrs,

Daniel

 

0 Kudos