Hi,
I have a F28035 configured as a slave on SPI B with RX interrupts enabled. Most of the time, everyting is going well but sometimes, I'm able to freeze it. By freeze, I mean that RX interrupt isn't serviced anymore. Here's the SPIFFRX register value :
SPIFFRX.RXFFIL = 2
SPIFFRX.RXFFIENA = 1
SPIFFRX.RXFFINTCLR = 0
SPIFFRX.RXFFINT = 1
SPIFFRX.RXFFST = 4
SPIFFRX.RXFIFORESET = 1
SPIFFRX.RXFFOVFCLR = 0
SPIFFRX.RXFFOVF = 1
At the end of the interrupt handler, I call this :
SPIFFRX.bit.RXFFOVFCLR = 1; SPIFFRX.bit.RXFFINTCLR = 1; PieCtrlRegs.PIEACK.all |= PIEACK_GROUP6;
Beside this interrupt, I have some external interrupts that aren't flagged. I don't understand why the ISR isn't getting called. Also, I can see I'm still receiving what the SPI master is sending in SPIRXBUF.
Is there something I could check to figure out what my code is missing to handle this case?
Best regards,