Hello @Dannii,
If you want to receive multiple messages in a single mailbox the best way would be to use the filters, if you configure the filter mask to 0 it would receive any message in the specific mailbox:
FLEXCAN_SetRxMbGlobalMask(EXAMPLE_CAN, FLEXCAN_RX_MB_STD_MASK(0, 0, 0));
FLEXCAN_SetRxIndividualMask(EXAMPLE_CAN, RX_MESSAGE_BUFFER_NUM, FLEXCAN_RX_MB_STD_MASK(0, 0, 0));
Best Regards,
Alexis Andalon