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.
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.