Datasheet
Chapter 11 S12XE Clocks and Reset Generator (S12XECRGV1)
MC9S12XE-Family Reference Manual Rev. 1.25
488 Freescale Semiconductor
11.4.1.2 System Clocks Generator
Figure 11-16. System Clocks Generator
The clock generator creates the clocks used in the MCU (see Figure 11-16). The gating condition placed
on top of the individual clock gates indicates the dependencies of different modes (STOP, WAIT) and the
setting of the respective configuration bits.
The peripheral modules use the Bus Clock. Some peripheral modules also use the Oscillator Clock. If the
MCU enters Self Clock Mode (see Section 11.4.2.2, “Self Clock Mode”) Oscillator clock source is
switched to PLLCLK running at its minimum frequency f
SCM
. The Bus Clock is used to generate the clock
visible at the ECLK pin. The Core Clock signal is the clock for the CPU. The Core Clock is twice the Bus
Clock. But note that a CPU cycle corresponds to one Bus Clock.
IPLL clock mode is selected with PLLSEL bit in the CLKSEL register. When selected, the IPLL output
clock drives SYSCLK for the main system including the CPU and peripherals. The IPLL cannot be turned
off by clearing the PLLON bit, if the IPLL clock is selected. When PLLSEL is changed, it takes a
maximum of 4 OSCCLK plus 4 PLLCLK cycles to make the transition. During the transition, all clocks
freeze and CPU activity ceases.
OSCILLATOR
PHASE
LOCK
LOOP (IIPLL)
EXTAL
XTAL
SYSCLK
RTI
OSCCLK
PLLCLK
CLOCK PHASE
GENERATOR
Bus Clock
Clock
Monitor
1
0
PLLSEL or SCM
÷2
Core Clock
COP
Oscillator
= Clock Gate
Gating
Condition
WAIT(RTIWAI),
STOP(
PSTP, PRE),
RTI ENABLE
WAIT(COPWAI),
STOP(
PSTP, PCE),
COP ENABLE
STOP
1
0
SCM
Clock
STOP
