I2c clock line low for unusually long time without client clock stretch

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

I2c clock line low for unusually long time without client clock stretch

1,616 次查看
sathishkumars
Contributor III

I2c clock line low for unusually long time (10ms) between a block read operation, and client times-out on the i2c transaction. We have checked with a series resistor close to client to see if client is stretching the clock, but client is not.
And there are no other clients on this bus. What are the circumstances that SoC introduces so much latency. Attached is a snapshot of i2c trace captured.

0 项奖励
回复
1 回复

1,540 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Sathishkumar S,

  Please tell me what the kinetis chip you are using? Is it I2C master or slave?

  From your wave, you can find the clock is also sent after 10ms:

pastedImage_1.png

So, this phenomena should caused by your code, it seems your I2C send process is interrupt by other things which have higher priority.

Please double check your code process.

Wish it helps you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复