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.

TMS320F28377S: How to debug CAN Bus-Off problem?

Part Number: TMS320F28377S


Hi champs,

My customer faces a CAN bus problem, sometimes CAN bus stops communication, the contents of CAN_ES register is 0x00E7 and means,

  • BOff = 1. The CAN module is in Bus-Off state.
  • EWarn = 1. At least one of the error counters has reached the error warning limit of 96.
  • EPass = 1. The CAN Core is in the error passive state as defined in the CAN Spec.
  • LEC = 7. 

There are four devices on the CAN bus, one is F28377S and the others are ST MCUs, all the devices should connect to CAN bus so that system works and this Bus-Off problem sometimes occurs. Please advise what should we do to debug/analyze this problem?

Thanks and regards,

Luke

  • Luke,

                    Is the Bus-off condition seen in the ST MCUs also or only in 28377? Bus-off is a severe error condition. Customer should investigate the root-cause of the errors during transmission. In a properly designed/configured network, communication errors should be rare. It could happen due to external noise, but the bus should recover on its own once the disturbances vanish. That is how the protocol is designed.