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

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

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

724 Views
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 Kudos
Reply
1 Reply

648 Views
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 Kudos
Reply