You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
208: Updating I2C to wait for STOP to be sent before returning r=therealprof a=ryan-summers
This PR updates the I2C driver to properly wait for the STOP condition to finish transmitting before returning for i2c write and read.
This is necessary to prevent a race condition on the peripheral. If another transaction is started fast enough (before the STOP condition can be sent), it is possible that the I2C state will be mismanaged.
This fixes#207
I have tested this on a local hardware setup using a large fan of I2C devices where rapid I2C writes and reads are completed in a loop as part of a self test
Co-authored-by: Ryan Summers <[email protected]>
0 commit comments