-
I am working with the MPU6050 gyro/accelerometer and I find that if the device that is communicating with the gyro (e.g. Arduino) is reset at an inopportune time, it can leave the MPU6050 holding the SDA line low forever. When this happens, it is no longer possible to communicate with the device. Is there some way to reset the gyro and release this line, short of cutting it's power. Obviously I cannot send any reset commands. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I believe I have found a solution. Before I initialize the I2C if I check and see that the SDA pin is low, I can manually clock the SCL line which will cause the gyro to release the SDA line. |
Beta Was this translation helpful? Give feedback.
I believe I have found a solution. Before I initialize the I2C if I check and see that the SDA pin is low, I can manually clock the SCL line which will cause the gyro to release the SDA line.