AnsweredAssumed Answered

I2C clock stretching with LS1020a

Question asked by Ben Gilsrud on Apr 24, 2017
Latest reply on Apr 25, 2017 by Serguei Podiatchev

We are having some issues with how the LS1020a handles (or rather, doesn't handle) clock stretching with a particular i2c slave device. Sections 25.6.4.2-3 of the LS1021A reference manual seem to indicate that the i2c hardware in the LS1020a supports clock stretching only after the 9th bit...which I take to mean the ACK/NAK bit.

 

The i2c slave that is clock stretching is a microcontroller that one of our vendors implements the firmware for. Previously, this slave device was stretching during the ACK/NAK. The LS1020a was obviously not honoring this and we attributed it to the fact that the ls1020a only supports clock stretching *after* the ACK bit. So, we asked the vendor to only stretch after the ACK to workaround this issue. Unfortunately, this doesn't seem to help since the LS1020a continues to ignore the slave's clock stretching.

 

I'll add scope captures that show both of the events that I mentioned.

 

Is this expected? Does the LS1020a support clock stretching? If so, under what conditions?

 

Thanks,

Ben

Outcomes