Advantages and Disadvantages of the CAN Protocol, With Worked Examples

Why CAN is everywhere in cars and machines: one twisted pair, priority by bitwise arbitration, error checks that let through fewer than 4.7 in 100 billion corrupted frames, self-isolating faulty nodes. Plus its real limits, with frame overhead, bus load and cable length worked out.

Advantages and Disadvantages of the CAN Protocol, With Worked Examples

The CAN protocol's main advantages are less wiring (every controller shares one twisted pair), built-in priority (the most urgent message always wins the bus without a master and without losing time), very strong error detection with automatic retransmission, and nodes that switch themselves off when they turn faulty. Its limits are just as real: classical CAN carries only 8 bytes per frame at up to 1 Mbit/s, the cable gets shorter as the speed goes up, and the protocol has no security of its own. This guide works through each point with numbers.

Key takeaways

  • Priority is decided bit by bit. When two nodes start at once, the lower identifier wins and its frame goes through without delay; the others back off and retry (Bosch CAN Specification 2.0, September 1991).
  • Undetected errors are extremely rare. Bosch states the residual probability of an undetected corrupted message as less than the message error rate × 4.7 × 10−11. CAN's checks detect up to 5 random bit errors in a frame and every burst shorter than 15 bits.
  • A faulty node takes itself off the bus. Each transmit error adds 8 to a counter and each success subtracts 1. A node that fails 32 times in a row reaches 256 and goes "bus off" (Bosch 2.0, fault confinement).
  • Overhead is high. An 8-byte classical frame with an 11-bit ID takes 111 bits, or up to 135 with worst-case stuff bits: 222-270 µs at 500 kbit/s, of which only 64 bits (47-58 %) are data.
  • Speed costs length. CiA's CANopen table allows 25 m at 1 Mbit/s, 100 m at 500 kbit/s and 500 m at 125 kbit/s.

What is the CAN protocol?

CAN (Controller Area Network) is a serial bus that lets the electronic control units (ECUs) in a vehicle or machine share data over one pair of wires. It is message-based: each frame carries an identifier that says what the data is and how urgent it is, not who should receive it. Every node hears every frame and keeps the ones it needs.

Bosch introduced CAN at the SAE congress in Detroit in February 1986, and Mercedes-Benz began using it in upper-class passenger cars in 1991, according to CAN in Automation (CiA), the users' and makers' association. ISO 11898 standardised it in November 1993. CAN FD, which raises the payload to 64 bytes and switches to a faster bit rate for the data, was presented in 2012. CAN XL, the third generation, carries 1 to 2,048 bytes. All three now sit in one standard: ISO 11898-1:2024, published in May 2024.

Think of a CAN bus as a meeting where everyone hears everything said, a fixed rule decides who speaks first, and anyone who keeps talking nonsense is asked to leave. The advantages below follow from those three ideas.

Why does CAN need so little wiring?

Because all controllers share one twisted pair, CAN_H and CAN_L, instead of a wire between every pair of units. With point-to-point links, units need connections: 45 for 10 units and 780 for 40. On a CAN bus, adding a unit means one short stub to the same two wires.

The pair is driven differentially: a bit is read from the voltage difference between the two wires, so noise that hits both wires equally cancels out. That is why CAN survives next to ignition systems and motors. The bus is a line with a terminating resistor at each end, not a ring or a star.

How does CAN decide which message goes first?

By bitwise arbitration on the identifier. A 0 on the bus is "dominant" and overwrites a 1 ("recessive"). Nodes that start together send their identifiers bit by bit and read the bus back; a node that sends 1 but reads 0 knows a more urgent frame is on the bus and stops. The lowest identifier wins, and its frame is not delayed or damaged.

Bit grid of three 11-bit identifiers sent at once: A 0x0C8, B 0x0CC and C 0x1A0. The bus row is the AND of all bits. C loses at bit b8, B at bit b2, and A, the lowest identifier, wins.
Three nodes arbitrate: C (0x1A0) drops out at bit 8, B (0x0CC) at bit 2, and A (0x0C8) sends its whole frame with no collision. Computed and drawn by the script in the run folder. Skill-Lync Engineering Desk.

The worked example in the figure: node A sends engine speed with ID 0x0C8 (200), node B wheel speed with 0x0CC (204), node C door status with 0x1A0 (416). The first two bits are 0 for everyone. At bit b8, C sends 1 while A and B send 0; the bus reads 0, so C stops transmitting and becomes a receiver. At bit b2, B sends 1 while A sends 0; B stops. A finishes, and the bus pattern it leaves is exactly its own identifier, 0x0C8.

Two things make this an advantage over simpler buses. There is no master that can fail and stop all traffic, and no bandwidth is lost in collisions, because the winner never notices the contest. The price is that the designer must give urgent signals low identifiers and check that the low-priority ones still meet their deadlines.

How does CAN detect errors?

Every node checks every frame in five ways: it compares each bit it sends with the bus (bit monitoring), checks that no more than five equal bits appear in a row (bit stuffing), checks a 15-bit CRC, checks the fixed-format fields, and checks that at least one receiver acknowledged the frame. Any node that finds an error destroys the frame for everyone, and the sender retries automatically.

The CRC polynomial in the Bosch specification is . Bosch lists what the checks guarantee: all global errors and all local errors at transmitters are detected, as are up to 5 randomly distributed errors in one message, burst errors shorter than 15 bits, and any odd number of errors. After an error, the next message can start within 29 bit times if nothing else goes wrong.

How small is "less than message error rate × 4.7 × 10−11"? Take a busy bus sending 2,000 frames a second, a car that runs one hour a day, and assume one frame in a thousand is corrupted by noise (a pessimistic assumption we chose for the example, not a measured value). With the chance a frame slips through undetected and the frames in a year:

That is fewer than one undetected bad frame in about 8,000 years of daily driving for that one bus, under that assumption. Later research has argued about the exact figure under different noise models, but the order of magnitude is why CAN is trusted with brakes and airbags.

What happens when a CAN node goes faulty?

It confines itself. Each node keeps a transmit error counter and a receive error counter. A failed transmission adds 8 and a successful one subtracts 1, so a node that is merely unlucky recovers, while one that keeps failing climbs. At 128 it becomes "error passive" and can no longer destroy other nodes' frames; at 256 it goes "bus off" and stops driving the bus.

The arithmetic, from the Bosch fault-confinement rules: starting at zero, 16 transmit errors in a row take the counter to (error passive) and 32 take it to (bus off). A bus-off node may rejoin with both counters reset only after it has seen 128 occurrences of 11 recessive bits, so a broken transceiver cannot jam the whole network with endless error flags.

StateEntered whenWhat the node may do
Error activeBoth counters 127 or lessSend and receive normally; signals errors with an active error flag that destroys the frame
Error passiveEither counter 128 or moreStill communicates, but can only signal errors passively and must wait longer between its own frames
Bus offTransmit counter 256 or moreNo influence on the bus at all until the recovery sequence completes

Why is a message-based protocol an advantage?

Because nodes do not need each other's addresses. A frame says "engine speed" rather than "for the dashboard", so the dashboard, the transmission and a data logger can all use the same frame at the same moment (multicast). You can add a new receiver without changing a single existing node, which is how one vehicle platform supports many trim levels.

The same feature makes development tools simple: a laptop with a CAN interface can listen to everything without being configured into the network. Higher-layer protocols build on it, for example CANopen (CiA 301, based on classical CAN) for industrial machines and SAE J1939 for trucks and buses.

What are the disadvantages of the CAN protocol?

Classical CAN carries at most 8 data bytes per frame at no more than 1 Mbit/s, so its useful throughput is low and its overhead high. The maximum cable length falls as the bit rate rises. It has no built-in authentication or encryption. And low-priority messages can be delayed under heavy load, so timing has to be analysed, not assumed.

How much of a CAN frame is overhead?

Davis, Burns, Bril and Lukkien give the worst-case length of a classical frame with data bytes and an 11-bit identifier, including stuff bits and the 3-bit gap between frames, as:

For 8 bytes this is bits; without any stuff bits it is 111. At 500 kbit/s one bit lasts 2 µs, so the frame takes 222 to 270 µs, and the 64 data bits are to of it.

Bar chart of classical CAN frame length for 0 to 8 data bytes with an 11-bit identifier. Without stuff bits: 47 bits plus 8 per byte, 111 bits for 8 bytes; with worst-case stuffing: 135 bits, which is 222 to 270 microseconds at 500 kbit/s.
Even a full 8-byte frame is roughly half overhead. Bars computed from the Davis et al. (2007) formula, cross-checked field by field against the Bosch 2.0 frame format. Skill-Lync Engineering Desk.

How busy can a CAN bus get? A worked example

Suppose 20 ECUs each send one 8-byte frame every 10 ms on a 500 kbit/s bus. In the worst case that is bits every 10 ms, or 270,000 bits per second: 54 % of the bus. The 20 frames take 5.4 ms of every 10 ms cycle, and the lowest-priority one may wait for all the others. Engineers check this with response-time analysis; Davis and colleagues showed in 2007 that the analysis used since 1994 could be optimistic and published a corrected version.

Why does a faster CAN bus have to be shorter?

Arbitration only works if every node sees the farthest node's bit within the same bit time, before the point where it samples the bit (CiA recommends a sample point close to 87.5 % of the bit). At 1 Mbit/s a bit lasts 1 µs, so the signal's round trip through cable and transceivers must fit in less than that. CiA's CANopen table gives the practical limits.

Log-log chart of maximum CAN bus length against bit rate from CiA's CANopen table: 25 m at 1000 kbit/s, 50 m at 800, 100 m at 500, 250 m at 250, 500 m at 125, 1000 m at 50, 2500 m at 20 and 5000 m at 10 kbit/s.
Bit rate times length stays roughly constant (25,000 to 62,500 kbit/s·m across the table), because the round trip has to fit inside one bit. Data: CiA, CANopen lower layers. Skill-Lync Engineering Desk.

Is CAN secure?

No, not on its own. Any node can send any identifier, and receivers cannot tell a genuine frame from a forged one. Vehicles add security above CAN, for example AUTOSAR Secure Onboard Communication (SecOC), which sends an authenticator (a message authentication code) and freshness information with each protected message, so receivers can reject forged and replayed frames. On classical CAN those extra bytes eat into an 8-byte payload; CAN FD's 64 bytes leave room for them.

CAN vs CAN FD vs CAN XL vs LIN vs automotive Ethernet: which does what?

CAN is the middle tier of a vehicle network. LIN is cheaper and slower, for switches and simple sensors. CAN FD and CAN XL keep CAN's arbitration and error handling but carry more data faster. Automotive Ethernet takes the high-bandwidth jobs such as cameras and backbones, and its 10BASE-T1S variant is, like CAN, a single line shared by several nodes.

NetworkPayload per frameSpeedStandardTypical job
Classical CAN (CAN CC)0-8 bytesUp to 1 Mbit/sISO 11898-1, -2Powertrain, chassis, body ECUs
CAN FDUp to 64 bytesAbove 1 Mbit/s in the data phase (bit-rate switch)ISO 11898-1Newer ECUs, secured messages, flashing software
CAN XL1-2,048 bytes20 Mbit/s and higher with SIC XL transceiversISO 11898-1:2024, CiA 610Backbones, IP traffic over CAN
LINSmall (switches, sensors)Up to 20 kbit/sISO 17987Window switches, mirrors, seat motors
10BASE-T1S EthernetEthernet frames10 Mbit/s, shared by up to 8 nodes per lineIEEE 802.3cg-2019Zonal architectures, sensors

Classical CAN is not going away soon: ISO 11898-1:2024 defines nodes that handle the classical frame alongside CAN FD and CAN XL frames, so mixed networks can migrate step by step. For a learner, that means classical CAN is still the base you build on.

Where is the CAN protocol used?

Mostly in road vehicles: engine, gearbox, brakes, airbags, body electronics and diagnostics in passenger cars, and SAE J1939 networks in trucks, buses and farm machines. Outside cars, CANopen is used in industrial automation and other embedded control systems; CiA notes that CAN is the dominant serial network in passenger cars but is not limited to them.

For Indian engineers this matters because the work is here. In Skill-Lync's placement records for its embedded-systems programs (snapshot of 15 Nov 2026, n = 278 placements), the median starting salary is 4.0 LPA, with the middle half between 3.5 and 5.0 LPA. The most frequent hirers in that group are Cyient (18 placements), Nexteer Automotive (17), Expleo (9) and Tata Technologies (8). These are Skill-Lync learners who reported a placement, mostly 2021-23 starting offers, not the whole job market.

How do you learn CAN properly?

Learn the frame and arbitration on paper first, then watch a real bus. A USB CAN interface or Linux SocketCAN with two microcontroller boards is enough to send frames, force errors and see the counters move. Then learn a higher layer (CANopen or J1939) and the AUTOSAR communication stack that carries signals over CAN in production ECUs.

Skill-Lync's Introduction to Automotive Embedded Systems and AUTOSAR covers CAN and FlexRay in week 2 before model-based development and Classic AUTOSAR (12 weeks, about 44 hours, 2 projects). For the attacker's view of the same bus, Introduction to Automotive Cybersecurity and Vehicle Networks covers CAN bus hardware and attacks on CAN with SocketCAN. To prepare for interviews, read our AUTOSAR interview questions and the overview of automotive embedded systems. Not sure where to start? Talk to a Skill-Lync counsellor.

Frequently asked questions

What are the main advantages of the CAN protocol?

CAN cuts wiring by putting every controller on one twisted pair, resolves conflicts by priority without a master or lost time, detects errors with five independent checks and retransmits automatically, and makes faulty nodes switch themselves off. It is message-based, so nodes can be added without changing others, and it is cheap, mature and standardised in ISO 11898.

What are the disadvantages of the CAN protocol?

Classical CAN carries only 0-8 data bytes per frame at up to 1 Mbit/s, and about half of each frame is overhead. Higher bit rates need shorter cables, 25 m at 1 Mbit/s in CiA's table. It has no built-in security, and low-priority messages can be delayed when the bus is busy, so timing must be analysed.

Why is CAN called a message-based protocol?

Because a CAN frame carries an identifier that names the data, such as engine speed, instead of the address of a receiver. Every node receives every frame and its acceptance filter decides whether to keep it. The same identifier also sets the frame's priority during arbitration: the lower the number, the higher the priority.

What is the maximum speed of the CAN bus?

Classical CAN runs at up to 1 Mbit/s, which CiA's CANopen table limits to a 25 m network. CAN FD switches to a faster bit rate for the data part of the frame and carries up to 64 bytes. CAN XL, standardised in ISO 11898-1:2024, reaches 20 Mbit/s and more with SIC XL transceivers.

Why does CAN use two wires?

CAN_H and CAN_L carry the signal as a voltage difference between them. Noise from motors or ignition usually hits both wires equally, so it cancels when the receiver subtracts one from the other. Twisting the pair improves this further. The bus is terminated with a resistor at each of its two ends.

Is CAN still used in new cars?

Yes. Classical CAN and CAN FD remain the main networks for powertrain, chassis and body ECUs, and the 2024 edition of ISO 11898-1 added CAN XL rather than replacing CAN. Automotive Ethernet is taking over high-bandwidth links such as cameras and backbones, so most new vehicles mix Ethernet, CAN FD, classical CAN and LIN.

Sources and further reading

Want this on your résumé?

Talk to a counsellor.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.