I found a problem in the file of flexcan_driver.c ,The following interrupts are enabled whether the FIFO interrupt is used in the function static status_t FLEXCAN_StartRxMessageFifoData(uint8_t instance,flexcan_msgbuff_t *data,bool isBlocking).
Is this a bug or a special consideration?
Solved! Go to Solution.
Hi,
this is normal setting. When RXFIFO is used MB5, MB6 and MB7 flags are set to indicate message is available, RXFIFO is almost full and RXFIFO overflow. So mask bits are set to enable interrupts to be generated when those flags are set.
See more in chapter 43.5.8 Rx FIFO of the device RM.
BR, Petr
Hi,
this is normal setting. When RXFIFO is used MB5, MB6 and MB7 flags are set to indicate message is available, RXFIFO is almost full and RXFIFO overflow. So mask bits are set to enable interrupts to be generated when those flags are set.
See more in chapter 43.5.8 Rx FIFO of the device RM.
BR, Petr
thks