CAN Error Detection: Bit Monitoring, ACK, Stuff, Form and CRC Checks, and the Error Flag
Key takeaways
- CAN detects bit errors with bit monitoring, an ACK check, a stuff check, a form check and a CRC check.
- The transmitter runs bit monitoring and the ACK check. Receivers run the stuff, form and CRC checks and answer in the ACK slot.
- A node that finds an error sends a flag of 6 dominant bits, so every node drops the frame.

One node that spots a bad bit can make every node on a CAN bus discard the message, using a flag only 6 bits long. That flag is the last step of CAN error detection. Automotive electronics, bus wires included, always carry the risk of data corrupted by electromagnetic noise.
Nothing saves a message that is corrupted from end to end. The right physical and logical measures can still protect the system from a few bit errors. CAN first prevents bit errors, then detects the ones that get through, and sends an error flag when it finds one.
Measures that prevent bit errors
The measures below reduce or avoid bit errors on the bus. A real design doesn’t use all of them. Engineers choose among them with development cost and bandwidth in mind. Less steep signal edges, for example, come from controlling the driver’s output slew rate, which TI’s CAN primer says improves signal quality.
- Shielding
- A twisted pair of wires
- A ground connection
- Symmetric differential signals (CAN High and CAN Low)
- Less steep signal edges
- Synchronization
- A lower baud rate
- A shorter bus
- Termination resistors that damp reflections

CAN error detection mechanisms
An error means a bit on the bus broke a protocol rule, or a received bit differs from the bit that was sent. The CAN protocol has several mechanisms for detecting bit errors, and the transmitting node and the receiving nodes each run their own.
The rules sit in ISO 11898-1, whose 2024 edition covers classical CAN and CAN FD together, according to CiA’s CAN FD overview. The frames drawn here are classical CAN frames. The drawing below marks the part of the frame each check covers.

Bit monitoring
The transmitting node knows which bits it sent. From SOF to EOF it compares each bit it puts on the bus with the bit it reads back. A bit error is easy to spot that way. This is bit monitoring. Kvaser’s CAN tutorial describes the same read-back and notes that no bit error is raised during arbitration. The ACK slot is the other place where a mismatch is expected, as the next section shows.
ACK check
A receiving node that gets the transmitter’s message correctly answers with a dominant bit (‘0’) in the message’s ACK slot. The transmitting node sends a recessive bit there and looks for that dominant value to confirm the message went out correctly.
This is the ACK check. If the ACK bit stays recessive (‘1’), the transmitter concludes that no node received the message. It then sends an error flag right after the ACK bit.

Stuff check
The transmitting node puts a bit of the opposite value on the bus after 5 bits of the same value. CiA, the CAN industry association, describes the same stuff bit in its classical CAN overview.
Receivers apply the rule from SOF through the CRC sequence, and the CRC delimiter falls outside it. Six or more identical bits in a row there are a stuff error. Checking for that is the stuff check.

Form check
The delimiters and the EOF bits must always be recessive (‘1’). Checking that they are is the form check. It covers the end of the frame, from the CRC delimiter through the ACK delimiter and the 7 EOF bits. In TI’s CAN primer, the form check flags a dominant bit in a field that should always be recessive.
CRC check
Receiving nodes don’t know which bits were sent, so they can’t do bit monitoring. The transmitter computes a 15-bit CRC from the bits it sends and puts it into the frame. Each receiver calculates the CRC again and compares the two. This is the CRC check.
Receiver response in the ACK slot
The receivers’ side of the ACK check, marked ACK bit monitoring in the drawing, follows from the CRC result. A node with correct data sends a dominant bit (‘0’) in the ACK slot. With wrong data it sends a recessive bit (‘1’) instead, which is called a NACK bit. CiA’s CRC page adds that the node then sends an error frame after the ACK delimiter.

Error frame and the 6-bit error flag
Suppose a transmitting or receiving node detects an error through one of these mechanisms. The message is destroyed and an error frame goes out. That is how an error found by one node becomes known to every node on the bus. CiA calls this step globalizing the locally detected error.
An error frame is an error flag followed by an 8-bit recessive error delimiter. The active error flag is 6 dominant bits. Wherever it lands in a frame, it breaks one rule and disrupts the transmission, usually the stuff rule or the form rule.
This mechanism keeps data consistent across the bus. A node whose error counter rises above 127 turns error passive and sends a passive error flag of 6 recessive bits instead. That flag does not destroy other bus traffic. I’d keep the focus on how the flag reaches every node and leave the full error-counter rules for an explainer of their own.
Example 1: no node on the bus receives the message

When no receiver gets the message, the ACK bit stays recessive (‘1’), and the transmitter reads that as an ACK error. The message itself is taken to be faulty, so that no node could receive it. The transmitting node sends its error frame right after the ACK bit. The receiving nodes, whose CRC checks failed, send theirs after the ACK delimiter. If ACK errors are the only errors on a bus, I’d first suspect that no other node is there to acknowledge, before blaming the message.
The pattern changes when only one node on the bus fails to receive the message properly.
Example 2: one node fails to receive the message

The node that did not receive the message correctly sends an error frame right after the ACK delimiter. The other nodes then see a dominant value in an EOF bit, which has to be recessive (‘1’). They judge it a form error and send their own error frames right after that bit.
Why one error flag is enough
CAN error detection never depends on a single node being right. In both examples a frame goes through only when no node on the bus objects to it.
That is why the flag matters more than any one check. A node that objects doesn’t describe its finding in a message. It breaks the frame for everyone, and the stuff and form rules make sure the others notice. The bus loses one frame, and in exchange every node holds the same view of what was received. I’d read these checks as how the bus protects itself, not as a troubleshooting order.
