Download Stellaris LM3S811 Evaluation Board User`s Manual (Rev. B)
Transcript
Stellaris® LM3S811 Evaluation Board User ’s Manual EK-LM3S811 -05 Co pyrigh t © 2 006– 201 0 Te xas In strumen ts Copyright Copyright © 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 350 Austin, TX 78746 http://www.ti.com/stellaris 2 January 6, 2010 Stellaris® LM3S811 Evaluation Board Revision History This table provides a summary of the document revisions. Date Revision 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 Description 3 4 January 6, 2010 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 ................................................................................................................... 11 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................................................................................................................................................ 19 Enabling ICDI Mode...................................................................................................................................... 19 ARM Target Cable ........................................................................................................................................ 19 Starting ICDI ................................................................................................................................................. 19 January 6, 2010 5 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: Schematics................................................................................................................................ 27 Appendix B: Connection Details ................................................................................................................... 31 Component Locations....................................................................................................................................... 31 Evaluation Board Dimensions........................................................................................................................... 32 I/O Breakout Pads and Recommended Connectors......................................................................................... 32 ARM Target Pinout ........................................................................................................................................... 34 6 January 6, 2010 Stellaris® LM3S811 Evaluation Board List of Figures Figure 1-1. Figure 1-2. Figure 3-1. Figure 4-1. Figure A-1. Figure A-2. Figure A-3. Figure B-1. Figure B-2. Evaluation Board Layout ................................................................................................................. 9 LM3S811 Evaluation Board Block Diagram .................................................................................. 10 ICD Interface Mode ....................................................................................................................... 18 Check VCP Driver Installation ....................................................................................................... 21 LM3S811 Microcontroller (sheet 1 of 3) ........................................................................................ 28 LM3S811 Microcontroller (sheet 2 of 3) ........................................................................................ 29 LM3S811 Microcontroller (sheet 3 of 3) ........................................................................................ 30 Component Locations ................................................................................................................... 31 Evaluation Board Dimensions ....................................................................................................... 32 January 6, 2010 7 Stellaris® LM3S811 Evaluation Board List of Tables Table 3-1. Table B-1. Table B-2. Table B-3. Isolating On-Board Hardware........................................................................................................ 18 I/O Breakout Pads ......................................................................................................................... 32 Recommended Connectors........................................................................................................... 33 20-Pin JTAG/SWD Configuration .................................................................................................. 34 January 6, 2010 8 C H A P T E R 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. Figure 1-1. Evaluation Board Layout Reset Switch OLED Display User LED Thumbwheel Potentiometer USB Interface for In-Circuit Debugging ® Stellaris LM3S811 User Push Switch JTAG/SWD to external target 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 January 6, 2010 9 Stellaris® LM3S811 Evaluation Board Block Diagram LM3S811 Evaluation Board Block Diagram Target Cable Figure 1-2. Dual USB Device Controller Stellaris LM3S811 MCU I/O Signals USB Cable USB OLED Display 96 x 16 SWD/JTAG Mux 20-pin ARM JTAG/SWD Output Debug I/O Signal Break-out UART0 Switch Pot Reset +5V +3.3V Voltage Regulator Reset LED I/O Signal Break-out 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: – 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 10 January 6, 2010 Stellaris® LM3S811 Evaluation Board Evaluation Board Specifications 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) Dimensions: 3.90” 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 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 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 12 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 January 6, 2010 C H A P T E R 2 Getting Started The 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 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 “Stellaris 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 “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 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 January 6, 2010 C H A P T E R 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 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 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. 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 Functions Device 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/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 RiT 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 Interface The 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 Supply A +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 Guidelines The OLED display has a lifetime of about 10,000 hours. It is also prone to degradation due to burnin, 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 For 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 Peripherals Thumbwheel 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 LED A 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 Pushbutton A user pushbutton (SW2) is provided for general use. The switch interfaces to PC4 of the LM3S811. Bypassing Peripherals The 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. 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 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 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 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 PC with IDE/ debugger Stellar is MC U J TAG/SWD Targ et C abl e Stellaris MC U Target Board This LM 3 S811 is he ld in re set 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. 18 January 6, 2010 Stellaris® LM3S811 Evaluation Board ICDI Features ICDI 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 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 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 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. January 6, 2010 19 Hardware Description 20 January 6, 2010 C H A P T E R 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 Stellaris 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 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. January 6, 2010 21 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 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 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 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 Schematics Schematics for the Stellaris LM3S811 Evaluation Board follow. January 6, 2010 27 28 D C B A 0.01UF 0.1UF Feb 2, 07 B 1 Jul 17, 09 Aug 18, 06 A C Aug 2, 06 Date 0 Revision 2 6.00MHz 18PF C3 1 Y1 TCK TMS_SWDIO TDI TDO_SWO 18PF C4 ADC0 ADC1 ADC2 ADC3 RESETn New RIT display, supports Serial Wire Out (SWO) Add 5V break-out pad. 2 8 16 24 31 5 9 10 1 2 3 4 PE0/PWM4 PE1/PWM5 OSC0 35 36 PC4 PC5/CCP1 PC6/CCP3 PC7/CCP4 17 18 19 20 21 22 2 40 39 38 37 14 13 12 11 PA0/U0Rx PA1/U0Tx PA2/SSIClk PA3/SSIFss PA4/SSIRx PA5/SSITx Release for Rev A PCB, First Production Release Release for Rev 0 PCB Description C2 C30 27 R1 10K +3.3V MBR0520 D4 27 R6 SW1 SW-PB R38 History EXTDBGENn USBRSTn Eval Reset Switch 1 LM3S811 GND GND GND GND RST OSC0 OSC1 ADC0 ADC1 ADC2 ADC3 PE0/PWM4 PE1/PWM5 PC0/TCK/SWCLK PC1/TMS/SWDIO PC2/TDI PC3/TDO/SWO PC4 PC5/CCP1 PC6/CCP3 PC7/CCP4 PA0/U0Rx PA1/U0Tx PA2/SSIClk PA3/SSIFss PA4/SSIRx PA5/SSITx U1 7 15 23 32 6 25 26 27 28 45 46 47 48 29 30 33 34 44 43 42 41 Pin 1 is Omitted for Polarization PC7/CCP4 PB5/CCP5 PD6/Fault PC4 PA0/U0Rx PA1/U0Tx PA2/SSIClk PA3/SSIFss PA4/SSIRx PA5/SSITx PD1/PWM1 PD0/PWM0 GND PD2/U1Rx PD3/U1Tx PB0/PWM2 PB1/PWM3 GND +3.3V +5V VDD VDD VDD VDD LDO PD0/PWM0 PD1/PWM1 PD2/U1Rx PD3/U1Tx PD4/CCP0 PD5/CCP2 PD6/Fault PD7 PB0/PWM2 PB1/PWM3 PB2/I2CSCL PB3/I2CSDA PB4/C0PB5/CCP5 PB6/C0+ PB7/TRST 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 0.1UF C5 PD0/PWM0 PD1/PWM1 PD2/U1Rx PD3/U1Tx PD4/CCP0 PD5/CCP2 PD6/Fault PD7/C0O PB0/PWM2 PB1/PWM3 PB2/I2CSCL PB3/I2CSDA PB4/C0PB5/CCP5 PB6/C0+ 0.1UF C6 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 3 LDO 0.1UF C9 ADC3 ADC2 ADC1 ADC0 GND PD4/CCP0 PC5/CCP1 PD5/CCP2 PC6/CCP3 GND PD7/C0O PB4/C0PB6/C0+ PB7 PE0/PWM4 PE1/PWM5 PB3/I2CSDA PB2/I2CSCL RESETn GND 0.1UF C8 +3.3V PB7 0.1UF C7 R2 10K +3.3V I/O Breakout Headers 3 1UF C10 4 4 PD7/C0O PC5/CCP1 PC4 ADC0 PA1/U0Tx PA0/U0Rx JP8 JP7 JP6 JP5 JP4 JP3 OLEDPWREN 220 R10 VCP_TX VCP_RX * Approved: DAY Drawn by: DAY 5 D1 Green SW2 SW-PB R8 10K GND +3.3V R9 50K R7 4.7K +3.3V JP2 Designer: PB3/I2CSDA PB2/I2CSCL JP1 GND 1UF C22 .01UF GND 1M C1 +3.3V R5 RESETn +10V GND R4 2.2K GND OLED-RIT-96X16 NC VSS TEST5 TEST4 TEST3 TEST2 TEST1 NC NC NC VDD BS1 BS2 NC CSn RESn D/Cn WRn RDn D0 D1 D2 D3 D4 D5 D6 D7 IREF VCOMH VCC NC Date: B Size Document Number: 8/4/2009 Sheet BD-LMWLV of 3 108 Wild Basin Rd. Suite 350 Austin, TX 78746 TI AEC - Austin 6 1 free GPIO lines as required. MCU, Peripherals and I/O Breakout Page Title: 6 Remove JP1..8 (0603 Resistors) to LM3S811 Evaluation Board Drawing Title: Status LED User Push Button 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 U2 Peripheral Devices Thumbwheel Potentiometer R3 2.2K +3.3V +3.3V 5 C Rev D C B A Figure A-1. LM3S811 Microcontroller (sheet 1 of 3) January 6, 2010 D C B A +5V +5V VBUS CS SK DI DO 1K 64X16 CAT93C46 VCC NC ORG GND U4 1 2 3 4 6 2 1 R22 10K R23 2.2K 3 C11 1UF +5V 1 R12 220 +3.3V GND NR OUT D3 Power LED EN IN C17 10nF TPS73633DBV +5V 4.7UF C14 C12 1UF +3.3V Y2 2 EECS EESK EEDATA 18PF 18PF 45 9 18 25 34 4 5 43 44 48 1 2 47 7 UDP R20 1.5K 8 6 UDM 0.1UF C18 FT2232 AGND GND GND GND GND RESET# RSTOUT# XTIN XTOUT EECS EESK EEDATA TEST USBDP USBDM 3V3OUT U3 2 R11 10K 4 5 EN VIN FB SW U7 TPS61041DBV VLF4012A-4R7 L1 4.7uH 3 1 C13 10PF MBR0520 D2 +10V 10mA Switching Regulator C20 C19 6.00MHz 1 R21 10K R18 27 USBP +5V R17 27 USBM OLEDPWREN 7 J42 USB_MINI_B_RECEPTACLE 9 5V DD+ ID G 4 8 5 USB +5V to +3.3V 400mA Power Supply 8 7 6 5 120ohm @ 100 MHz FB2 120ohm @ 100 MHz FB1 GND 2 GND 2 January 6, 2010 C15 1UF R31 140K R30 1.0M 3 C16 1UF AVCC VCC VCC VCCIOA VCCIOB PWREN# BCBUS0 BCBUS1 BCBUS2 BCBUS3 SI/WUB BDBUS0 BDBUS1 BDBUS2 BDBUS3 BDBUS4 BDBUS5 BDBUS6 BDBUS7 ACBUS0 ACBUS1 ACBUS2 ACBUS3 SI/WUA ADBUS0 ADBUS1 ADBUS2 ADBUS3 ADBUS4 ADBUS5 ADBUS6 ADBUS7 3 46 3 42 14 31 41 30 29 28 27 26 40 39 38 37 36 35 33 32 15 13 12 11 10 24 23 22 21 20 19 17 16 +10V 0.1UF C26 R24 470 VCP_RX VCP_TX_SWO VSENSE DBGRSTn R36 10K +3.3V R14 10K R15 10K 12 C23 0.1UF 0.1UF 11 4 FT_SK FT_DO FT_DI FT_CS 27 R25 0.1UF C25 +5V USBRSTn 0.1UF C24 DBGENn DBGMOD C21 +3.3V SWO_EN VCP_TX_SWO VCP_RX 10K R19 4 U5D SN74LVC125A R16 10K 13 1 19 17 15 SRSTn 13 TDO 11 9 TCK 7 TMS 5 TDI 3 1 SRSTn 5 XTCK XTMS_SWDIO XTDI XTDO_SWO Date: B Size 8/3/2009 Document Number: Sheet BD-LMWLV USB and Debugger Interfaces Page Title: LM3S811 Evaluation Board Drawing Title: 2X10 HDR-SHRD J41 JTAG/SWD 20 18 16 14 12 10 8 6 4 2 EXTDBGENn 5 6 2 6 of 3 C Rev D C B A Stellaris® LM3S811 Evaluation Board Figure A-2. LM3S811 Microcontroller (sheet 2 of 3) 29 D C B 1 SWO_EN VCP_TX_SWO FT_DI FT_CS DBGENn DBGMOD 5 2 3 6 2 U5B SN74LVC125A R29 10K U5A +3.3V SN74LVC125A 1 4 FT_DO R27 10K 2 1 3 U6A SN74LVC125A 3 3 R33 10K 8 11 6 8 12 8 9 U9B SN74LVC126A 6 U9A SN74LVC126A 3 U5C SN74LVC125A U6C SN74LVC125A 9 U9D SN74LVC126A 12 U6B SN74LVC125A 5 U9C SN74LVC126A 5 2 9 11 U6D SN74LVC125A 10 1 4 2 27 R28 27 R26 4 27 R35 TDO_SWO 27 R32 TMS_SWDIO TDI TCK 4 VCP_TX XTDO_SWO XTMS_SWDIO XTDI XTCK 5 5 +3.3V U6E SN74LVC125A VCC 0.1UF 0.1UF Size Date: 8/3/2009 Document Number: Debugger Multiplexer Page Title: B 0.1UF C29 Sheet BD-LMWLV LM3S811 Evlauation Board Drawing Title: C28 C27 +3.3V 6 3 GND VCC GND U5E SN74LVC125A 6 GND VCC 14 7 FT_SK 14 7 13 10 4 13 10 14 30 7 A 1 of 3 U9E SN74LVC126A C Rev D C B A Figure A-3. LM3S811 Microcontroller (sheet 3 of 3) January 6, 2010 A P P E N D I X B 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 B-1. Component Locations January 6, 2010 31 Evaluation Board Dimensions Evaluation Board Dimensions Figure B-2. Evaluation Board Dimensions 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 B-1. I/O Breakout Pads Pad No. 32 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- January 6, 2010 Stellaris® LM3S811 Evaluation Board Table B-1. I/O Breakout Pads (Continued) Pad No. Description Pad No. Description 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) Pins 21-40 (20 way) January 6, 2010 Socket Sullins PPPC191LFBN-RC Digikey S7052-ND Pin Header Sullins PTC19SAAN Digikey S1012-19-ND Socket Sullins PPPC201LFBN-RC Digikey S7053-ND Pin Header Sullins PTC20SAAN Digikey S1012-20-ND 33 ARM Target Pinout 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 Table B-3. 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 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. 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 should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property 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 accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible 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 reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications. TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the 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 are designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated products 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 Telecom www.ti.com/communications DSP dsp.ti.com Computers and Peripherals www.ti.com/computers 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 & Defense www.ti.com/space-avionics-defense 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 75265 Copyright © 2010, Texas Instruments Incorporated