Upload
truongngoc
View
229
Download
0
Embed Size (px)
Citation preview
EK-LM3S811-05 Copyright © 2006–2010 Texas Instruments
User ’s Manual
Stellaris® LM3S811 Evaluation Board
2 January 6, 2010
CopyrightCopyright © 2006–2010 Texas Instruments, Inc. All rights reserved. Stellaris and StellarisWare are registered trademarks of Texas Instruments. ARM and Thumb are registered trademarks, and Cortex is a trademark of ARM Limited. Other names and brands may be claimed as the property of others.
Texas Instruments.108 Wild Basin, Suite 350Austin, TX 78746http://www.ti.com/stellaris
Stellaris® LM3S811 Evaluation Board
Revision HistoryThis table provides a summary of the document revisions.
Date Revision Description
September 2006 00 Initial release of doc to customers.
December 2006 01 Changed value in Table B-1 for Pad 11.
January 2009 02 Changed value in Table 3-1 for User Push Switch Input.
August 2009 03 Changed branding from Luminary Micro to Texas Instruments.
September 2009 04 Changed display and display interface information.
January 2010 05 Added Code Composer Studio™ to list of support toolchains.
January 6, 2010 3
4 January 6, 2010
Stellaris® LM3S811 Evaluation Board
Table of ContentsChapter 1: Stellaris® LM3S811 Evaluation Board ......................................................................................... 9Features.............................................................................................................................................................. 9Block Diagram .................................................................................................................................................. 10Evaluation Kit Contents .................................................................................................................................... 10
Evaluation Board Specifications ................................................................................................................... 11System Requirements................................................................................................................................... 11Supported Devices........................................................................................................................................ 11
Features of the LM3S811 Microcontroller......................................................................................................... 11
Chapter 2: Getting Started ............................................................................................................................. 13Powering the Board .......................................................................................................................................... 13Installing the Drivers ......................................................................................................................................... 13
Driver Installation .......................................................................................................................................... 13Completing Driver Installation ....................................................................................................................... 13
Running the Quickstart Application................................................................................................................... 14
Chapter 3: Hardware Description.................................................................................................................. 15LM3S811 Microcontroller.................................................................................................................................. 15
Device Overview ........................................................................................................................................... 15Clocking ........................................................................................................................................................ 15Reset............................................................................................................................................................. 15Power Supply................................................................................................................................................ 15Debugging..................................................................................................................................................... 15
USB Device Controller Functions ..................................................................................................................... 16Device Overview ........................................................................................................................................... 16USB to JTAG/SWD....................................................................................................................................... 16Virtual COM Port........................................................................................................................................... 16
Organic LED Display ........................................................................................................................................ 16Features........................................................................................................................................................ 16Control Interface ........................................................................................................................................... 16Power Supply................................................................................................................................................ 17Design Guidelines......................................................................................................................................... 17Further Reference......................................................................................................................................... 17
Other Peripherals.............................................................................................................................................. 17Thumbwheel Potentiometer .......................................................................................................................... 17User LED ...................................................................................................................................................... 17User Pushbutton ........................................................................................................................................... 17
Bypassing Peripherals ...................................................................................................................................... 17Interfacing to the EVB....................................................................................................................................... 18Using the In-Circuit Debugger Interface ........................................................................................................... 18
ICDI Features................................................................................................................................................ 19Enabling ICDI Mode...................................................................................................................................... 19ARM Target Cable ........................................................................................................................................ 19Starting ICDI ................................................................................................................................................. 19
January 6, 2010 5
Chapter 4: Communications.......................................................................................................................... 21Using the Virtual COM Port .............................................................................................................................. 21
Confirming Driver Installation........................................................................................................................ 21Installing the VCP Device Driver................................................................................................................... 22
About HyperTerminal........................................................................................................................................ 24Starting HyperTerminal ................................................................................................................................. 24
Appendix A: Schematics................................................................................................................................ 27Appendix B: Connection Details ................................................................................................................... 31Component Locations....................................................................................................................................... 31Evaluation Board Dimensions........................................................................................................................... 32I/O Breakout Pads and Recommended Connectors......................................................................................... 32ARM Target Pinout ........................................................................................................................................... 34
6 January 6, 2010
Stellaris® LM3S811 Evaluation Board
January 6, 2010 7
List of FiguresFigure 1-1. Evaluation Board Layout ................................................................................................................. 9Figure 1-2. LM3S811 Evaluation Board Block Diagram .................................................................................. 10Figure 3-1. ICD Interface Mode ....................................................................................................................... 18Figure 4-1. Check VCP Driver Installation ....................................................................................................... 21Figure A-1. LM3S811 Microcontroller (sheet 1 of 3) ........................................................................................ 28Figure A-2. LM3S811 Microcontroller (sheet 2 of 3) ........................................................................................ 29Figure A-3. LM3S811 Microcontroller (sheet 3 of 3) ........................................................................................ 30Figure B-1. Component Locations ................................................................................................................... 31Figure B-2. Evaluation Board Dimensions ....................................................................................................... 32
Stellaris® LM3S811 Evaluation Board
January 6, 2010 8
List of TablesTable 3-1. Isolating On-Board Hardware........................................................................................................ 18Table B-1. I/O Breakout Pads ......................................................................................................................... 32Table B-2. Recommended Connectors........................................................................................................... 33Table B-3. 20-Pin JTAG/SWD Configuration .................................................................................................. 34
C H A P T E R 1
Stellaris® LM3S811 Evaluation BoardThe Stellaris® LM3S811 Evaluation Board is both a compact and versatile evaluation platform for the Stellaris LM3S811 ARM® Cortex™-M3-based microcontroller, and an In-Circuit Debug Interface (ICDI) for any Stellaris microcontroller-based target board. The EVB allows users to evaluate, prototype, and create application-specific designs.
Figure 1-1. Evaluation Board Layout
FeaturesThe Stellaris® LM3S811 Evaluation Board includes the following features:
Stellaris® LM3S811 microcontroller
OLED graphics display with 96 x 16 pixel resolution
User-programmable pushbutton and LED
Reset pushbutton and power indicator LED
Thumbwheel potentiometer for driving an Analog-to-Digital Converter (ADC) input
Standard ARM® 20-pin JTAG debug connector for use as an In-Circuit Debug Interface (ICDI)
I/O signal break-out pads for hardware prototyping
UART0 accessible through a USB Virtual COM Port (VCP)
USB interface for all communication and power
Thumbwheel Potentiometer
USB Interfacefor In-Circuit
Debugging
User LED
User Push Switch
OLED Display
Stellaris® LM3S811
Reset Switch
JTAG/SWD to external target
January 6, 2010 9
Stellaris® LM3S811 Evaluation Board
Block DiagramFigure 1-2. LM3S811 Evaluation Board Block Diagram
Evaluation Kit ContentsThe evaluation kit contains everything needed to develop and run applications for Stellaris microcontrollers including:
LM3S811 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
– Quickstart application source code
– Stellaris® Firmware Development Package with example source code
USB
StellarisLM3S811
MCU
+5V
DualUSB
DeviceController I/O
Sig
nals
OLED Display96 x 16
Deb
ug
Switch
Pot
LED
I/O Signal Break-out
I/O Signal Break-out
20-pin ARM JTAG/SWD Output
USB Cable
Reset
+3.3V Voltage Regulator
SWD
/JTA
G
Mux
UART0
Reset
Targ
et
Cab
le
10 January 6, 2010
Stellaris® LM3S811 Evaluation Board
Evaluation Board SpecificationsBoard supply voltage: 4.37–5.25 Vdc from USB connector
Board supply current: 80 mA typ (fully active, CPU at 50 MHz)
Break-out power output: 3.3 Vdc (100 mA max)
Dimensions: 3.90” x 1.40” x 0.30” (LxWxH)
RoHS status: Compliant
System RequirementsMicrosoft Windows 2000, XP, or 2003
128 MB of RAM (512 MB recommended)
100 MB of available hard-disk space
1024 x 768 minimum screen resolution
CD-ROM drive
USB port
Supported DevicesIn-Circuit Debug Interface (ICDI) mode presently supports all Stellaris® Family devices.
Features of the LM3S811 Microcontroller32-bit ARM® Cortex™-M3 v7M architecture optimized for small-footprint embedded applications
– Thumb®-compatible Thumb-2-only instruction set processor core for high code density – 50-MHz operation– Hardware-division and single-cycle-multiplication – Integrated Nested Vectored Interrupt Controller (NVIC) providing deterministic interrupt
handling – 27 interrupt channels with eight priority levels 64 KB single-cycle flash with two forms of flash protection on a 2-KB block basis
8 KB single-cycle SRAM
Three timers, each of which can be configured: as a single 32-bit timer, as a dual 16-bit timer with capture and simple PWM modes, or to initiate an ADC event
Real-Time Clock (RTC) capability
Separate watchdog clock with an enable
Programmable interrupt generation logic with interrupt masking
Lock register protection from runaway software
Reset generation logic with an enable/disable Synchronous Serial Interface (SSI)
Programmable interface operation for Freescale SPI, National Semiconductor MICROWIRE™, or Texas Instruments synchronous serial
– Master or slave operation
January 6, 2010 11
Stellaris® LM3S811 Evaluation Board
Two fully programmable 16C550-type UARTs
– Separate 16x8 transmit (TX) and 16x12 receive (RX) FIFOs to reduce CPU interrupt service loading
– Programmable baud-rate generator Analog-to-Digital Converter (ADC)
– Single- and differential-input configurations – Four 10-bit channels (inputs) when used as single ended inputs – Sample rate of 500 thousand samples/second I2C Bus with Master and slave receive and transmit operation with transmission speed up to 100 Kbps in Standard mode and 400 Kbps in Fast mode
Six motion-control PWM outputs
1 to 32 GPIOs, depending on user configuration
On-chip Linear Drop-Out (LDO) voltage regulator
3.3-V supply brownout detection and reporting via interrupt or reset
On-chip temperature sensor
48-pin RoHS-compliant LQFP
Industrial operating temperature
12 January 6, 2010
C H A P T E R 2
Getting StartedThe Stellaris LM3S811 Evaluation Kit Quickstart provides step-by-step instructions for getting started with your Stellaris LM3S811 Evaluation Kit. For your convenience these instructions are summarized below.
Powering the BoardThe Stellaris LM3S811 Evaluation Board (EVB) is configured for immediate use. To power the EVB, use the USB cable supplied in the kit. Connect the mini-b (smaller) end of the USB cable to the connector labeled “USB” on the EVB. Connect the other end (Type A) to a free USB port on your host PC. The USB interface is capable of sourcing up to 500 mA for each attached device, which is sufficient for the evaluation board. If connecting the board through a USB hub, it must be a powered hub.
When you plug in the EVB for the first time, Windows starts the Found New Hardware Wizard. The Stellaris LM3S811 Evaluation Kit Quickstart Guide steps through the process of installing drivers for the Stellaris LM3S811 Evaluation Board.
Installing the DriversThe Stellaris LM3S811 Evaluation Board requires several hardware drivers. All drivers are located in the \Tools\Ftdi directory on the Software and Documentation CD. Each time Windows requests a driver for this device, point it to the Software and Documentation CD.
Driver InstallationWhen the Found New Hardware Wizard starts, Windows asks if it can connect to Windows Update to search for software. Select “No, not this time,” and then click Next.
The Found New Hardware Wizard then asks you from where to install the software. Select “Install from a list or specific location (Advanced)” and click Next.
Make sure the Documentation and Software CD that came with the evaluation kit is in your CD-ROM drive. Select “Search for the best driver in these locations,” and check the “Search removable media (floppy, CD-ROM…)” option. Click Next.
A warning pops up during the Hardware Installation; click Continue Anyway.
Windows now finishes installing the drivers for “Stellaris Evaluation Board A.” When the driver install is finished, a window appears. Click Finish to close the dialog box.
Completing Driver InstallationYou have just installed the drivers for “Stellaris Evaluation Board A”. The USB device built into the EVB is a composite USB device. After you click Finish, a new Found New Hardware Wizard window appears asking to install drivers for another device. This is for the “Stellaris Evaluation Board B” part of the composite USB device. Follow the same instructions as above to install the drivers for this device.
The Found New Hardware Wizard appears one last time. This is to install the drivers for the “Stellaris Virtual COM Port”. Again, follow the same instructions above to install the drivers for this device.
January 6, 2010 13
Getting Started
Now all of the hardware drivers for the LM3S811 Evaluation Board have been installed. These drivers give the debugger access to the JTAG interface and the host PC access to the Virtual COM Port.
Running the Quickstart ApplicationThe quickstart application is a game in which you navigate a ship through an endless tunnel. Use the potentiometer (POT) to move the ship up and down, and the user pushbutton (USER) to fire a missile to destroy obstacles in the tunnel. Score accumulates for survival and destroying obstacles. The game lasts for only one ship; the score displays at the end of the game.
Since the OLED display on the evaluation board has burn-in characteristics similar to a CRT, the application also contains a screen saver. The screen saver only becomes active if two minutes have passed without the user pushbutton being pressed while waiting to start the game (i.e., the screen saver never appears during game play). An implementation of the Game of Life is run with a field of random data as the seed value.
After two minutes of running the screen saver, the display turns off and the user LED blinks. Exit either mode of screen saver (Game of Life or blank display) by pressing the user pushbutton (USER). Press the button again to start the game.
While the game is being played, a running tally of the score is output through UART0 of the LM3S811. UART0 is connected to the FTDI’s second serial channel. This serial channel is available to Windows as a Virtual COM Port. To view the score, open up a terminal application such as HyperTerminal. Connect using COM#, where # is the number Windows has assigned the Virtual COM Port. Set the serial connection to a baud rate of 115200, 8 data bits, no parity, 1 stop bit, and no flow control.
Important: The quickstart application will not run if one or more jumpers are removed.
14 January 6, 2010
C H A P T E R 3
Hardware DescriptionThis chapter provides the hardware description for the LM3S811 microcontroller including the peripherals included in the evaluation kit.
LM3S811 MicrocontrollerDevice Overview
The heart of the EVB is a Stellaris LM3S811 ARM® Cortex™-M3-based microcontroller. The LM3S811 offers 64 KB flash memory, 50-MHz operation, a 4-channel ADC, and a wide range of peripherals. Refer to the LM3S811 data sheet (order number DS-LM3S811) for complete device details.
The LM3S811 microcontroller is factory programmed with a quickstart demo program. The quickstart program resides in the LM3S811 on-chip flash memory and runs each time power is applied, unless ICDI mode is in use, or the quickstart has been replaced with a user program.
ClockingA single external 6.0-Mhz crystal drives the LM3S811 microcontroller. All required internal clocks are generated automatically within the device. The LM3S811 microcontroller is designed to run the ARM Cortex core at 50 Mhz on this evaluation board.
ResetThe LM3S811 microcontroller shares its external reset input with the OLED display. Reset is asserted (Active Low) under any one of the following conditions:
Power-on reset (duration set by resistor R1 and capacitor C2)
Reset switch SW2 is held down
In ICDI mode
By the USB device controller (U2 FT2232), when instructed by the debugger
The Keil RVMDK debugger does not support external reset. Instead, the target device is reset using JTAG operations. In ICDI mode, the reset push-switch has no effect.
Power SupplyThe LM3S811 is powered from a +3.3-V supply rail that is common to all devices on the EVB. A low-dropout (LDO) regulator regulates +5 V power from the USB cable to +3.3 V. +3.3 V at up to 100 mA is available for powering external circuits at break-out pin 20.
DebuggingStellaris microcontrollers support programming and debugging using either JTAG or SWD. JTAG uses the TCK, TMS, TDI, and TDO signals. SWD requires fewer signals—SWCLK, SWDIO, and SWO. The debugger determines which debug protocol is used. For example, Keil RVMDK tools support only JTAG debugging.
January 6, 2010 15
Hardware Description
JTAG/SWD signals are multiplexed with GPIO functions inside the Stellaris microcontroller. Do not configure JTAG/SWD pins (including PB7/TRST) as GPIO. Doing this prevents in-circuit programming and debugging.
USB Device Controller FunctionsDevice Overview
An FT2232 device from Future Technology Devices International Ltd manages USB-to-serial conversion. The FT2232 is factory configured to implement a JTAG/SWD port (synchronous serial) on channel A and a Virtual COM Port (VCP) on channel B. This feature allows two simultaneous communications links between the host computer and the target device using a single USB cable. Separate Windows drivers for each function are provided on the Documentation and Software CD.
A small serial EEPROM holds the FT2232 configuration data. The EEPROM is not accessible by the LM3S811 microcontroller.
For full details on FT2232 operation, go to www.ftdichip.com.
USB to JTAG/SWDThe FT2232 USB device performs JTAG/SWD serial operations under the control of the debugger. Two 74LV125 hex buffers multiplex SWD and JTAG functions and provide direction control for the bi-directional data line when working in SWD mode.
Virtual COM PortThe Virtual COM Port (VCP) allows Windows applications (such as HyperTerminal) to communicate with UART0 on the LM3S811 over USB. Once the FT2232 VCP driver is installed, Windows assigns a COM port number to the VCP channel.
For more information, see Using the Virtual COM Port on page 21.
Organic LED DisplayThe EVB features an Organic LED (OLED) graphics display with 96 x 16 pixel resolution. OLED is a new technology that offers many advantages over LCD display technology.
FeaturesRiT RGS08096016BW001 series display
96 columns by 16 rows
1 bit/pixel monochrome
High-contrast (typ. 2000:1)
Excellent brightness (100 cd/m2)
Fast response
Control InterfaceThe OLED display has a built-in controller IC (SSD1300) with synchronous serial and I2C interfaces. I2C is used on the EVB as it only requires two microcontroller pins. The OLED display has a fixed I2C address of 0x3d. The Stellaris driver library (DriverLib) (included on the Documentation and Software CD) contains complete drivers with source-code for the OLED display.
16 January 6, 2010
Stellaris® LM3S811 Evaluation Board
Note that the SSD1300’s I2C bus implementation is not 100% compliant with the I2C specification. Designers should refer to the SSD1300 datasheet before connecting other I2C devices to the bus.
Power SupplyA +10 V supply is needed to bias the OLED display. In addition, a boost converter has been added to the board. This supply is dedicated to the OLED display and should not be used to power other devices.
Design GuidelinesThe OLED display has a lifetime of about 10,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.
When using the EVB as an In-Circuit Debug Interface (ICDI), the OLED display is held in reset to reduce power consumption and eliminate display wear-out.
Further ReferenceFor additional information on the RGS08096016BW001 OLED display, see the www.rtidisplay.com web site..
Full details on the SSD1300 controller are available from the Solomon Systech, Ltd., web site: www.solomon-systech.com.
Other PeripheralsThumbwheel Potentiometer
A thumbwheel potentiometer connects to Channel 0 of the Analog-to-Digital Converter (ADC). A padding resistor (R7) sets the voltage range to 0 to 3.0 V. This corresponds with the full-scale range of the LM3S811’s 10-bit ADC. The ADC input voltage increases with clockwise potentiometer rotation.
User LEDA user LED (D1) is provided for general use. The LED is connected to PC5/CCP1, allowing the option of either GPIO or PWM control (brightness control). Refer to the Quickstart Application source code for an example of PWM control.
User PushbuttonA user pushbutton (SW2) is provided for general use. The switch interfaces to PC4 of the LM3S811.
Bypassing PeripheralsThe EVB’s on-board peripheral circuits require eight GPIO lines, leaving up to 24 GPIO lines immediately available for connection to external circuits. If all GPIO lines are needed, then the on-board hardware can be bypassed. The EVB is populated with eight 0-ohm resistor jumpers, which can be removed to isolate on-board hardware.
January 6, 2010 17
Hardware Description
Important: The quickstart application will not run if one or more jumpers are removed.
Interfacing to the EVBAn array of accessible I/O signals makes it easy to interface the EVB to external circuits. All LM3S811 I/O lines (except those with JTAG functions) are brought out to 0.1” pitch pads. For quick reference, silk-screened labels on the PCB show primary pin functions.
Table B-1 on page 32 has a complete list of I/O signals as well as recommended connectors.
Most LM3S811 I/O signals are +5-V tolerant. 5-V tolerant pins will not be damaged when connected to 5-V logic circuits. It is recommended that datasheets be checked for compatibility when mixing logic types. Refer to the LM3S811 datasheet for detailed electrical specifications.
Using the In-Circuit Debugger InterfaceThe Stellaris LM3S811 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.
Figure 3-1. ICD Interface Mode
The debug interface operates in either Serial-Wire Debug (SWD) or full JTAG mode, depending on the configuration in the debugger IDE.
The Keil RVMDK does not distinguish between normal Evaluation Board mode and ICDI mode. The only requirement is that the correct Stellaris device is selected in the project configuration.
Table 3-1. Isolating On-Board Hardware
MCU Pin EVB Function To Isolate, Remove...
Pin 33 PB2/I2CSCL I2C SCL to Display JP1
Pin 34 PB3/I2CSDA I2C SDA to Display JP2
Pin 17 PA0/U0Rx VCP Receive JP3
Pin 18 PA1/U0Tx VCP Transmit JP4
Pin 1 ADC0 ADC Input from Thumbwheel Potentiometer JP5
Pin 14 GPIO PC4 User Push Switch Input JP6
Pin 29 GPIO PC5 User LED output JP7
Pin 48 GPIO PD7 OLED Power Enable JP8
LM3S811 EVBTarget Board
Stellar is MC U
J TAG/SWD Target Cable
`USB
PC with IDE/debugger
Stellar is MCU
This LM 3S811 is he ld in reset
18 January 6, 2010
Stellaris® LM3S811 Evaluation Board
ICDI FeaturesICDI includes the following features:
Standard ARM® 20-pin JTAG debug connector
USB 2.0 full speed interface allows JTAG/SWD debug
Compatible with leading ARM Integrated Development Environment (IDE) packages including Keil RVMDK.
Enabling ICDI ModeICDI mode is enabled when the 20-pin JTAG/SWD target cable is connected to an external target. In this mode, the on-EVB LM3S811 microcontroller and OLED display are held in reset. Applications can not be executed in the on-EVB microcontroller when the EVB is connected as an ICDI device.
ARM Target CableThe evaluation kit includes a 3-inch target cable for connecting the EVB to an external target. Cables up to 8-inch long can be used if required.
Target cable pin assignments are compatible with the ARM 20-pin standard (see Table B-3 on page 34). The target board must have GND connections on even pins from 4 through 20, otherwise the ICDI is not enabled when the target is connected. In this case, there will be conflict between the JTAG/SWD signals on the LM3S811evaluation board and the external Stellaris device.
When using the kit as an evaluation board, do not make connections to the debug out connector.
Starting ICDIWith the USB cable removed, connect the EVB to a Stellaris microcontroller-based target board using the 20-pin JTAG/SWD target cable included in the Stellaris LM3S811 Evaluation Kit.
The red stripe on the cable should match pin 1 on both the EVB debug out connector and the target. When inserted correctly, the polarizing tab on the connector fits into the slot on the EVB PCB, so that the ribbon cable exits away from you.
Apply power to the target device, and then connect the USB cable to the LM3S811 Evaluation Board. The OLED display should not show any information. If it does display an image, then check the target JTAG/SWD connections to ensure the on-EVB LM3S811 microcontroller is being held in reset.
The Keil RVMDK is now be able to program and debug the target Stellaris microcontroller.
January 6, 2010 19
Hardware Description
20 January 6, 2010
C H A P T E R 4
CommunicationsThis chapter describes available communication for the LM3S811 microcontroller through the Virtual COM Port and the Windows application, HyperTerminal.
Using the Virtual COM PortThe Virtual COM Port (VCP) is a convenient way for Windows applications to communicate with UART0 on the LM3S811 microcontroller over USB. It offers all the capabilities of a standard RS232 interface without an additional cable.
Confirming Driver InstallationThe VCP device driver is normally installed as part of the quickstart process. Confirm that the VCP device driver is installed by doing the following.
1. Connect the EVB to a PC using the USB cable supplied in the evaluation kit.
2. Open the Windows Device Manager, by either holding down the Windows Key and pressing the Pause/Break key, or, from the Start Menu, selecting Control Panel and then clicking on the System Icon.
3. Select the Hardware Tab, and click the Device Manager button.
4. In Device Manager, scroll down until you see Ports (COM & LPT). Click to expand this item. You should see a device called Stellaris Virtual COM Port (COM).
Figure 4-1. Check VCP Driver Installation
The Windows operating system assigns the COM Port number automatically. It may change if the EVB is reconnected.
If Device Manager does not show the Stellaris Virtual COM Port device, or if there is a question mark by the device, it will be necessary to install or reinstall the device driver.
VCP Driver Installed VCP Device Missing
January 6, 2010 21
Communications
Installing the VCP Device DriverWhen the EVB is first connected to a USB port, Windows automatically starts a driver installation wizard. The following steps guide you through the installation wizard.
1. Connect the EVB to an available USB port using the USB cable supplied in the kit. In the Found New Hardware Wizard window, select “No, not this time” and click Next.
2. Select “Install from a list or specific location (Advanced)” and click Next.
22 January 6, 2010
Stellaris® LM3S811 Evaluation Board
3. Insert the Stellaris® LM3S811 Evaluation Kit Documentation and Software CD in the CD-ROM drive. Select “Search removable media (floppy, DR-ROM…)” and click Next.
4. Windows locates the driver on the Documentation and Software CD and start installing the driver. A warning dialog like the one below pops up. Click Continue Anyway.
January 6, 2010 23
Communications
5. VCP drivers are now installed. Click Finish.
You may want to use Device Manager to identify the COM Port assignment.
Now that drivers are installed, Windows automatically assign a COM port to the LM3S811 Evaluation Board each time it is connected.
About HyperTerminalHyperTerminal is an ASCII terminal emulator that is included with Windows. It provides an easy way to transfer ASCII data to and from the LM3S811 Evaluation Board using the Virtual COM port feature.
The quickstart application sends a running tally of the game score through UART0 of the LM3S811.
Starting HyperTerminal1. From the Windows XP Start menu, select:
Start > All Programs > Accessories > Communications > HyperTerminal
2. HyperTerminal asks for a name and icon to associate with the terminal profile you are about to create. Neither the name nor the icon selection is critical.
24 January 6, 2010
Stellaris® LM3S811 Evaluation Board
3. Click OK to continue.
4. Select the COM port assigned to the LM3S811 Evaluation Board. In the example below, it is COM7. Click OK.
January 6, 2010 25
Communications
5. Use the Properties dialog box to set the Port Settings. The quickstart application sends data at 115200 baud, 8 data bits, no parity, 1 stop bit, and no flow-control. Click OK.
6. HyperTerminal now starts. When the quickstart game is played, score data is visible in the terminal window. Save the terminal settings when exiting HyperTerminal.
26 January 6, 2010
A P P E N D I X A
SchematicsSchematics for the Stellaris LM3S811 Evaluation Board follow.
January 6, 2010 27
Figure A-1. LM3S811 Microcontroller (sheet 1 of 3)
11
22
33
44
55
66
DD
CC
BB
AA
Doc
umen
t Num
ber:
Rev
She
etD
ate:
of8/
4/20
091
3
C
Des
igne
r:
Dra
wn
by:
App
rove
d:
Dra
win
g T
itle:
Pag
e T
itle:
Siz
e
DA
Y
DA
Y
*B
D-L
MW
LV
LM3S
811
Eva
luat
ion
Boa
rd
MC
U, P
erip
hera
ls a
nd I/
O B
reak
out
B
108
Wild
Bas
in R
d.S
uite
350
Aus
tin, T
X 7
8746
TI A
EC
- A
ustin
+3.3
V
LD
O
OSC
0
PB6/
C0+
+3.3
V
PA0/
U0R
xPA
1/U
0Tx
PA2/
SSIC
lkPA
3/SS
IFss
PA4/
SSIR
xPA
5/SS
ITx
PC4
PC5/
CC
P1PC
6/C
CP3
PC7/
CC
P4
PE0/
PWM
4PE
1/PW
M5
AD
C3
AD
C2
AD
C1
AD
C0
PD7/
C0O
PD6/
Faul
tPD
5/C
CP2
PD4/
CC
P0PD
3/U
1Tx
PD2/
U1R
xPD
1/PW
M1
PD0/
PWM
0
PB7
PB0/
PWM
2PB
1/PW
M3
PB4/
C0-
PB5/
CC
P5
PB3/
I2C
SDA
PB2/
I2C
SCL
RE
SET
n
Eva
l Res
et S
witc
h
TC
KT
MS_
SWD
IOT
DI
TD
O_S
WO
PA0/
U0R
x17
PA1/
U0T
x18
PA2/
SSIC
lk19
PA3/
SSIF
ss20
PA4/
SSIR
x21
PA5/
SSIT
x22
PC0/
TC
K/S
WC
LK40
PC1/
TM
S/SW
DIO
39
PC2/
TD
I38
PC3/
TD
O/S
WO
37
PC4
14
PC5/
CC
P113
PC6/
CC
P312
PC7/
CC
P411
PD0/
PWM
025
PD1/
PWM
126
PD2/
U1R
x27
PD3/
U1T
x28
PD4/
CC
P045
PD5/
CC
P246
PD6/
Faul
t47
PD7
48
VD
D7
VD
D15
VD
D23
VD
D32
GN
D8
GN
D16
GN
D24
GN
D31
RST
5L
DO
6
OSC
09
OSC
110
PB0/
PWM
229
PB1/
PWM
330
PB2/
I2C
SCL
33
PB3/
I2C
SDA
34
PB4/
C0-
44
PB5/
CC
P543
PB6/
C0+
42
PB7/
TR
ST41
PE0/
PWM
435
PE1/
PWM
536
AD
C3
4A
DC
23
AD
C1
2A
DC
01
U1
LM
3S81
1
12
Y1
6.00
MH
z
+3.3
V
NC
1
VSS
2
TE
ST5
3
TE
ST4
4
TE
ST3
5
TE
ST2
6
TE
ST1
7
NC
8
NC
9
NC
10
VD
D11
BS1
12
BS2
13
NC
14
CSn
15
RE
Sn16
D/C
n17
WR
n18
RD
n19
D0
20
D1
21
D2
22
D3
23
D4
24
D5
25
NC
31
D6
26
D7
27
IRE
F28
VC
OM
H29
VC
C30
U2
OL
ED
-RIT
-96X
16
GN
D
GN
D
GN
DG
ND
+3.3
V
RE
SET
n
+3.3
V+3
.3V
PB2/
I2C
SC
L
PB3/
I2C
SD
A
+10V
PA2/
SSIC
lkPA
3/SS
IFss
PA4/
SSIR
xPA
5/SS
ITx
PD0/
PWM
0PD
1/PW
M1
PB0/
PWM
2PB
1/PW
M3
PE0/
PWM
4PE
1/PW
M5
PB3/
I2C
SDA
PB2/
I2C
SCL
PB7
PB6/
C0+
PB4/
C0-
PD6/
Faul
t
PD7/
C0O
AD
C0
AD
C1
AD
C2
AD
C3
PB5/
CC
P5PC
7/C
CP4
PC6/
CC
P3PD
5/C
CP2
PC5/
CC
P1
PC4
PA0/
U0R
xPA
1/U
0Tx
PD2/
U1R
xPD
3/U
1Tx
GN
D
GN
DG
ND
GN
D
PD4/
CC
P0
GN
D
+3.3
VR
ESE
Tn
I/O B
reak
out H
eade
rs
40 38 37 36 35 34 33 31 30 29 28 27 26 25 24 23 22 2132
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
391
R9
50K
GN
D
+3.3
V
+3.3
V
AD
C0
PC4
Thu
mbw
heel
Pot
entio
met
er
Stat
us L
ED
D1
Gre
en
PC5/
CC
P1
PA0/
U0R
x
PA1/
U0T
xV
CP_
TX
VC
P_R
X
PD7/
C0O
OL
ED
PWR
EN
50K
+5V
C5
0.1U
F
C6
0.1U
F
C7
0.1U
F
C8
0.1U
F
C9
0.1U
F
C10
1UF
C22
1UF
C1
.01U
F
C2
0.01
UF
C3
18PF
C4
18PF
R1
10K
R6 27
R2
10K
R8
10K
R7
4.7K
R10
220
R5
1M
R3
2.2K
R4
2.2K
SW1
SW-P
B
SW2
SW-P
B
JP1
JP2
JP5
JP6
JP7
JP4
JP3
JP8
USB
RST
n
R38
27
C30
0.1U
F
EX
TD
BG
EN
n
Revision
Date
Description
0A
ug 2
, 06
Rel
ease
for
Rev
0 P
CB
History
AA
ug 1
8, 0
6R
elea
se f
or R
ev A
PC
B, F
irst
Pro
duct
ion
Rel
ease
BFe
b 2,
07
Add
5V
bre
ak-o
ut p
ad.
Per
iphe
ral D
evic
es
Rem
ove
JP1.
.8 (
0603
Res
isto
rs)
to
free
GP
IO li
nes
as r
equi
red.
Use
r Pu
sh B
utto
n
Pin
1 is
Om
itte
dfo
r P
olar
izat
ion
CJu
l 17,
09
New
RIT
dis
play
, sup
port
s Se
rial
Wir
e O
ut (
SWO
)
D4
MB
R05
20
28 January 6, 2010
Stellaris® LM3S811 Evaluation Board
Figure A-2. LM3S811 Microcontroller (sheet 2 of 3)
11
22
33
44
55
66
DD
CC
BB
AA
Doc
umen
t Num
ber:
Rev
She
etD
ate:
of8/
3/20
092
3
C
Dra
win
g T
itle:
Pag
e T
itle:
Siz
eB
US
B a
nd D
ebug
ger
Inte
rfac
es
LM3S
811
Eva
luat
ion
Boa
rd
BD
-LM
WL
V
+3.3
V
+3.3
V
+5V
+5V
US
BP
US
BM
+5V
VC
P_R
XV
CP_
TX
_SW
O
+5V
FB
1 120o
hm @
100
MH
z
5V
D-
D+
ID
G
1
2
3
4
7
5
689
J42
USB
_MIN
I_B
_RE
CE
PTA
CL
E
UD
M
UD
P
EE
CS
EE
SKE
ED
AT
A
FT_S
KFT
_DO
FT_D
IFT
_CS
DB
GE
Nn
DB
GM
OD
VC
P_T
X_S
WO
SWO
_EN
XT
CK
XT
DI
XT
DO
_SW
O
XT
MS_
SWD
IO
12
34
56
78
910
1112
1314
1516
1718
1920
JTA
G/S
WD
J41
2X10
HD
R-S
HR
D
TCK
TMS
TDI
TDO
SRSTn
1211
13
U5D
SN74
LV
C12
5A
DB
GR
STn
SRST
n
VSE
NSE
CS
1
SK2
DI
3
DO
4G
ND
5
NC
7
OR
G6
VC
C8
1K 6
4X16
U4
CA
T93
C46
FB
2 120o
hm @
100
MH
zVB
US
GN
D18
GN
D25
GN
D34
AD
BU
S024
AD
BU
S123
AD
BU
S222
AD
BU
S321
AD
BU
S420
AD
BU
S519
AD
BU
S617
AD
BU
S716
AC
BU
S015
AC
BU
S113
AC
BU
S212
AC
BU
S311
BD
BU
S040
BD
BU
S139
BD
BU
S238
BD
BU
S337
BD
BU
S436
BD
BU
S535
BD
BU
S633
BD
BU
S732
BC
BU
S030
BC
BU
S129
BC
BU
S228
BC
BU
S327
SI/W
UA
10
SI/W
UB
26
GN
D9
AG
ND
45
VC
C3
VC
C42
VC
CIO
A14
VC
CIO
B31
AV
CC
46
PWR
EN
#41
XT
OU
T44
XT
IN43
EE
CS
48
EE
SK1
EE
DA
TA
2
TE
ST47
RE
SET
#4
RST
OU
T#
5
3V3O
UT
6
USB
DM
8
USB
DP
7
U3
FT22
32
VC
P_R
X
C21
0.1U
FC
26
0.1U
F
C23
0.1U
F
C24
0.1U
F
C25
0.1U
F
C18
0.1U
F
R22
10K
R21
10KR
1727
R18
27
R20
1.5K
R23 2.
2K
R36
10K
R14
10K
R15
10K
R16
10K
R19
10K
R24
470
R25
27
12
Y2
6.00
MH
z
C19
18PF
C20
18PF
USB
RST
n
EX
TD
BG
EN
n
US
B +
5V to
+3.
3V 4
00m
A P
ower
Sup
ply
IN
GND
EN
NR
OU
T
TP
S736
33D
BV
GN
D
+3.3
V+5
V
+3.3
V
D3
Pow
er L
ED
C11
1UF
C17
10nF
C12
1UF
R12
220
+10V
R30
1.0M
R31
140K
OL
ED
PWR
EN
GND 2
VIN
5
EN
4FB
3
SW1
U7 TPS
6104
1DB
V
4.7u
HL
1
VL
F401
2A-4
R7
+10
V 1
0mA
Sw
itchi
ng R
egul
ator
C13
10PF
D2
MB
R05
20
+5V
C16
1UF
C15
1UF
C14
4.7U
FR
1110
K
January 6, 2010 29
Figure A-3. LM3S811 Microcontroller (sheet 3 of 3)
11
22
33
44
55
66
DD
CC
BB
AA
Doc
umen
t Num
ber:
Rev
She
etD
ate:
of8/
3/20
093
3
C
Dra
win
g T
itle:
Pag
e T
itle:
Siz
eB
Deb
ugge
r M
ultip
lexe
r
LM3S
811
Evl
auat
ion
Boa
rd
BD
-LM
WL
V
+3.3
V
FT_S
K
FT_D
O
FT_D
I
FT_C
S
DB
GE
Nn
DB
GM
OD
VC
P_T
X_S
WO
SWO
_EN
23
1
U6A
SN74
LV
C12
5A
56
4
U5B
SN74
LV
C12
5A
98
10
U6C
SN74
LV
C12
5A
1211
13
U6D
SN74
LV
C12
5A
14 7
VC
C
GN
D
U6E
SN74
LV
C12
5A
23
1
U5A
SN74
LV
C12
5A
14 7
VC
C
GN
D
U5E
SN74
LV
C12
5A
56
4
U6B
SN74
LV
C12
5A
98
10
U5C
SN74
LV
C12
5A
23
1
U9A
SN74
LV
C12
6A
56
4
U9B
SN74
LV
C12
6A
98
10
U9C
SN74
LV
C12
6A 1211
13
U9D
SN74
LV
C12
6A
14 7
VC
C
GN
D
U9E
SN74
LV
C12
6A
+3.3
V
XT
CK
XT
DI
XT
DO
_SW
O
XT
MS_
SWD
IO
VC
P_T
X
+3.3
V
TC
K
TD
I TM
S_SW
DIO
TD
O_S
WO
C27
0.1U
F
C28
0.1U
F
C29
0.1U
F
R27
10K
R29
10K
R33
10K
R26
27 R28
27 R32
27 R35
27
30 January 6, 2010
A P P E N D I X B
Connection DetailsThis appendix contains the following sections:
Component Locations
Evaluation Board Dimensions
I/O Breakout Pads and Recommended Connectors
ARM Target Pinout
Component LocationsFigure B-1. Component Locations
January 6, 2010 31
Evaluation Board Dimensions
Evaluation Board DimensionsFigure B-2. Evaluation Board Dimensions
I/O Breakout Pads and Recommended ConnectorsThe LM3S811 EVB has 32 I/O pads, 6 power pads, and a reset signal, for a total of 39 pads. Connection can be made by soldering wires directly to these pads, or by using 0.1” pitch headers and sockets.
Table B-1. I/O Breakout Pads
Pad No. Description Pad No. Description
1 BLANK 40 ADC3
2 PC7/CCP4 39 ADC2
3 PB5/CCP5 38 ADC1
4 PD6/Fault 37 ADC0a
5 PC4a 36 GND
6 PA0/U0Rxa 35 PD4/CCP0
7 PA1/U0Txa 34 PC5/CCP1
8 PA2/SSIClk 33 PD5/CCP2
9 PA3/SSIFss 32 PC6/CCP3
10 PA4/SSIRx 31 GND
11 PA5/SSITx 30 PD7/C0Oa
12 PD1/PWM1 29 PB4/C0-
32 January 6, 2010
Stellaris® LM3S811 Evaluation Board
13 PD0/PWM0 28 PB6/C0+
14 GND 27 PB7b
15 PD2/U1Rx 26 PE0/PWM4
16 PD3/U1Tx 25 PE1/PWM5
17 PB0/PWM2 24 PB3/I2CSDAa
18 PB1/PWM3 23 PB2/I2CSCLa
19 GND 22 RESET
20 +3.3V 21 GND
a. Indicates an I/O line that is used by EVB hardware.b. PB7 should not be used as a GPIO.
Table B-2. Recommended Connectors
Pins 2-20 (19 way) Socket Sullins PPPC191LFBN-RC Digikey S7052-ND
Pin Header Sullins PTC19SAAN Digikey S1012-19-ND
Pins 21-40 (20 way) Socket Sullins PPPC201LFBN-RC Digikey S7053-ND
Pin Header Sullins PTC20SAAN Digikey S1012-20-ND
Table B-1. I/O Breakout Pads (Continued)
Pad No. Description Pad No. Description
January 6, 2010 33
ARM Target Pinout
ARM Target PinoutIn ICDI mode, the Stellaris LM3S811 Evaluation Kit supports ARM’s standard 20-pin JTAG/SWD configuration. The same pin configuration can be used for debugging over Serial Wire Debug (SWD) and JTAG interfaces. The debugger software, running on the PC, determines which interface protocol is used.
The Stellaris target board should have a 2x10 0.1” pin header with signals as indicated in Table B-3.
ICDI does not control the TRST (test reset) signal. This reset function is implemented as a command over JTAG/SWD, so this signal is not necessary.
Table B-3. 20-Pin JTAG/SWD Configuration
Function Pin Pin Function
nc 1 2 nc
nc 3 4 GND
TDI 5 6 GND
TMS 7 8 GND
TCK 9 10 GND
nc 11 12 GND
TDO 13 14 GND
RST 15 16 GND
nc 17 18 GND
nc 19 20 GND
34 January 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 shouldobtain the latest relevant information before placing orders and should verify that such information is current and complete. All products aresold 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 standardwarranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except wheremandated 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 andapplications using TI components. To minimize the risks associated with customer products and applications, customers should provideadequate 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. Informationpublished by TI regarding third-party products or services does not constitute a license from TI to use such products or services or awarranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectualproperty of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompaniedby all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptivebusiness practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additionalrestrictions.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids allexpress and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is notresponsible or liable for any such statements.
TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonablybe expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governingsuch use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, andacknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their productsand any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may beprovided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products insuch safety-critical applications.
TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products arespecifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet militaryspecifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely atthe Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.
TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products aredesignated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designatedproducts in automotive applications, TI will not be responsible for any failure to meet such requirements.
Following are URLs where you can obtain information on other Texas Instruments products and application solutions:
Products Applications
Amplifiers amplifier.ti.com Audio www.ti.com/audio
Data Converters dataconverter.ti.com Automotive www.ti.com/automotive
DLP® Products www.dlp.com Communications and www.ti.com/communicationsTelecom
DSP dsp.ti.com Computers and www.ti.com/computersPeripherals
Clocks and Timers www.ti.com/clocks Consumer Electronics www.ti.com/consumer-apps
Interface interface.ti.com Energy www.ti.com/energy
Logic logic.ti.com Industrial www.ti.com/industrial
Power Mgmt power.ti.com Medical www.ti.com/medical
Microcontrollers microcontroller.ti.com Security www.ti.com/security
RFID www.ti-rfid.com Space, Avionics & www.ti.com/space-avionics-defenseDefense
RF/IF and ZigBee® Solutions www.ti.com/lprf Video and Imaging www.ti.com/video
Wireless www.ti.com/wireless-apps
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265Copyright © 2010, Texas Instruments Incorporated