Other Parts Discussed in Thread: C2000WARE
Tool/software:
i2c_ex1_loopback_1bytesend.zip
I am working with the i2c_ex1_loopback.c example from C2000Ware (using FIFO interrupts without loopback mode turned on) in TI LaunchPad F28P65x C2000 real time MCU. I'm facing an issue where the I2C RX FIFO interrupt is not triggered for the 1st 2 bytes transmitted. As a result, the rData[] buffer is not getting populated correctly for the first two entries (rData[0] and rData[1] remain 0). The rest of the previous 2 bytes data appears to be received correctly after that. Any suggestions on how to ensure the first two bytes trigger the RX interrupt would be appreciated.
Our main target is to communicate with an external device through I2C for which we need to achieve transmit and receive data of 1 byte in interrupt mode without using loopback mode.