English
Language : 

MC68HC908RK2 Datasheet, PDF (81/158 Pages) Motorola, Inc – Microcontroller Unit
I/O Registers
ECGS — External Clock Generator Stable Bit
This read-only bit indicates when at least 4096 external clock (ECLK) cycles have elapsed since the
external clock generator was enabled. This is not an assurance of the stability of ECLK but is meant
to provide a start-up delay. This bit is forced clear when the clock monitor determines ECLK is inactive,
when ECGON is clear, or during reset.
1 = 4096 ECLK cycles have elapsed since ECGON was set.
0 = External cock is unstable, inactive, or disabled.
6.7.2 ICG Multiplier Register
Address: $0037
Bit 7
6
5
4
3
2
1
Bit 0
Read:
R
Write:
N6
N5
N4
N3
N2
N1
N0
Reset:
0
0
0
1
0
1
0
1
R = Reserved
Figure 6-13. ICG Multiplier Register (ICGMR)
N6–N0 — ICG Multiplier Factor Bits
These read/write bits change the multiplier used by the internal clock generator. The internal clock
(ICLK) will be (307.2 kHz ±25%) * N. A value of $00 in this register is interpreted the same as a value
of $01. This register cannot be written when the CMON bit is set. Reset sets this factor to $15 (decimal
21) for default frequency of 6.45 MHz ±25% (1.613 MHz ±25% bus).
6.7.3 ICG Trim Register
Address: $0038
Read:
Write:
Reset:
Bit 7
TRIM7
1
6
TRIM6
0
5
TRIM5
0
4
TRIM4
0
3
TRIM3
0
2
TRIM2
0
1
TRIM1
0
Bit 0
TRIM0
0
Figure 6-14. ICG Trim Register (ICGTR)
TRIM7–TRIM0 — ICG Trim Factor Bits
These read/write bits change the size of the internal capacitor used by the internal clock generator. By
testing the frequency of the internal clock and incrementing or decrementing this factor accordingly,
the accuracy of the internal clock can be improved to ±2%. Incrementing this register by one decreases
the frequency by 0.195 percent of the unadjusted value. Decrementing this register by one increases
the frequency by 0.195%. This register cannot be written when the CMON bit is set. Reset sets these
bits to $80, centering the range of possible adjustment.
NOTE
It is recommended that the user preserve a copy of the contents of the ICG
trim register (ICGTR) in non-volitale memory.
Address $7FEF is reserved for an optional factory-determined ICG trim
value. Consult with a local Freescale representative for more information
and availability of this option.
MC68HC908RK2 Data Sheet, Rev. 5.1
Freescale Semiconductor
81