I am communicating with 2 sensor's over MSP432E401 I2C . The issue is I get bus busy status randomly in I2C driver and the sensor stops communicating. It gets recovered only after hard reset of MSP430 or on debugger reset (in case if debugger is connected)
So in this scenario I , tried i driver with soft resetting the I2C module and doing re-initialization. With this change , the bus gets recovered and without doing any hard reset or debugger reset, the communication with sensor start working properly.
This mechanism works when debugger connected but fails when debugger is disconnected. So want to know if soft reset only works during debugger connected condition?
And secondly what recovery mechanism in MSP432 I can have in state when I2C bus is locked or sending bus busy status.