Guide

CAN bit timing calculator

Enter the controller clock, the Classical CAN bit rate, and a target sample point. The table lists prescaler, TSEG1, TSEG2, and SJW values that fit.

Harwa Limited engineering team · Last updated 2026-12-01

Explanation of segments

The bit time is one sync segment plus TSEG1 plus TSEG2, counted in time quanta. The quantum is the clock divided by the prescaler. The sample point is the end of TSEG1, as a percentage of the bit. SJW is how many quanta the controller may shift the sample to stay locked. This table caps SJW at 4 and at TSEG2.

The search keeps the bit rate within 0.2 percent and the sample point within 3 points of the target. It is a short list, not every legal register in every controller. Read the controller manual before you write a value.

A sample point around 75 to 80 percent is a common start at 500 kbit/s on a short industrial bus. A longer cable wants a later sample so the edge has settled. A very late sample point leaves little room in TSEG2 for the resynchronisation jump.

Use the same sample point on every node. Mismatched sample points cause bit errors that look like a wiring fault. The wiring guide is the other half of that symptom. The adapter page is where the rate is selected in the software.

CAN bit timing calculator

PrescalerTSEG1TSEG2SJWSample
8154480.0%
10123381.3%
1672280.0%
3231180.0%

Questions engineers ask

What clock do I enter?

The CAN controller clock, in hertz, after any PLL. It is not always the CPU crystal.

Why is the table empty?

No prescaler in the searched range hit that bit rate and sample point. Try a nearby sample point or check the clock.

Does this set the adapter for me?

No. It only prints register values. You still configure the controller.

Does it cover CAN FD data-phase timing?

No. This is one Classical CAN bit rate. CAN FD is not in this release.

Related pages

Get a quote

Looking for Engineering or Software Development Support?

Engineering and Software Development Support

Get Free Quote