Stellaris® LM3S6965 Evaluation Board User ’s Manual EK-LM3S696 5-06 Co pyrigh t © 2 007– 201 0 Te xas In strumen ts
Copyright Copyright © 2007–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.
Stellaris® LM3S6965 Evaluation Board Table of Contents Chapter 1: Stellaris® LM3S6965 Evaluation Board ....................................................................................... 7 Features.............................................................................................................................................................. 8 Block Diagram .......................................................................................................................................
List of Figures Figure 1-1. Figure 1-2. Figure 2-1. Figure B-1. Figure B-2. 4 Stellaris LM3S6965 Evaluation Board Layout ................................................................................. 7 LM3S6965 Evaluation Board Block Diagram .................................................................................. 8 ICD Interface Mode ....................................................................................................................... 16 Component Locations ..................
Stellaris® LM3S6965 Evaluation Board List of Tables Table 2-1. Table 2-2. Table B-1. Table B-2. Table B-3. Stellaris LM3S6965 Evaluation Board Hardware Debugging Configurations................................ 12 Isolating On-Board Hardware........................................................................................................ 15 I/O Breakout Pads .........................................................................................................................
January 6, 2010
C H A P T E R 1 Stellaris® LM3S6965 Evaluation Board The Stellaris® LM3S6965 Evaluation Board is a compact and versatile evaluation platform for the Stellaris LM3S6965 ARM® Cortex™-M3-based microcontroller. The evaluation kit uses the LM3S6965 microcontroller’s fully integrated 10/100 Ethernet controller to demonstrate an embedded web server. You can use the board either as an evaluation platform or as a low-cost in-circuit debug interface (ICDI).
Features Features The Stellaris LM3S6965 Evaluation Board includes the following features: Stellaris LM3S6965 microcontroller with fully-integrated 10/100 embedded Ethernet controller Simple setup; USB cable provides serial communication, debugging, and power OLED graphics display with 128 x 96 pixel resolution User LED, navigation switches, and select pushbuttons Magnetic speaker LM3S6965 I/O available on labeled break-out pads Standard ARM® 20-pin JTAG debug connector with inpu
Stellaris® LM3S6965 Evaluation Board Evaluation Kit Contents The evaluation kit contains everything needed to develop and run applications for Stellaris microcontrollers including: LM3S6965 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 •
Features of the LM3S6965 Microcontroller Two independent integrated analog comparators Two I2C modules Three PWM generator blocks – One 16-bit counter – Two comparators – Produces two independent PWM signals – One dead-band generator 10 Two QEI modules with position integrator for tracking encoder position 0 to 42 GPIOs, depending on user configuration On-chip low drop-out (LDO) voltage regulator January 6, 2010
C H A P T E R 2 Hardware Description In addition to a microcontroller, the Stellaris LM3S6965 evaluation board includes a range of useful peripherals and an integrated ICDI. This chapter describes how these peripherals operate and interface to the MCU. LM3S6965 Microcontroller Device Overview The heart of the EVB is a Stellaris LM3S6965 ARM Cortex-M3-based microcontroller. The LM3S6965 offers 256 KB Flash memory, 50-MHz operation, an Ethernet controller, and a wide range of peripherals.
Hardware Description Power Supplies The LM3S6965 is powered from a +3.3-V supply. A low drop-out (LDO) regulator regulates +5-V power from the USB cable to +3.3-V. +3.3-V power is available for powering external circuits. A +15-V rail is available when the OLED display is active. The speaker and OLED display boost-converter operate directly from the +5-V rail. Debugging Stellaris microcontrollers support programming and debugging using either JTAG or SWD. JTAG uses the signals TCK, TMS, TDI, and TDO.
Stellaris® LM3S6965 Evaluation Board documentation for full details. However, if your debugger interface does not have a selectable power source, it may be necessary to install a 0-Ω resistor on the evaluation board to route power to pin 1. Refer to the schematics and board drawing in the appendix of this manual for the location of this resistor. USB Device Controller Functions Device Overview An FT2232 device from Future Technology Devices International Ltd manages USB-to-serial conversion.
Hardware Description Control Interface The OLED display has a built-in controller IC with synchronous serial and parallel interfaces. Synchronous serial (SSI) is used on the EVB as it requires fewer microcontroller pins. Data cannot be read from the OLED controller; only one data line is necessary. Note that the SSI port is shared with the microSD card slot.
Stellaris® LM3S6965 Evaluation Board User LED A user LED (LED3) 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. Bypassing Peripherals Excluding Ethernet, the EVB’s on-board peripheral circuits require 16 GPIO lines. Two additional GPIO lines are assigned to Ethernet LEDs.
Hardware Description Most LM3S6965 I/O signals are +5-V tolerant. Refer to the LM3S6965 data sheet for detailed electrical specifications. Using the In-Circuit Debugger Interface The Stellaris LM3S6965 Evaluation Kit can operate as an In-Circuit Debugger Interface (ICDI). ICDI acts as a USB to the JTAG/SWD adaptor, allowing debugging of any external target board that uses a Stellaris microcontroller. See “Debugging Modes” on page 12 for a description of how to enter Debug Out mode. Figure 2-1.
A P P E N D I X A Schematics This section contains the schematics for the LM3S6965 evaluation board: LM3S6965 Micro and 10/100 Ethernet on page 18 OLED Display, Switches, and Audio on page 19 USB, Debugger Interfaces, and Power on page 20 JTAG Logic with Auto Mode Detect and Hibernate on page 21 January 6, 2010 17
Schematic page 1 2 3 4 PD4/CCP0 34 PD6/FAULT Stellaris Microcontroller A INT_TCK TMS/SWDIO PC2/TDI PC3/TDO B 26 27 28 29 30 31 34 35 TMS/SWDIO PC2/TDI PC3/TDO PC4/PhA0 PC5/C1+/C0o PC6/CCP3 PC7/PhB0 80 79 78 77 25 24 23 22 PE0/PWM4 PE1/PWM5 PE2/PhB1 PE3/PhA1 72 73 74 75 ADC0 ADC1 ADC2 ADC3 1 2 5 6 19 18 PG0/U2RX PG1/U2TX 64 MCURSTn 17 16 48 49 1 Y1 2 1 25.00MHz OSC32IN OSC32OUT 2 52 53 8.
Schematic page 2 1 2 3 4 5 6 U2 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 C26 A 4.7UF +3.3V +5V +5V D2 L1 NR4018T100M 10uH R9 2.2 +15V U7 BZ1 5 1 2 D1 MBR0520 VIN SW C24 4.7UF FB NFT-03A R13 200K 1 200K OLEDCSn MCURSTn OLEDDC MBR0520 R14 C27 120pF SSICLK SSITX C22 3 C25 4.7UF 0.1UF +3.3V Q1 NDS331N SOUND 4 EN+15V R10 10K R12 10K SHDNn GND R11 17.8K 2 +15V FAN5331 C23 0.1UF C21 0.
Schematic page 3 1 2 3 4 5 6 Debug Interface Logic USB Interface +3.3V 54819-0519 P1 6 ADBUS0 ADBUS1 ADBUS2 ADBUS3 ADBUS4 ADBUS5 ADBUS6 ADBUS7 3V3OUT 0.1UF R21 27 8 R22 27 7 C32 USBDM USBDP 0.01UF ACBUS0 ACBUS1 ACBUS2 ACBUS3 SI/WUA R23 1.5K BDBUS0 BDBUS1 BDBUS2 BDBUS3 BDBUS4 BDBUS5 BDBUS6 BDBUS7 B +5V R24 10K U5 VCC NC ORG GND CS SK DI DO 1 2 3 4 48 1 2 47 R25 1.5K CAT93C46 43 44 1K 64X16 1 Y2 2 4 5 +5V 6.
Schematic page 4 A B C 1 D I90 SWO_EN 10 FTDI_TCK 45 DBGOUT I105 44 I85 I86 ITCK I109 41 I7 2 H 1 B A S I91 G S A B 34 F FTDI_DBG I89 VCP_TX E XTCK 2 I87 FTDI_TDI_DO 46 I6 I92 32 U0TX 24 XTDO S 3 FTDI_TDO_DI I3 B A 47 I16 JTAGEN I18 FTDI_TMS 48 I111 I4 21 4 JTAGEN I20 FTDI_DBG 5 FTDIJTAGEN 4 FTDI_SRSTn 3 3 I35 S SWDEN I36 I5 I37 I2 XTDI 4 I112 B A I17 I9 40 XTMS 5 I8 D FTDI_DBG Q DBGOUT 31 I96 6 C 7 I95 I99 33 I102 RSTSW 9 R
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 ARM Target Pinout Component Locations Figure B-1.
Evaluation Board Dimensions Evaluation Board Dimensions Figure B-2. Evaluation Board Dimensions I/O Breakout Pads The LM3S6965 EVB has 44 I/O pads, 14 power pads, and 2 crystal connections, for a total of 60 pads. Connection can be made by soldering wires directly to these pads, or by using 0.1” pitch headers and sockets.
Stellaris® LM3S6965 Evaluation Kit Note: In Table B-2, an asterisk (*) by a signal name (also on the EVB PCB) indicates the signal is normally used for on-board functions. Normally, you should cut the associated jumper (JP1-15) before using an assigned signal for external interfacing. Table B-1. I/O Breakout Pads Pad No. Pad No. Pad No. Pad No.
ARM Target Pinout ARM Target Pinout In ICDI input and output mode, the Stellaris LM3S6965 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.
Stellaris® LM3S6965 Evaluation Kit Additional references include: Future Technology Devices Incorporated FT2232C Datasheet Information on development tool being used: – RealView MDK web site, www.keil.com/arm/rvmdkkit.asp – IAR Embedded Workbench web site, www.iar.com – Code Sourcery GCC development tools web site, www.codesourcery.com/gnu_toolchains/arm – Code Red Technologies development tools web site, www.code-red-tech.com – Texas Instruments’ Code Composer Studio™ IDE web site, www.ti.
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.