Flexcan RX FIFO problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Flexcan RX FIFO problem

2,087 次查看
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

标记 (1)
0 项奖励
回复
1 回复

1,973 次查看
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 项奖励
回复