s908ey16g2vfar Freescale Semiconductor, Inc, s908ey16g2vfar Datasheet - Page 88

no-image

s908ey16g2vfar

Manufacturer Part Number
s908ey16g2vfar
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Internal Clock Generator (ICG) Module
8.3.1 Clock Enable Circuit
The clock enable circuit is used to enable the internal clock (ICLK) or external clock (ECLK) and the port
logic which is shared with the oscillator pins (OSC1 and OSC2). The clock enable circuit generates an
ICG stop (ICGSTOP) signal which stops all clocks (ICLK, ECLK, and the low-frequency base clock,
IBASE). ICGSTOP is set and the ICG is disabled in stop mode if the oscillator enable stop bit
(OSCENINSTOP) in the configuration (CONFIG) register is clear. The ICG clocks will be enabled in stop
mode if OSCENINSTOP is high.
The internal clock enable signal (ICGEN) turns on the internal clock generator which generates ICLK.
ICGEN is set (active) whenever the ICGON bit is set and the ICGSTOP signal is clear. When ICGEN is
clear, ICLK and IBASE are both low.
The external clock enable signal (ECGEN) turns on the external clock generator which generates ECLK.
ECGEN is set (active) whenever the ECGON bit is set and the ICGSTOP signal is clear. ECGON cannot
be set unless the external clock enable (EXTCLKEN) bit in the CONFIG is set. when ECGEN is clear,
ECLK is low.
The port C4 enable signal (PC4EN) turns on the port C4 logic. Since port C4 is on the same pin as OSC1,
this signal is only active (set) when the external clock function is not desired. Therefore, PC4EN is clear
when ECGON is set. PC4EN is not gated with ICGSTOP, which means that if the ECGON bit is set, the
port C4 logic will remain disabled in stop mode.
The port C3 enable signal (PC3EN) turns on the port C3 logic. Since port C3 is on the same pin as OSC2,
this signal is only active (set) when 2-pin oscillator function is not desired. Therefore, PC3EN is clear when
ECGON and the external crystal enable (EXTXTALEN) bit in the CONFIG are both set. PC4EN is not
gated with ICGSTOP, which means that if ECGON and EXTXTALEN are set, the port C3 logic will remain
disabled in stop mode.
8.3.2 Internal Clock Generator
The internal clock generator, shown in
operates at a nominal frequency (f
an integer multiple of IBASE. This multiple is the ICG multiplier factor (N), which is programmed in the
ICG multiplier register (ICGMR). The internal clock generator is turned off and the output clocks (IBASE
and ICLK) are held low when the internal clock generator enable signal (ICGEN) is clear.
The internal clock generator contains:
88
A digitally controlled oscillator
A modulo N divider
A frequency comparator, which contains voltage and current references, a frequency to voltage
converter, and comparators
A digital loop filter
MC68HC908EY16A • MC68HC908EY8A Data Sheet, Rev. 1
NOM
) of 307.2 kHz ± 25 percent, and an internal clock (ICLK) which is
Figure
8-3, creates a low frequency base clock (IBASE), which
Freescale Semiconductor

Related parts for s908ey16g2vfar