English
Language : 

LM3S1637 Datasheet, PDF (176/696 Pages) Texas Instruments – ARM and Thumb are registered trademarks and Cortex is a trademark
System Control
5.2.4
5.2.4.1
5.2.4.2
Clock Control
System control determines the control of clocks in this part.
Fundamental Clock Sources
There are multiple clock sources for use in the device:
■ Internal Oscillator (IOSC). The internal oscillator is an on-chip clock source. It does not require
the use of any external components. The frequency of the internal oscillator is 12 MHz ± 30%.
Applications that do not depend on accurate clock sources may use this clock source to reduce
system cost. The internal oscillator is the clock source the device uses during and following POR.
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
8.192 MHz (inclusive). If the PLL is not being used, the crystal may be any one of the supported
frequencies between 1 MHz and 8.192 MHz. The single-ended clock source range is from DC
through the specified speed of the device. The supported crystals are listed in the XTAL bit field
in the RCC register (see page 193).
■ Internal 30-kHz Oscillator. The internal 30-kHz oscillator is similar to the internal oscillator,
except that it 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 main oscillator to be powered down.
■ External Real-Time Oscillator. The external real-time oscillator provides a low-frequency,
accurate clock reference. It is intended to provide the system with a real-time clock source. The
real-time oscillator is part of the Hibernation Module (see “Hibernation Module” on page 236) and
may also provide an accurate source of Deep-Sleep or Hibernate mode power savings.
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 internal oscillator divided by four (3 MHz ± 30%). The
frequency of the PLL clock reference must be in the range of 3.579545 MHz to 8.192 MHz (inclusive).
Table 5-4 on page 176 shows how the various clock sources can be used in a system.
Table 5-4. Clock Source Options
Clock Source
Internal Oscillator (12 MHz)
Internal Oscillator divide by 4 (3
MHz)
Main Oscillator
Internal 30-kHz Oscillator
External Real-Time Oscillator
Drive PLL?
No
BYPASS = 1
No
BYPASS = 1
Used as SysClk?
Yes
BYPASS = 1, OSCSRC = 0x1
Yes
BYPASS = 1, OSCSRC = 0x2
Yes
BYPASS = 0, OSCSRC = Yes
0x0
No
BYPASS = 1
Yes
No
BYPASS = 1
Yes
BYPASS = 1, OSCSRC = 0x0
BYPASS = 1, OSCSRC = 0x3
BYPASS = 1, OSCSRC2 = 0x7
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
176
June 18, 2012
Texas Instruments-Production Data