Hi @mariuslucianand,
Thank you very much for your reply. Yes, I do receive CAN. Let me explain, I am receiving a lot of CAN messages at a high speed. So the problem is that when I echo them back, there are a lot of lost messages. Now, I don't know why, and that's what I am trying to figure out. First I am trying to be sure that the messages arrive to the board, so that's why I am trying to make a counter. I guess it's easier to get this data from the Design Studio, but I am having issues with it.
Regarding the S32DS, yes, that worked. Now when I try to build the code I get this:

Any idea what can that be about?
Thanks!