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.

CCS/TMS320F28335: Generic I2C example code

Part Number: TMS320F28335


Tool/software: Code Composer Studio

I'm struggling a bit interfacing to a very basic I2C device.  The only example code I can find for C2000 processors is the EEPROM interface code in Control Suite, but this example has a lot of application specificity to it, making it difficult to adopt for generic applications.  What would be more helpful would be example code using the built-in digital loop back interface provided in the C2000 hardware.  It would also be great to have both polling and interrupt based examples to look at.

My current development approach is slow and painstaking trial and error based on the register map description from the I2C Module Reference Guide.  Any help would be appreciated.