77
The following relations exist for bit time, time quanta, time segments ½, and the data sampling
point.
Figure 5-4. Bit Time, Time Quanta, and Sample Point Relationships
Bit Time
1 tseg1 + 1 tseg2 + 1
time quanta (TQ) Sample Point
Bittime = (1+ ( tseg1 + 1) + (tseg2 + 1)) x timequanta
timequanta = (bitrate +1) / f
clk
e.g., for 1Mbps with f
clk
= 8Mhz, set bitrate = 0, tseg1 = 3 and tseg2 = 2
Observe the following conditions when setting tseg1 and tseg2:
tseg1=0 and tseg1=1 are not allowed
tseg2=0 is not allowed; tseg2=1 is only allowed in direct sampling mode.