This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28069: CANBUS bus error recovery

Genius 5910 points

Part Number: TMS320F28069

Hi,

 When there is a canbus hardware layer problem. For example canes bit 24, Form error flag. The canbus stops sending and receiving data.

My question:

How to remove this error or how to restart the bus after such problem?

Thanks.

  • It depends on a few factors like which node is the source of the error, whether the error is temporary or permanent (in which case, it could be a silicon issue) etc. If the node has stopped sending/receiving, it is likely in bus-off state. The error recovery mechanism of the CAN protocol is designed for automatic recovery from transient error conditions. If a node is the source of repeated error frames, the protocol is designed to isolate the node with bus-off condition. Recovery from BO could be automatic or manual.

    "Removal of error" is dependent on the nature/source of error. Typically, error is introduced into the bus due to noise. In this case, suitable filtering mechanisms should be put in place to remove the noise.