beautypg.com

Preliminary – Rainbow Electronics T89C51CC02 User Manual

Page 88

background image

88

Rev.A - May 17, 2001

Preliminary

T89C51CC02

CANBT2 (S:B5h)
CAN Bit Timing Registers 2

Note:
The CAN controller bit timing registers must be accessed only if the CAN controller is disabled with the ENA bit of the CANGCON register set to 0.
See Figure 60.

No default value after reset.

Figure 75. CANBT2 Register

7

6

5

4

3

2

1

0

-

SJW 1

SJW 0

-

PRS 2

PRS 1

PRS 0

-

Bit Number Bit Mnemonic

Description

7

-

Reserved

The value read from this bit is indeterminate. Do not set this bit.

6-5

SJW1:0

Re-synchronization jump width

To compensate for phase shifts between clock oscillators of different bus controllers, the controller
must re-synchronize on any relevant signal edge of the current transmission.
The synchronization jump width defines the maximum number of clock cycles. A bit period may be
shortened or lengthened by a re-synchronization.

4

-

Reserved

The value read from this bit is indeterminate. Do not set this bit.

3-1

PRS2:0

Programming time segment

This part of the bit time is used to compensate for the physical delay times within the network. It is
twice the sum of the signal propagation time on the bus line, the input comparator delay and the
output driver delay.

0

-

Reserved

The value read from this bit is indeterminate. Do not set this bit.

Tsjw

Tscl

SJW 1 0

, ]

[

1

+

(

)

×

=

Tprs

Tscl

PRS 2

0

]

[

1

+

(

)

Ч

=