Luminary Micro Stellaris LM3S811 User Manual

Page 1
Stellaris® LM3S811
Evaluation Board
USER’S MANUAL
EK-LM3S811-01 Copyright © 2006 Luminary Micro, Inc.
Page 2
Legal Disclaimers and Trademark Information
INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH LUMINARY MICRO PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN LUMINARY MICRO’S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, LUMINARY MICRO ASSUMES NO LIABILITY WHATSOEVER, AND LUMINARY MICRO DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF LUMINARY MICRO’S PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. LUMINARY MICRO’S PRODUCTS ARE NOT INTENDED FOR USE IN MEDICAL, LIFE SAVING, OR LIFE-SUSTAINING APPLICATIONS.
Luminary Micro may make changes to specifications and product descriptions at any time, without notice. Contact your local Luminary Micro sales office or your distributor to obtain the latest specifications before placing your product order.
Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Luminary Micro reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them.
Copyright © 2006 Luminary Micro, Inc. All rights reserved. Stellaris is a registered trademark, and the Luminary Micro logo is a trademark of Luminary Micro, Inc. or its subsidiaries in the United States and other countries. 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.
Luminary Micro, Inc. 108 Wild Basin, Suite 350 Austin, TX 78746 Main: +1-512-279-8800 Fax: +1-512-279-8879 http://www.luminarymicro.com
2 December 22, 2006
Page 3
Revision History
This 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 C-1 for Pad 11.
Stellaris® LM3S811 Evaluation Board
December 22, 2006 3
Page 4
4 December 22, 2006
Page 5
Stellaris® LM3S811 Evaluation Board
Table of Contents
Chapter 1: Stellaris® LM3S811 Evaluation Board ......................................................................................... 9
Features.............................................................................................................................................................. 9
Block Diagram .................................................................................................................................................. 10
Evaluation Kit Contents .................................................................................................................................... 10
Evaluation Board Specifications ................................................................................................................... 10
System Requirements................................................................................................................................... 11
Supported Devices........................................................................................................................................ 11
Features of the LM3S811 Microcontroller......................................................................................................... 11
Chapter 2: Getting Started ............................................................................................................................. 13
Powering the Board .......................................................................................................................................... 13
Installing the Drivers ......................................................................................................................................... 13
Driver Installation .......................................................................................................................................... 13
Completing Driver Installation ....................................................................................................................... 13
Running the Quickstart Application................................................................................................................... 14
Chapter 3: Hardware Description .................................................................................................................. 15
LM3S811 Microcontroller .................................................................................................................................. 15
Device Overview ........................................................................................................................................... 15
Clocking ........................................................................................................................................................ 15
Reset............................................................................................................................................................. 15
Power Supply................................................................................................................................................ 15
Debugging..................................................................................................................................................... 15
USB Device Controller Functions ..................................................................................................................... 16
Device Overview ........................................................................................................................................... 16
USB to JTAG/SWD ....................................................................................................................................... 16
Virtual COM Port........................................................................................................................................... 16
Organic LED Display ........................................................................................................................................ 16
Features........................................................................................................................................................ 16
Control Interface ........................................................................................................................................... 16
Power Supply................................................................................................................................................ 17
Design Guidelines ......................................................................................................................................... 17
Further Reference......................................................................................................................................... 17
Other Peripherals.............................................................................................................................................. 17
Thumbwheel Potentiometer .......................................................................................................................... 17
User LED ...................................................................................................................................................... 17
User Pushbutton ........................................................................................................................................... 17
Bypassing Peripherals ...................................................................................................................................... 17
Interfacing to the EVB ....................................................................................................................................... 18
Using the In-Circuit Debugger Interface ........................................................................................................... 18
ICDI Features................................................................................................................................................ 18
Enabling ICDI Mode ...................................................................................................................................... 19
ARM Target Cable ........................................................................................................................................ 19
Starting ICDI ................................................................................................................................................. 19
December 22, 2006 5
Page 6
Stellaris® LM3S811 Evaluation Board
Chapter 4: Communications.......................................................................................................................... 21
Using the Virtual COM Port .............................................................................................................................. 21
Confirming Driver Installation ........................................................................................................................ 21
Installing the VCP Device Driver................................................................................................................... 22
About HyperTerminal ........................................................................................................................................ 24
Starting HyperTerminal ................................................................................................................................. 24
Appendix A: Contact Information ................................................................................................................. 27
Appendix B: Schematics................................................................................................................................ 29
Appendix C: Connection Details ................................................................................................................... 33
Component Locations ....................................................................................................................................... 33
Evaluation Board Dimensions........................................................................................................................... 33
I/O Breakout Pads and Recommended Connectors......................................................................................... 34
ARM Target Pinout ........................................................................................................................................... 35
December 22, 2006 6
Page 7
Stellaris® LM3S811 Evaluation Board
List of Figures
Figure 1-1. Evaluation Board Layout ................................................................................................................. 9
Figure 1-2. LM3S811 Evaluation Board Block Diagram .................................................................................. 10
Figure 3-1. ICD Interface Mode ....................................................................................................................... 18
Figure 4-1. Check VCP Driver Installation ....................................................................................................... 21
Figure B-1. LM3S811 Microcontroller (sheet 1 of 2) ........................................................................................ 30
Figure B-2. LM3S811 Microcontroller (sheet 2 of 2) ........................................................................................ 31
Figure C-1. Component Locations ................................................................................................................... 33
Figure C-2. Evaluation Board Dimensions ....................................................................................................... 33
December 22, 2006 7
Page 8
Stellaris® LM3S811 Evaluation Board
List of Tables
Table 3-1. Isolating On-Board Hardware ........................................................................................................ 18
Table C-1. I/O Breakout Pads ......................................................................................................................... 34
Table C-2. Recommended Connectors........................................................................................................... 34
Table C-3. 20-Pin JTAG/SWD Configuration .................................................................................................. 35
December 22, 2006 8
Page 9
CHAPTER 1

Stellaris® LM3S811 Evaluation Board

The 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.

Features

The 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
Evaluation copy of the Keil™ RealView® Microcontroller Development Kit software tools
Figure 1-1 shows the layout of the Stellaris® LM3S811 Evaluation Board.
Figure 1-1. Evaluation Board Layout
Thumbwheel
Potentiometer
USB Interface
Reset
Switch
User LED
User Push Switch
TM
LM3S811
JTAG/SWD to
external target
OLED DisplayStellaris
12/22/06 9
Page 10

Block Diagram

Block Diagram
Figure 1-2. LM3S811 Evaluation Board Block Diagram
t
e
e
l
g
b
r
a
a
C
T
20-pin ARM
JTAG/SWD Output
Debug
Stellaris
LM3S811
MCU
Reset
USB
USB Cable
Dual USB
Device
Controller
+5V
SWD/JTAG
UART0
Mux
Reset
+3.3V Voltage
Regulator
I/O Signal Break-out
I/O Signals
OLED Display
96 x 16
Switch
Pot
LED

Evaluation Kit Contents

The 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:
Keil™ RealView® Microcontroller Development Kit RVMDK (16 KB limited)
Complete documentation
Quickstart guide
Quickstart source code
DriverLib and example source code

Evaluation Board Specifications

I/O Signal Break -out
Board 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)
10 12/22/06
Page 11
Stellaris® LM3S811 Evaluation Board
Dimensions: 3.65” x 1.40” x 0.30” (LxWxH)
RoHS status: Compliant

System Requirements

Microsoft 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 Devices

In-Circuit Debug Interface (ICDI) mode presently supports all Luminary Micro Stellaris Family devices.

Features of the LM3S811 Microcontroller

32-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
Two fully programmable 16C550-type UARTs
Separate 16x8 transmit (TX) and 16x12 receive (RX) FIFOs to reduce CPU interrupt
service loading
12/22/06 11
Page 12
Features of the LM3S811 Microcontroller
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 12/22/06
Page 13
CHAPTER 2

Getting Started

The Stellaris LM3S811 Evaluation Kit EKK-LM3S811 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 Board

The 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 Drivers

The 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 Installation

When 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 “LM3S811 Evaluation Board A.” When the driver install is finished, a window appears. Click Finish to close the dialog box.

Completing Driver Installation

You have just installed the drivers for “LM3S811 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 “LM3S811 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 “LM3S811 Virtual COM Port”. Again, follow the same instructions above to install the drivers for this device.
12/22/06 13
Page 14
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 Application

The 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 12/22/06
Page 15
CHAPTER 3

Hardware Description

This chapter provides the hardware description for the LM3S811 microcontroller including the peripherals included in the evaluation kit.

LM3S811 Microcontroller

Device 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.

Clocking

A 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.

Reset

The 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 C17)
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 Supply

The 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.

Debugging

Stellaris 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.
12/22/06 15
Page 16
Hardware Description
JTAG/SWD signals are multiplexed with GPIO functions inside the Stellaris microcontroller. Do not configure JTAG/SWD pins (including PB7/TRST programming and debugging.
) as GPIO. Doing this prevents in-circuit

USB Device Controller Functions

Device Overview

An FT2232 device from Future Technology Devices International Ltd manages USB-to-serial conversion. The FT2232 is factory configured by Luminary Micro 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/SWD

The 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 Port

The 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 Display

The 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.

Features

Osram OS096016 series display
96 columns by 16 rows
1 bit/pixel monochrome
High-contrast (typ. 2000:1)
Excellent brightness (120 cd/m
Fast response

Control Interface

The OLED display has a built-in controller IC (SSD0303) with synchronous serial and I2C interfaces. I has a fixed I
2
C is used on the EVB as it only requires two microcontroller pins. The OLED display
2
C address of 0x3d. The Stellaris driver library (DriverLib) (included on the
2
)
16 12/22/06
Page 17
Documentation and Software CD) contains complete drivers with source-code for the OLED display.
Note that the SSD0303’s I Designers should refer to the SSD0303 datasheet before connecting other I

Power Supply

A +9 V supply is needed to bias the OLED display. Conveniently, the SSD0303 IC includes an on-chip voltage boost controller. A few external components complete the simple switching power supply. This supply is dedicated to the OLED display and should not be used to power other devices.

Design Guidelines

The 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 Reference

Stellaris® LM3S811 Evaluation Board
2
C bus implementation is not 100% compliant with the I2C specification.
2
C devices to the bus.
For additional information on the OS096016 OLED display, visit www.osram-os.com.
Full details on the SSD0303 controller are available from Solomon Systech, Ltd. (www.solomon-systech.com).

Other Peripherals

Thumbwheel Potentiometer

A thumbwheel potentiometer connects to Channel 0 of the Analog-to-Digital Converter (ADC). A padding resistor (R31) 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 LED

A user LED (D2) 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 Pushbutton

A user pushbutton (SW1) is provided for general use. The switch interfaces to PC4 of the LM3S811.

Bypassing Peripherals

The EVB’s on-board peripheral circuits require seven GPIO lines, leaving up to 25 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 seven 0-ohm resistor jumpers, which can be removed to isolate on-board hardware.
12/22/06 17
Page 18
Hardware Description
Important: The quickstart application will not run if one or more jumpers are removed.
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 30 GPIO PB7 User Push Switch Input JP6
Pin 29 GPIO PC4 User LED output JP7

Interfacing to the EVB

An 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 C-1 on page 34 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 Interface
The 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
LM3S811 EVB
USB
Stellaris
MCU
JTAG/SWD
Targ et Cable
`
PC with I DE/ debugger
The debug interface operates in either Serial-Wire Debug (SWD) or full JTAG mode, depending on the configuration in the debugger IDE.
This LM 3 S811 is he ld
in re s et
Stellaris
MCU
Target
Board
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.

ICDI Features

ICDI includes the following features:
18 12/22/06
Page 19
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 Mode

ICDI 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 Cable

The 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 C-3 on page 35). 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.
Stellaris® LM3S811 Evaluation Board
When using the kit as an evaluation board, do not make connections to the debug out connector.

Starting ICDI

With 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.
12/22/06 19
Page 20
Hardware Description
20 12/22/06
Page 21
CHAPTER 4

Communications

This chapter describes available communication for the LM3S811 microcontroller through the Virtual COM Port and the Windows application, HyperTerminal.

Using the Virtual COM Port

The 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 Installation

The 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 LM3S811 Virtual COM Port (COM).
Figure 4-1. Check VCP Driver Installation
VCP Driver Installed VCP Device Missing
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 LM3S811 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.
12/22/06 21
Page 22
Communications

Installing the VCP Device Driver

When 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 12/22/06
Page 23
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.
12/22/06 23
Page 24
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 HyperTerminal

HyperTerminal 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 HyperTerminal

1. 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 12/22/06
Page 25
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.
12/22/06 25
Page 26
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 12/22/06
Page 27
APPENDIX A

Contact Information

Company Information

Luminary Micro, Inc. designs, markets, and sells ARM Cortex-M3 based microcontrollers for use in embedded applications within the industrial, commercial, and consumer markets. Luminary Micro is ARM's lead partner in the implementation of the Cortex-M3 core. Please contact us if you are interested in obtaining further information about our company or our products.
Luminary Micro, Inc. 108 Wild Basin, Suite 350 Austin, TX 78746 Main: +1-512-279-8800 Fax: +1-512-279-8879 http://www.luminarymicro.com sales@luminarymicro.com

Support Information

For support on Luminary Micro products, contact:
support@luminarymicro.com +1-512-279-8800, ext. 3
December 22, 2006 27
Page 28
28 December 22, 2006
Page 29
APPENDIX B

Schematics

Schematics for the Stellaris LM3S811 Evaluation Board follow.
December 22, 2006 29
Page 30
Figure B-1. LM3S811 Microcontroller (sheet 1 of 2)
96x16 OLED
DISPLAY
6
NC1VSS2GDR3VDDB4FB5RESE6VBREF7NC8NC9NC10VDD11BS112BS213NC14CSn15RESn16D/Cn17R/Wn18E/RDn19D020D121D222D323D424D525D626D727IREF28VCOMH29VCC30N.C.
U2
1UF
C1
+3.3V
GND
5
OLED Voltage Boost Circuit
4
R30
+3.3V
PB0/PWM2
PB1/PWM3
PB4/C0-
PB3/I2CSDA
3
PB2/I2CSCL
33
30
34
44
PB4/C0-
PB0/PWM229PB1/PWM3
PB2/I2CSCL
PB3/I2CSDA
RESETn
GND
+3.3V
+3.3V
R2
10
1UF
C3
LEDPWRIN
L1
100uH
Q1
BSS123
D3
1UF
C5
CD0603-S0180
1UF
C4
R3
10KR41.5K
+9V
PB7
10K
PD3/U1Tx
PD2/U1Rx
PD1/PWM1
PD0/PWM0
PB5/CCP5
PB6/C0+
42
26
28
27
43
41
PB6/C0+
PD3/U1Tx
PB5/CCP5
PD2/U1Rx
PB7/TRST
PD0/PWM025PD1/PWM1
R6
2.2K
R5
2.2K
+3.3V +3.3V
JP1
PD7/C0O
PD6/Fault
PD5/CCP2
PD4/CCP0
48
47
46
PD7
PD6/Fault
PD4/CCP045PD5/CCP2
OSRAM
OS096016PP08MG1B10
OS096016PP08MO1B10
OS096016PP08MY0B10
31
1UF
C7
1UF
C6
R7
GND
JP2
PB2/I2CSCL
PB3/I2CSDA
GND GND
620K
C15
C14
LDO
C13
+3.3V
C12
C11
C10
32
6
LDO
VDD7VDD15VDD23VDD
A2
RevSheetDate:
of
6
1
LM3S811 Evaluation Board
Peripheral Devices
Remove JP1..7 (0603 Resistors) to
free GPIO lines as required.
Thumbwheel Potentiometer
R8
50K
R31
4.7K
+3.3V
VCP_TX
VCP_RX
JP5
JP3
JP4
ADC0
PA0/U0Rx
PA1/U0Tx
1UF
0.1UF
0.1UF
0.1UF
0.1UF
0.1UF
User Push Button
SW1
SW-PB
R9
10K
GND
+3.3V
JP6
PC4
PB6/C0+
PB4/C0-
PD7/C0O
ADC0
ADC1
ADC2
ADC3
4038373635343331302928272625242322
1
GND
PD4/CCP0
39
2345678
PC6/CCP3
PD5/CCP2
PC5/CCP1
GND
32
9
101112131415161718
R10
JP7
PC5/CCP1
PE0/PWM4
PB7
Status LED
D2
Green
220
PE1/PWM5
PB3/I2CSDA
PB2/I2CSCL
RESETn
19
GND
21
20
MCU, Peripherals and I/O Breakout
Document Number:
9/3/2006 1 2
B
Drawing Title:
Page Title:
Size
5
4
I/O Breakout Headers
3
for Polarization
PA2/SSIClk
PA3/SSIFss
PA4/SSIRx
PA5/SSITx
PD0/PWM0
PD1/PWM1
PB0/PWM2
PD6/Fault
PB5/CCP5
PC7/CCP4
PC4
PA0/U0Rx
PA1/U0Tx
Pin 1 is Omitted
PB1/PWM3
PD2/U1Rx
PD3/U1Tx
GND
GND
+3.3V
PA0/U0Rx17PA1/U0Tx18PA2/SSIClk19PA3/SSIFss20PA4/SSIRx21PA5/SSITx22PC0/TCK/SWCLK40PC1/TMS/SWDIO39PC2/TDI38PC3/TDO/SWO37PC414PC5/CCP113PC6/CCP312PC7/CCP4
U1
2
PA0/U0Rx
PA1/U0Tx
PA2/SSIClk
PA3/SSIFss
PA4/SSIRx
PA5/SSITx
TMS/SWDIO
TCK/SWCLK
R1
10K
SW2
+3.3V
1
SW-PB
Eval Reset Switch
A A
PE0/PWM435PE1/PWM5
1
11
36
PC4
PC5/CCP1
PC6/CCP3
PC7/CCP4
PE0/PWM4
PE1/PWM5
ADC2
ADC1
ADC0
TDI
TDO
R32
10
USB_RSTn
GND8GND16GND24GND
RST
OSC09OSC1
ADC34ADC23ADC12ADC0
5
10
OSC0
ADC3
RESETn
R33
EXTDBGENn
B B
LM3S811
31
Y1
6.00MHz
1 2
10
6MHZ_CLOCK
18PF
C9
18PF
C8
0.1UF
C17
0 Aug 2, 06 Release for Rev 0 PCB
A1 Aug 21, 06 D5,D6 function redundant - change to resistors. Change R2 to 10 ohms.
A2 Aug 30, 06 Add C17 (0.1uF) to reset circuit.
A Aug 18, 06 Release for Rev A PCB
History
Revision Date Description
C C
D D
2
1
30 December 22, 2006
Page 31
Figure B-2. LM3S811 Microcontroller (sheet 2 of 2)
EXTDBGENn
6
U5E
74LVC126APWR
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
17 18
P1
Pin 11 is Keyed
External Debug Interface
XTDI
R24
27
R25
27
TDI
TCK/SWCLK
5
4
6
U3B
74LVC126APWR
5
4
+3.3V
19 20
Header 10X2
XTMS
XTCK
XTDO
R27
27
R26
27
TDO
TMS/SWDIO
8
11
U3C
74LVC126APWR
U3D
9
10
R29
10K
2
1
U5A
74LVC126APWR
3
74LVC126APWR
12
13
8
U5C
9
R14
10K
+3.3V
U5B
4
7 14
U3E
74LVC126APWR
7 14
+3.3V +3.3V
0.1UF
C24
R28
10K
+3.3V
R16
10K
GND
10
74LVC126APWR
DBG_SWD_EN
6
5
13
U5D
74LVC126APWR
Stellaris® LM3S811 Evaluation Board
A2
RevSheetDate:
of
6
2
LM3S811 Evaluation Board
USB and Debugger Interfaces
Document Number:
9/3/2006 2 2
B
Drawing Title:
Page Title:
Size
5
0.1UF
C22
+5V
Active in JTAG Mode : U3B, U3C, U5A
Active in SWD Mode : U3D, U5C, U5D (depending on direction)
12
74LVC126APWR
11
0.1UF
C21
0.1UF
C20
+3.3v
0.1UF
C19
D1
Power LED
R23
220
+3.3V
4
PWREN#
10K
FB2
R22
46
31
14
42
VCC3VCC
VCCIOB
VCCIOA
GND18GND25GND
GND9AGND
34
45
R21
10K
3
U3A
2
1
+3.3V
6MHZ_CLOCK
C C
AVCC
60ohm @ 100 MHz
1UF
USB +5V to +3.3V 300mA Power Supply
C27
+3.3V+5V
0.1UF
C25
5
1
OUT
IN
U7
2
3
SENSE
6
7
GND
BYPASS
VEN
GND
4
1UF
C26
D D
3
GND
LP3981ILD-3.3
2
1
470
0.1UF
C23
FT2232C
Channel A : JTAG / SW Debug
Channel B : Virtual Com Port
74LVC126APWR
Locate U3A close to U1 Oscillator
VCP_TX
USB_RSTn
DBG_JTAG_EN
TCK/SWCLK
TDI/DO
TDO/DI
TMS/OUTEN
3V3OUT6USBDM8USBDP
0.1UF
R11 27
+3.3V
16
7
R12 27
C30
3
ADBUS024ADBUS123ADBUS222ADBUS321ADBUS420ADBUS519ADBUS617ADBUS7
U4
USB Device Controller
C16
2
7
5
4
3
2
USB MINI-B Receptacle
1
5V D- D+ ID G
P2
6
1
A A
FB1
60ohm @ 100 MHz
+5V
VCP_RX
R13
10K
10
SI/WUA
ACBUS015ACBUS113ACBUS212ACBUS311BDBUS040BDBUS139BDBUS238BDBUS337BDBUS436BDBUS535BDBUS633BDBUS7
EECS48EESK1EEDATA2TEST47RESET#4RSTOUT#
R15
1.5K
47PF
R17
10K
+5V+5V
1
CS
U6
8
B B
R19
10K
+3.3V
27
32
2
3
DI
SK
4
R18
DO
GND5ORG6NC7VCC
BCBUS030BCBUS129BCBUS228BCBUS3
43
2.2K
1K 64X16
CAT93C46
41
26
SI/WUB
XTOUT44XTIN
5
R20
+5V
December 22, 2006 31
Page 32
32 December 22, 2006
Page 33
APPENDIX C

Connection Details

This appendix contains the following sections:
Component Locations
Evaluation Board Dimensions
I/O Breakout Pads and Recommended Connectors
ARM Target Pinout

Component Locations

Figure C-1. Component Locations

Evaluation Board Dimensions

Figure C-2. Evaluation Board Dimensions
December 22, 2006 33
Page 34

I/O Breakout Pads and Recommended Connectors

The 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 C-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 ADC0
5PC4
6PA0/U0Rx
7PA1/U0Tx
a
a
a
36 GND
35 PD4/CCP0
34 PC5/CCP1
8 PA2/SSIClk 33 PD5/CCP2
9 PA3/SSIFss 32 PC6/CCP3
10 PA4/SSIRx 31 GND
a
11 PA5/SSITx 30 PD7/C0O
12 PD1/PWM1 29 PB4/C0-
13 PD0/PWM0 28 PB6/C0+
14 GND 27 PB7
b
15 PD2/U1Rx 26 PE0/PWM4
16 PD3/U1Tx 25 PE1/PWM5
17 PB0/PWM2 24 PB3/I2CSDA
18 PB1/PWM3 23 PB2/I2CSCL
a
a
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 C-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
34 December 22, 2006
Page 35

ARM Target Pinout

In 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 Ta bl e C -3 .
Table C-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
Stellaris® LM3S811 Evaluation Board
nc 11 12 GND
TDO 13 14 GND
nc 15 16 GND
nc 17 18 GND
nc 19 20 GND
ICDI does not control RST
(device reset) or TRST (test reset) signals. Both reset functions are
implemented as commands over JTAG/SWD, so these signals are not necessary.
December 22, 2006 35
Page 36
36 December 22, 2006
Loading...