
MPC5566 Microcontroller Reference Manual, Rev. 2
22-10
Freescale Semiconductor
22.3.3.1
Module Configuration Register (CAN
x
_MCR)
CAN
x
_MCR defines global system configurations, such as the module operation mode and maximum
message buffer configuration. Most of the fields in this register can be accessed at any time, except the
MAXMB field, which can be changed only while the module is in freeze mode.
Address: Base + 0x0000
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
MDIS FRZ
0
HALT
NOTRDY
0
SOFTRST
FRZACK
1
0
WRN
EN
MDISACK
0
0
SRX
DIS
MBFEN
W
Reset
0
1
0
1
1
0
0
1
1
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
0
0
0
0
0
0
0
0
0
0
MAXMB
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
Figure 22-3. Module Configuration Register (CAN
x
_MCR)
Table 22-7. CAN
x
_MCR Field Descriptions
Field
Description
0
MDIS
Module disable. Controls whether FlexCAN2 is enabled or not. When disabled, FlexCAN2 shuts down the
clock to the CAN protocol interface and message buffer management submodules. This is the only bit in
CAN
x
_MCR not affected by soft reset. See
Section 22.4.6.2, “Module Disabled Mode
,” for more information.
0 Enable the FlexCAN2 module
1 Disable the FlexCAN2 module
1
FRZ
Freeze enable. Specifies the FlexCAN2 behavior when the HALT bit in the CAN
x
_MCR is set or when debug
mode is requested at MCU level. When FRZ is asserted, FlexCAN2 is enabled to enter freeze mode.
Negation of this bit field causes FlexCAN2 to exit from freeze mode.
0 Not enabled to enter freeze mode
1 Enabled to enter freeze mode
2
Reserved.
3
HALT
Halt FlexCAN. Assertion of this bit puts the FlexCAN2 module into freeze mode if FRZ is asserted. The CPU
must clear it after initializing the message buffers and CAN
x
_CR. If FRZ is set, no reception or transmission
is performed by FlexCAN2 before this bit is cleared. While in freeze mode, the CPU has write access to the
CAN
x
_ECR, that is otherwise read-only. Freeze mode cannot be entered while FlexCAN2 is disabled. See
Section 22.4.6.1, “Freeze Mode
,” for more information.
0 No freeze mode request.
1 Enters freeze mode if the FRZ bit is asserted.
4
NOTRDY
FlexCAN2 not ready. Indicates that FlexCAN2 is either disabled or in freeze mode. It is negated after
FlexCAN2 has exited these modes.
0 FlexCAN2 module is either in normal mode, listen-only mode or loop-back mode
1 FlexCAN2 module is either disabled or freeze mode
5
Reserved.
Summary of Contents for MPC5566
Page 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Page 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Page 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Page 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Page 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Page 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Page 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...