English
Language : 

MC908KX2MDWE Datasheet, PDF (70/210 Pages) Freescale Semiconductor, Inc – High-performance M68HC08 architecture, Fully upward-compatible object code with M6805, M146805, and M68HC05 Families
Internal Clock Generator Module (ICG)
ICGEN
VOLTAGE AND
CURRENT
REFERENCES
++
DIGITAL
LOOP FILTER
--
DIGITALLY
CONTROLLED
OSCILLATOR
FICGS
DSTG[7:0]
DDIV[3:0]
ICLK
TRIM[7:0]
N[6:0]
FREQUENCY
COMPARATOR
CLOCK GEN
MODULO
"N"
DIVIDER
IBASE
NAME
NAME
CONFIG (OR MOR) REGISTER BIT
TOP LEVEL SIGNAL
NAME
NAME
REGISTER BIT
MODULE SIGNAL
Figure 7-2. Internal Clock Generator Block Diagram
7.3.2.1 Digitally Controlled Oscillator
The digitally controlled oscillator (DCO) is an inaccurate oscillator which generates the internal clock
(ICLK). The clock period of ICLK is dependent on the digital loop filter outputs (DSTG[7:0] and DDIV[3:0]).
Because there is only a limited number of bits in DDIV and DSTG, the precision of the output (ICLK) is
restricted to a precision of approximately ±0.202% to ±0.368% when measured over several cycles (of
the desired frequency). Additionally, since the propagation delays of the devices used in the DCO ring
oscillator are a measurable fraction of the bus clock period, reaching the long-term precision may require
alternately running faster and slower than desired, making the worst case cycle-to-cycle frequency
variation ±6.45% to ±11.8% (of the desired frequency). The valid values of DDIV:DSTG range from $000
to $9FF. For more information on the quantization error in the DCO, see 7.4.4 Quantization Error in DCO
Output.
7.3.2.2 Modulo "N" Divider
The modulo "N" divider creates the low frequency base clock (IBASE) by dividing the internal clock (ICLK)
by the ICG multiplier factor (N), contained in the ICG multiplier register (ICGMR). When N is programmed
to a $01 or $00, the divider is disabled and ICLK is passed through to IBASE undivided. When the ICG is
stable, the frequency of IBASE will be equal to the nominal frequency (fNOM) of 307.2 kHz ± 25%.
7.3.2.3 Frequency Comparator
The frequency comparator effectively compares the low frequency base clock (IBASE) to a nominal
frequency, fNOM. First, the frequency comparator converts IBASE to a voltage by charging a known
capacitor with a current reference for a period dependent on IBASE. This voltage is compared to a voltage
MC68HC908KX8 • MC68HC908KX2 • MC68HC08KX8 Data Sheet, Rev. 2.1
70
Freescale Semiconductor