lancaster-university / microbit-dal

http://lancaster-university.github.io/microbit-docs
Other
256 stars 130 forks source link

I2C Clock held low for 70 ms after slave NAK #444

Closed AndyEngland521 closed 4 years ago

AndyEngland521 commented 5 years ago

Any time the slave NAKs, the microbit will hold the clock line low for 70ms. The Data line goes high during this period, which means that a stop condition is never sent. This can be seen when the microbit communicates with onboard I2C sensors as well as external sensors, some slaves can deal with this issue, and just wait for the next start condition, but for many it is detrimental.