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.

PROCESSOR-SDK-AM62X: i2c controller timed out issue.

Part Number: PROCESSOR-SDK-AM62X


Tool/software:

Hi Expert,

Our platform information:

SOC: AM6254

SDK: ti-processor-sdk-linux-am62xx-evm-09.00.00.03

We have an issue while do long time running test on i2c interface.

 

The i2c controller fail when we send a i2c read command.  “ i2cget -y 2 0x42 0x05 b “

  1. We try to increase timeout setting of i2c driver, the timeout setting is applied correctly. But still get error form i2c driver.

We change the  OMAP_I2C_TIMEOUT from 1000 to 5000 in i2c-omap.c

       2.We check the i2c waveform, but from waveform capture by our logic analyzer, the i2c waveform looks correct.

      A. The i2c read success(Read success, and no timeout reported)

    

B,The i2c read timed out (Read fail, and driver report “controller timed out”)

We don’t know why the i2c driver report timeout when the correct i2c signal response from our FPGA i2c interface.

Could you help to give some suggestion, what we can do to fix this issue.

Thanks

Daniel