MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
22-12
Freescale Semiconductor
22.3.3.2
Control Register (CANx_CR)
CAN
x
_CR is defined for specific FlexCAN2 control features related to the CAN bus, such as bit-rate,
programmable sampling point within an RX bit, loop-back mode, listen-only mode, bus off recovery
behavior, and interrupt enabling (for example, bus-off, error). It also determines the division factor for the
clock prescaler. Most of the fields in this register should only be changed while the module is disabled or
in freeze mode. Exceptions are the BOFFMSK, ERRMSK, and BOFFREC bits, which can be accessed at
any time. Note that CANx_CR is unaffected by soft reset (which occurs when CAN_MCR[SOFTRST] is
asserted).
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
PRESDIV
RJW
PSEG1
PSEG2
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reg Addr
Base + 0x0004
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R BOFF
MSK
ERR
MSK
CLK_
SRC
LPB
0
0
0
0
SMP BOFF
REC
TSYN LBUF LOM
PROPSEG
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reg Addr
Base + 0x0004
1
CANx_CR is unaffected by soft reset (which occurs when CAN_MCR[SOFTRST] is asserted).
Figure 22-4. Control Register (CANx_CR)
Table 22-8. CANx_CR Field Descriptions
Bits
Name
Description
0–7
PRESDIV
[0:7]
Prescaler division factor. Defines the ratio between the CPI clock frequency and the serial
clock (SCK) frequency. The SCK period defines the time quantum of the CAN protocol.
For the reset value, the SCK frequency is equal to the CPI clock frequency. The maximum
value of this register is 0xFF, that gives a minimum SCK frequency equal to the CPI clock
frequency divided by 256. For more information, refer to
.”
8–9
RJW
[0:1]
Resync jump width. Defines the maximum number of time quanta
1
that a bit time can be
changed by one re-synchronization. The valid programmable values are 0–3.
10–12
PSEG1
[0:2]
Phase segment 1. Defines the length of phase buffer segment 1 in the bit time. The valid
programmable values are 0–7.
S-clock frequency
CPI clock frequency
PRESDIV
1
+
-----------------------------------------------------
=
Resync Jump Width
RJW + 1
=
Phase Buffer Segment 1
PSEG1 + 1
Time Quanta
=
Summary of Contents for MPC5553
Page 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Page 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Page 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Page 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Page 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Page 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Page 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Page 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Page 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Page 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Page 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Page 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Page 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Page 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...