Hi Emillio,
If you want to read all the CAN messages, you don't need to add the identifier mask, this will receive all the ID data.
For detials, please refer to my attached code, this code can receive all the CAN message, and will printf the received CAN ID, lengh, and data frame.
The following picture is the configuration of receiving all the MSCAN data:

After receive the data, you can get the data from structure sRxFrameInfo.
My test result is:
Running the TRK-KEA128 CAN_Node1_demo project.
receive a frame data!
ID is 0x8!
Data length is 8
0x11,0x22,0x33,0x44,0x55,0x66,0x77,0x88,
receive a frame data!
ID is 0x108!
Data length is 8
0x11,0x22,0x33,0x44,0x55,0x66,0x77,0x88,
receive a frame data!
ID is 0x18!
Data length is 4
0x11,0x22,0x33,0x44,
You can find all the receive information is printf out.
Wish it helps you!
If you still have question, please let me know!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------