MCF51JM msCAN Acceptance Filters

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

MCF51JM msCAN Acceptance Filters

1,229 次查看
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
标签 (1)
0 项奖励
2 回复数

294 次查看
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 项奖励

294 次查看
sebasira
Senior Contributor I
Well, thanks Kef!

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

Thanks again!


0 项奖励