Part Number: TMS570LS3137
Hello,
I would like to understand all the scenarios during which CAN Boff bit is set in DCAN ES Register?
How does the micro-controller detects Boff error?
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.
Part Number: TMS570LS3137
Hello,
I would like to understand all the scenarios during which CAN Boff bit is set in DCAN ES Register?
How does the micro-controller detects Boff error?
Error handling is built in to the CAN protocol. Each node maintains two error counters: the Transmit Error Counter and the Receive Error Counter. Using the error counters, a CAN node can not only detect faults but also perform error confinement.
The CAN protocol defines five different ways of detecting errors. Two of these works at the bit level, and the other three at the message level.
A node starts out in Error Active mode. When any one of the two Error Counters raises above 127, the node will enter a state known as Error Passive and when the Transmit Error Counter raises above 255, the node will enter the Bus Off state.
Hope this helps.
Regards, Sunil