Hello,
I'm trying to decipher how to configure CAN message objects (a.k.a. mailboxes). I have been referencing the SPRACE5A documentation and the technical reference manual for the mcu I am currently using (F280025C).
My goal is to have a separate receive mailbox per CAN ID (let's assume I want to receive less than 32 different CAN IDs and so I have sufficient mailboxes).
What I'm not sure of is how to use the provided CAN_setupMessageObject() function to make this happen.
- Do I need to configure a mask if I simply want to use the exact msgID I pass to that function, or can I achieve this with a mask of 0 and some Message object flags?
- What is the difference between the CAN_MSG_OBJ_USE_ID_FILTER and CAN_MSG_OBJ_USE_EXT_FILTER?
- In C2000Ware_4_01 can_ex8_mask.c, I see it uses CAN_MSG_OBJ_USE_ID_FILTER with message frame set to CAN_MSG_FRAME_EXT, what is this doing?
Any help is appreciated,
Regards,