RH sensor's I2C bus is stuck

by <a href="http://community.silabs.com/t5/Welcome-and-Announcements/Community-Ranking-System-and-Recognition-Program/m-p/140490#U140490"><font color="#000000"><font size="2">Genius Employee</font></font> </a> Daniel_H on ‎07-05-2016 10:25 AM

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.