Hello,
I have problems with the startup of the CAN bus on the Evalboard S32K116EVB. To test the FlexCAN I modified the example "FlexCAN Encrypted" so that cyclically every 500 ms a message is sent over the bus. Attached is the modified project.
As soon as I send a message the message is repeated several times in an endless loop, although e.g. the controller hangs in a breakpoint, see the following screenshot of the Logic Analyzer.
Within the example I have also checked via the function "FLEXCAN_DRV_GetErrorStatus" what the status of the driver is. Here among other things the following bits are set:
The bus is terminated on both sides with a 120 Ohm resistor. On the side of the EVB the resistor is already embedded on the EVB.
I don't know why this occurring, maybe someone can help me on this.
Best Regards,
Florian
Solved! Go to Solution.
Hello Florian,
Please refer to:
Bosch Controller Area Network (CAN) Version 2.0 PROTOCOL STANDARD
https://www.nxp.com/docs/en/reference-manual/BCANPSV2.pdf
Regards,
Daniel
Hello @danielmartynek
there is no other node on the bus to acknowledge the message. In my first setup i just wanted to operate it with a standalone message.
Best Regards,
Florian
Hello Florian,
Please refer to:
Bosch Controller Area Network (CAN) Version 2.0 PROTOCOL STANDARD
https://www.nxp.com/docs/en/reference-manual/BCANPSV2.pdf
Regards,
Daniel
Hello @danielmartynek ,
that was one stupid question from my side. Thank you for your help or your reminder regarding my issue.
Thanks,
Florian