MCF51JM msCAN Acceptance Filters

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

MCF51JM msCAN Acceptance Filters

1,212 Views
sebasira
Senior Contributor I
Hi again!

How can I setup the MSCAN Module in MCF51JM128 so it accepts every incoming message? I mean, I want to "plug" the MCU to a CAN bus and read everything that it transmits.

I'm using MCF51JM msCAN Driver, and it has a routine to configure a Message Buffer. In it one should especify the message number, the buffer mode (Rx o Tx) and finally the identifier to send if transmitting or to accept if receiving. Now what can I do if I want a Message Buffer to accept every incoming message, without checking the identifier?

Please excuse my english since it's not my native language.

Thanks one more time!!

SebaS
Labels (1)
0 Kudos
2 Replies

277 Views
kef
Specialist I
CANIDMRx registers should be set to all ones (0xFF). Also identifier acceptance mode bits IDAM should be set to any of valid acceptance modes, 32,16 or 8bit filters.
0 Kudos

277 Views
sebasira
Senior Contributor I
Well, thanks Kef!

I'm gonna try that and let you know if anything else happens...

Thanks again!


0 Kudos