Li Feng

MKE18F512VLL16 CAN RX FIFO

Discussion created by Li Feng on Apr 18, 2018

Enable Rx FIFO,

       CANx_IFLAG1_BUF7I: Rx FIFO Overflow

       CANx_IFLAG1_BUF6I: Rx FIFO Warning

       CANx_IFLAG1_BUF5I: Frames available in Rx FIFO

 

In CAN interrupt(Frames available in Rx FIFO), read the Rx FIFO, how to find how many received frames in FIFO? Or how to find the all frames in FIFO are read out?

 

      CANx_IFLAG1_BUF0I: Clear FIFO 

How to clear FIFO? In normal mode goto Freeze Mode,then set the bit CANx_IFLAG1_BUF0I? 

Whether every time after I read the Rx FIFO, then clear the FIFO? 

Outcomes