CAN Bit Timing Explained: Resynchronization, Sample Point, SYNC, TSEG_1 and TSEG_2
Key takeaways
- CAN nodes first sync on the SOF falling edge, then resynchronize on later falling edges in the frame.
- Bit stuffing never allows six identical bits in a row in stuffed fields, so receivers get edges to check.
- A fast receiver lengthens TSEG_1 and a slow one shortens TSEG_2. The bit is read at the sample point.

CAN bit timing exists because no two nodes on a CAN bus run on exactly the same clock. A receiver keeps correcting its own timing while a frame is still arriving. To read a message correctly, every node needs to know where a frame starts and how long each bit lasts.
Where a frame starts: hard synchronization at SOF
The start of a frame is set when a node on an idle CAN bus receives the falling edge that opens the start-of-frame (SOF) bit. A frame begins with that dominant bit, logical 0. When every node takes that same start point, the bus has its first synchronization, which Microchip’s controller documentation calls hard synchronization at the start of a frame.
Bit length comes from the baud rate, which is set to the same value on every node. Every bit nominally takes the same time, set by that baud rate.

Why CAN nodes resynchronize
The clocks of the nodes on a bus always carry some error. With every bit that passes, the sender and a receiver drift further apart. Without resynchronization the gap keeps growing, and bit errors pile up on the bus.
Synchronization is checked on falling edges. A run of identical bits has no falling edge, so a receiver cannot check its timing while it lasts.
Bit stuffing solves that by never allowing six identical bits in a row in the stuffed fields of a frame, so the bus level keeps changing and edges keep appearing there. In the words of CiA, the CAN industry association, the synchronization edges are generated by means of bit stuffing.

A receiver that sees a falling edge checks its timing against it. It then shortens or lengthens its own bit time to match the sender. That adjustment is resynchronization.
How the SYNC segment shows a receiver is in sync
A receiver judges its synchronization with a timing scale for one bit, called the bit time interval. As the figure below shows, the interval is built from three segments, SYNC, TSEG_1 and TSEG_2. The green ring shows one bit time as a full circle. The red arrow ties SYNC to its light wedge, the short slice where SYNC sits.

SYNC, the first segment, settles the question. A receiver is synchronized only when the edge where the bit changes falls inside its SYNC segment. If the edge comes earlier or later than SYNC, the receiver needs to resynchronize.
The same rule appears in Microchip’s CAN bit timing configuration notes, which expect an edge within SYNC and make that segment one time quantum long. The time quantum is the unit a bit time is counted in, and Kvaser’s tutorial says each bit is divided into at least four time quanta.

The sample point in CAN bit timing
The controller reads the bus level at the boundary between the two remaining segments, and that level decides the bit value. That moment is the sample point.
What each of the three segments does
Each segment of the bit time interval has its own job:
- SYNC checks whether the receiver is in step with the sender’s timing.
- TSEG_1 (Time Segment 1) depends on the bit length, so a longer bit means a longer TSEG_1. A receiver also stretches it when its timing runs ahead and it needs more time to resynchronize.
- TSEG_2 (Time Segment 2) gets shorter, or is skipped, when the receiver’s timing runs behind.

Controller documentation often splits the bit into four parts. Microchip lists SYNC_SEG, PROP_SEG, PHASE_SEG1 and PHASE_SEG2, where PROP_SEG compensates for physical delay on the bus line and in the node. PROP_SEG and PHASE_SEG1 together make up TSEG_1, PHASE_SEG2 matches TSEG_2, and the sample point sits at the end of PHASE_SEG1.
How fast and slow receivers resynchronize
The figure below shows resynchronization for receivers with different timing. A receiver running faster than the sender lengthens TSEG_1 to get back in sync. A receiver running slower shortens TSEG_2.

One resynchronization can only move the bit so far. Microchip caps each step at the resynchronization jump width (SJW). When the magnitude of the phase error is larger than the SJW, PHASE_SEG1 grows or PHASE_SEG2 shrinks by only the SJW amount.
What keeps a CAN receiver in step
A CAN receiver keeps checking its timing against the bus instead of trusting its own clock alone. Clock error is corrected edge by edge, within the SJW limit, so it does not keep growing across the frame. That is why CAN bit timing works with nodes whose clocks never quite agree.
