On this page
Every node on a CAN bus must agree not only on the bitrate but also on when inside each bit to read the bus level. That moment is the sample point. If nodes sample at very different points, or the timing does not suit the cable length, you get bit errors, error frames and eventually bus-off. Bit timing is also the hidden reason a cheap adapter sometimes fails on a bus that other tools read without trouble.
The parts of a CAN bit
Each bit is divided into small time units called time quanta (tq), derived from the controller’s clock:
| Segment | Length | Purpose |
|---|---|---|
| Sync segment | Always 1 tq | Edges are expected here; used to synchronise |
| Propagation segment | Several tq | Compensates for signal travel time on the cable and through transceivers |
| Phase segment 1 | Several tq | Can be lengthened to resynchronise |
| Phase segment 2 | Several tq | Can be shortened to resynchronise |
The sample point sits between phase segment 1 and phase segment 2. Many controllers combine propagation and phase segment 1 into one setting, often called TSEG1, with phase segment 2 as TSEG2.
The sample point sits between phase segment 1 and 2. In this example (15 tq per bit) it falls at 12 of 15 tq, which is 80%; most car buses use 75 to 87.5%.
Calculating the sample point
Sample point = (1 + TSEG1) / (1 + TSEG1 + TSEG2)
Example at 500 kbit/s with 16 tq per bit: sync 1, TSEG1 13, TSEG2 2. Sample point = 14 / 16 = 87.5 %.
| Bitrate | Common sample point |
|---|---|
| 125 to 500 kbit/s | About 87.5 % (CANopen and many automotive networks) |
| Automotive (SAE J2284) | About 80 to 87.5 % depending on the network |
| 1 Mbit/s | About 75 to 87.5 % |
Use the value specified for the network you join; nodes on one bus should use similar sample points.
SJW: synchronisation jump width
Clocks in different nodes drift slightly. On every recessive-to-dominant edge, controllers can lengthen phase segment 1 or shorten phase segment 2 by up to the SJW (synchronisation jump width, usually 1 to 4 tq) to stay aligned.
Bit timing and bus length
The propagation segment must cover the round-trip delay of the cable and transceivers, so higher bitrates allow shorter buses. Rough guidelines:
| Bitrate | Approximate maximum bus length |
|---|---|
| 1 Mbit/s | About 40 m |
| 500 kbit/s | About 100 m |
| 250 kbit/s | About 250 m |
| 125 kbit/s | About 500 m |
Cars are far shorter, but stubs, connectors and poor termination still matter.
Setting bit timing in SocketCAN
sudo ip link set can0 type can bitrate 500000 sample-point 0.875
sudo ip link set can0 up
ip -details link show can0
The details output shows the calculated tq, segments, SJW and the real sample point. For full control you can set tq, prop-seg, phase-seg1, phase-seg2 and sjw directly. CAN FD adds a second set of timing values for the data phase (dbitrate, dsample-point). See the SocketCAN tutorial.
Symptoms of wrong bit timing
- Error frames or a rising error counter on a bus where other devices are fine
- Works on a short bench cable but not in the car
- Interface goes error-passive or bus-off, as explained in U0073 bus off
Frequently asked questions
What is the CAN sample point?
The position inside each bit, as a percentage of the bit time, where the controller reads the bus level.
What sample point should I use for 500 kbit/s?
Commonly about 87.5 %, unless the network specification says otherwise.
What is a time quantum?
The smallest time unit used to build a CAN bit, derived from the controller clock.
Why does my CAN adapter show errors at the correct bitrate?
Often a sample point or clock mismatch, missing termination, or the wrong bus. Check the timing details and termination.
Does CAN FD use different bit timing?
Yes. CAN FD has separate timing for the arbitration phase and the faster data phase.
Learn CAN in depth
Our Car Electronics and Car Hacking course explains the CAN physical layer, timing and errors, then moves on to capturing, decoding and diagnostics.


