We are looking to implement CLASSIC CAN ID mask filtering using Extended ID and or Standard ID. We are able to use the example to send data in both Extended and Standard IDs.
We have not tried receiving yet.
Our setup is the following;
- MCAN0 mailbox/buffer 0 is used for transmitting all messages from the device. What this means is that we will be reconfiguring this buffer constantly before sending data.
- All other mailboxes/buffers will be used for receiving individual CAN ID. Hence, the classic filtering method.
Please send us an example:
- where we send data from mailbox 0 alternating between two CAN IDs: 0x00FF11AB and 0x00FF12AB
- where we receive data via MCAN RX interrupts with separate mailboxes/buffer with CAN IDs: 0x00DAAB1E (mailbox 1), 0x00FF081E (mailbox 2), 0x00FF011E (mailbox 3).
An example with this content will be a great starting point for us build our MCAN library
Thank you
Royston