
BAT32G1x9 user manual | Chapter 22 CAN control
904 / 1149
Rev.1.02
22.7.13
CAN Module Bit Rate Scaling Register (CnBRP).
The CnBRP register is used to select the CAN protocol layer base clock (fTQ). The baud rate is set to
the CnBTR register
Figure 22-36. CAN
Module Bit Rate Scaling Register Format
(CnBRP
).
TQPRS7-TQPRS0
CAN protocol layer basic system clock
(f
TQ
).
0
f
CANMOD
/1
1
f
CANMOD
/2
:
:
n
f
CANMOD
/(n+1)
:
:
255
f
CANMOD
/256 (default).
Figure 22-37. CAN
global clock
CAN Global Module Clock Selection Register
(CnGMCS
).
CAN Module Bit Rate Scaling Register
(CnBRP
).
Note: The CnBRP register can only be written in initialization mode
Note: f
CAN
:
Provides a clock
(f
MAIN
)
to CAN
f
CANMOD
: CAN
module system clock
f
TQ
:
CAN protocol layer base system clock
0
0
0
0
CCP3
CCP2
CCP1
Baud rate generator
CAN
bit-rate
register
(C0BTR
).
TQPRS7 TQPRS6
TQPRS5 TQPRS4 TQPRS3 TQPRS2 TQPRS1 TQPRS0
CCP0
f
CA
N
f
CANMO
D
f
T
Q
zoom