
M0A21/M0A23 Series
May 06, 2022
Page
638
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
Bit Timing Register (CAN_BTIME)
Register
Offset
R/W
Description
Reset Value
CAN_BTIME
0x0C
R/W
Bit Timing Register
0x0000_2301
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
Reserved
TSeg2
TSeg1
7
6
5
4
3
2
1
0
SJW
BRP
Bits
Description
[31:15]
Reserved
Reserved.
[14:12]
TSeg2
Time Segment After Sample Point
0x0-
0x7: Valid values for TSeg2 are [0…7]. The actual interpretation by the hardware of this value is such that
one more than the value programmed here is used.
[11:8]
TSeg1
Time Segment Before the Sample Point Minus Sync_Seg
0x01-
0x0F: valid values for TSeg1 are [1…15]. The actual interpretation by the hardware of this value is such
that one more than the value programmed is used.
[7:6]
SJW
(Re)Synchronization Jump Width
0x0-0x3: Valid p
rogrammed values are [0…3]. The actual interpretation by the hardware of this value is such
that one more than the value programmed here is used.
[5:0]
BRP
Baud Rate Prescaler
0x01-0x3F: The value by which the oscillator frequency is divided for generating the bit time quanta. The bit
time is built up from a multiple of this quanta. Valid values for the Baud Rate Prescaler are [0…63]. The actual
interpretation by the hardware of this value is such that one more than the value programmed here is used.
Note:
With a module clock APB_CLK of 8 MHz, the reset value of 0x2301 configures the C_CAN for a
bit rate of 500 Kbit/s. The registers are only writable if bits CCE (CAN_CON[6]) and Init (CAN_CON[0])
are set.