
Operating Modes and Clocking
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
115
The CPU recovers from the halted state when one of the following events happens:
•
A valid pending interrupt is detected by the core
•
A request to enter debug mode is made by setting the DR bit in the OnCE control register (OCR)
•
The processor is in a debug session
•
A request to enable the CPU clock input has been made by setting the WKUP bit in the OCR
When one of these events is detected, the CPU asserts an asynchronous output signal that re-enables the
clock to the CPU so that it can exit the stopped state. Typically, the wake-up interrupt request will come
from one of three sources: periodic interval timer (PIT) interrupt, external pin interrupt or CAN wake-up
interrupt.
When the clock to the CPU is gated, the clocks to the platform, the system RAM and the flash memory are
also gated. The platform logic includes the cross-bar, peripheral bridge, DMA and flash memory
controller. Note that the interrupt controller (INTC) and the SIU are not clock gated to allow interrupts to
be used to recover the CPU halt state.
5.3.4.6
Clock dividers
The MCU provides five clock dividers:
•
System Clock Divider (SYSDIV)
•
External Bus Clock Divider (CLKOUT-DIV)
•
Nexus Message Clock Divider (MCKO-DIV)
•
Engineering Clock Divider (ENGDIV)
•
FlexCAN clock divider (CAN2:1)
5.3.4.6.1
System Clock Divider (SYSDIV)
The system clock divider is placed right at the output of the system clock mux (selection between FMPLL
and the crystal clock) and before the clock is used by any other circuits, including the other clock dividers.
It affects the clock in both normal mode and bypass mode. The system clock divider can be programmed
to divide by 1, 2, 4, 8, or 16 depending on the values of fields BYPASS and SYSCLKDIV in the
SIU_SYSDIV register.
SIU_SYSDIV[BYPASS] determines whether or not the system clock divider is bypassed. The
SIU_SYSDIV[BYPASS] reset value ‘1’ causes the system clock divider to be bypassed and results in a
divide-by-1 reset configuration of the system clock divider. Only if the SIU_SYSDIV[BYPASS] value is
‘0’ can field SIU_SYSDIV[SYSCLKDIV] be programmed to divide by 2, 4, 8, or 16.
5.3.4.6.2
External Bus Clock (CLKOUT)
The external bus clock (CLKOUT) divider can be programmed to divide the system clock by one, two or
four based on the settings of the EBDF field in the SIU external clock control register (SIU_ECCR). The
reset value of SIU_ECCR[EBDF] selects a CLKOUT frequency of one half of the system clock frequency.
The EBI supports gating of the CLKOUT signal when there are no external bus accesses in progress.
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...