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.

I2C on TMS320f28335

Other Parts Discussed in Thread: TMS320F28335

I am interfacing an IO expander and an eeprom with tms320f28335 via I2C.

the bus busy bit is not cleared and the stop condition is not generated resulting in SCL being pulled low.

I am modifying the example code provided by TI.

at what place should i write the required data to I2CMDR register. the contents of MDR register are 6E20.

is it true that the stop bit is generated after the count register decrements to zero i.e. after all the data has been transmitted.

in my case the stop condition is not generated and the SCL remains low . Also the bus busy bit is not cleared after transmission