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.

CCS/TMS320F28377S: Not Entering I2C FIFO ISR

Part Number: TMS320F28377S


Tool/software: Code Composer Studio

Hello,

I do not enter my FIFO ISR after sending an I2C message. Prior to sending the message, my transmit FIFO register is set to:

I2cbRegs.I2CFFTX.all = 0110010010100100b

After I write an I2C message, my transmit FIFO register is set as follows:

I2cbRegs.I2CFFTX.all = 0110000010100100b

Bit 7, the transmit interrupt flag, is set, but I never enter my ISR (verified with a breakpoint). The ISR is set in an initialization function with the code below:

DINT;
EALLOW;
PieVectTable.I2CB_FIFO_INT = &[ISR Name];
PieCtrlRegs.PIEACK.all = PIEACK_GROUP8; //Acknowledge interrupt
PieCtrlRegs.PIEIER8.bit.INTx3 = 1; //Enable I2C interrupt
IER |= M_INT8;
EINT;
EDIS;

Per the I2CFFTX register above, the interrupt is enabled and flagged. I'm not sure why I don't enter the ISR.

Thank you,

Cameron