Hello team,
I am working with the "S32K144_Project_FlexCan_ClassicFrames" example code on the S32K144EVB. I can successfully transmit CAN messages from the S32K144EVB and receive them using the CANoe tool on the other end. However, the S32K144EVB is unable to receive messages that are sent from the CANoe tool.
Could you please suggest what might be causing this issue? Why is the S32K144EVB not receiving the CAN messages from the CANoe tool?
Please respond as soon as possible; we need to integrate this functionality into our production program. If possible, please provide a working example code for Classic CAN or FlexCAN along with the execution procedure.
Setup Details:
S32K144EVB is Node1 - Source
Vector CANoe tool: Node2 - Destination
Thank you!
Could you please confirm if the bitrate and sampling point in the CANoe tool is configured correctly? Other than the tool's configuration and hardware connection issues, there should be no problem receiving messages.
You can try instead the CAN 2.0 example code from the AN5413: S32K1xx Series Cookbook – Application Note. It configures the CAN communication with a bit rate of 500kbits and uses two boards (Node A & B).
After Node A is initialized, it transmits an initial message. Node A then loops: wait to receive a message from Node B then transmit one back. After Node B is initialized, it loops waits to receive a message from Node A then transmits one back.
Please test this example as a reference.
Best regards,
Julián