i2c: repeated Start condition in S32K312

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i2c: repeated Start condition in S32K312

524 次查看
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 项奖励
回复
1 回复

462 次查看
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 项奖励
回复