Datasheet

MCP2515
DS20001801J-page 40 2003-2019 Microchip Technology Inc.
5.2.2 PROPAGATION SEGMENT
The Propagation Segment (PropSeg) exists to
compensate for physical delays between nodes. The
propagation delay is defined as twice the sum of the
signal’s propagation time on the bus line, including the
delays associated with the bus driver. The PropSeg is
programmable from 1-8 T
Q
s.
5.2.3 PHASE SEGMENT 1 (PS1) AND
PHASE SEGMENT 2 (PS2)
The two Phase Segments, PS1 and PS2, are used to
compensate for edge phase errors on the bus. PS1 can
be lengthened (or PS2 shortened) by resynchroniza-
tion. PS1 is programmable from 1-8 T
Q
s and PS2 is
programmable from 2-8 T
Q
s.
5.2.4 SAMPLE POINT
The sample point is the point in the bit time at which the
logic level is read and interpreted. The sample point is
located at the end of PS1. The exception to this rule is
if the Sample mode is configured to sample three times
per bit. In this case, while the bit is still sampled at the
end of PS1, two additional samples are taken at one-
half T
Q
intervals prior to the end of PS1, with the value
of the bit being determined by a majority decision.
5.2.5 INFORMATION PROCESSING TIME
The Information Processing Time (IPT) is the time
required for the logic to determine the bit level of a
sampled bit. The IPT begins at the sample point, is
measured in T
Q
and is fixed at 2 T
Q
s for the Microchip
CAN module. Since PS2 also begins at the sample
point and is the last segment in the bit time, it is
required that the PS2 minimum is not less than the IPT.
Therefore:
5.2.6 SYNCHRONIZATION JUMP WIDTH
The Synchronization Jump Width (SJW) adjusts the bit
clock, as necessary, by 1-4 T
Q
s (as configured) to
maintain synchronization with the transmitted
message. Synchronization is covered in more detail
later in this data sheet.
5.3 Time Quantum
Each of the segments that make up a bit time are made
up of integer units, called Time Quanta (T
Q
). The length
of each Time Quantum is based on the oscillator period
(T
OSC
). The base T
Q
equals twice the oscillator period.
Figure 5-2 shows how the bit period is derived from
T
OSC
and T
Q
. The T
Q
length equals one T
Q
clock
period (t
BRPCLK
), which is programmable using a pro-
grammable prescaler, called the Baud Rate Prescaler
(BRP). This is illustrated in the following equation:
EQUATION 5-2:
FIGURE 5-2: T
Q
AND THE BIT PERIOD
PS2
min
= IPT = 2 T
Q
s
Where: BRP equals the configuration as shown
in Register 5-1.
T
Q
= 2 • BRP • T
OSC
=
2 • BRP
F
OSC
T
OSC
T
BRPCLK
t
bit
Sync
(fixed)
PropSeg
(Programmable)
PS2
(Programmable)
PS1
(Programmable)
T
Q
(t
TQ
)
CAN Bit Time