693
CAN Controller (CAN)
Chapter 19
Preliminary User’s Manual U17566EE1V2UM00
(12)
CnBRP - CANn module bit rate prescaler register
The CnBRP register is used to select the CAN protocol layer base clock (f
TQ
).
The communication baud rate is set to the CnBTR register.
Figure 19-23
CAN module clock
Note
f
CANMOD
:
CAN module system clock
f
TQ
:
CAN protocol layer basic system clock
Caution
The CnBRP register can be write-accessed only in the initialization mode.
(13)
CnBTR - CANn module bit rate register
The CnBTR register is used to control the data bit time of the communication
baud rate.
After reset: FFH
R/W
Address: CnBRP <CnRBaseAddr> + 05A
H
7
6
5
4
3
2
1
0
CnBRP
TQPRS7
TQPRS6
TQPRS5
TQPRS4
TQPRS3
TQPRS2
TQPRS1
TQPRS0
TQPRS7 to
TQPRS0
CAN protocol layer base system clock (f
TQ
)
0
f
CANMOD
/1
1
f
CANMOD
/2
n
f
CANMOD
/(n+1)
:
:
255
f
CANMOD
/256 (default value)
CCP3 CCP2
Prescaler
CANn module bit-rate prescaler register (CnBRP)
CANn module clock selection register
(CnGMCS)
Baud rate generator
CANn bit-rate
register (CnBTR)
CCP1 CCP0
TQPRS0
f
CAN
f
CANMOD
f
TQ
0
0
0
0
TQPRS1
TQPRS2
TQPRS3
TQPRS4
TQPRS5
TQPRS6
TQPRS7
After reset: 370FH
R/W
Address: CnBTR <CnRBaseAddr> + 05C
H
electronic components distributor