2024-04-24 09:10 AM
When I trigger a transmit of a test CAN message on CAN bus 2 the CAN module transmits unexpected data when I look at CAN bus with a logic analyzer. PCAN does receive the unexpected message and it does acknowledge the massage.
Here is what I see on the CAN Bus.
PCAN Receive:
2024-04-24 09:50 AM
Set your variables to global. Once your leave the SendCAN_Message function, the variables are destroyed.