Flexcan RX FIFO problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Flexcan RX FIFO problem

1,902件の閲覧回数
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,788件の閲覧回数
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 件の賞賛
返信