LPC11C00: CAN remote frame

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

LPC11C00: CAN remote frame

1,013件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by madid87 on Thu Sep 01 00:56:36 MST 2011
Hi everyone,
I'm wondering if it's possible to configure the acceptance filter of a message object for receiving all CAN 11-bit IDs together with remote frames?

For now I have:
can_send.msgobj  = 0;
can_send.mode_id = 0x7FF; 
can_send.mask    = 0x000;    
(*rom)->pCAND->config_rxmsgobj(&can_send);
    
// Message object 1 for remote frame reception
can_send.msgobj  = 1;
can_send.mode_id = CAN_MSGOBJ_RTR; 
can_send.mask    = 0x000;    
(*rom)->pCAND->config_rxmsgobj(&can_send);
I would like to receive all frames via the object one. Thanks guys!
0 件の賞賛
返信
2 返答(返信)

989件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by madid87 on Thu Sep 01 04:58:05 MST 2011
OK, thanks, very simple :)
0 件の賞賛
返信

989件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Thu Sep 01 03:05:21 MST 2011

Quote: madid87
Hi everyone,
I'm wondering if it's possible to configure the acceptance filter of a message object for receiving all CAN 11-bit IDs together with remote frames?



Yes

can_send.mode_id = 0x7FF | CAN_MSGOBJ_RTR; 
0 件の賞賛
返信