欢迎访问ic37.com |
会员登录 免费注册
发布采购

MCP2515-I/ST 参数 Datasheet PDF下载

MCP2515-I/ST图片预览
型号: MCP2515-I/ST
PDF下载: 下载PDF文件 查看货源
内容描述: 独立CAN控制器,SPI ™接口 [Stand-Alone CAN Controller With SPI⑩ Interface]
分类和应用: 控制器
文件页数/大小: 84 页 / 993 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号MCP2515-I/ST的Datasheet PDF文件第35页浏览型号MCP2515-I/ST的Datasheet PDF文件第36页浏览型号MCP2515-I/ST的Datasheet PDF文件第37页浏览型号MCP2515-I/ST的Datasheet PDF文件第38页浏览型号MCP2515-I/ST的Datasheet PDF文件第40页浏览型号MCP2515-I/ST的Datasheet PDF文件第41页浏览型号MCP2515-I/ST的Datasheet PDF文件第42页浏览型号MCP2515-I/ST的Datasheet PDF文件第43页  
MCP2515  
5.2.2.2  
No Phase Error (e = 0)  
5.2  
Synchronization  
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.  
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.  
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.  
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.  
5.2.2.4  
Negative Phase Error (e < 0)  
There are two mechanisms used for synchronization:  
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.  
1. Hard synchronization.  
2. Resynchronization.  
5.2.1  
HARD SYNCHRONIZATION  
5.2.3  
SYNCHRONIZATION RULES  
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.  
1. Only recessive-to-dominant edges will be used  
for synchronization.  
2. Only one synchronization within one bit time is  
allowed.  
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.  
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.2.2  
RESYNCHRONIZATION  
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.  
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).  
© 2005 Microchip Technology Inc.  
Preliminary  
DS21801D-page 39  
 复制成功!