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.

TMS570LC4357: I2C Issue with UART interrupt

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Hi, 

I am using the UART receive in interrupt mode and I2C in polling. In every 25ms code will be interrupted regularly due to UART data coming in which makes my i2c bus hang.

Please suggest, I am using the halcogen for code generation and refer the example code given in the halcogen.

Thanks,

Aman

  • Hi Aman,

    Is the I2C module a master or slave, and transmitter or receiver when the I2C bug gets hanged? To understand what is happening on the bus, Oscilloscope or Logic Analyzer instrument is very useful, did you probe the SDA and SCL?

    What happens if you use I2C interrupt mode instead of poling mode?