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.
Hi all,
I'm having trouble getting the SCIRX FIFO interrupt to trigger when it seems it should be. I'm using the SCI-C module on a TMS320F2335.
I have the SCI-C RX FIFO register configured as such:
ScicRegs.SCIFFRX.all = 0x0061;
Which I believe should trigger an interrupt when the FIFO level is 1 or greater.
I think I have the interrupt configured properly in my main() function...
DINT;
InitPieCtrl();
IER = 0x0000;
IFR = 0x0000;
InitPieVectTable();
EALLOW;
PieVectTable.SCIRXINTC = &scicRxFifoIsr;
EDIS;
IER |= M_INT8;
PieCtrlRegs.PIECTRL.bit.ENPIE = 1;
PieCtrlRegs.PIEIER8.bit.INTx5 = 1;
EINT;
...but let me know if something looks amiss. SCI-C RX is definitely receiving data, but no interrupt is generated.
Thanks so much for any and all help!
-sam
For SCI I believe you need group 9, PIEIER9.
Please verify using table 98 of document SPRUFN1C
Actually it seems that SCI-C interrupts are in group 8, although SCI-A and SCI-B are in group 9.
However, I have now found my problem... I was holding the RX FIFO Reset bit low, when it should have been high to release the module from reset mode (bit 13 of SCIFFRX).