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.

AM3352: I2C issues

Part Number: AM3352

We are using Adeneo's BSP for Windows 2013. Reviewing the i2c driver, we note that Adeneo is referring to an i2c register named STAT, with offset address 088H. Referencing Table 21-8 I2C Registers in the AM335x Sitara™ Processors Technical Reference Manual, we do not see a register assigned at this address. Instead, we see i2c status register I2C_IRQSTATUS_RAW(024H) and I2C_IRQSTATUS(028H). The Adeneo code appears to work correctly, but based on the TI documentation, we do not understand why. Also, when we try to change the register address to 024H or 028H, the program no longer functions correctly. Can you please explain why this undocumented register works? Separate but i2c-related question, is there a method for reading back the hardware state of the SCL and SDA pins? Finally, is there a Linux i2c driver source code available that we can use as a reference for our Windows 2013 i2c driver development? Thank you in advance!