MCF51JM msCAN Acceptance Filters

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

MCF51JM msCAN Acceptance Filters

1,701件の閲覧回数
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 返答(返信)

766件の閲覧回数
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 件の賞賛
返信

766件の閲覧回数
sebasira
Senior Contributor I
Well, thanks Kef!

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

Thanks again!


0 件の賞賛
返信