This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I am developing the feature to write/read the slave device.
Found that when the slave device is powered off (wait until the power is discharged completely), then powered on, if we check the condition : I2C_isBusBusy(base), it will return true.
It shows the bus busy bit of I2CSTR register always at HIGH. Why the bus busy bit is always HIGH, is this a problem ? How to prevent this problem occur ?
I found a similar forum here: e2e.ti.com/.../tms320f280049c-i2c-signals-being-busy-when-it-should-not
Just want to know if there is any other method or suggestion to clear the bus busy bit beside reset the i2c module.
Thanks!
What is the status of I2C pins after slave is powered back on?
Are you in repeat mode (or) non repeat mode? If you are in repeat mode then you can send stop condition immediately to bring bus out busy state. If you are in non repeat mode then you can read / write I2C CNT number of bytes before you can generate STOP condition.
Regards,
Manoj