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.