Datasheet
Internal Clock Generator (S08ICGV2)
MC9S08GB60A Data Sheet, Rev. 2
116 Freescale Semiconductor
The following sections contain initialization examples for various configurations.
NOTE
Hexadecimal values designated by a preceding $, binary values designated
by a preceding %, and decimal values have no preceding character.
Important configuration information is repeated here for reference.
Table 7-3. ICG Configuration Consideration
Clock Reference Source = Internal Clock Reference Source = External
FLL
Engaged
FEI
4 MHz < f
Bus
< 20 MHz.
Medium power (will be less than FEE if oscillator
range = high)
Medium clock accuracy (After IRG is trimmed)
Lowest system cost
(no external components
required)
IRG is on. DCO is on.
1
1
The IRG typically consumes 100 μA. The FLL and DCO typically consumes 0.5 to 2.5 mA, depending upon output frequency.
For minimum power consumption and minimum jitter, choose N and R to be as small as possible.
FEE
4 MHz < f
Bus
< 20 MHz
Medium power (will be less than FEI if oscillator
range = low)
Good clock accuracy
Medium/High system cost (crystal, resonator or
external clock source required)
IRG is off. DCO is on.
FLL
Bypassed
SCM
This mode is mainly provided for quick and reliable
system startup.
3 MHz < f
Bus
< 5 MHz (default).
3 MHz < f
Bus
< 20 MHz (via filter bits).
Medium power
Poor accuracy.
IRG is off. DCO is on and open loop.
FBE
f
Bus
range <= 8 MHz when crystal or resonator is
used.
Lowest power
Highest clock accuracy
Medium/High system cost (Crystal, resonator or
external clock source required)
IRG is off. DCO is off.
Table 7-4. ICGOUT Frequency Calculation Options
Clock Scheme
f
ICGOUT
1
1
Ensure that f
ICGDCLK
, which is equal to f
ICGOUT
* R, does not exceed f
ICGDCLKmax.
PNote
SCM — self-clocked mode (FLL bypassed
internal)
f
ICGDCLK
/ R
NA
Typical f
ICGOUT
=
8 MHz out of reset
FBE — FLL bypassed external
f
ext
/ R
NA
FEI — FLL engaged internal
(f
IRG
/ 7)* 64*N / R
64
Typical f
IRG
= 243 kHz
FEE — FLL engaged external
f
ext
* P * N / R
Range = 0 ; P = 64
Range = 1; P = 1
