English
Language : 

LM3S328_06 Datasheet, PDF (24/359 Pages) List of Unclassifed Manufacturers – Microcontroller
Architectural Overview
1.4
1.4.1
1.4.1.1
1.4.1.2
1.4.2
1.4.2.1
1.4.3
1.4.3.1
Functional Overview
The following sections provide an overview of the features of the LM3S328 microcontroller. The
chapter number in parenthesis indicates where that feature is discussed in detail. Ordering and
support information can be found in “Ordering and Contact Information” on page 358.
ARM Cortex™-M3
Processor Core (Section 2 on page 30)
All members of the Stellaris product family, including the LM3S328 microcontroller, are designed
around an ARM Cortex™-M3 processor core. The ARM Cortex-M3 processor provides the core
for a high-performance, low-cost platform that meets the needs of minimal memory
implementation, reduced pin count, and low power consumption, while delivering outstanding
computational performance and exceptional system response to interrupts.
Section 2, “ARM Cortex-M3 Processor Core,” on page 30 provides an overview of the ARM core;
the core is detailed in the ARM® Cortex™-M3 Technical Reference Manual.
Nested Vectored Interrupt Controller (NVIC)
The LM3S328 controller includes the ARM Nested Vectored Interrupt Controller (NVIC) on the
ARM Cortex-M3 core. The NVIC and Cortex-M3 prioritize and handle all exceptions. All exceptions
are handled in Handler Mode. The processor state is automatically stored to the stack on an
exception, and automatically restored from the stack at the end of the Interrupt Service Routine
(ISR). The vector is fetched in parallel to the state saving, which enables efficient interrupt entry.
The processor supports tail-chaining, which enables back-to-back interrupts to be performed
without the overhead of state saving and restoration. Software can set eight priority levels on 7
exceptions (system handlers) and 22 interrupts.
Section 4, “Interrupts,” on page 35 provides an overview of the NVIC controller and the interrupt
map. Exceptions and interrupts are detailed in the ARM® Cortex™-M3 Technical Reference
Manual.
Motor Control Peripherals
To enhance motor control, the LM3S328 controller features Pulse Width Modulation (PWM)
outputs.
PWM (“16-Bit PWM Mode” on page 150)
Pulse width modulation (PWM) is a powerful technique for digitally encoding analog signal levels.
High-resolution counters are used to generate a square wave, and the duty cycle of the square
wave is modulated to encode an analog signal. Typical applications include switching power
supplies and motor control.
On the LM3S328, PWM motion control functionality can be achieved through the motion control
features of the general-purpose timers (using the CCP pins).
The General-Purpose Timer Module’s CCP (Capture Compare PWM) pins are software
programmable to support a simple PWM mode with a software-programmable output inversion of
the PWM signal.
Analog Peripherals
To handle analog signals, the LM3S328 controller offers an Analog-to-Digital Converter (ADC).
ADC (Section 11 on page 196)
An analog-to-digital converter (ADC) is a peripheral that converts a continuous analog voltage to a
discrete digital number.
24
October 8, 2006
Preliminary