Hi,
Pls refer to the section 50.4.5 Rx Mailboxes Global Mask Register (CANx_RXMGMASK) in RM of KE1xF.
The CANx_RXMGMASK function for mailbox0~13 if CAN_MCR[IRMQ] bit is asserted,
Each mask bit masks the corresponding Mailbox filter field:
0 The corresponding bit in the filter is "don’t care."
1 The corresponding bit in the filter is checked.
xiangjun_rong_0-1725932730458.png
In conclusion, pls set the CANx_RXMGMASK bits, so the RX ID in the mailbox will take effect.
Hope it can help you
BR
XiangJun Rong