Hi, Hui,
From CAN theory, if you specify that two MBs receive the same ID, only the MB with low index can receive the packet and update it's IRQ flag. The MB with higher index can not receive the packet, it's IRQ flag is not updated either. For example, the MB3 and MB5 are set up to receive the same ID, when the packet arrives, only MB3 will receive the packet.
I copy the matching process here:
34.4.4 Matching process
The matching process scans the MB memory looking for Rx MBs programmed with the
same ID as the one received from the CAN bus. If the FIFO is enabled, the priority of
scanning can be selected between Mailboxes and FIFO filters. In any case, the matching
starts from the lowest number Message Buffer toward the higher ones. If no match is
Functional description
MC56F847xx Reference Manual, Rev. 2, 3/2014
940 Freescale Semiconductor, Inc.
found within the first structure then the other is scanned subsequently. In the event that
the FIFO is full, the matching algorithm will always look for a matching MB outside the
FIFO region.
As the frame is being received, it is stored in a hidden auxiliary MB called Rx Serial
Message Buffer (Rx SMB).
Hope it can help you.
BR
Xiangjun Rong