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.
Solved! Go to Solution.