Power Supplies.............................................................................................................................................12
USB Device Controller Functions ..................................................................................................................... 13
USB Overview........................... ... .................................................... ............................................................. 13
USB to JTAG/SWD............. ... ... ... .... ... ... .................................................... ................................................... 13
Virtual COM Port........................................................................................................................................... 13
Serial Wire Out..............................................................................................................................................14
Organic LED Display ........................................................................................................................................ 14
The Stellaris® LM3S1968 Evaluation Board is a compact and versatile evaluation platform for the
Stellaris LM3S1968 ARM® Cortex™-M3-based microcontrolle r. The evaluation kit design
highlights the LM3S1968 microcontroller's peripherals and its Hibernation module.
A 3V lithium battery, included in the kit, supplies power to the Hibernation module and maintains
data and real-time clock information for ab out two years in the absence of USB power.
You can use the EVB either as an evaluation platform or as a low-cost in-circuit debug interface
(ICDI). In debug interface mode, the on-board microcontroller is disabled, allowing connection of
the debug signals to an external Stellaris microcontroller target. The kit is also compatible with
high-performance external JTAG debuggers.
This evaluation kit enables quick evaluation, prototype development, and creation of
application-specific designs using the LM3S1968's broad range of peripherals. The kit also
includes extensive source-code examples, allowing you to start building C code applications
quickly.
Figure 1-1.Stellaris LM3S1968 Evaluation Board Layou t
January 6, 20107
Stellaris® LM3S1968 Evaluation Board
USB
Stellaris
LM3S1968
Microcontroller
Features
The Stellaris LM3S1968 Evaluation Kit includes the following features:
Stellaris LM3S1968 microcontr olle r
Simple setup; USB cable provides serial communication, debugging, and power
OLED graphics display with 128 x 96 pixel resolution
User LED, navigation switches, and select pushbuttons
8
Ω magnetic speaker with class D amplifier
Internal 3 V battery and support for on-chip hibernation module
USB interface for debugging and power supply
Standard ARM® 20-pin JTAG debug connector with input and output modes
LM3S1968 I/O available on labeled break-out pads
The evaluation kit contains everything needed to develop and run applications for S tellaris
microcontrollers including:
LM3S1968 evaluation board (EVB)
USB cable
20-pin JTAG/SWD target cable
CD containing:
– A supported version of one of the following (including a toolchain-specific Quickstart
guide):
•Keil™ RealView® Microcontroller Development Kit (MDK-ARM)
•IAR Embedded Workbench
•Code Sourcery GCC development tools
•Code Red Technologies development tools
•Texas Instruments’ Code Composer Studio™ IDE
– Complete documentation
Stellaris® LM3S1968 Evaluation Board
– Quickstart application source code
– Stellaris® Firmware Development Package with example source code
Evaluation Board Specifications
Board supply voltage:4.37–5.25 Vdc from USB connector
January 6, 20109
Stellaris® LM3S1968 Evaluation Board
Eight 10-bit ADC channels (inputs) when used as single-ended inputs
Three independent integrated analog comparators
Two I
2
C modules
Three PWM generator blocks
– One 16-bit counter
– Two comparators
– Produces two independent PWM signals
– One dead-band generator
Two QEI modules with position integrator for tracking encoder position
5 to 52 GPIOs, depending on user configuration
On-chip low drop-out (LDO) voltage regulator
Hibernation module
10January 6, 2010
Hardware Description
In addition to a microcontroller, the Stellaris LM3S1968 evaluation board includes a range of useful
peripherals and an integrated in-circuit debug interface (ICDI). This chapter describes how these
peripherals operate and interface to the microcontroller.
LM3S1968 Evaluation Board
LM3S1968 Microcontroller Overview
The heart of the EVB is a Stellaris LM3S1968 ARM Cortex-M3-based microcontroller. The
LM3S1968 offers 256-KB Flash memory, 50-MHz operation, and a wide range of peripherals.
Refer to the LM3S1968 data sheet (order number DS-LM3S1968) for complete device details.
The LM3S1968 microcontroller is factory programmed with a quickstart demo program. The
quickstart program resides in the LM3S1968 on-chip Fl ash memory and runs each time power is
applied unless the quickstart has been replaced with a user program.
Hibernation Module
The Hibernation Module manages removal and restoration of power to the microcontroller and
peripherals while maintaining a real-time clock (RTC) and non-volatile memory. The EVB include s
a 3 V Lithium battery to maintain Hibernate module power when USB power is unavailable.
January 6, 201011
Hardware Description
Internal debug mode—By the USB device controller (U5 FT2232) when instructed by
debugger
The LM3S1968 microcontroller has an internal power-on reset, so the external circuit s used in the
EVB are not required in typical applications.
Power Supplies
In normal operating mode, the LM3S1968 is powered from a +3.3-V supply. A low drop-out (LDO)
regulator converts +5-V power from the USB cable to +3.3-V. +3.3-V power is available for
powering external circuits.
If +5-V is removed, the Hibernation module will remain powered by the 3-V lithium battery. Other
microcontroller and board functions will not function until power is restored.
12January 6, 2010
Hardware Description
Serial Wire Out
The evaluation board supports the Cortex-M3 serial-wire output (SWO) trace capabilities. Under
debugger control, the CPLD can route the SWO datastream to the virtual communication port
(VCP) transmit channel. The debugger can then decode and interpret the trace information
received from the VCP. The normal VCP connection to UART0 is interrupted when using SWO. Not
all debuggers support SWO. Refer to the S tellaris LM 3S3748 dat a sheet for additional infor mation
on the trace port interface unit (TPIU).
Organic LED Display
The EVB features an Organic LED (OLED) graphics display with 128 x 96 pixel resolution. OLED
is a new technology that offers many advantages over LCD display technology. The display is
protected during shipping by a thin, protective plastic film. The film can be removed using a p air of
tweezers.
Features
RiT Display P14201 series display
128 colu mn s by 96 row s
High-contrast (typ. 500:1)
Excellent brightness (120 cd/m
2
)
Fast 10 us response
Control Interface
The OLED display has a built-in controller IC with synchronous serial and parallel interfaces.
Synchronous serial (SSI) is used on the EVB as it requires fewer microcontroller pins. Data cannot
be read from the OLED controller; only one data line is necessary. The Stellaris® Firmware
Development Package (included on the Documentation and Software CD) contains complete
drivers with source-code for the OLED display.
Power Supply
A +15-V supply is needed to bias the OLED display. A FAN5331 device from Fairchild combines
with a few external components to complete a boost converter. A GPIO (PH3/FAULT) is assigned
to turn on and off the controller as nece ssary for power rail sequen cing. When the OLED display is
operating, a small amount of power can be drawn from the +15-V supply to power other devices.
Design Guidelines
The OLED display has a lifetime of about 13,000 hours. It is also prone to degradation due to
burn-in, similar to CRT and plasma displays. The quickstart application includes both a screen
saver and a power-down mode to extend display life. These factors should be considered when
developing EVB applications that use the OLED display.
Further Reference
For additional information on the RiT OLED display, visit www.ritekdisplay.com.
14January 6, 2010
Other Peripherals
Speaker
The LM3S1968 evaluation board's speaker circuit can be used in either tone or waveform mode.
The quick-start application uses tone mode.
In tone mode, the LM3S1968 microcontroller's PWM module directly generates tones within the
audible frequency range. The width of the pulses determines the volume. If only one PWM signal
(PWM2 or PWM3) is used, the non-PWM signal should be configured as a general-purpose
output. For increased speaker volume, PWM 2 and PWM 3 ca n be con fig ured as c omp lem e ntary
drive signals. In tone mode, be careful to avoid large DC currents in the speaker.
Waveform mode uses two high-frequency PWM signals to drive a MOSFET H-bridge with an
output filter. This circuit is essentially a Class-D amplifier. The symmetrical 2nd order low-pass L-C
filter has a cut-off frequency of approximately 33 kHz. The microcontroller's PWM module should
be configured with a PWM frequency of at least 100 kHz. Using 500 kHz improves audio quality
Pin 29 PA3/SSI0FSSOLED display chip select JP5
Pin 37 PG6/PHA1 Right switch JP6
Pin 36 PG7/PHB1 Select switch JP7
Pin 40 PG5 Left switch JP8
Pin 41 PG4 Down switch JP9
Pin 31 PA5/SSI0TXOLED display data in JP10
Pin 28 PA2/SSI0CLKOLED display clock JP1 1
Pin 34 PA6/I2C1SCLOLED display data/control select JP12
Pin 27 PA1/U0TXVirtual COM port transmit JP13
Pin 86 PH0/PWM2 Sound+JP14
Pin 85 PH1/PWM3 Sound-JP15
Interfacing to the EVB
An array of accessible I/O signals makes it easy to interface the EVB to external circuits. All
LM3S1968 I/O lines (except those with both JTAG and SWD functions) are brought out to 0.1”
pitch pads. For quick reference, silk-screened labels on the PCB show primary pin functions.
Table B-2 on page 28 has a complete list of I/O signals as well as recommended connectors.
Most LM3S1968 I/O signals are +5-V tolerant. Refer to the LM3S1968 data sheet for detailed
electrical specifications.
Using the In-Circuit Debugger Interface
The Stellaris LM3S1968 Evaluation Kit can operate as an In-Circuit Debugger Interface (ICDI).
ICDI acts as a USB to the JTAG/SWD adaptor, allowing debugging of any external target board
that uses a Stellaris microcontroller. See “Debugging Modes” on page 12 for a description of how
to enter Debug Out mode.
Figure 2-1.ICD Interface Mode
16January 6, 2010
Stellaris® LM3S1968 Evaluation Board
The debug interface operates in either serial-wire debug (SWD) or full JTAG mode, depending on
the configuration in the debugger IDE.
The IDE/debugger does not distinguish between the on-EVB Stellaris microcontroller and an
external Stellaris microcontroller. The only requirement is that the correct Stellaris device is
selected in the project configuration.
January 6, 201017
Hardware Description
18January 6, 2010
APPENDIX A
Schematics
This section contains the schematics for the LM3S1968 Evaluation Board:
LM3S1968 Microcontroller on page 20
OLED Display, Switches and Audio on page 21
USB and Debugger Interfaces on page 22
USB, Debugger Interfaces and Power on page 23
JTAG Logic with Auto Mode Detect and Hibernate on page 24
The LM3S1968 EVB has 58 I/O pads, 13 power pads, and 1 control connection, for a total of 71
pads. Connection can be made by soldering wires directly to these pads, or by using 0.1” pitch
headers and sockets.
Note: In Table B-1, an asterisk (*) by a signal name (also on the EVB PCB) indicates the signal is
normally used for on-board functions. Normally, you should cut the associated jumper (JP1-15)
before using an assigned signal for external interfacing.
In addition to this document, the following references are included on the Stellaris LM3S1968
Evaluation Kit CD-ROM and are also available for download at www.ti.com/stellaris:
StellarisLM3S1968Evaluation Kit Quickst art Guide for appropriate tool kit (s ee “Evaluation Kit
Contents,” on page 9)
StellarisLM3S1968Read Me First for the CAN Evaluation Kit
StellarisWare® Driver Library, Order number SW-DRL
StellarisWare® Driver Library User’s Manual, publication number SW-DRL-UG
Stellaris LM3S1968 Data Sheet, publication DS-LM3S1968
Additional references include:
Solomon Systech SSD0323-OLED Controller Datasheet
Future Technology Devices Incorporated FT2232C Datasheet
Information on development tool being used:
– RealView MDK web site, www.keil.com/arm/rvmdkkit.asp
– IAR Embedded Workbench web site, www.iar.com
Stellaris® LM3S1968 Evaluation Board
– Code Sourcery GCC development tools web site,
www.codesourcery.com/gnu_toolchains/arm
– Code Red Technologies developm en t to ols we b site, www.code-red-tech.com
– Texas Instruments’ Code Composer Studio™ IDE web site, www.ti.com/ccs
January 6, 201029
References
30January 6, 2010
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,
and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should
obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are
sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard
warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where
mandated by government requirements, testing of all parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and
applications using TI components. To minimize the risks associated with customer products and applications, customers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right,
or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information
published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.