Hi,
thanks for picking up.
Actually I still have problems reading the ID of the CAN message that I send through Arduino Uno and mcp2515 module.
I must say that I have basic knowledge of C language so most probably I'm missing something trivial.
But in principle it should not be very different from how you can read from Arduino.
Once initialized a suitable structure to save a CAN message, I invoke the "receive" function and save the message just read in that structure (passed for reference).
From the link you suggested I saw that lines of code had to be added.
Anyway I can't print the fields (and probably NXP is not even reading the messages sent by Arduino...).
I modified the code as shown in the picture (I put it on a different text editor to make the screen but clearly I use Design Studio XD).
I have clearly verified that Arduino sends the message it has to send through a Peak (which does nothing but analyze the traffic).
I just wanted to turn on a led when the message read has ID = 0x555 and extract ID and TIMESTAMP.

PS : I've noticed that in the initialization of the buffer structure there is the enable FD field, but I didn't understand if for FD it's indicated that the message format is CAN-FD type (I use standard CAN so should I put false???).