S12XE Clocks and Reset Generator (S12XECRGV1)
S12XS Family Reference Manual, Rev. 1.13
256
Freescale Semiconductor
8.4.1.2
System Clocks Generator
Figure 8-16. System Clocks Generator
The clock generator creates the clocks used in the MCU (see
). 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 8.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
Summary of Contents for MC9S12XS128
Page 4: ...S12XS Family Reference Manual Rev 1 13 4 Freescale Semiconductor ...
Page 168: ...Interrupt S12XINTV2 S12XS Family Reference Manual Rev 1 13 168 Freescale Semiconductor ...
Page 736: ...Ordering Information S12XS Family Reference Manual Rev 1 13 736 Freescale Semiconductor ...
Page 737: ......