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.

CC2538: I2C sensor if broken stuck at while(I2CMasterBusy())

Part Number: CC2538

Hello,

I am working on i2c communication between cc2538(master) & sensor(slave). the communication is working perfect.

But suppose if my i2c sensor is damaged and not communication then my i2c read/write operation gets in infinite while loop while(I2CMasterBusy());

Looking for a fix like i2c timeout.

Thank you,

Reagrds,

Akshay bansod