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.
Recommended sample points
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
| Prescaler | TSEG1 | TSEG2 | SJW | Sample |
|---|---|---|---|---|
| 8 | 15 | 4 | 4 | 80.0% |
| 10 | 12 | 3 | 3 | 81.3% |
| 16 | 7 | 2 | 2 | 80.0% |
| 32 | 3 | 1 | 1 | 80.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.