Other Parts Discussed in Thread: AM5718
Tool/software:
Hello,
We are running TI-RTOS on the AM5718 using I2C to read data from an ADC. Due to noise, the ADC sometimes generates an incorrect signal that can be read as a stop or repeated start condition during read operations. I am looking to find what status codes will be returned by the I2C_transfer function will be under these conditions.
The following two waveforms are from a 1-byte write / 2-byte read from the ADC and show incorrect behavior from the ADC and the response of the AM5718.
False start condition:
False stop condition:
What does the I2C module return under these conditions and is there any way of detecting the error in software?
Thank you