You are on page 1of 38

Stellaris LM3S8962 Evaluation Board

U S E R S M A N U A L

EK-LM3S896 2-03

Co pyrigh t 200 7-200 8 Lumin ary Micro, In c.

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 MICROS 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 MICROS 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 MICROS 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 2008 Luminary Micro, Inc. All rights reserved. Stellaris, Luminary Micro, and the Luminary Micro logo are registered trademarks 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

July 26, 2008

Stellaris LM3S8962 Evaluation Board

Table of Contents
Chapter 1: Stellaris LM3S8962 Evaluation Board Overview ...................................................................... 9 Features............................................................................................................................................................ 10 Block Diagram .................................................................................................................................................. 11 Evaluation Kit Contents .................................................................................................................................... 12 Evaluation Board Specifications ................................................................................................................... 12 Features of the LM3S8962 Microcontroller....................................................................................................... 12 Chapter 2: LM3S8962 Evaluation Board Hardware Description................................................................. 15 LM3S8962 Evaluation Board ............................................................................................................................ 15 LM3S8962 Microcontroller Overview ............................................................................................................ 15 Ethernet ........................................................................................................................................................ 15 CAN Module.................................................................................................................................................. 15 Clocking ........................................................................................................................................................ 15 Reset............................................................................................................................................................. 16 Power Supplies ............................................................................................................................................. 16 Debugging..................................................................................................................................................... 16 USB Device Controller Functions ..................................................................................................................... 17 USB Overview............................................................................................................................................... 17 USB to JTAG/SWD ....................................................................................................................................... 17 Virtual COM Port........................................................................................................................................... 17 Serial Wire Out.............................................................................................................................................. 17 Organic LED Display ........................................................................................................................................ 18 Features........................................................................................................................................................ 18 Control Interface ........................................................................................................................................... 18 Power Supply................................................................................................................................................ 18 Design Guidelines......................................................................................................................................... 18 Further Reference......................................................................................................................................... 18 Other Peripherals.............................................................................................................................................. 18 Speaker......................................................................................................................................................... 18 MicroSD Card Slot ........................................................................................................................................ 19 Push Switches .............................................................................................................................................. 19 User LED ...................................................................................................................................................... 19 Bypassing Peripherals ...................................................................................................................................... 19 Interfacing to the EVB....................................................................................................................................... 20 Using the In-Circuit Debugger Interface ........................................................................................................... 20 Chapter 3: CAN Device Board Hardware Description ................................................................................. 21 Device Overview............................................................................................................................................... 21 Power Supply................................................................................................................................................ 21 Programming and Debugging ....................................................................................................................... 21 Interfacing ..................................................................................................................................................... 21 Appendix A: Schematics................................................................................................................................ 23 Appendix B: Connection Details ................................................................................................................... 29 Component Locations....................................................................................................................................... 30

July 26, 2008

Evaluation Board Dimensions........................................................................................................................... 31 I/O Breakout Pads ............................................................................................................................................ 32 LM3S2110 CAN Device Board Connections .................................................................................................... 33 Recommended Connectors .............................................................................................................................. 33 ARM Target Pinout ........................................................................................................................................... 34 References ....................................................................................................................................................... 35 Appendix C: Contact Information ................................................................................................................. 37

July 26, 2008

Stellaris LM3S8962 Evaluation Board

List of Tables
Table 2-1. Table 2-2. Table B-1. Table B-2. Table B-3. Stellaris LM3S8962 Evaluation Board Hardware Debugging Configurations................................ 16 Isolating On-Board Hardware........................................................................................................ 19 I/O Breakout Pads ......................................................................................................................... 32 Recommended Connectors........................................................................................................... 33 20-Pin JTAG/SWD Configuration .................................................................................................. 34

July 26, 2008

July 26, 2008

Stellaris LM3S8962 Evaluation Board

List of Figures
Figure 1-1. Figure 1-2. Figure 1-3. Figure 1-4. Figure 2-1. Figure A-1. Figure A-2. Figure A-3. Figure A-4. Figure A-5. Figure B-1. Figure B-2. Figure B-3. Stellaris LM3S8962 Evaluation Board Layout ................................................................................. 9 Stellaris LM3S2110 CAN Device Board ........................................................................................ 10 LM3S8962 Evaluation Board Block Diagram ................................................................................ 11 LM3S2110 CAN Device Block Diagram ........................................................................................ 11 ICD Interface Mode ....................................................................................................................... 20 LM3S8962 Evaluation Board (sheet 1 of 4) .................................................................................. 24 LM3S8962 Evaluation Board (sheet 2 of 4) .................................................................................. 25 LM3S8962 Evaluation Board (sheet 3 of 4) .................................................................................. 26 LM3S8962 Evaluation Board (sheet 4 of 4) .................................................................................. 27 PLD schematic .............................................................................................................................. 28 LM3S8962 Evaluation Board Component Locations..................................................................... 30 LM3S8962 Evaluation Board Dimensions..................................................................................... 31 LM3S2110 CAN Device Board Dimensions .................................................................................. 31

July 26, 2008

July 26, 2008

C H A P T E R 1 Stellaris LM3S8962 Evaluation Board Overview


The Stellaris LM3S8962 Evaluation Board is a compact and versatile evaluation platform for the Stellaris LM3S8962 ARM Cortex-M3-based microcontroller. The evaluation kit design highlights the LM3S8962 microcontroller's integrated CAN and 10/100 Ethernet controllers. As well as implementing an embedded web server, the kit functions as a complete controller area network (CAN) by providing two boards each with a Stellaris microcontroller. The main evaluation board (EVB) is the CAN host. A small CAN device board, linked with a ribbon cable, uses a Stellaris LM3S2110 microcontroller. The function of each board is fully configurable in software. You can use the EVB either as an evaluation platform or as a low-cost in-circuit debug interface (ICDI). In debug interface mode, the on-board microcontroller is bypassed, allowing connection of the debug signals to an external Stellaris microcontroller target. The kit is also compatible with high-performance external JTAG debuggers. This evaluation kit enables quick evaluation, prototype development, and creation of application-specific designs for Ethernet and CAN networks. The kit also includes extensive source-code examples, allowing you to start building C code applications quickly. Figure 1-1. Stellaris LM3S8962 Evaluation Board Layout
Debug -out LED JTAG/SWD input and output

USB Device Interface OLED Graphics Display In-circuit Debug Interface Reset switch Navigation Switches Select switch Speaker Status LED

30 pin I/O break -out header

30 pin I/O break -out header

Stellaris LM3S8962 Microcontroller

TM

Power LED

microSD Card Memory Slot 10/100baseT Ethernet Jack CAN Bus connector

July 26, 2008

Stellaris LM3S8962 Evaluation Board Overview

Figure 1-2.

Stellaris LM3S2110 CAN Device Board


JTAG/SWD input

Status LED

Power LED

Reset switch

Stellaris LM3S2110 Microcontroller

I/O break-out headers

User switches

CAN bus connector

Features
The Stellaris LM3S8962 Evaluation Kit includes the following features: Stellaris LM3S8962 microcontroller with fully-integrated 10/100 embedded Ethernet controller and CAN module 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 MicroSD card slot USB interface for debugging and power supply Standard ARM 20-pin JTAG debug connector with input and output modes LM3S8962 I/O available on labeled break-out pads Standalone CAN device board using Stellaris LM3S2110 microcontroller

10

July 26, 2008

Stellaris LM3S8962 Evaluation Board

Block Diagram
Figure 1-3. LM3S8962 Evaluation Board Block Diagram
Target Cable

I/O Signal Break-out I/O Signal Break-out Debug JTAG/SWD Output/Input

SWD/JTAG Mux

OLED Display 128 x 96 Debug

USB USB Cable

Dual USB Device Controller

Stellaris LM3S8962 Microcontroller

I/O Signals

UART0

MicroSD card slot LED

1GB

USB CAN

CAN PHY

CAN0

CAT5 Cable USB

RJ45 Jack+ Magnetics Nav Switch +3.3V Regulator Reset I/O Signal Break-out I/O Signal Break-out

Switch

Speaker

LM3S8962 CAN Evaluation Board

Figure 1-4.

LM3S2110 CAN Device Block Diagram


I/O Signal Break-out JTAG/SWD Input Reset

+3.3V Regulator

LED

Debug Stellaris LM3S2110 Microcontroller

I/O Signals

Switch

Switch

USB CAN

CAN PHY

CAN0

LM3S2110 CAN Device Board

I/O Signal Break-out

July 26, 2008

11

Stellaris LM3S8962 Evaluation Board Overview

Evaluation Kit Contents


The evaluation kit contains everything needed to develop and run applications for Stellaris microcontrollers including: LM3S8962 evaluation board (EVB) LM3S2110 CAN device board USB cable 20-pin JTAG/SWD target cable 10-pin CAN cable CD containing: A supported version of one of the following: Keil RealView Microcontroller Development Kit (MDK-ARM) IAR Embedded Workbench Code Sourcery GCC development tools Code Red Technologies development tools

Complete documentation Quickstart guide Quickstart source code DriverLib and example source code

Evaluation Board Specifications


Board supply voltage: Board supply current: Break-out power output: Dimensions: RoHS status: 4.375.25 Vdc from USB connector 240 mA typ (fully active, CPU at 50 MHz) 3.3 Vdc (60 mA max), 15 Vdc (15 mA max) 4.55 x 2.45 x 0.7 (L x W x H) Compliant

Features of the LM3S8962 Microcontroller


32-bit RISC performance using ARM Cortex-M3 v7M architecture 50-MHz operation Hardware-division and single-cycle-multiplication Memory protection unit (MPU), provides a privileged mode for protected operating system functionality Integrated Nested Vectored Interrupt Controller (NVIC) 42 interrupt channels with eight priority levels 256-KB single-cycle Flash 64-KB single-cycle SRAM Four general-purpose 32-bit timers

12

July 26, 2008

Stellaris LM3S8962 Evaluation Board

Integrated Ethernet MAC and PHY Controller area network (CAN) module Three fully programmable 16C550-type UARTs Four 10-bit ADC channels (inputs) when used as single-ended inputs One integrated analog comparator One I2C module Two PWM generator blocks One 16-bit counter Two comparators Produces two independent PWM signals One dead-band generator

Two QEI modules with position integrator for tracking encoder position Two synchronous serial interfaces (SSIs) 0 to 42 GPIOs, depending on user configuration On-chip low drop-out (LDO) voltage regulator

July 26, 2008

13

Stellaris LM3S8962 Evaluation Board Overview

14

July 26, 2008

C H A P T E R 2 LM3S8962 Evaluation Board Hardware Description


In addition to a microcontroller, the Stellaris LM3S8962 evaluation board includes a range of useful peripherals and an integrated in-circuit debug interface (ICDI). This chapter describes how these peripherals operate and interface to the microcontroller.

LM3S8962 Evaluation Board


LM3S8962 Microcontroller Overview
The heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based microcontroller. The LM3S8962 offers 256-KB Flash memory, 50-MHz operation, an Ethernet controller, a CAN module, and a wide range of peripherals. Refer to the LM3S8962 data sheet (order number DS-LM3S8962) for complete device details. The LM3S8962 microcontroller is factory-programmed with a quickstart demo program. The quickstart program resides in the LM3S8962 on-chip Flash memory and runs each time power is applied, unless the quickstart has been replaced with a user program.

Ethernet
A key feature of the LM3S8962 microcontroller is its fully integrated Ethernet controller. Only an RJ45 jack with integrated magnetics and a few passive components are needed to complete the 10/100baseT interface. The RJ45 jack incorporates LEDs that indicate traffic and link status. These are automatically managed by on-chip microcontroller hardware. Alternatively, the LEDs can be software-controlled by configuring those pins as general-purpose outputs. The LM3S8962 supports automatic MDI/MDI-X so the EVB can connect directly to a network or to another Ethernet device without requiring a cross-over cable.

CAN Module
A CAN module enables highly reliable communications at up to 1 Mbits/s. The LM3S8962 evaluation board includes a standard CAN transceiver and a 10-pin CAN connector whose signal assignments follow a commonly used CAN standard. A simple adaptor (not included in the kit) can be used to allow the use of standard DB-9 CAN cables (as specified by CAN in Automation CiA DS102). An on-board 120-ohm resistor provides bus termination. This resistor can be removed if the board is not a network endpoint. The CAN transceiver is configured in hardware to support speeds up to 1 Mbits/s. A resistor can be added to reduce the transceiver's drive slew-rate for slower data rates over longer distances.

Clocking
The LM3S8962 microcontroller has four on-chip oscillators, three are implemented on the EVB. An internal 12 MHz oscillator is the clock source the microcontroller uses during and following POR. An 8.0-MHz crystal completes the LM3S8962s main internal clock circuit. An internal PLL, configured in software, multiplies this clock to 50-MHz for core and peripheral timing. The internal 12MHz oscillator is the primary clock source during start-up.

July 26, 2008

15

LM3S8962 Evaluation Board Hardware Description

A small, 25-MHz crystal is used by the LM3S8962 microcontroller for Ethernet physical layer timing and is independent of the main oscillator.

Reset
The LM3S8962 microcontroller shares its external reset input with the OLED display. In the EVB, reset sources are gated through the CPLD, though in a typical application a simple wired-OR arrangement is sufficient. External reset is asserted (active low) under any one of three conditions: Power-on reset Reset push switch SW1 held down Internal debug modeBy the USB device controller (U4 FT2232) when instructed by debugger

Power Supplies
The LM3S8962 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 power supply is active. The speaker and the OLED display boost-converter operate 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. SWD requires fewer signals (SWCLK, SWDIO, and, optionally, SWO for trace). The debugger determines which debug protocol is used.

Debugging Modes
The LM3S8962 evaluation board supports a range of hardware debugging configurations. Table 2-1 summarizes these configurations. Table 2-1. Stellaris LM3S8962 Evaluation Board Hardware Debugging Configurations
Mode 1 Debug Function Internal ICDI Use Debug on-board LM3S8962 microcontroller over USB interface. The EVB is used as a USB to SWD/JTAG interface to an external target. For users who prefer an external debug interface (ULINK, JLINK, etc.) with the EVB. Selected by Default mode

ICDI out to JTAG/SWD header

Connecting to an external target and starting debug software. The red Debug Out LED will be ON. Connecting an external debugger to the JTAG/SWD header.

In from JTAG/SWD header

Modes 2 and 3 automatically detect the presence of an external debug cable. When the debugger software is connected to the EVB's USB controller, the EVB automatically selects Mode 2 and illuminates the red Debug Out LED.

16

July 26, 2008

Stellaris LM3S8962 Evaluation Board

Debug In Considerations
Debug Mode 3 supports evaluation board debugging using an external debug interface. Mode 3 is automatically selected when a device such as a Segger J-Link or Keil ULINK is connected. Boards marked Revision B or later automatically configure pin 1 to be a 3.3-V reference, if an external debugger is connected. To determine the revision of your board, locate the product number on the bottom of the board; for example, EK-LM3S8962-B. The last character of the product number identifies the board revision. A configuration or board-level change may be necessary when using an external debug interface with revision A of this evaluation board. Because the evaluation board supports both debug out and debug in modes, pin 1 of the 20-pin JTAG/SWD header is, by default, not connected to +3.3 V. Consequently, devices requiring a voltage on pin 1 to power their line buffers may not work. Two solutions exist. Some debugger interfaces (such as ULINK) have an internal power jumper that, in this case, should be set to internal +3.3 V power. Refer to debugger interface 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


USB 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 LM3S8962 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. A CPLD (U6) multiplexes SWD and JTAG functions and, when working in SWD mode, provides direction control for the bidirectional data line. The CPLD also implements logic to select between the three debug modes. The internal or external target selection is determined by multiplexing TCK/SWCLK and asserting TRST.

Virtual COM Port


The Virtual COM Port (VCP) allows Windows applications (such as HyperTerminal) to communicate with UART0 on the LM3S8962 over USB. Once the FT2232 VCP driver is installed, Windows assigns a COM port number to the VCP channel.

Serial Wire Out


The evaluation board supports the Cortex-M3 serial-wire output (SWO) trace capabilities. Under debugger control, the CPLD can route the SWO datastream to the virtual communication port (VCP) transmit channel. The debugger can then decode and interpret the trace information

July 26, 2008

17

LM3S8962 Evaluation Board Hardware Description

received from the VCP. The normal VCP connection to UART0 is interrupted when using SWO. Not all debuggers support SWO. Refer to the Stellaris LM3S3748 data sheet for additional information on the trace port interface unit (TPIU).

Organic LED Display


The EVB features an Organic LED (OLED) graphics display with 128 x 96 pixel resolution. OLED is a new technology that offers many advantages over LCD display technology. The display is protected by a thin protective plastic film. If desired the film can be removed using a pair of tweezers.

Features
RiT P14201 series display 128 columns by 96 rows High-contrast (typ. 500:1) Excellent brightness (120 cd/m2) Fast 10 us response

Control Interface
The OLED display has a built-in controller IC with synchronous serial and parallel interfaces. Synchronous serial (SSI) is used on the EVB as it requires fewer microcontroller pins. Data cannot be read from the OLED controller; only one data line is necessary. Note that the SSI port is shared with the MicroSD card slot. The Stellaris peripheral driver library (DriverLib) (included on the Documentation and Software CD) contains complete drivers with source-code for the OLED display.

Power Supply
A +15-V supply is needed to bias the OLED display. A FAN5331 device from Fairchild combines with a few external components to complete a boost converter. A GPIO (PA7) is assigned to turn on and off the controller as necessary for power rail sequencing. When the OLED display is operating, a small amount of power can be drawn from the +15-V rail to power other devices.

Design Guidelines
The OLED display has a lifetime of about 13,000 hours. It is also prone to degradation due to burn-in, similar to CRT and plasma displays. The quickstart application includes both a screen saver and a power-down mode to extend display life. These factors should be considered when developing EVB applications that use the OLED display.

Further Reference
For additional information on the RiT OLED display, visit www.ritekdisplay.com.

Other Peripherals
Speaker
A small, magnetic audio transducer connects through a MOSFET to PG1/PWM1, allowing a range of options for generating simple and complex tones. Use of the +5-V rail reduces switching noise on the +3.3-V rail.

18

July 26, 2008

Stellaris LM3S8962 Evaluation Board

MicroSD Card Slot


Removable Flash cards are an ideal media for storing data such as web page content. The source code on the CD includes example code for reading data from standard FAT-formatted SD cards. All data and control transactions use the SD card's SPI mode. Note that the SD card specification does not require that a card supports the SPI mode, but most cards do so in practice. Cards from several vendors have been used with the EVB. MicroSD cards are very small and require careful handling. The SD card slot on the EVB is a push-push type (push to insert; push again to eject). NOTE: To avoid damage, remove power before inserting or removing cards.The EVB does not implement SD card power control.

Push Switches
The EVB has five general-purpose input switches. Four are arranged in a navigation-style configuration. The fifth functions as a Select switch.

User LED
A user LED (LED1) is provided for general use. The LED is connected to PF0/PWM0, 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 and CAN, the EVB's on-board peripheral circuits require 16 GPIO lines. Two additional GPIO lines are assigned to Ethernet LEDs. This leaves 20 GPIO lines and 4 ADC channels immediately available for connection to external circuits. If an application requires more GPIO lines, the on-board hardware can be disconnected. The EVB is populated with 16 jumper links, which can be cut with a knife to isolate on-board hardware. The process can be reversed by installing 0603- 0-ohm chip resistors. Table 2-2 shows the microcontroller assignments and how to isolate specific pins. Important: The quickstart application will not run if one or more jumpers are removed. Table 2-2. Isolating On-Board Hardware
Microcontroller Pin Pin 26 PA0/U0RX Pin 27 PA1/U0TX Pin 19 PG0 Pin 30 PA4/SSI0RX Pin 31 PA5/SSI0TX Pin 28 PA2/SSI0CLK Pin 34 PA6/CCP1 Pin 19 PG0 Pin 18 PG1/PWM1 Pin 61 PF1/IDX1 EVB Function Virtual COM port receive Virtual COM port transmit SD card chip select SD card data out SD card and OLED display data in SD card and OLED display clock OLED display data/control select OLED display chip select Sound Select switch To Isolate, Remove... JP1 JP2 JP4 JP5 JP6 JP7 JP8 JP9 JP10 JP11

July 26, 2008

19

LM3S8962 Evaluation Board Hardware Description

Table 2-2. Isolating On-Board Hardware


Microcontroller Pin Pin 72 PE0/PWM4 Pin 74 PE2/PHB1 Pin 75 PE3/PHA1 Pin 73 PE1/PWM5 Pin 47 PF0/PWM0 EVB Function Up switch Left switch Right switch Down switch User LED To Isolate, Remove... JP12 JP13 JP14 JP15 JP16

Interfacing to the EVB


An array of accessible I/O signals makes it easy to interface the EVB to external circuits. All LM3S8962 I/O lines (except those with both JTAG and SWD functions) are brought out to 0.1 pitch pads. For quick reference, silk-screened labels on the PCB show primary pin functions. Most LM3S8962 I/O signals are +5-V tolerant. Refer to the LM3S8962 microcontroller data sheet for detailed electrical specifications.

Using the In-Circuit Debugger Interface


The Stellaris LM3S8962 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 16 for a description of how to enter Debug Out mode. Figure 2-1. ICD Interface Mode
Connecting Pin 18 to GND sets external debug mode JTAG or SWD connects to the external microcontroller

Evaluation Board
USB

`
PC with IDE/ debugger

Stellaris MCU

Target Cable

Stellaris MCU

Target Board

TCK/SWCLK bypasses the on- board microcontroller

The debug interface operates in either serial-wire debug (SWD) or full JTAG mode, depending on the configuration in the debugger IDE. The IDE/debugger does not distinguish between the on-EVB Stellaris microcontroller and an external Stellaris microcontroller. The only requirement is that the correct Stellaris device is selected in the project configuration.

20

July 26, 2008

C H A P T E R 3 CAN Device Board Hardware Description


The CAN device board uses a Stellaris LM3S2110 microcontroller to demonstrate a complete two-node network. The board can be used with the main LM3S8962 evaluation board or as a standalone board.

Device Overview
The Stellaris LM3S2110 ARM Cortex-M3-based microcontroller has 64-KB Flash memory, 25-MHz operation, a CAN module, and a wide range of peripherals. For complete device details, see the LM3S2110 data sheet (order number DS-LM3S2110). The LM3S2110 microcontroller is factory programmed with a quickstart demonstration program that adds a remote volume control feature to the quickstart application. The quickstart program resides in the LM3S2110 on-chip Flash memory and runs each time power is applied, unless the quickstart has been replaced with a user program.

Power Supply
The CAN device board receives +5.0-V power from the CAN bus and should not be connected to a CAN bus that has a power wire voltage of greater than 10.0 V. If the bus is unpowered, a +5.0-V local power supply must be provided. The LM3S2110 microcontroller is powered from a +3.3-V rail, supplied by a low drop-out (LDO) regulator. +3.3-V power is available for powering external circuits.

Programming and Debugging


A standard 20-pin header supports both JTAG And SWD programming and debugging using either the main LM3S8962 board in ICDI out mode or a full-featured debug interface.

Interfacing
Two push switches and an LED implement a very simple user interface. The boards capabilities are easily expanded using the I/O breakout headers. For breakout header signal assignments, see LM3S2110 CAN Device Board Connections on page 33.

July 26, 2008

21

CAN Device Board Hardware Description

22

July 26, 2008

A P P E N D I X A Schematics
Schematics for the Stellaris LM3S8962 Evaluation Board follow.

July 26, 2008

23

Stellaris LM3S8962 Microcontroller


A PA0/U0Rx PA1/U0Tx PA2/SSI0CLK PA3/SSI0FSS PA4/SSI0RX PA5/SSI0TX PA6/CCP1 PA7 INT_TCK TMS/SWDIO PC2/TDI PC3/TDO TMS/SWDIO PC2/TDI PC3/TDO PC4/PhA0 PC5 PC6/PhB0 PC7 PE0/PWM4 PE1/PWM5 PE2/PhB1 PE3/PhA1 ADC0 ADC1 ADC2 ADC3 PG0 PG1/PWM1 MCURSTn 26 27 28 29 30 31 34 35 80 79 78 77 25 24 23 22 72 73 74 75 1 2 5 6 19 18 64 17 16 48 49 1 Y1 2 1 Y2 2 OSC32IN OSC32OUT 52 53 50 51 65 76 9 15 21 33 39 42 45 54 57 63 69 82 85 86 87 94 4 97 U1 U2 PA0/U0RX PA1/U0TX PA2/SSI0CLK PA3/SSI0FSS PA4/SSI0RX PA5/SSI0TX PA6/CCP1 PA7 PC0/TCK/SWCLK PC1/TMS/SWDIO PC2/TDI PC3/TDO/SWO PC4/PhA0 PC5 PC6/PhB0 PC7 PE0/PWM4 PE1/PWM5 PE2/PhB1 PE3/PhA1 ADC0 ADC1 ADC2 ADC3 PG0 PG1/PWM1 RST XTALNPHY XTALPPHY MOSCin MOSCout OSC32in OSC32out WAKE HIB CMOD0 CMOD1 GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND AGND AGND LM3S8962 12.4K 1% resistor required on Pin 41 for compatibility with future LM3S8962 revisions See Product Change Notification PCN-08001 AVDD AVDD VDD33 VDD33 VDD33 VDD33 VDD33 VDD33 VDD33 VDD33 VDD33 VDD33 VDD33 VBAT LDO VDD25 VDD25 VDD25 VDD25 ERBIAS TXON RXIP 46 40 C5 37 R8 49.9 R9 49.9 C6 10pF C7 10pF 0.1UF R7 330 +3.3V +3.3V 6 RXIN 8 2 1 9 10 C12 0.1UF C13 0.01UF
YY+ NC GND

CAN Port
A R1 120R

PB0/PWM2 PB1/PWM3 PB2/I2C0SCL PB3/I2C0SDA PB4/C0PB5/C0o PB6/C0+ PB7/TRST PD0/CAN0Rx PD1/CAN0Tx PD2/U1RX PD3/U1TX PD4/CCP0 PD5 PD6/FAULT PD7/IDX0 PF0/PWM0 PF1/IDX1 PF2/LED1 PF3/LED0 MDIO TXOP

66 67 70 71 92 91 90 89 10 11 12 13 95 96 99 100 47 61 60 59 58 43

PB0/PWM2 PB1/PWM3 PB2/I2C0SCL PB3/I2CSDA PB4/C0PB5/C1PB6/C0+ PB7/TRST PD0/CAN0Rx PD1/CAN0Tx PD2/U1RX PD3/U1TX PD4/CCP0 PD5/CCP2 PD6/FAULT PD7/IDX0 PF0/PWM0 PF1/IDX1 PF2/LED1 PF3/LED0 R3 10K

P1 GND CANL GND 1 3 5 7 9 2 4 6 8 10 CANH D1 +BUSPWR MBR0520 +5V

+3.3V JP17 R2 10K PB7/TRST

1 4 8 2

TXD RXD RS GND

CANH CANL VCC VREF

7 6 +5V 3 5

SN65HVD1050D

C1 0.1UF

Header 5X2
Pin-out enables straight-through connection to a CAN DB-9M.

On-board Peripheral Signals


Jumpers can be cut to free GPIO lines as required.

JP1 PA0/U0Rx JP2 +3.3V P2 +3.3V R4 49.9 R5 49.9 C2 10pF C3 10pF R6 330 C4 0.1UF +3.3V 5 4 7
1CT:1

VCP_RX VCP_TX JP7 B SSICLK JP9 OLEDCSn JP5 SSIRX JP6 SSITX JP8 OLEDDC JP3 EN+15V JP16 LED JP11 SELECT_SWn JP12 UP_SWn JP15 DOWN_SWn JP13 LEFT_SWn JP14 RIGHT_SWn JP4 CARDCSn JP10 SOUND C

PA1/U0Tx

10/100baseT Ethernet Jack


PA2/SSI0CLK
G+ G-

+3.3V 12 11 3

PA3/SSI0FSS PA4/SSI0RX
TX+ 1 TX- 2 RX+ 3 4 5 RX- 6 7 8

1CT:1

PA5/SSI0TX PA6/CCP1 PA7 PF0/PWM0 PF1/IDX1 PE0/PWM4 PE1/PWM5

25.00MHz C8 C 18PF C9 18PF

8.00MHz C10 18PF C11 18PF

3 98 8 20 32 36 44 56 68 81 83 84 93 55 7 14 38 62 88 41 R36 12.4K

+3.3V +3.3V

GL GR

J3011G21DNL

PE2/PhB1 PE3/PhA1 PG0

+3.3V

C14 C15 C16 0.01UF 0.01UF 0.1UF

C17 0.1UF

C18 4.7UF 30 29 PD4/CCP0 PD6/FAULT

I/O Break-out Headers


31 32 PD5/CCP2 PD7/IDX0 ADC0 ADC2 PD2/U1RX PG1/PWM1 PC7 PC5 PC4/PhA0 PA0/U0Rx PA2/SSI0CLK PA4/SSI0RX PA6/CCP1 2 1 +15V +5V PB4/C0PB6/C0+ PC2/TDI PC3/TDO PE2/PhB1 PE0/PWM4 PB2/I2C0SCL PB1/PWM3 PF1/IDX1 PF3/LED0 PF0/PWM0 59 60 36 PB5/C1PB7/TRST PE3/PhA1 PE1/PWM5 PB3/I2CSDA PB0/PWM2 PF2/LED1 OSC32OUT OSC32IN +3.3V

PG1/PWM1

History
Revision Date Description

C19 C20 0.01UF 0.1UF

C21 4.7UF

ADC1 ADC3 PD3/U1TX PG0 PC6/PhB0 +3.3V PA1/U0Tx PA3/SSI0FSS PA5/SSI0TX PA7

0 A B D C

Jul 24, 07 Aug 11, 07 Jan 28, 08 May 12, 08 Jul 10, 08

Prototype release Production Release Implement auto TVcc control Add R36 for future compatibility. Tie R8/R9 to +3.3V. Fix labels for JP3-16

D
Drawing Title: Page Title: Size Date:

Ethernet and CAN Evaluation Board LM3S8962 Micro, Ethernet and CAN

Document Number:

EK-LM3S8962
Sheet

7/10/2008

of

Rev

+3.3V R13 10K RESET_SWn C25 OMIT 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

U3 NC VCIR VCOMH LVSS VSS BS1 BS2 IREF CSn RESn D/Cn R/Wn E D0/SCLK D1/SDIN D2 D3 D4 D5 D6 D7 VDDIO VDD VCC NC OLED-RIT-128X96 RGS13128096WH000

Reset
SW1 A SW-B3S1000

C22 +5V R11 2.2 BZ1 D2 MBR0520 SELECT_SWn 1 2 NFT-03C 4.7UF +3.3V OLEDCSn MCURSTn OLEDDC SSICLK SSITX R10 200K

Select
SW2 SW-B3S1000

Up
SW3 SW-B3S1000 UP_SWn

SOUND R12 10K

Q1 NDS331N +3.3V +15V

Down
SW4 SW-B3S1000 B DOWN_SWn

Left
SW5 SW-B3S1000 LEFT_SWn

Speaker Circuit

C23 0.1UF

C24 0.1UF

Right
SW6 SW-B3S1000 RIGHT_SWn

128x96 OLED Graphics Display

User Switches

LED +3.3V R15 10K 1 2 3 4 5 6 7 8 R17 10K

R14 330 LED1 Green

Status
C

P3

CARDCSn SSITX +3.3V SSICLK SSIRX +3.3V C26 0.1UF

DBGOUTLED 2908-05WB-MG

R16 330 LED2 Red

Debug Out

10

11

12

+3.3V

R18 330 LED3 Green

+3.3V

Power

microSD Card Slot


D

Status LEDs
Drawing Title: Page Title: Size Date:

Ethernet and CAN Evaluation Board OLED Display, Switches and Audio

Document Number:

EK-LM3S8962
Sheet

7/10/2008

of

Rev

5 PLD_TCK TP1 TP2 TP3 TP4 TP5 TP6

Debug Interface Logic

PLD_TMS PLD_TDI PLD_TDO

PLD JTAG TEST POINTS

USB Interface
P4 A 6 USB+5V FB1 60ohm @ 100 MHz R21 27 R22 27 C32 0.01UF ACBUS0 ACBUS1 ACBUS2 ACBUS3 SI/WUA BDBUS0 BDBUS1 BDBUS2 BDBUS3 BDBUS4 BDBUS5 BDBUS6 BDBUS7 BCBUS0 BCBUS1 BCBUS2 BCBUS3 SI/WUB PWREN#
5V

54819-0519 +3.3V 18 43 19 42 11 25 1 35 7 USBSH +3.3V 13 37


DD+ ID G

+3.3V JP18

+3.3V

12 36

A U6 LC4032V-75TN48C

TCK TMS TDI TDO

GND GND

U4 C31 6 0.1UF 8 7 USBDM USBDP 3V3OUT 24 23 22 21 20 19 17 16 15 13 12 11 10 40 39 38 37 36 35 33 32 30 29 28 27 26 41 TCK TDI/DI TDO/DO TMS/OUTEN SRSTN DBG_JTAG_EN

R35 4.7K INT_TCK 44 45 46 47 48 2 3 4 7 8 9 10 14 +3.3V R34 4.7K

CLK1/I CLK0/I CLK2/I CLK3/I

VCC VCC

USB Device Controller

C29 0.1UF

ADBUS0 ADBUS1 ADBUS2 ADBUS3 ADBUS4 ADBUS5 ADBUS6 ADBUS7

GND (Bank 0) VCCO (Bank 0)

RESET_SWn

VCCO (Bank 1) GND (Bank 1)

B15/GOE1 B14 B13

15 16 17

5 6

30 29

+3.3V

U5 8 7 6 5 VCC NC ORG GND


1K 64X16

CS SK DI DO

1 2 3 4

R24 10K

+3.3V

41 40 39

VCP_RX

A13 A14 A15

R23 1.5K

A0/GOE0 A1 A2 A3 A4 A5 Bank 0 A6 A7 A8 A9 A10 A11 A12

Bank 1

B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B11 B12

20 21 22 23 24 26 27 28 31 32 33 34 38

PC2/TDI PC3/TDO TARGETCABLEn

DBGOUTLED VCP_TX PB7/TRST MCURSTn

+3.3V

+5V

+5V

B TMS/SWDIO TCK/SWCLK

SWO_EN C42 0.1UF MODE VCP_TX_SWO +3.3V PC2/TDI +5V PC2/TDI R26 27 R28 27

R25 1.5K

48 1 2 47 43 44 4 5

EECS EESK EEDATA TEST XTIN XTOUT RESET# RSTOUT#

MODE is reserved for future use.

TVCC

CAT93C46

Y3

+5V

6.00MHz C28 18PF C30 18PF 9 18 25 34 45 C

JTAG/SWD Interface Input/Output


R27 27 P5 1 3 5 7 9 11 13 15 17 19 2 4 6 8 10 12 14 16 18 20

GND GND GND GND AGND FT2232D

VCC VCC VCCIOA VCCIOB AVCC

3 42 14 31 46 C37 R30 330 C33 0.1UF

+3.3v C34 0.1UF C35 0.1UF C36 0.1UF

TMS/SWDIO

TMS/SWDIO

XTDI XTMS XTCK XTDO

TCK/SWCLK

TCK/SWCLK

R29 27

0.1UF Channel A : JTAG / SW Debug Channel B : Virtual Com Port +5V D3 PC3/TDO +15V PC3/TDO R31 27

Header 10X2 TARGETCABLEn R32 4.7K +3.3v

L1 NR4018T100M 10uH U7 5 VIN SW 1

MBR0520 R20 200K C38 120pF C39 C40 4.7UF R33 17.8K
Drawing Title: Page Title: Size

USB+5V

JP19

+5V 1 6 C41 4.7UF

U8 VIN1 VIN2 VOUT SENSE NC 4 5 3

+3.3V

C27 4.7UF

C43 4.7UF

FB

0.1UF

2 D

GND

GND

7 EN+15V R19 10K

SHDNn FAN5331

GND

LP8345ILD-3.3

Ethernet and CAN Evaluation Board USB, Debugger Interfaces and Power

USB +5V to +3.3V 500mA Power Supply +15V 50mA Power Supply for OLED Display
1 2 3 4 5

Document Number:

EK-LM3S8962
Sheet

Date:

7/10/2008

of

Rev

Up
SW100 DPF0 D+3.3V SW-B3S1000

Power Rail Break-out


D+5V A 34 1 35 33 60 36 2 DGND 53 52 16 15 14 13 17 18 19 20 21 22 23 24 DTCK DTMS DTDI DTDO D+3.3V +5VBUS 26 27 28 29 30 31 34 35 80 79 78 77 25 24 23 22 72 73 74 75 1 2 5 6

Stellaris LM3S2110 Microcontroller


U100 PA0/U0RX PA1/U0TX PA2/SSI0CLK PA3/SSI0FSS PA4/SSI0RX PA5/SSI0TX PA6/CCP1 nc PC0/TCK/SWCLK PC1/TMS/SWDIO PC2/TDI PC3/TDO/SWO PC4 PC5/C1+ PC6/C2+ PC7/C2PE0 PE1 nc nc nc nc nc nc PB0/CCP0 PB1/CCP2 PB2/I2C0SCL PB3/I2C0SDA PB4/C0PB5/C1PB6/C0+ PB7/TRST PD0/CAN0RX PD1/CAN0TX PD2 PD3 PD4/CCP3 PD5 PD6/FAULT PD7/C0o PF0/PWM0 PF1/PWM1 PF2 nc nc nc nc nc PG0 PG1 nc nc nc nc nc nc PH0 PH1 nc nc AVDD AVDD VDD33 VDD33 VDD33 VDD33 VDD33 VDD33 VDD33 VDD33 66 67 70 71 92 91 90 89 10 11 12 13 95 96 99 100 47 61 60 59 58 46 43 42 19 18 17 16 41 40 37 36 86 85 84 83 3 98 8 20 32 44 56 68 81 93 D+3.3V DPF0 DPF1 DPF2 R104 68K 43 46 45 48 61 62 59 58 DPF1

Down
SW101 SW-B3S1000 A

Reset
SW102 DRSTn SW-B3S1000 DGND DPF2 R100 330

Status
LED100 Green

7 8 64 63 66 65 31 44 41 40 39 30 29 28 12 11 10 9 27 26 25 32 57 56 55 54 D+3.3V R101 330

DGND

NOTE: Some LM3S2110 pins are no-connects. These pins have been brought out to pads to allow other Stellaris CAN devices to be used instead of LM3S2110.
B

Power
LED101 Green B DGND

47 50 49 51 3 4 5 6

D+3.3V R103 68K

CAN Transceiver
U101 1 4 JP101 8 2 DGND DGND TXD RXD RS GND VCC VREF CANH CANL 7 6 D+5V 3 5 C101 0.1UF DGND
Pin-out enables straight-through connection to a CAN DB-9M.

CAN Port
R102 120R DCANL P100 1 3 5 7 9 2 4 6 8 10 DCANH +5VBUS

DRSTn C100 OMIT

64

RST

Header 5X2

48 49 DGND 1 Y100 2 37 38 42 C104 18PF DGND 52 53 50 51 65 76

MOSCin MOSCout OSC32in OSC32out WAKE HIB CMOD0 CMOD1

SN65HVD1050D DGND

8.00MHz C103 C 18PF DGND

C102 0.1UF +5VBUS DGND D+3.3V JP100

+5V to +3.3V 500mA Power Supply


D+5V 1 6 C105 4.7UF U102 VIN1 VIN2 VOUT SENSE NC 4 5 3 C106 4.7UF D+3.3V C

JTAG/SWD Interface
D+3.3V P101 DTDI DTMS DTCK DTDO 1 3 5 7 9 11 13 15 17 19 2 4 6 8 10 12 14 16 18 20

9 15 21 33 39 45 54 57 63 69 82 87 94 4 97 DGND

GND GND GND GND GND GND GND GND GND GND GND GND GND AGND AGND LM3S2110

C107 C108 C109 0.01UF 0.01UF 0.1UF VBAT LDO VDD25 VDD25 VDD25 VDD25 55 7 14 38 62 88 C111 C112 0.01UF 0.1UF

C110 0.1UF

2 DGND DGND C113 4.7UF DGND

GND

GND

7 DGND DGND

LP8345ILD-3.3

DGND

DGND

Header 10X2 D

D
Drawing Title: Page Title:

Ethernet and CAN Evaluation Board CAN Device using LM3S2110

CAN Device Evaluation Board

Size Date:

Document Number:

EK-LM3S8962
Sheet

7/10/2008

of

Rev

A 1 VCP_TX SWO_EN FTDI_TCK 2 I90 34 10 45

C I89 A B I91 I7 S

D FTDI_DBG

E S B A I85

H 1

DBGOUT

I105 44 I109 41 I87 XTCK 2 I86 ITCK

FTDI_TDI_DO

46

I6 S B A I18 JTAGEN I111

I92

32

U0TX

FTDI_TDO_DI

I3

47

I16

24

XTDO

FTDI_TMS 4

48

I4 21 FTDI_DBG JTAGEN I20 SWDEN I36 I35 S B A I17 40 I8 D Q C I100 I99 I95 FTDI_DBG I96 DBGOUT 31 DBGLED 6 7 I70 TEST XTMS 5 I2 XTDI 4

I112

FTDIJTAGEN 5 FTDI_SRSTn

4 3

I5 I37

I9

I42

INTDBG

I102 7 RSTSW RC EXTCABLEn HIBn A 9 14 26 16 B I15 I104 I74 I13 DRVEN I108 C D E F

33

I106

TRSTn 7

38

I107

MCURSTn

Luminary Micro, Inc. Fury Evaluation Kit JTAG Logic with Auto Mode Detect and Hibernate AUG 23, 2007 G H

A P P E N D I X B Connection Details
This appendix contains the following sections: Component Locations (see page 30) Evaluation Board Dimensions (see page 31) I/O Breakout Pads (see page 32) LM3S2110 CAN Device Board Connections (see page 33) Recommended Connectors (see page 33) ARM Target Pinout (see page 34) References (see page 35)

July 26, 2008

29

Component Locations
Figure B-1. LM3S8962 Evaluation Board Component Locations

30

July 26, 2008

Stellaris LM3S8962 Evaluation Board

Evaluation Board Dimensions


Figure B-2. LM3S8962 Evaluation Board Dimensions

Figure B-3. LM3S2110 CAN Device Board Dimensions

July 26, 2008

31

I/O Breakout Pads


The LM3S8962 EVB has 42 I/O pads, 14 power pads, 2 crystal connections, and 2 no-connects, 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. 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
Description GND PA7* PA6/CCP1* PA5/SSI0TX* PA4/SSI0RX* PA3/SSI0FSS* PA2/SSI0CLK* PA1/U0TX* PA0/U0RX* GND PC4/PHA0 +3.3V PC5 PC6/PHB0 PC7 PG0* PG1/PWM1* PD3/U1TX PD2/U1RX No connect Pad No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Description GND ADC3 ADC2 ADC1 ADC0 GND PD7/IDX0 PD6/FAULT PD5/CCP2 PD4/CCP0 +15V No connect +5V GND PB4/C0GND PB6/C0+ PB5/C1PC2/TDI PB7/TRST Pad No. 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 Description PC3/TDO GND PE2/PhB1* PE3/PhA1* PE0/PWM4* PE1/PWM5* PB2/I2C0SCL PB3/I2C0SDA PB1/PWM3 GND PF1/IDX1* PB0/PWM2 PF3/LED0* PF2/LED1* GND OSC32OUT GND OSC32IN PF0/PWM0* +3.3V Pad No. 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60

32

July 26, 2008

Stellaris LM3S8962 Evaluation Board

LM3S2110 CAN Device Board Connections


PC3 (77) PE1 (73) PB3 (71) PB1 (67) PF1*(61) GND nc (59) XOSC1 GND +5V BUS 52 51 PC2 (78) nc (84) PH0 (86) PB6 (90) PB4 (92) PD5 (96) PD6 (99) 54 53 nc (83) PH1 (85) PB7*(89) GND PB5 (91) PD4 (95) PD7 (100 ) 66 65 1 2 +3.3V nc (1) nc (5) PD2 (12) nc (16) PG1 (18) PC7 (22) PC5 (24) PA0 (26) 19 20 17 18 31 32 GND nc (46) nc (42) nc (40) nc (35) PA5 (31) PA3 (29) PF0*(47) nc (43) nc (41) nc (37) PA6 (34) PA4 (30) PA2 (28)

Recommended Connectors
Connection can be made by soldering wires directly to pads or using 0.1 pitch headers and sockets. Table B-2. Recommended Connectors
Pins 1-30, 31-60 (2 x 15 way) PCB Socket Cable Socket Pin Header Sullins PPPC152LFBN-RC 3M 89130-0101 Sullins PEC15DAAN Digikey S7118-ND Digikey MKC30A-ND Digikey S2011E-15-ND

July 26, 2008

GND nc (2) nc (6) PD3 (13) nc (17) PG0 (19) PG6 (23) PC4 (25) PA1 (27)

nc (75) nc (74) PE0 (72) PB2 (70) PB0 (66) PF2*(60) nc (58) XOSC0 +3.3V +5V 34 33

33

ARM Target Pinout


In ICDI input and output mode, the Stellaris LM3S8962 Evaluation Kit supports ARMs 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. This applies to both an external Stellaris microcontroller target (Debug Output mode) and to external JTAG/SWD debuggers (Debug Input mode). Table B-3. 20-Pin JTAG/SWD Configuration
Function VCC (optional) nc TDI TMS TCK nc TDO nc nc nc Pin 1 3 5 7 9 11 13 15 17 19 Pin 2 4 6 8 10 12 14 16 18 20 nc GND GND GND GND GND GND GND GND GND Function

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. It is recommended that connections be made to all GND pins; however, both targets and external debug interfaces must connect pin 18 and at least one other GND pin to GND.

34

July 26, 2008

Stellaris LM3S8962 Evaluation Board

References
In addition to this document, the following references are included on the Stellaris Family Development Kit documentation CD-ROM and are also available for download at www.luminarymicro.com: Stellaris LM3S8962 Evaluation Kit Quickstart Guide for appropriate tool kit (see Evaluation Kit Contents, on page 12) Stellaris LM3S8962 Evaluation Kit Read Me First Stellaris Family Peripheral Driver Library Stellaris Family Peripheral Driver Library Users Manual, publication PDL-LM3S8962 Stellaris LM3S8962 Data Sheet, publication DS-LM3S8962 Stellaris LM3S2110 Data Sheet, publication DS-LM3S2110

Additional references include:

RiT Display Corporation RGS13128096WH000 OLED Display Data Sheet Future Technology Devices Incorporated FT2232D Data Sheet 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

July 26, 2008

35

36

July 26, 2008

A P P E N D I X C Contact Information
Company Information
Luminary Micro, Inc. designs, markets, and sells ARM Cortex-M3-based microcontrollers (MCUs). Austin, Texas-based Luminary Micro is the lead partner for the Cortex-M3 processor, delivering the world's first silicon implementation of the Cortex-M3 processor. Luminary Micro's introduction of the Stellaris family of products provides 32-bit performance for the same price as current 8and 16-bit microcontroller designs. With entry-level pricing at $1.00 for an ARM technology-based MCU, Luminary Micro's Stellaris product line allows for standardization that eliminates future architectural upgrades or software tool changes. 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

Support Information
For support on Luminary Micro products, contact: support@luminarymicro.com +1-512-279-8800, ext. 3

July 26, 2008

37

38

July 26, 2008

You might also like