busoff
Bus-off is a fault condition in Controller Area Network (CAN) where a node’s CAN controller stops transmitting and effectively disconnects from the bus after accumulating too many errors. Each CAN node maintains two 8-bit error counters: Transmit Error Counter (TEC) and Receive Error Counter (REC). The node starts in the error-active state; with errors the counters increase. When the Transmit Error Counter reaches a critical threshold (often 256), the controller transitions to the bus-off state, preventing the node from driving the CAN bus. While bus-off, the node cannot participate in arbitration or transmit, and the fault is isolated to that device, while other nodes may continue to communicate.
Causes of bus-off include faulty hardware, wiring or termination problems, excessive electrical noise, faulty transceivers, or
Recovery typically requires a reset or reinitialization of the CAN controller, or power cycling of the device.
In practice, bus-off is one end of CAN’s error-state model, which also includes error-active and error-passive