LPC11C00: CAN remote frame

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC11C00: CAN remote frame

454 Views
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 Kudos
2 Replies

430 Views
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 Kudos

430 Views
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 Kudos