477
CHAPTER 23 CAN CONTROLLER
23.6.5
Bit Timing Register (BTR)
Bit timing register (BTR) stores the prescaler and bit timing setting.
■
Bit Timing Register (BTR)
Figure 23.6-6 Configuration of the Bit Timing Register (BTR)
Note:
This register should be set during bus operation stop (HALT = 1).
■
Bit Timing Register (BTR) Contents
15
bit
bit
14
13
12
11
10
9
8
Initial value
X 1 1 1 1 1 1 1
B
Address:
H
CAN0: 003707
CAN1: 003907
CAN2: 003B07
CAN3: 003D07
CAN4: 003F07
H
H
H
H
BTR (upper)
Initial value
1 1 1 1 1 1 1 1
B
Address:
H
CAN0: 003706
CAN1: 003906
CAN2: 003B06
CAN3: 003D06
CAN4: 003F06
H
H
H
H
BTR (lo
w
er)
-
TS2.2 TS2.1 TS2.0 TS1.3 TS1.2 TS1.1 TS1.0
RSJ1 RSJ0 PSC5 PSC4 PSC3 REC2 PSC1 PSC0
- R/W R/W R/W
R/W
R/W
R/W
R/W
R/W R/W R/W
R/W
R/W
R/W
R/W
R/W
7
6
5
4
3
2
1
0
R/W
: Readable and
w
ritable
Table 23.6-6 Function of Each Bit of the Bit Timing Register (BTR)
Bit name
Function
bit15
Undefined
bit14 to
bit12
TS2.2 to TS2.0:
Time segment2
setting bits
These bits define the number of the time quanta (TQ’s) for the time segment 2 (TSEG2).
The time segment 2 is equal to the phase buffer segment 2 (PHASE_SEG2) in the CAN
specification.
bit11 to
bit8
TS1.3 to TS1.0:
Time segment1
setting bits
These bits define the number of the time quanta (TQ’s) for the time segment 1 (TSEG1).
The time segment 1 is equal to the propagation segment (PROP_SEG) + phase buffer
segment 1 (PHASE_SEG1) in the CAN specification.
bit7, bit6
RSJ1, RSJ0:
Resynchronization
jump width setting
bits
These bits define the number of the time quanta (TQ’s) for the resynchronization jump
width.
bit5 to bit0
PSC5 to PSC0:
Prescaler setting
bits
These bits define the time quanta (TQ) of the CAN controller. (see below for details.)
Summary of Contents for MB90390 Series
Page 2: ......
Page 4: ......
Page 17: ...xiii APPENDIX D List of Interrupt Vectors 690 INDEX 695 ...
Page 18: ...xiv ...
Page 132: ...104 CHAPTER 5 CLOCKS ...
Page 152: ...124 CHAPTER 6 CLOCK MODULATOR ...
Page 210: ...182 CHAPTER 11 TIME BASE TIMER ...
Page 218: ...190 CHAPTER 12 WATCHDOG TIMER ...
Page 264: ...236 CHAPTER 14 16 BIT RELOAD TIMER WITH EVENT COUNT FUNCTION ...
Page 274: ...246 CHAPTER 15 WATCH TIMER ...
Page 306: ...278 CHAPTER 17 DTP EXTERNAL INTERRUPTS ...
Page 338: ...310 CHAPTER 18 8 10 BIT A D CONVERTER ...
Page 364: ...336 CHAPTER 19 UART0 UART1 ...
Page 398: ...370 CHAPTER 20 UART2 UART3 Figure 20 5 2 ORE Set Timing Receive data RDRF ORE ...
Page 432: ...404 CHAPTER 20 UART2 UART3 ...
Page 482: ...454 CHAPTER 22 SERIAL I O ...
Page 560: ...532 CHAPTER 24 STEPPING MOTOR CONTROLLER ...
Page 582: ...554 CHAPTER 27 ROM MIRRORING MODULE ...
Page 632: ...604 CHAPTER 29 EXAMPLES OF SERIAL PROGRAMMING CONNECTION ...
Page 722: ...694 APPENDIX ...
Page 723: ...695 INDEX The index follows on the next page This is listed in alphabetic order ...
Page 740: ......