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.

TM4C129ENCZADT3 FOR I2C_MODE_BLOCKING

Dear Team,

 

In i2c blocking mode, the function returns false once errors occurred, such as NACK.

   Please help confirm, what kind condition will trigger "False " of  I2C_MODE_BLOCKING??

Regards,

bard 

  • Hello Bard,

    I tried digging into the TI-RTOS code for TM4C as that seems to be the source of this question since we do not use I2C_MODE_BLOCKING in TivaWare. Unfortunately, I was not able to find out an exact measure of what else could cause this. However if going by what I would anticipate from TivaWare - and TI-RTOS does use our TivaWare drivers - then the other condition besides a NAK which would trigger the false flag is if the Arbitration Lost condition is detected on the I2C bus.