I2C on STM32L151CC dies intermittently
I have a tilt sensor KX112 connected to the STM32L151CC on I2C2. It seems to work fine but at times the I2C bus comes up as busy and the sensor cannot be read. Rebooting the board solves the problem for a while but it crops up again. I am running th...