Background:there is inevitably wrong terminal resistor connection in end the customer side.
As the CAN bus has a response mechanism, if the node does not receive data to send a reply, the master node will re-send the packet. TA bit can not be set. It will come in the abnormal state when the DSP to determine the failure to send, ES register reported a FE error, then always send data repeatly. And the value of the transmit failure count register CANTEC is always increased.
The baud rate setting is as below and the Baud rate should be fixed at 250kbps. And the nodes is about 40 and the transmit distance is over 20 meters.
The customer wants to know which sample point is the best and the Influence on the CAN communication performance.
The CANES_REG status is as below:
Is there any general method to handle CAN error problem from the software level.
The customer hopes to stop the re-transmit after 100 times and give a alarm signal.
Here is the right and wrong wave forms (the difference signal between the CAN_H and CAN_L)
The upper wave is right and the lower wave is wrong.
Besides, it is more easy to have errors for the data like 0X5555
When we remove the filter capacitance between the CAN_H and the ground (the CAN_L and the ground), the wave gets better.



