Hi,
Hardware Setup:
Jetson Nano Dev Kit with Bar 30 Pressure Sensor connected to I2C Bus 1, 5 Switches connected to GPIO pins
Software:
MS5837 Python Library
Issue:
I have interfaced the pressure sensor using the blue robotics ms5837 library and it works well and I get the pressure values correctly. But, when the switches connected to the GPIO pins changes state from high to low, I get “Error 121, Remote IO error”.
On the oscilloscope, I have observed that the SDA line goes low when the switch changes state, sometimes the sensor recovers and works fine after giving the error. But, sometimes, the error keeps coming till I make the switch high. The other devices on the same I2C bus work fine regardless of the switch state.
Physically, there is no short/ continuity between the sensor’s SDA line and the switches. Please help me solve this issue.
Thanks.