Guide

CAN bus errors and bus-off explained

A CAN error frame means a node rejected a bit sequence. Bus-off means that node's transmit error counter climbed high enough that it stopped talking.

Harwa Limited engineering team · Last updated 2026-12-01

The five error types

Bit error: a transmitter read back the opposite level, outside the arbitration field where that is normal. Stuff error: six identical bits in a row appeared where a stuff bit should have broken the run. CRC error: the checksum did not match. Form error: a fixed-form bit such as a delimiter had the wrong level. ACK error: nobody drove the ACK slot, so the transmitter thinks it is alone.

Any of these makes the node send an error frame and increment a counter. The diagnostic tool is how you see the effect on a node. The counter itself lives in the controller, not in a CANopen object, unless the device chooses to expose it.

Error frames

An error frame is six dominant bits from an error-active node, which breaks the bit-stuffing rule on purpose so every node discards the frame. An error-passive node sends six recessive bits and is easier to miss. After the flag, the bus returns to idle and the original sender may retry.

A scope or a controller error counter tells you the rate. Trace cannot show a frame that was destroyed before it completed. An empty Trace plus a hot error counter is the usual picture.

TEC and REC counters

TEC is the transmit error counter. REC is the receive error counter. Successful frames reduce them. Faults increase them, faster on the way up than on the way down. That is deliberate, so a bad node leaves the bus instead of hammering it.

Watch which node is counting. If every node counts, the fault is shared: rate, termination, or a short. If one node counts, start at that node.

Error active, passive, bus-off

Error active is normal: TEC and REC are under 128, and the node may send active error flags. Error passive means a counter reached 128. The node must wait longer before it retries and its error flag is passive. Bus-off means TEC passed 255. The node goes silent until it is reset and sees enough idle time.

A node that is bus-off looks identical to a node that is unplugged, until you notice it recovers after a reset and then dies again. Find the fault before you celebrate the recovery.

Common causes

Two terminators missing, or a third 120 ohm resistor fitted by mistake. Two bit rates on one bus. A stub that is too long. CAN high and CAN low swapped at one plug. A ground that carries motor current. A connector that is almost seated.

Software causes exist too: a node transmitting a frame the others reject as a format they were not built for. This release is Classical CAN. A CAN FD frame on this bus is exactly that kind of surprise, and this software will not generate one.

Troubleshooting checklist

Power off and measure about 60 ohm between CAN high and CAN low. Power on and confirm one bit rate in every node, including the adapter. Open Trace. If it is empty, the adapter rate or the wires are still wrong. If it shows frames and one node is missing, look at that node's power and its error state.

The wiring guide is the resistance check. The test software is how you repeat a known-good frame while you wiggle a connector.

Using fault injection to test error handling

Fault injection in CANsignal Suite creates a controlled bad case, such as a missing heartbeat or a value that should trip a diagnostic finding. It does not short the wires. Use it to see whether your consumer notices a dead node. Use a meter to find a real electrical fault.

Run the injection on Virtual CAN first so you know what the screen looks like, then on the real bus only if the test plan allows a missing heartbeat.

Questions engineers ask

What does bus-off mean?

The node's transmit error counter got high enough that the controller stopped transmitting. It is a protection.

Why is ACK error common on a single node?

Nobody else is on the bus to acknowledge the frame. A lone adapter will show this. It is not, by itself, a broken transceiver.

Do error frames show up in Trace?

A destroyed frame often does not complete, so Trace stays empty. Look at error counters and the wiring.

Can I practise the screens without a fault?

Yes. Fault injection and Virtual CAN show a missing heartbeat without touching the wires.

Related pages

Get a quote

Looking for Engineering or Software Development Support?

Engineering and Software Development Support

Get Free Quote