Reset I2C Bus | ESP32
Posted: Thu Jan 06, 2022 8:31 am
Hi,
Do we have any function to Reset the I2C bus only?
There are four different sensors are connected to my ESP32 I2C line. If any one of the sensors not working then to read the other sensor's value I need to reset the I2C bus. Now I'm resetting the complete module by calling the software reset function(esp. reset()).
Instead of resting ESP, I want to reset only the I2C bus line.
Do we have any function to Reset the I2C bus only?
There are four different sensors are connected to my ESP32 I2C line. If any one of the sensors not working then to read the other sensor's value I need to reset the I2C bus. Now I'm resetting the complete module by calling the software reset function(esp. reset()).
Instead of resting ESP, I want to reset only the I2C bus line.