参数资料
型号: MCP2515-E/PG
元件分类: 微控制器/微处理器
英文描述: 1 CHANNEL(S), 1M bps, SERIAL COMM CONTROLLER, PDIP18
封装: 0.300 INCH, LEAD FREE, PLASTIC, DIP-18
文件页数: 33/88页
文件大小: 1205K
代理商: MCP2515-E/PG
2010 Microchip Technology Inc.
DS21801F-page 39
MCP2515
5.2
Synchronization
To compensate for phase shifts between the oscillator
frequencies of each of the nodes on the bus, each CAN
controller must be able to synchronize to the relevant
signal edge of the incoming signal. Synchronization is
the
process
by
which
the
DPLL
function
is
implemented.
When an edge in the transmitted data is detected, the
logic will compare the location of the edge to the
expected time (SyncSeg). The circuit will then adjust
the values of PS1 and PS2 as necessary.
There are two mechanisms used for synchronization:
1.
Hard synchronization
2.
Resynchronization
5.2.1
HARD SYNCHRONIZATION
Hard synchronization is only performed when there is a
recessive-to-dominant edge during a BUS IDLE
condition, indicating the start of a message. After hard
synchronization, the bit time counters are restarted with
SyncSeg.
Hard synchronization forces the edge that has
occurred to lie within the synchronization segment of
the
restarted
bit
time.
Due
to
the
rules
of
synchronization, if a hard synchronization occurs, there
will not be a resynchronization within that bit time.
5.2.2
RESYNCHRONIZATION
As a result of resynchronization, PS1 may be
lengthened or PS2 may be shortened. The amount of
lengthening or shortening of the phase buffer segments
has an upper-bound, given by the Synchronization
Jump Width (SJW).
The value of the SJW will be added to PS1 or
subtracted from PS2 (see Figure 5-3). The SJW
represents the loop filtering of the DPLL. The SJW is
programmable between 1 TQ and 4 TQ.
5.2.2.1
Phase Errors
The NRZ bit coding method does not encode a clock
into the message. Clocking information will only be
derived from recessive-to-dominant transitions. The
property which states that only a fixed maximum
number of successive bits have the same value (bit-
stuffing) ensures resynchronization to the bit stream
during a frame.
The phase error of an edge is given by the position of
the edge relative to SyncSeg, measured in TQ. The
phase error is defined in magnitude of TQ as follows:
e = 0 if the edge lies within SYNCSEG
e > 0 if the edge lies before the SAMPLE POINT
(TQ is added to PS1)
e < 0 if the edge lies after the SAMPLE POINT of
the previous bit (TQ is subtracted from PS2)
5.2.2.2
No Phase Error (e = 0)
If the magnitude of the phase error is less than or equal
to the programmed value of the SJW, the effect of a
resynchronization is the same as that of a hard
synchronization.
5.2.2.3
Positive Phase Error (e > 0)
If the magnitude of the phase error is larger than the
SJW and, if the phase error is positive, PS1 is
lengthened by an amount equal to the SJW.
5.2.2.4
Negative Phase Error (e < 0)
If the magnitude of the phase error is larger than the
resynchronization jump width and the phase error is
negative, PS2 is shortened by an amount equal to the
SJW.
5.2.3
SYNCHRONIZATION RULES
1.
Only recessive-to-dominant edges will be used
for synchronization.
2.
Only one synchronization within one bit time is
allowed.
3.
An edge will be used for synchronization only if
the value detected at the previous sample point
(previously read bus value) differs from the bus
value immediately after the edge.
4.
A transmitting node will not resynchronize on a
positive phase error (e > 0).
5.
If the absolute magnitude of the phase error is
greater than the SJW, the appropriate phase
segment will adjust by an amount equal to the
SJW.
相关PDF资料
PDF描述
MCP2515-I/ST 1 CHANNEL(S), 1M bps, SERIAL COMM CONTROLLER, PDSO20
MCP2515-E/P 1 CHANNEL(S), 1M bps, SERIAL COMM CONTROLLER, PDIP18
MCP2515T-I/ST 1 CHANNEL(S), 1M bps, SERIAL COMM CONTROLLER, PDSO20
MCP79400-I/MNY REAL TIME CLOCK, PDSO8
MCP79400T-I/ST REAL TIME CLOCK, PDSO8
相关代理商/技术参数
参数描述
MCP2515-I 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:Stand-Alone CAN Controller with SPI Interface
MCP2515-I/ML 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:Stand-Alone CAN Controller with SPI Interface
MCP2515-I/P 功能描述:网络控制器与处理器 IC W/ SPI Interface RoHS:否 制造商:Micrel 产品:Controller Area Network (CAN) 收发器数量: 数据速率: 电源电流(最大值):595 mA 最大工作温度:+ 85 C 安装风格:SMD/SMT 封装 / 箱体:PBGA-400 封装:Tray
MCP2515-I/P 制造商:Microchip Technology Inc 功能描述:CAN controller IC
MCP2515-I/SO 功能描述:网络控制器与处理器 IC W/ SPI Interface RoHS:否 制造商:Micrel 产品:Controller Area Network (CAN) 收发器数量: 数据速率: 电源电流(最大值):595 mA 最大工作温度:+ 85 C 安装风格:SMD/SMT 封装 / 箱体:PBGA-400 封装:Tray