Hi, everybody,
I'm using NXP S32k144 to communicate with an Arduino using can protocol.
So far I've used the can_pal example, and as for the reception of messages that Arduino sends to NXP no problem, in fact, I can print all the id on screen.
The problem is when I try to send some messages to Arduino from NXP.
I'm checking the data traffic with a peak device and in fact, I only see the messages I set on the Arduino board.
This is the code I used inside the infinite loop in the main :

I'd basically like to send a message with id 456 from NXP to Arduino.
I'm definitely doing something wrong with the code, but I don't understand what.
Thanks for the advice.
PS: what if I want to send more than one from the NXP board?
Regards.