I am running a modified flexcan_interrupt_transfer.c example on an iMXQM6 processor. I am using CAN FD and only care about receiving messages from a PCAN-View probe which I use for testing.
From the PCAN-View probe, I am sending several messages with a cycle time of 1ms to the same ID which as in the example is set by default to 0x123h.
I observed that some of the messages were lost, so I configured all the message buffers from 0x01 to 0x14 to receive data from the same ID. However, the messages are still being lost and it seems that only the first message (with the highest priority) is used.
I checked that bit 16 (IRMQ) from the MCR register is set and I configured the Rx Mb Gobal Mask:FLEXCAN_SetRxMbGlobalMask(EXAMPLE_CAN, FLEXCAN_RX_MB_STD_MASK(rxIdentifier, 0, 0)); but with no success.