Why it exists
Before CAN, every connection between ECUs needed its own wires. Bosch introduced CAN in the 1980s as a shared two-wire bus on which all ECUs can talk, with built-in priority and error handling. It is cheap, robust against electrical noise and still the workhorse of vehicle control networks.
What it is
- A broadcast bus: every message is received by every node; receivers decide what they need.
- Messages, not addresses: each frame has an identifier (11-bit standard or 29-bit extended) that names its content and sets its priority.
- Payload: up to 8 bytes per frame.
- Speed: typically 500 kbit/s in vehicles (up to 1 Mbit/s), limited by bus length and propagation delay.
Identifier and RTR take part in arbitration. Stuff bits, inserted after five equal bits, are not shown.
Example layout. The real position, length, scaling and byte order of every signal is defined in the communication matrix (DBC or ARXML).
How it works
- Arbitration: when two nodes send at once, the frame with the lower ID wins bit by bit without destroying the other frame (non-destructive arbitration). The loser retries.
- Error handling: CRC, bit monitoring, stuffing and acknowledgement detect errors; a faulty node is automatically isolated by error counters (“error passive”, “bus-off”).
- Timing: most messages are sent cyclically (e.g. every 10 ms); some are event-driven.
When to use it
Classical CAN fits control signals with small payloads and moderate data rates: body, comfort, legacy powertrain and many truck functions (via J1939). For more payload or security overhead, CAN FD is the better choice.
Best practices
- Keep bus load below about 50–60 % to leave room for retries and growth.
- Assign IDs by priority deliberately; document every message in a database (DBC or ARXML).
- Use gateways to separate external-facing ECUs from control buses.
- Add E2E protection for safety-relevant signals.
Common pitfalls
- Assuming CAN is secure because it is “internal” — it is not.
- 8 bytes leave almost no room for SecOC; consider CAN FD for protected traffic.