LPC11C00: CAN remote frame

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

LPC11C00: CAN remote frame

1,087 次查看
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 回复数

1,063 次查看
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 项奖励
回复

1,063 次查看
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 项奖励
回复