127 bytes available bug
nseidle opened this issue · 4 comments
Could this issue be related to a mechanism of the u-blox GPS referred to as clock stretching. An I2C slave is allowed to hold down the clock if it needs to reduce the bus speed. The master on the other hand is required to read back the clock signal after releasing it to high state and wait until the line has actually gone high.
Does Artemis support slaves that make use of clock stretching?
Artemis does support clock stretching. I believe you can see the ublox module stretching the lock in the image in the OP:
I believe it's something else internal to the ZED but I can't pin it down.
Further thoughts:
- I've seen similar behavior with the SAM-M8Q.
- I see fewer issues like this on the ATmega328 based systems but not zero
There was a similar issue in the nodeRED firmware, maybe this workaround can be applied.
nodemcu/nodemcu-firmware#1586
I haven't seen this bug in awhile. I think it's mostly been taken care of with the recent lib changes.



