v2.09 CCAN Driver Improvements - No Clean way of receiving all ID's

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

v2.09 CCAN Driver Improvements - No Clean way of receiving all ID's

287 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by emh203 on Wed Mar 19 11:26:21 MST 2014
As it current sits,  the API for the CAN for receiving data always uses the mask.

i.e.
Chip_CCAN_AddReceiveID(LPC_C_CAN0, CCAN_MSG_IF1, 0x300);

Always pulls in message ID 0x300.


THe problem I found is that the is no way to use the API to recieve ALL id's to a mail box.

I hacked around it by creating my own version of


Chip_CCAN_AddReceiveID

and

Chip_CCAN_SetMsgObject

that can use a custom mask.


Please consider this in a future. I had quite a bit of time wrapped up into this!

Labels (1)
0 Kudos
0 Replies