LPC11Cxx and CAN OnChip [Example]

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by teslabox on Mon Nov 14 04:05:29 MST 2011

I use LPC11C24 and I found ZIP file "LPC11C14_CAN_ONCHIP_Sample". I want to receive one special CAN message with special ID and check in the value in "IF", and then inside "IF" send another CAM message. To do it I use two ROM functions:
(*rom)->pCAND->can_receive (&msg_obj);
They work great separetely but when I want to receive some messages and then send another it doesn't work.
How to use these rom function to properly send and transmit CAN mesages?
(there are also: (*rom)->pCAND->config_rxmsgobj(&msg_obj); - I don't know what it is... and what for?)