Preface
MPC5565 Microcontroller Reference Manual, Rev. 1.0
21-10
Freescale Semiconductor
Table 21-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. Refer to
Section 21.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
should 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. Refer
to
Section 21.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.
6
SOFTRST
Soft reset. When asserted, FlexCAN2 resets its internal state machines and some of the memory-mapped
registers. The following registers are affected by soft reset:
• CAN
x
_MCR (except the MDIS bit),
• CAN
x
_TIMER,
• CAN
x
_ECR,
• CAN
x
_ESR,
• CAN
x
_IMRL,
• CAN
x
_IMRH,
• CAN
x
_IFRL,
• CAN
x
_IFRH.
Configuration registers that control the interface to the CAN bus are not affected by soft reset. The following
registers are unaffected:
• CANx_CR
• CAN
x
_RXGMASK
• CAN
x
_RX14MASK
• CAN
x
_RX15MASK
• all Message buffers
The SOFTRST bit can be asserted directly by the CPU when it writes to the CAN
x
_MCR, but it is also
asserted when global soft reset is requested at MCU level. Because soft reset is synchronous and has to
follow a request/acknowledge procedure across clock domains, it may take some time to fully propagate its
effect. The SOFTRST bit remains asserted while reset is pending, and is automatically negated when reset
completes. Therefore, software can poll this bit to know when the soft reset has completed.
0 No reset request
1 Resets values in registers indicated above.
Summary of Contents for MPC5565
Page 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Page 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Page 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Page 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Page 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Page 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Page 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...