English
Language : 

LM3S9B95 Datasheet, PDF (108/1282 Pages) Texas Instruments – Stellaris® LM3S9B95 Microcontroller
System Control
6.2.5.1
6.2.5.2
Fundamental Clock Sources
There are multiple clock sources for use in the microcontroller:
■ Precision Internal Oscillator (PIOSC). The precision internal oscillator is an on-chip clock
source that is the clock source the microcontroller uses during and following POR. It does not
require the use of any external components and provides a clock that is 16 MHz ±1% at room
temperature and ±3% across temperature. The PIOSC allows for a reduced system cost in
applications that require an accurate clock source. If the main oscillator is required, software
must enable the main oscillator following reset and allow the main oscillator to stabilize before
changing the clock reference.
■ Main Oscillator (MOSC). The main oscillator provides a frequency-accurate clock source by
one of two means: an external single-ended clock source is connected to the OSC0 input pin, or
an external crystal is connected across the OSC0 input and OSC1 output pins. If the PLL is being
used, the crystal value must be one of the supported frequencies between 3.579545 MHz through
16.384 MHz (inclusive). If the PLL is not being used, the crystal may be any one of the supported
frequencies between 1 MHz and 16.384 MHz. The single-ended clock source range is from DC
through the specified speed of the microcontroller. The supported crystals are listed in the XTAL
bit field in the RCC register (see page 129). Note that the MOSC must have a clock source for
the USB PLL.
■ Internal 30-kHz Oscillator. The internal 30-kHz oscillator provides an operational frequency of
30 kHz ± 50%. It is intended for use during Deep-Sleep power-saving modes. This power-savings
mode benefits from reduced internal switching and also allows the MOSC and PIOSC to be
powered down.
The internal system clock (SysClk), is derived from any of the above sources plus two others: the
output of the main internal PLL and the precision internal oscillator divided by four (4 MHz ± 1%).
The frequency of the PLL clock reference must be in the range of 3.579545 MHz to 16.384 MHz
(inclusive). Table 6-4 on page 108 shows how the various clock sources can be used in a system.
Table 6-4. Clock Source Options
Clock Source
Drive PLL?
Precision Internal Oscillator
Yes
BYPASS = 0, OSCSRC =
0x1
Precision Internal Oscillator divide No
by 4 (4 MHz ± 1%)
BYPASS = 1
Main Oscillator
Yes
BYPASS = 0, OSCSRC =
0x0
Internal 30-kHz Oscillator
No
BYPASS = 1
Used as SysClk?
Yes
BYPASS = 1, OSCSRC = 0x1
Yes
BYPASS = 1, OSCSRC = 0x2
Yes
BYPASS = 1, OSCSRC = 0x0
Yes
BYPASS = 1, OSCSRC = 0x3
Clock Configuration
The Run-Mode Clock Configuration (RCC) and Run-Mode Clock Configuration 2 (RCC2)
registers provide control for the system clock. The RCC2 register is provided to extend fields that
offer additional encodings over the RCC register. When used, the RCC2 register field values are
used by the logic over the corresponding field in the RCC register. In particular, RCC2 provides for
a larger assortment of clock configuration options. These registers control the following clock
functionality:
■ Source of clocks in sleep and deep-sleep modes
108
June 14, 2010
Texas Instruments-Advance Information