I do that:
CAN_A.MCR.B.MBFEN =1; //Use Individual Rx Mask Register
CAN_A.RXIMR.B.MI = 0x00001000;
but:CAN_A.RXIMR.R is Always Read 0x00000000;
The Individual Rx Mask Registers can only be accessed by the CPU while the module is in Freeze Mode and MBFEN is set. Out of Freeze Mode, write accesses are blocked and read accesses will return “all zeros”.
So be sure the FlexCAN is allowed to enter Freeze mode (MCR[FRZ] set) and Freeze mode is really entered once you break debugger (FRZACK and NOTRDY flags set).
Thank you！！ I solved it.
Retrieving data ...