Question

The sensor’s I2C bus is stuck. How can this be fixed?

Answer

A common error when there is noise or a host that is not robust is that the sensor can get in a state where it is driving SDA low expecting to be sending data and the host thinks it is sending data with SDA high. This creates bus contention and can hang the bus. In this case of bus contention, we recommend that the host clocks SCL until SDA is released and then sends a stop and new start.

  • Sensors
  • Knowledge Base Articles
  • Humidity Sensors