FlexCAN
MPC5606S Microcontroller Reference Manual, Rev. 7
710
Freescale Semiconductor
equal to one and CAN bit timing with eight time quanta per bit, the ratio between peripheral and oscillator
clock frequencies should be at least two.
18.4.9
Modes of operation: details
18.4.9.1
Freeze mode
This mode is entered by asserting the HALT bit in the MCR Register or when the MCU is stopped by a
debugger. In both cases it is also necessary that the FRZ bit be asserted in the MCR Register and the
module is not in any of the low-power modes (Disable or Stop). When Freeze mode is requested during
transmission or reception, the FlexCAN does the following:
•
Waits to be in either Intermission, Passive Error, Bus Off, or Idle state
•
Waits for all internal activities like arbitration, matching, move-in, and move-out to finish
•
Ignores the Rx input pin and drives the Tx pin as recessive
•
Stops the prescaler, thus halting all CAN protocol activities
•
Grants write access to the Error Counters Register, which is read-only in other modes
•
Sets the NOT_RDY and FRZ_ACK bits in MCR
After requesting Freeze mode, the user must wait for the FRZ_ACK bit to be asserted in MCR before
executing any other action—otherwise the FlexCAN may operate in an unpredictable way. In Freeze
mode, all memory-mapped registers are accessible.
Exiting Freeze mode is done in one of the following ways:
•
CPU negates the FRZ bit in the MCR Register.
•
The MCU is started by the debugger and/or the HALT bit is negated.
Once out of Freeze mode, FlexCAN tries to resynchronize to the CAN bus by waiting for 11 consecutive
recessive bits.
18.4.9.2
Module Disable mode
This low-power mode is entered when the MDIS bit in the MCR Register is asserted. If the module is
disabled during Freeze mode, it shuts down the clocks to the CPI and MBM submodules, sets the
LPM_ACK bit, and negates the FRZ_ACK bit. If the module is disabled during transmission or reception,
FlexCAN does the following:
•
Waits to be in either Idle or Bus Off state, or else waits for the third bit of Intermission and then
checks to see if it is recessive
•
Waits for all internal activities like arbitration, matching, move-in, and move-out to finish
•
Ignores its Rx input pin and drives its Tx pin as recessive
•
Shuts down the clocks to the CPI and MBM submodules
•
Sets the NOT_RDY and LPM_ACK bits in MCR
The Bus Interface Unit continues to operate, enabling the CPU to access memory-mapped registers, except
the Free Running Timer, the Error Counter Register, and the Message Buffers, which cannot be accessed
Содержание MPC5602S
Страница 76: ...Overview MPC5606S Microcontroller Reference Manual Rev 7 74 Freescale Semiconductor...
Страница 82: ...Memory Map MPC5606S Microcontroller Reference Manual Rev 7 80 Freescale Semiconductor...
Страница 112: ...Signal Description MPC5606S Microcontroller Reference Manual Rev 7 110 Freescale Semiconductor...
Страница 166: ...Analog to Digital Converter ADC MPC5606S Microcontroller Reference Manual Rev 7 164 Freescale Semiconductor...
Страница 182: ...Boot Assist Module BAM MPC5606S Microcontroller Reference Manual Rev 7 180 Freescale Semiconductor...
Страница 234: ...Clock Description MPC5606S Microcontroller Reference Manual Rev 7 232 Freescale Semiconductor...
Страница 286: ...Crossbar Switch XBAR MPC5606S Microcontroller Reference Manual Rev 7 284 Freescale Semiconductor...
Страница 470: ...e200z0h Core MPC5606S Microcontroller Reference Manual Rev 7 468 Freescale Semiconductor...
Страница 524: ...Enhanced Direct Memory Access eDMA MPC5606S Microcontroller Reference Manual Rev 7 522 Freescale Semiconductor...
Страница 546: ...Error Correction Status Module ECSM MPC5606S Microcontroller Reference Manual Rev 7 544 Freescale Semiconductor...
Страница 669: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 667...
Страница 670: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 668 Freescale Semiconductor...
Страница 716: ...FlexCAN MPC5606S Microcontroller Reference Manual Rev 7 714 Freescale Semiconductor...
Страница 882: ...LIN Controller LINFlex MPC5606S Microcontroller Reference Manual Rev 7 880 Freescale Semiconductor...
Страница 901: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 899...
Страница 902: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 900 Freescale Semiconductor...
Страница 955: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 953...
Страница 956: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 954 Freescale Semiconductor...
Страница 1072: ...Quad Serial Peripheral Interface QuadSPI MPC5606S Microcontroller Reference Manual Rev 7 1070 Freescale Semiconductor...
Страница 1096: ...Reset Generation Module MC_RGM MPC5606S Microcontroller Reference Manual Rev 7 1094 Freescale Semiconductor...
Страница 1106: ...Real Time Clock RTC API MPC5606S Microcontroller Reference Manual Rev 7 1104 Freescale Semiconductor...
Страница 1186: ...Stepper Stall Detect SSD MPC5606S Microcontroller Reference Manual Rev 7 1184 Freescale Semiconductor...
Страница 1213: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1211...
Страница 1214: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 1212 Freescale Semiconductor...
Страница 1238: ...Voltage Regulators and Power Supplies MPC5606S Microcontroller Reference Manual Rev 7 1236 Freescale Semiconductor...
Страница 1252: ...Wakeup Unit WKPU MPC5606S Microcontroller Reference Manual Rev 7 1250 Freescale Semiconductor...
Страница 1258: ...Registers Under Protection MPC5606S Microcontroller Reference Manual Rev 7 1256 Freescale Semiconductor...
Страница 1323: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1321...
Страница 1324: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 1322 Freescale Semiconductor...