mc68hc908qb4 Freescale Semiconductor, Inc, mc68hc908qb4 Datasheet - Page 101

no-image

mc68hc908qb4

Manufacturer Part Number
mc68hc908qb4
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
ECFS1:ECFS0 — External Crystal Frequency Select Bits
ECGON — External Clock Generator On Bit
ECGST — External Clock Status Bit
11.8.2 Oscillator Trim Register (OSCTRIM)
TRIM7–TRIM0 — Internal Oscillator Trim Factor Bits
Freescale Semiconductor
These read/write bits enable the specific amplifier for the crystal frequency range. Refer to oscillator
characteristics table in the Electricals section for information on maximum external clock frequency
versus supply voltage.
This read/write bit enables the OSC1 pin as the clock input to the MCU, so that the switching process
can be initiated. This bit is cleared by reset. This bit is ignored in monitor mode with the internal
oscillator bypassed.
This read-only bit indicates whether an external clock source is engaged to drive the system clock.
These read/write bits change the internal capacitance used by the internal oscillator. By measuring the
period of the internal clock and adjusting this factor accordingly, the frequency of the internal clock can
be fine tuned. Increasing (decreasing) this factor by one increases (decreases) the period by
approximately 0.2% of the untrimmed oscillator period. The oscillator period is based on the oscillator
frequency selected by the ICFS bits in OSCSC.
1 = External clock enabled
0 = External clock disabled
1 = An external clock source engaged
0 = An external clock source disengaged
Reset:
Read:
Write:
ECFS1
0
0
1
1
TRIM7
Bit 7
1
Figure 11-5. Oscillator Trim Register (OSCTRIM)
TRIM6
ECFS0
6
0
0
1
0
1
MC68HC908QB8 Data Sheet, Rev. 2
TRIM5
8 MHz – 32 MHz
1 MHz – 8 MHz
32 kHz – 100 kHz
Reserved
5
0
TRIM4
4
0
External Crystal Frequency
TRIM3
3
0
TRIM2
2
0
TRIM1
1
0
TRIM0
Bit 0
0
Registers
101

Related parts for mc68hc908qb4