CAN controllers detect and signal errors on their own, so a small wiring fault shows up as «it works but the error counters climb» or «one node drops off the bus (bus-off)». Go through the multimeter checks first, then the settings and errors. Figures follow TI application notes SLLA270 and SLOA101B (summaries of ISO 11898) and the Microchip MCP2515 datasheet.
1. Termination — power off, CAN_H to CAN_L
ISO 11898 puts one 120 Ω terminator at each end of the line (SLLA270 §4.5). With every node powered off, measure between CAN_H and CAN_L at any connector and you see both terminators in parallel.
| Reading | Meaning | Action |
|---|---|---|
| About 60 Ω | Two 120 Ω (both ends) — correct | Go on |
| About 120 Ω | Only one end, or a break so only one side is seen | Check the other end's terminator and for breaks |
| About 40 Ω | Three 120 Ω — a middle node also terminates | Turn off the terminator switch or resistor on non-end nodes |
| Several kΩ or more | No termination, or CAN_H/CAN_L broken | Both ends' terminators and wiring |
| Near 0 Ω | CAN_H shorted to CAN_L | Connectors, crushed cable |
- Transceiver inputs are also in parallel, so the reading can be slightly lower. If it is far off, suspect the cases in the table first.
- A terminator inside a node disappears when that node is removed. ISO 11898 says not to put it on a node (SLLA270 §4).
- Split termination uses two 60 Ω resistors in series with the midpoint tied to ground through a capacitor (typically 4.7 nF for high-speed CAN) (SLOA101B §5). Each end is still 120 Ω between CAN_H and CAN_L.
2. Voltages — power on
- At rest (recessive) CAN_H and CAN_L both sit near 2.5 V; when dominant, CAN_H is about 3.5 V and CAN_L about 1.5 V, a difference of about 2 V (SLOA101B §5).
- During traffic a multimeter shows an average, somewhere between 2.5 and 3 V. A line stuck at 0 V or at the supply suggests a short or a failed transceiver.
- A node with CAN_H and CAN_L swapped sees dominant and recessive the wrong way round and cannot receive, and the error flags it sends can disturb the other nodes too. Check the connector pinout at every node.
3. Common ground and shield
- The ground difference between nodes must stay inside the transceivers' common-mode range; ISO 11898 allows −2 to 7 V (SLLA270 §4.2). Many higher-layer standards carry power and ground wires with the signal pair.
- Ground the shield at one point to avoid ground loop currents (SLLA270 §4.3–4.4). See «Communication cable shields and grounding» for more.
4. Length, stubs, node count
- ISO 11898's reference is a 40 m bus, 30 nodes and 0.3 m unterminated stubs at 1 Mbit/s (SLLA270 §4).
- Longer buses need lower rates — 100 m 500 kbit/s, 200 m 250 kbit/s, 500 m 100 kbit/s, 1000 m 50 kbit/s (SLLA270 table 1).
- Run the bus as one line (daisy chain), not as a star with several branches. Long branches cause reflections.
5. Bit rate and sample point
- Every node must use the same bit rate. If one differs, error frames appear whenever it sends or receives.
- A bit is divided into SyncSeg + PropSeg + PS1 + PS2 time quanta, and the sample point is the end of PS1 (MCP2515 §5). Even at the same bit rate, nodes with very different sample points can fail on one side of a long bus.
- Use the «CAN Bit Timing Calculator» to get register values and oscillator tolerance from the clock, bit rate and sample point.
6. Reading error frames and bus-off
- A node that detects an error sends six dominant bits (the error flag), deliberately breaking the stuffing rule. Other nodes follow, making 6 to 12 bits, and after an 8-bit recessive delimiter the frame is sent again (SLOA101B §4.4).
- Each node has transmit (TEC) and receive (REC) error counters. Both below 128 is error-active; either at 128 or more is error-passive (error flags are sent recessive); TEC above 255 is bus-off and the node leaves the bus. From bus-off it returns after 128 occurrences of 11 recessive bits (MCP2515 §6.6–6.7). A counter at 96 or more is a warning.
- A node alone on the bus gets no ACK from anyone, so it keeps resending the same frame and errors pile up. When testing, attach a second receiving node (or a device in listen mode).
- Counters that creep up slowly point to noise, ground or termination; counters that rise only when one node sends point to that node's bit rate or wiring.
7. Looking at RX with a logic analyzer
- Capture the RX line between the transceiver and the controller and decode it as CAN in your logic analyzer software: ID, DLC, data, CRC check, missing ACK, stuff errors and runs of six or more dominant bits (possible error frames) appear in a table.
- If you do not know the bit rate, try «Detect», which works from the shortest pulses (stuffing makes one-bit pulses common).
- A logic analyzer cannot show the CAN_H/CAN_L voltage shape (reflections, ringing). Use an oscilloscope with a differential measurement.
Sources
- TI SLLA270 — Controller Area Network Physical Layer Requirements — §4 ISO 11898 figures (40 m, 30 nodes, 0.3 m stubs), table 1 length vs rate, §4.2 common mode, §4.3–4.4 shield and ground, §4.5 termination
- TI SLOA101B — Introduction to the Controller Area Network (CAN) — §4.4 error checking and error frames, §5 bus voltages and split termination
- Microchip MCP2515 datasheet DS20001801J — §5 bit timing and sample point, §6.6–6.7 error states, counters, bus-off recovery
- NXP (Freescale) AN1798 — CAN Bit Timing Requirements — bit segments and oscillator tolerance
Published 2026-11-01