Intel 87C196CB Can Serial Communications Controller, 9. CAN Controller Bit Time Segments, t SYNC

Models: 8XC196NT 87C196CB

1 155
Download 155 pages 42.65 Kb
Page 72
Image 72
t SYNC

CAN SERIAL COMMUNICATIONS CONTROLLER

Bit Time

t SYNC

 

 

t TSEG1

t TSEG2

_SEG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 tq

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(TSEG2 + 1)tq

 

 

 

 

 

 

 

 

 

 

 

(TSEG1 + 1)tq

 

 

 

 

 

 

 

 

 

Sample

 

 

Transmit

 

A2602-01

 

Figure 7-5. A Bit Time as Implemented in the CAN Controller

 

Table 7-9. CAN Controller Bit Time Segments

 

 

Symbol

Definition

 

 

tSYNC_SEG

This time segment is equivalent to SYNC_SEG in the CAN protocol. Its length is one time

 

quantum.

 

 

tTSEG1

This time segment is equivalent to the sum of PROP_SEG and PHASE_SEG1 in the CAN

 

protocol. Its length is specified by the TSEG1 field in bit timing register 1. To allow for resyn-

 

chronization, the sample point can be moved (tTSEG1 or tTSEG2 can be shortened and the other

 

lengthened) by 1 to 4 time quanta, depending on the programmed value of the SJW field in bit

 

timing register 0.

 

The CAN controller samples the bus once or three times, depending on the value of the

 

sampling mode (SPL) bit in bit timing register 0. In three-sample mode, the hardware

 

lengthens tTSEG1 by 2 time quanta to allow time for the additional two bus samples. In this

 

case, the “sample point” shown in Figure 7-5 is the time of the third sample; the first and

 

second samples occur 2 and 1 time quanta earlier, respectively.

 

 

tTSEG2

This time segment is equivalent to PHASE_SEG2 in the CAN protocol. Its length is specified

 

by the TSEG2 field in bit timing register 1. To allow for resynchronization, the sample point

 

can be moved (tTSEG1 or tTSEG2 can be shortened and the other lengthened) by 1 to 4 time

 

quanta, depending on the programmed value of the SJW field in bit timing register 0.

 

 

7-11

Page 72
Image 72
Intel 87C196CB Can Serial Communications Controller, 5. A Bit Time as Implemented in the CAN Controller, t SYNC, t TSEG1