Can any of the TMS570 devices interfaces (e.g. MibSPIP) operate in I2C mode ?
Thanks
Viktorija
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.
Can any of the TMS570 devices interfaces (e.g. MibSPIP) operate in I2C mode ?
Thanks
Viktorija
I2C is not available on the currently available TMS570LS2x devices, but it is planned for future devices. As an alternative, it is possible to replicate the I2C protocol using GPIO pins.
Are there any code examples for the GPIO method (e.g. TMS570 connected to EEPROM) ?
I have done this many years ago, and would prefer not to repeat work that is probably off the shelf somewhere.
I am unaware of any code examples specific to the TMS570. However, I have included links below for similar source code examples.
Here is a link to an app note that demonstrates how to interface an MSP430 microcontroller to an external EEPROM memory using the I2C bus standard: http://focus.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=slaa115.
Alternatively, here is a link to an I2C bit banging method implemented in C: http://pastebin.com/YDtgMN5n.