Flexcan RX FIFO problem

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

Flexcan RX FIFO problem

1,243 Views
erreer
Contributor II

Hello,   I an use  mpc5744(144) ,    I want to  use Flexcan to  receive all can messages,but the   RXIMR   is  not work , see the attachment

Tags (1)
0 Kudos
1 Reply

1,129 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

simple RX|FIFO code can be found here

https://community.nxp.com/docs/DOC-335321 

When preparing MB for TX or RX while RXFIFO is enabled be sure you write to correct MBs. For example if CTRL2[RFFN]=0, MBs 0 to 7 are used by RXFIFO engine.

If you want to receive all messages (assume all ID) clear mask acceptance registers, thus incoming ID will be don't care.

BR, Petr

0 Kudos