Adafruit-MCP23017-Arduino-Library icon indicating copy to clipboard operation
Adafruit-MCP23017-Arduino-Library copied to clipboard

GPIO7 bug hacking

Open siteswapjuggler opened this issue 11 months ago • 4 comments

Concerning this warning

Some people have reported an undocumented bug that can potentially corrupt the I2C bus. It occurs if an MCP230XX input pin state changes during I2C readout. This should be very rare. For more information, see this forum post and this knowledge base article.

It may appear that you can bypass this problematic by using the software interrupt and the interrupt capture register. Doing so you simulate a buffer that avoid the real time change bug which affect the SDA line.

Just a thought by now that I've to test, but first I have to found a solution to replicate the bug efficiently.

siteswapjuggler avatar Jul 20 '23 16:07 siteswapjuggler