- Joined
- Aug 11, 2018
- Messages
- 677
- Reaction score
- 1,123
I'm still working through this to try to get it reliable at 100 KHz. As it turns out, rpi doesn't really support clock stretching, so I occasionally see a bad reading. The cause seems to be rpi reading the floating line after an ACK as a 1. It occurs less than 1% of the time, but that's enough to cause a problem.
I think some more optimizations in the I2C interrupt may be able to resolve this. If not, it looks like I'll have to switch to a different mcu.
I think some more optimizations in the I2C interrupt may be able to resolve this. If not, it looks like I'll have to switch to a different mcu.


