5 ms·
For exactly that reason, I've encountered peripherals getting stuck during i2c transactions far too many times. At least a handful of times I've had to add boot
by uep 7y ago
For exactly that reason, I've encountered peripherals getting stuck during i2c transactions far too many times. At least a handful of times I've had to add boot (and sometimes runtime) logic to clear stuck transactions, due to the lack of a dedicated way to reset said peripheral.
It's quite annoying because one stuck device can block all other communication on the bus. Let's hope your reset pin (if you have it), isn't on an i2c expander on the same i2c bus.
- fra 7y agoFor what it's worth, here is a good doc on I2C resets: https://www.analog.com/media/en/technical-documentation/application-notes/54305147357414AN686_0.pdf https://www.analog.com/media/en/technical-documentation/appl...