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.
Reset I2C Bus | ESP32
-
- Posts: 63
- Joined: Wed Mar 06, 2019 4:39 am
- Contact:
-
- Posts: 63
- Joined: Wed Mar 06, 2019 4:39 am
- Contact:
Re: Reset I2C Bus | ESP32
Any update?
Re: Reset I2C Bus | ESP32
Are you even talking about the ESP32? You say to have used an ESP.reset() in the ESP32; but this exists only in the ESP8266. The ESP32 only has a ESP.restart(), which may also give problems, see this posting: viewtopic.php?f=19&t=25324
Re the I2C - Reset: AFAIK there is no command to do that. Cycling the SCL clock 9 times is one frequent suggestion, but I have no idea how to do that within the ESP32 Wire environment.
Re the I2C - Reset: AFAIK there is no command to do that. Cycling the SCL clock 9 times is one frequent suggestion, but I have no idea how to do that within the ESP32 Wire environment.
Who is online
Users browsing this forum: No registered users and 40 guests