CAN bus/The wires/05. The 120 Ω resistor
The wires · 05 of 9

The 120 Ω resistor

Every TK109 ships with a 120 Ω resistor across CANH and CANL, and on a CAN bus it has two jobs: it absorbs the signal at the end of the cable, and it is what pulls the bus back to recessive, because nothing drives a 1. Two resistors, at the two ends, is right. Six boards straight from the box put six on the bus.

Job one: the end of the cable

An edge travels down a cable at roughly two thirds of the speed of light and, at an open end, reflects back. A resistor equal to the cable's own impedance, about 120 Ω for twisted pair, absorbs it instead. Either end's board may be talking, so both ends need one. This part is the same as on RS485.

Job two: getting back to 1

This part is CAN's own. A 0 is driven; a 1 is not. When a board stops driving, the bus has to fall back to recessive by itself, and it can only do that through whatever sits across CANH and CANL. The cable holds a little charge, like a small capacitor, and the resistors drain it.

How many keep their 120 Ω
6 of 6 fitted
Boards with the 120 Ω fitted6
Cable
CANH to CANL
20 Ω
Dominant, 1.5 V
75 mA
Back to recessive
at once
6 fitted: 20 Ω, past the 60 Ω load. Recessive comes back fast, but dominant needs about 75 mA to make 1.5 V, and the chip makes a smaller difference instead. On a desk that usually still works; on a long, noisy run it is the margin that goes. Remove the resistor from every board that is not at an end.

With a 120 Ω at each end, 60 Ω drains it in a few tens of nanoseconds. With none, only the receivers' inputs are left, tens of kilohms, and on a few metres of cable the bus takes longer than a bit to get back. Recessive bits then read as dominant, and every frame fails. So on CAN, no terminators at all is not a long-cable problem. It can stop a bus on the desk.

Too many

The opposite fails more quietly. Every resistor left on sits across the pair, so six are 20 Ω. The driver is specified into 60 Ω; into 20 it makes a smaller difference and runs hotter. It usually still works on a short bus, and fails on a long, noisy one.

Which boards keep it

The two at the ends of the cable, and none between. On the TK109 it is the small resistor between the three bus pins and the chip, printed 121.

The TK109 from above at an angle, screw terminal at the back: CANH, GND and CANL printed in front of it, three male pins below them, and directly below the middle pin a small black resistor printed 121, above the eight-legged chip. Four right-angle pins stick out of the front edge.
The 120 Ω sits between the three bus pins and the chip.

To take it off, heat one end with a little fresh solder on the iron and push it off its pad, then the other end. Then check: CANH to CANL on that board should read tens of kilohms. If a board later becomes an end, a through-hole 120 Ω in its screw terminal, between CANH and CANL, does the same job.

When it does not work

I have two boards. Do I remove anything?

No. Two boards are the two ends of their cable, so both keep their 120 Ω, which makes the 60 Ω the standard asks for. That is how the first build in this book is wired.

I removed both resistors and nothing works.

On CAN that is expected. Recessive is not driven: the bus falls back only through whatever sits across the pair. With no resistor, only the receivers' own inputs are there, tens of kilohms, and the bus takes longer than a bit to return. Put a 120 Ω back at each end; a through-hole one in the screw terminal between CANH and CANL is fine.

How do I take the resistor off?

It is the small resistor between the three bus pins and the chip, printed 121. Heat one end with a little fresh solder on the iron and push it off the pad, then the other end. Afterwards CANH to CANL on that board should read tens of kilohms, not 120 Ω.

Everything works with all six fitted. Why bother?

On a desk it often does. Six resistors in parallel are 20 Ω, a third of the load the driver is built for, so it makes a smaller difference and more heat. On a long cable with noise on it, that lost margin is what fails first, and nothing on the bench explains it.

Where this goes next

Why GND runs with CANH and CANL, and why the two are twisted together.

Ground and a twisted pair

Edit this page — content/books/can-bus/the-120-ohm-resistor.mdx

Community

Questions about this product

See what other owners have asked, and read their solutions.

Ask a question ↗

CAN Bus

Loading discussions…

Discuss this article

Ask about this page. The answer stays here, on the page it belongs to, for whoever hits the same wall next.

Browse Modules and blocks on the forum