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.

DRA829V: I2C software reset and failure recovery

Part Number: DRA829V

Dear TI team,

Referring to chapter "12.1.3.4.3 I2C Software Reset" of the latest TRM (spruil1d) and register field SRST (bit 1) of the System Configuration register (I2C_SYSC), what is the scope of the reset and which registers are affected?

Is a STOP bit sent by the hardware when a transfer fails (no acknowledge received)?

Thanks a lot for your help.

Best regards,
Jakob

  • Hi Jakob,

    Although, there is no explicit mention in TRM about which registers would get affected by software reset, this will reset the whole I2C state, so it means it would for sure affect the 
    I2C_IRQSTATUS_RAW, I2C_IRQSTATUS, I2C_SA (slave address), I2C_BUF, I2C_CNT, I2C_DATA, I2C_STAT etc...

    Is a STOP bit sent by the hardware when a transfer fails (no acknowledge received)?

    No, the STOP won't be sent by hardware. The driver explicitly calls I2CMasterStop() in both interrupt and polling modes when NACK or other fatal errors occur.

    -Vinit

  • Hi Vinit,

    Thank you very much.

    Best regards,
    Jakob