English
Language : 

MC9S08QG8_09 Datasheet, PDF (29/314 Pages) Freescale Semiconductor, Inc – HCS08 Microcontrollers
Chapter 2 External Signal Description
2.2.2 Oscillator (XOSC)
Out of reset, the MCU uses an internally generated clock provided by the internal clock source (ICS)
module. The internal frequency is nominally 16-MHz and the default ICS settings will provide for a
8-MHz bus out of reset. For more information on the ICS, see Chapter 10, “Internal Clock Source
(S08ICSV1).”
The oscillator module (XOSC) in this MCU is a Pierce oscillator that can accommodate a crystal or
ceramic resonator in either of two frequency ranges selected by the RANGE bit in ICSC2. Rather than a
crystal or ceramic resonator, an external clock source can be connected to the EXTAL input pin.
Refer to Figure 2-4 for the following discussion. RS (when used) and RF should be low-inductance
resistors such as carbon composition resistors. Wire-wound resistors, and some metal film resistors, have
too much inductance. C1 and C2 normally should be high-quality ceramic capacitors that are specifically
designed for high-frequency applications.
RF is used to provide a bias path to keep the EXTAL input in its linear range during crystal startup, and its
value is not generally critical. Typical systems use 1 MΩ to 10 MΩ. Higher values are sensitive to
humidity, and lower values reduce gain and (in extreme cases) could prevent startup.
C1 and C2 are typically in the 5-pF to 25-pF range and are chosen to match the requirements of a specific
crystal or resonator. Be sure to take into account printed circuit board (PCB) capacitance and MCU pin
capacitance when sizing C1 and C2. The crystal manufacturer typically specifies a load capacitance which
is the series combination of C1 and C2, which are usually the same size. As a first-order approximation,
use 10 pF as an estimate of combined pin and PCB capacitance for each oscillator pin (EXTAL and
XTAL).
2.2.3 Reset (Input Only)
After a power-on reset (POR), the PTA5/IRQ/TCLK/RESET pin defaults to a general-purpose input port
pin, PTA5. Setting RSTPE in SOPT1 configures the pin to be the RESET input pin. After configured as
RESET, the pin will remain RESET until the next POR. The RESET pin can be used to reset the MCU
from an external source when the pin is driven low. When enabled as the RESET pin (RSTPE = 1), an
internal pullup device is automatically enabled.
NOTE
This pin does not contain a clamp diode to VDD and should not be driven
above VDD.
The voltage measured on the internally pulled-up RESET pin will not be
pulled to VDD. The internal gates connected to this pin are pulled to VDD.
The RESET pullup should not be used to pull up components external to the
MCU.
NOTE
In EMC-sensitive applications, an external RC filter is recommended on the
RESET pin, if enabled. See Figure 2-4 for an example.
MC9S08QG8 and MC9S08QG4 Data Sheet, Rev. 5
Freescale Semiconductor
27