MKE18F512VLL16 CAN RX FIFO

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MKE18F512VLL16 CAN RX FIFO

392 Views
lifeng
Contributor II

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? 

Labels (1)
0 Kudos
0 Replies