stellaris® lm3s8962 evaluation board -...

38
EK-LM3S8962-03 Copyright © 2007-2008 Luminary Micro, Inc. Stellaris® LM3S8962 Evaluation Board USER’S MANUAL

Upload: vuongdiep

Post on 04-May-2018

233 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

EK-LM3S8962-03 Copyright © 2007-2008 Luminary Micro, Inc.

Stellaris® LM3S8962Evaluation Board

USER’S MANUAL

Page 2: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

2 July 26, 2008

Legal Disclaimers and Trademark InformationINFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH LUMINARY MICRO PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN LUMINARY MICRO’S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, LUMINARY MICRO ASSUMES NO LIABILITY WHATSOEVER, AND LUMINARY MICRO DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF LUMINARY MICRO’S PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. LUMINARY MICRO’S PRODUCTS ARE NOT INTENDED FOR USE IN MEDICAL, LIFE SAVING, OR LIFE-SUSTAINING APPLICATIONS.

Luminary Micro may make changes to specifications and product descriptions at any time, without notice. Contact your local Luminary Micro sales office or your distributor to obtain the latest specifications before placing your product order.

Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Luminary Micro reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them.

Copyright © 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 350Austin, TX 78746Main: +1-512-279-8800Fax: +1-512-279-8879http://www.luminarymicro.com

Page 3: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

Stellaris® LM3S8962 Evaluation Board

Table of ContentsChapter 1: Stellaris® LM3S8962 Evaluation Board Overview ...................................................................... 9Features............................................................................................................................................................ 10Block Diagram .................................................................................................................................................. 11Evaluation Kit Contents .................................................................................................................................... 12

Evaluation Board Specifications ................................................................................................................... 12Features of the LM3S8962 Microcontroller....................................................................................................... 12

Chapter 2: LM3S8962 Evaluation Board Hardware Description................................................................. 15LM3S8962 Evaluation Board ............................................................................................................................ 15

LM3S8962 Microcontroller Overview ............................................................................................................ 15Ethernet ........................................................................................................................................................ 15CAN Module.................................................................................................................................................. 15Clocking ........................................................................................................................................................ 15Reset............................................................................................................................................................. 16Power Supplies ............................................................................................................................................. 16Debugging..................................................................................................................................................... 16

USB Device Controller Functions ..................................................................................................................... 17USB Overview............................................................................................................................................... 17USB to JTAG/SWD....................................................................................................................................... 17Virtual COM Port........................................................................................................................................... 17Serial Wire Out.............................................................................................................................................. 17

Organic LED Display ........................................................................................................................................ 18Features........................................................................................................................................................ 18Control Interface ........................................................................................................................................... 18Power Supply................................................................................................................................................ 18Design Guidelines......................................................................................................................................... 18Further Reference......................................................................................................................................... 18

Other Peripherals.............................................................................................................................................. 18Speaker......................................................................................................................................................... 18MicroSD Card Slot ........................................................................................................................................ 19Push Switches .............................................................................................................................................. 19User LED ...................................................................................................................................................... 19

Bypassing Peripherals ...................................................................................................................................... 19Interfacing to the EVB....................................................................................................................................... 20Using the In-Circuit Debugger Interface ........................................................................................................... 20

Chapter 3: CAN Device Board Hardware Description ................................................................................. 21Device Overview............................................................................................................................................... 21

Power Supply................................................................................................................................................ 21Programming and Debugging ....................................................................................................................... 21Interfacing ..................................................................................................................................................... 21

Appendix A: Schematics................................................................................................................................ 23Appendix B: Connection Details ................................................................................................................... 29Component Locations....................................................................................................................................... 30

July 26, 2008 3

Page 4: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

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

Appendix C: Contact Information ................................................................................................................. 37

4 July 26, 2008

Page 5: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

Stellaris® LM3S8962 Evaluation Board

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

July 26, 2008 5

Page 6: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

6 July 26, 2008

Page 7: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

Stellaris® LM3S8962 Evaluation Board

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

July 26, 2008 7

Page 8: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

8 July 26, 2008

Page 9: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

C H A P T E R 1

Stellaris® LM3S8962 Evaluation Board OverviewThe 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

USB Device Interface

10/100baseT Ethernet Jack

microSD Card Memory Slot

30 pin I/O break-out header

30 pin I/O break-out header

Navigation Switches

Select switch

Status LED

Speaker

Debug -out LED

Reset switch

Power LED

OLED Graphics Display

JTAG/SWD input and output

StellarisTM

LM3S8962 Microcontroller

In-circuit Debug Interface

CAN Bus connector

July 26, 2008 9

Page 10: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

Stellaris® LM3S8962 Evaluation Board Overview

Figure 1-2. Stellaris LM3S2110 CAN Device Board

FeaturesThe 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

User switches

CAN bus connector

I/O break-out headers

Power LED

Reset switch

Status LED

JTAG/SWD input

Stellaris® LM3S2110

Microcontroller

10 July 26, 2008

Page 11: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

Stellaris® LM3S8962 Evaluation Board

Block DiagramFigure 1-3. LM3S8962 Evaluation Board Block Diagram

Figure 1-4. LM3S2110 CAN Device Block Diagram

USB

USB

USB

StellarisLM3S8962

Microcontroller

DualUSB

DeviceController

I/O S

igna

ls

OLED Display128 x 96

Debu

g

I/O Signal Break-out

JTAG/SWD Output/Input

USB Cable

Reset+3.3V

Regulator

SW

D/JT

AG M

ux

UART0

Targ

et

Cab

le

Debug

CAN PHY CAN0CAN

Switch

NavSwitch

Speaker

LED

LM3S8962 CAN Evaluation Board

I/O Signal Break-out

I/O Signal Break-outI/O Signal Break-out

RJ45Jack+

MagneticsCAT5 Cable

MicroSD card slot

1GB

USB

StellarisLM3S2110

Microcontroller

I/O S

igna

lsDebug

I/O Signal Break-out

I/O Signal Break-out

JTAG/SWDInput +3.3V

Regulator

CAN PHY CAN0CAN

Switch

LED

LM3S2110CAN Device

Board

Reset

Switch

July 26, 2008 11

Page 12: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

Stellaris® LM3S8962 Evaluation Board Overview

Evaluation Kit ContentsThe 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 SpecificationsBoard supply voltage: 4.37–5.25 Vdc from USB connector

Board supply current: 240 mA typ (fully active, CPU at 50 MHz)

Break-out power output: 3.3 Vdc (60 mA max), 15 Vdc (15 mA max)

Dimensions: 4.55” x 2.45” x 0.7” (L x W x H)

RoHS status: Compliant

Features of the LM3S8962 Microcontroller32-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

Page 13: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

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

Page 14: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

Stellaris® LM3S8962 Evaluation Board Overview

14 July 26, 2008

Page 15: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

C H A P T E R 2

LM3S8962 Evaluation Board Hardware DescriptionIn 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 BoardLM3S8962 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.

EthernetA 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 ModuleA 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.

ClockingThe 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 LM3S8962’s 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

Page 16: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

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.

ResetThe 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 mode—By the USB device controller (U4 FT2232) when instructed by debugger

Power SuppliesThe 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.

DebuggingStellaris 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 ModesThe LM3S8962 evaluation board supports a range of hardware debugging configurations. Table 2-1 summarizes these configurations.

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.

Table 2-1. Stellaris LM3S8962 Evaluation Board Hardware Debugging Configurations

Mode Debug Function Use Selected by

1 Internal ICDI Debug on-board LM3S8962 microcontroller over USB interface.

Default mode

2 ICDI out to JTAG/SWD header

The EVB is used as a USB to SWD/JTAG interface to an external target.

Connecting to an external target and starting debug software. The red Debug Out LED will be ON.

3 In from JTAG/SWD header For users who prefer an external debug interface (ULINK, JLINK, etc.) with the EVB.

Connecting an external debugger to the JTAG/SWD header.

16 July 26, 2008

Page 17: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

Stellaris® LM3S8962 Evaluation Board

Debug In ConsiderationsDebug 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 FunctionsUSB 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/SWDThe 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 PortThe 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 OutThe 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

Page 18: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

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

FeaturesRiT P14201 series display

128 columns by 96 rows

High-contrast (typ. 500:1)

Excellent brightness (120 cd/m2)

Fast 10 us response

Control InterfaceThe 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 SupplyA +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 GuidelinesThe 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 ReferenceFor additional information on the RiT OLED display, visit www.ritekdisplay.com.

Other PeripheralsSpeaker

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

Page 19: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

Stellaris® LM3S8962 Evaluation Board

MicroSD Card SlotRemovable 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 SwitchesThe EVB has five general-purpose input switches. Four are arranged in a navigation-style configuration. The fifth functions as a Select switch.

User LEDA 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 PeripheralsExcluding 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 EVB Function To Isolate, Remove...

Pin 26 PA0/U0RX Virtual COM port receive JP1

Pin 27 PA1/U0TX Virtual COM port transmit JP2

Pin 19 PG0 SD card chip select JP4

Pin 30 PA4/SSI0RX SD card data out JP5

Pin 31 PA5/SSI0TX SD card and OLED display data in JP6

Pin 28 PA2/SSI0CLK SD card and OLED display clock JP7

Pin 34 PA6/CCP1 OLED display data/control select JP8

Pin 19 PG0 OLED display chip select JP9

Pin 18 PG1/PWM1 Sound JP10

Pin 61 PF1/IDX1 Select switch JP11

July 26, 2008 19

Page 20: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

LM3S8962 Evaluation Board Hardware Description

Interfacing to the EVBAn 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 InterfaceThe 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

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.

Pin 72 PE0/PWM4 Up switch JP12

Pin 74 PE2/PHB1 Left switch JP13

Pin 75 PE3/PHA1 Right switch JP14

Pin 73 PE1/PWM5 Down switch JP15

Pin 47 PF0/PWM0 User LED JP16

Table 2-2. Isolating On-Board Hardware

Microcontroller Pin EVB Function To Isolate, Remove...

Evaluation Board Target Board

Stellaris MCU

Target Cable

`USB

PC with IDE/debugger

Stellaris MCU

TCK/SWCLK bypasses the on-board microcontroller

JTAG or SWD connects to the external microcontroller

Connecting Pin 18 to GND sets external debug mode

20 July 26, 2008

Page 21: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

C H A P T E R 3

CAN Device Board Hardware DescriptionThe 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 OverviewThe 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 SupplyThe 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 DebuggingA 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.

InterfacingTwo push switches and an LED implement a very simple user interface. The board’s 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

Page 22: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

CAN Device Board Hardware Description

22 July 26, 2008

Page 23: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

A P P E N D I X A

SchematicsSchematics for the Stellaris LM3S8962 Evaluation Board follow.

July 26, 2008 23

Page 24: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

5

5

6

6

D D

C C

B B

A A

Document Number:

RevSheetDate: of7/10/2008 1 4

Drawing Title:

Page Title:

Size

Ethernet and CAN Evaluation Board

LM3S8962 Micro, Ethernet and CAN

B

C

EK-LM3S8962

Revision Date

0 Jul 24

History

18PF

C8

6

5

8

4

2

3

1

7

TX+

TX-

RX+

RX-

GR

1Y

25.0

JP1

JP2

PA0/U0Rx

PA1/U0Tx

VCP_RX

VCP_TX

SSICLK

OLEDCSn

PA2/SSI0CLK

PA3/SSI0FSS

SSITXPA5/SSI0TX

On-board Peripheral Signals

free GPIO lines as required.

SELECT_SWn

LED

UP_SWn

DOWN_SWn

LEFT_SWn

RIGHT_SWn

Jumpers can be cut to

SOUND

SSIRXPA4/SSI0RX

OLEDDC

CARDCSn

PF1/IDX1

PF0/PWM0

PE0/PWM4

PE1/PWM5

PE2/PhB1

PE3/PhA1

PG1/PWM1

PG0

PA6/CCP1

thernet Jack

1 23 45 67 89 10

P1

Header 5X2

+5V

Pin-out enables straight-throughconnection to a CAN DB-9M.

+BUSPWR

CANHGND

GNDCANL

D1

MBR0520

ort

EN+15VPA7

32

36

31

59 60

/C0-

+15V

PB5/C1-/C0+PB7/TRST/TDI

/TDOPE3/PhA1/PhB1

/PWM4 PE1/PWM5/I2C0SCL PB3/I2CSDA/PWM3/IDX1 PB0/PWM2/LED0 PF2/LED1

OSC32OUTOSC32IN

+3.3V/PWM0

aders

Aug 1A

Jan 28B

May 1C

Jul 10

JP7

JP9

JP5

JP6

JP8

JP3

JP16

JP11

JP12

JP15

JP13

JP14

JP4

JP10

1

1

2

2

3

3

4

4

Description

, 07 Prototype release

18PF

C9

INT_TCKTMS/SWDIO

PC2/TDIPC3/TDO

ADC3ADC2ADC1ADC0

MCURSTn

1CT:1

1CT:1

Y+

Y-

G+

G-

3

8

7

4

5

6

1112

21

GL

910

NC

GND

P2

J3011G21DNL

R549.9

+3.3V

C130.01UF

R449.9

R849.9

R949.9

C4

0.1UF

+3.3V

C5

0.1UF

+3.3V

C710pF

C210pF

C310pF

C190.01UF

C140.01UF

C150.01UF

C170.1UF

C160.1UF

C120.1UF

+3.3V

+3.3V

R6

330

PA1/U0TxPA2/SSI0CLKPA3/SSI0FSSPA4/SSI0RXPA5/SSI0TX

PA0/U0Rx

R3

10K

+3.3V

R7

330

+3.3V

+3.3V

PA6/CCP1PA7

TMS/SWDIOPC2/TDIPC3/TDOPC4/PhA0PC5PC6/PhB0PC7

PE0/PWM4PE1/PWM5PE2/PhB1PE3/PhA1

PG0PG1/PWM1

PF1/IDX1PF0/PWM0

PD7/IDX0PD6/FAULTPD5/CCP2PD4/CCP0PD3/U1TXPD2/U1RXPD1/CAN0TxPD0/CAN0Rx

PB6/C0+PB5/C1-PB4/C0-PB3/I2CSDAPB2/I2C0SCLPB1/PWM3PB0/PWM2

PF2/LED1PF3/LED0

C200.1UF

C214.7UF

C184.7UF

21

0MHz

OSC32INOSC32OUT

C610pF

R210K

+3.3V

1 2Y2

8.00MHz

18PF

C10

18PF

C11

10/100baseT E

Stellaris LM3S8962 Microcontroller

+5V

R1120R

C10.1UF

CANH 7

CANL 6TXD1

RXD4

RS8

GND2 VREF 5VCC 3

U2

SN65HVD1050D

JP17

CAN P

PB7/TRSTPB7/TRST

PD4/CCP0PD6/FAULT

12

ADC3ADC1

PD2/U1RXPG1/PWM1PC7PC5

PA1/U0TxPA3/SSI0FSSPA5/SSI0TXPA7

PB4

PD5/CCP2PD7/IDX0ADC0ADC2

PD3/U1TXPG0PC6/PhB0

PC4/PhA0PA0/U0RxPA2/SSI0CLKPA4/SSI0RXPA6/CCP1

+3.3V

PB6PC2PC3PE2PE0PB2PB1PF1PF3

PF0

I/O Break-out He

+5V

2930

Production Release1, 07

Implement auto TVcc control, 08

Add R36 for future compatibility.2, 08

R36

12.4K

Tie R8/R9 to +3.3V.

+3.3V

PA0/U0RX26

PA1/U0TX27

PA2/SSI0CLK28

PA3/SSI0FSS29

PA4/SSI0RX30

PA5/SSI0TX31

PC0/TCK/SWCLK80

PC1/TMS/SWDIO79

PC2/TDI78

PC3/TDO/SWO77

PC4/PhA025

PC524

PC6/PhB023

PC722

PD0/CAN0Rx 10

PD1/CAN0Tx 11

PD2/U1RX 12

PD3/U1TX 13

PD4/CCP0 95

PD5 96

PD6/FAULT 99

PD7/IDX0 100

GND9

GND15

GND21

GND33

RST64

LDO 7

MOSCin48

MOSCout49

PB0/PWM2 66

PB1/PWM3 67

PB2/I2C0SCL 70

PB3/I2C0SDA 71

PB4/C0- 92

PB5/C0o 91

PB6/C0+ 90

PB7/TRST 89

PE0/PWM472

PE1/PWM573

PE2/PhB174

PE3/PhA175

ADC36 ADC25

PA6/CCP134

PA735

ADC12 ADC01

PF0/PWM0 47

PF1/IDX1 61

PF2/LED1 60

PF3/LED0 59

MDIO 58

TXON 46

TXOP 43

GND42

PG019

PG1/PWM118

XTALNPHY17

XTALPPHY16

ERBIAS 41

RXIP 40

RXIN 37

VDD33 36

GND86 GND85

VDD33 84VDD33 83

AVDD 3

AVDD 98

AGND97 AGND4

VDD33 8

VDD33 20

VDD33 32

VDD33 44

VDD33 56

VDD33 68

VDD33 81

VDD33 93

GND39

GND45

GND54

GND57

GND63

GND69

GND82

GND87

GND94

VDD25 14

VDD25 38

VDD25 62

VDD25 88

WAKE50

HIB51

OSC32in52

OSC32out53

VBAT 55

CMOD065

CMOD176

U1

LM3S8962

compatibility with future LM3S8962 revisions12.4K 1% resistor required on Pin 41 for

See Product Change Notification PCN-08001, 08 Fix labels for JP3-16

Page 25: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

5

5

6

6

D D

C C

B B

A A

Document Number:

RevSheetDate: of7/10/2008 2 4

Drawing Title:

Page Title:

Size

Ethernet and CAN Evaluation Board

OLED Display, Switches and Audio

B

C

EK-LM3S8962

Debug Out

Status

Power

8x96 OLED Graphics Display

s

LED1Green

LED2Red

LED3Green

V

C240.1UF

RGS13128096WH000

NC1

VCIR2

VCOMH3

LVSS4

VSS5

BS16

BS27

IREF8

CSn9

RESn10

D/Cn11

R/Wn12

E13

D0/SCLK14

D1/SDIN15

D216

D317

D418

D519

D620

D721

VDDIO22

VDD23

VCC24

NC25

U3

OLED-RIT-128X96

1

1

2

2

3

3

4

4

R16

330

R10

200K

SSITXSSICLK

+3.3V

DBGOUTLED

ResetSW1

SW-B3S1000

SELECT_SWn

UP_SWn

DOWN_SWn

LEFT_SWn

RIGHT_SWn

RESET_SWn

R1310K

+3.3V

Select

Up

Down

Left

Right

R14

330LED

R18

330

R112.2

+5V

Q1NDS331N

R1210K

SOUND

12

Speaker Circuit

Status LED

User Switches

+3.3V

C22

4.7UF

D2MBR0520

SW2

SW-B3S1000

SW3

SW-B3S1000

SW4

SW-B3S1000

SW5

SW-B3S1000

SW6

SW-B3S1000

MCURSTnOLEDDC

microSD Card Slot

12345678

9 10 11 12

P3

2908-05WB-MG+3.3V

C260.1UF

+3.3V

CARDCSnSSITX

SSICLK

SSIRX

R1510K

R1710K

+3.3V

+3.3V

12

BZ1

NFT-03C

C25OMIT

+15

OLEDCSn

C230.1UF

+3.3V

Page 26: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

5

5

6

6

D D

C C

B B

A A

Document Number:

RevSheetDate: of7/10/2008 3 4

Drawing Title:

Page Title:

Size

Ethernet and CAN Evaluation Board

USB, Debugger Interfaces and Power

B

C

EK-LM3S8962

USB+5V

15V

UF

9

60o

USB+5V

1 23 45 67 89 1011 1213 1415 1617 1819 20

P5

Header 10X2

XTDIXTMS

R31

27

R29

27

R26

27

XTCK

R28

27

VCP_TX

CLK

DI

O

DIO

+3.3V

TARGETCABLEn

XTDO

R27

27

TP4

TP3

TP2

TP1

TP5

TP6+3.3V

PLD JTAG TEST POINTS

PLD_TCK

PLD_TMS

PLD_TDI

PLD_TDO

R32

4.7K

+3.3v

PC3/TDO

TCK/SWCLK

TMS/SWDIO

PC2/TDI

JTAG/SWD InterfaceInput/Output

TDI

1

TCK

11

VC

C12

B0 20

B1 21

B2 22

B3 23

B4 24

TMS

25

B5 26

B6 27

B7 28

GN

D (B

ank

1)29

VC

CO

(Ban

k 1)

30

B8 31

B9 32

B10 33

B11 34

TDO

35

VC

C36

B12 38

B13

39B

1440

B15

/GO

E141

Bank 1

U6LC4032V-75TN48C

PC2/TDI

MCURSTn

DBGOUTLED

TARGETCABLEnPC3/TDO

TMS/SWDIOTCK/SWCLK

PB7/TRST

TVCC

1

1

2

2

3

3

4

4

+3.3V+5V

USB +5V to +3.3V 500mA Power Supply

JP19

C414.7UF

C274.7UF

+15V 50mA Power Supply for OLED Display

+

FB 3

VIN5

SHDNn4 GND 2

SW 1

U7

FAN5331

+5V

C434.7UF C40

4.7UF

D3

MBR0520

0.1

C3

120pF

C38R20200K

R3317.8KEN+15V

R1910K

FB1

hm @ 100 MHz

GND18

GND25

GND34

ADBUS0 24

ADBUS1 23

ADBUS2 22

ADBUS3 21

ADBUS4 20

ADBUS5 19

ADBUS6 17

ADBUS7 16

ACBUS0 15

ACBUS1 13

ACBUS2 12

ACBUS3 11

BDBUS0 40

BDBUS1 39

BDBUS2 38

BDBUS3 37

BDBUS4 36

BDBUS5 35

BDBUS6 33

BDBUS7 32

BCBUS0 30

BCBUS1 29

BCBUS2 28

BCBUS3 27

SI/WUA 10

SI/WUB 26

GND9

AGND45

VCC 3

VCC 42

VCCIOA 14

VCCIOB 31

AVCC 46

PWREN# 41

XTOUT44 XTIN43

EECS48

EESK1

EEDATA2

TEST47

RESET#4

RSTOUT#5

3V3OUT6

USBDM8

USBDP7

U4

FT2232D

+3.3v

R21 27

R22 27

+3.3V

+3.3V

DBG_JTAG_EN

R2410K

R25

1.5K

R231.5K

R30

330

+5V

+5V

+5V+5V

TCKTDI/DITDO/DOTMS/OUTEN

0.1UF

C370.1UF

C33

0.1UF

C34

0.1UF

C35

0.1UF

C36

0.1UF

C31

USB Device Controller

Channel A : JTAG / SW Debug

Channel B : Virtual Com Port

VCP_RX

TCK/SW

PC2/T

PC3/TD

TMS/SW

C32

0.01UF

5V D- D+ ID G

1 2 3 4

75

6

P4 54819-0519

SRSTN

Debug Interface Logic

USB Interface

A52

A63

A74

GN

D (B

ank

0)5

VC

CO

(Ban

k 0)

6

A87

A98

A109

A1110

GN

D13

A1214

A13

15

A14

16

A15

17C

LK1/

I18

CLK

2/I

19

GN

D37

CLK

3/I

42

CLK

0/I

43

A0/GOE044

A145

A246

A347

A448

Bank 0

+3.3V

RESET_SWn

0.1UFC29

+3.3V

JP18USBSH

CS 1

SK 2

DI 3

DO 4GND5 ORG6 NC7 VCC8

1K 64X16

U5

CAT93C46

1 2Y3

6.00MHz

18PF

C28

18PF

C30

0.1UF

C42

R344.7K

+3.3V

INT_TCK

SWO_EN

VCP_TX_SWO

MODE

MODE is reserved for future use.

10uH

L1

NR4018T100M

VOUT 4

SENSE 5VIN26

GND2

NC 3

GND 7

VIN11U8

LP8345ILD-3.3

R354.7K

+3.3V

+3.3V

Page 27: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

5

5

6

6

D D

C C

B B

A A

Document Number:

RevSheetDate: of7/10/2008 4 4

Drawing Title:

Page Title:

Size

Ethernet and CAN Evaluation Board

CAN Device using LM3S2110

B

C

EK-LM3S8962

DGND

D+5V

eiver

Pin-out enables straight-throughconnection to a CAN DB-9M.

+5VBUS

DCANHDCANL

DGND

D+3.3VD+5V

+5V to +3.3V 500mA Power Supply

DGNDDGND DGND

SW100

SW-B3S1000

SW101

SW-B3S1000

Up

Down

DGND

R100

330

StatusDGND

DPF0

DPF1

DPF2

DGND

R101

330

PowerD+3.3V

C1010.1UF

DGND

R102120R

1 23 45 67 89 10

P100

Header 5X2

C1054.7UF

C1064.7UF

H 7

L 6

F 5C 3

CAN Port

SW102

SW-B3S1000

Reset

DRSTn

JP100

LED100Green

LED101Green

VOUT 4

SENSE 5VIN26

GND2

NC 3

GND 7

VIN11U102

LP8345ILD-3.3

1

1

2

2

3

3

4

4

DGND DGND

DGND

C1120.1UF

DGND

DGND

DGND

D+3.3V

D+3.3V

Stellaris LM3S2110 Microcontroller

DGNDDGND

CAN Transc

+5VBUS

+5VBUSD+5V D+3.3V

DGND

DTDIDTMSDTCK

DGND

DTDO

D+3.3V

R10368K

DGND

D+3.3V

DRSTn

DTDIDTMSDTCK

DTDO

C1100.1UF

C1090.1UF

C1080.01UF

C1070.01UF

C1020.1UF

18PF

C104

18PF

C103

1 2Y100

8.00MHz

OMIT

C100

1 23 45 67 89 1011 1213 1415 1617 1819 20

P101

Header 10X2

Power Rail Break-out

C1110.01UF

C1134.7UF

JTAG/SWD Interface

CANCAN

TXD1

RXD4

RS8

GND2 VREVC

U101

SN65HVD1050D

DPF0DPF1DPF2

JP101

R10468K

D+3.3V

35336036

32

2

134 43

46454861625958

7864636665

3144414039302928

1211109272625

57565554

1718192021222324

535216151413

47504951

3456

373842

CAN Device Evaluation Board

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.

PA0/U0RX26

PA1/U0TX27

PA2/SSI0CLK28

PA3/SSI0FSS29

PA4/SSI0RX30

PA5/SSI0TX31

PC0/TCK/SWCLK80

PC1/TMS/SWDIO79

PC2/TDI78

PC3/TDO/SWO77

PC425

PC5/C1+24

PC6/C2+23

PC7/C2-22

PD0/CAN0RX 10

PD1/CAN0TX 11

PD2 12

PD3 13

PD4/CCP3 95

PD5 96

PD6/FAULT 99

PD7/C0o 100

GND9

GND15

GND21

GND33

RST64

LDO 7

MOSCin48

MOSCout49

PB0/CCP0 66

PB1/CCP2 67

PB2/I2C0SCL 70

PB3/I2C0SDA 71

PB4/C0- 92

PB5/C1- 91

PB6/C0+ 90

PB7/TRST 89

PE072

PE173

nc74

nc75

nc6 nc5

PA6/CCP134

nc35

nc2 nc1

PF0/PWM0 47

PF1/PWM1 61

PF2 60

nc 59

nc 58

nc 46

nc 43

nc 42

PG0 19

PG1 18

nc 17

nc 16

nc 41

nc 40

nc 37

nc 36

PH0 86

PH1 85

nc 84

nc 83

AVDD 3

AVDD 98

AGND97 AGND4

VDD33 8

VDD33 20

VDD33 32

VDD33 44

VDD33 56

VDD33 68

VDD33 81

VDD33 93

GND39

GND45

GND54

GND57

GND63

GND69

GND82

GND87

GND94 VDD25 14

VDD25 38

VDD25 62

VDD25 88

WAKE50

HIB51

OSC32in52

OSC32out53

VBAT 55

CMOD065

CMOD176

U100

LM3S2110

Page 28: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

G H

G H

1

2

3

4

5

6

7

8

1

2

3

4

5

6

7

8

2

I105

7

I10633

I8644

I221

I10738

I707

I4231

I9232

I1624

I87

41

I8

40

I111

I112

I109

ITCK

XTCK

U0TX

XTDO

XTDI

XTMS

DBGLED

TEST

TRSTn

MCURSTn

AUG 23, 2007JTAG Logic with Auto Mode Detect and Hibernate

Luminary Micro, Inc.Fury Evaluation Kit

A B C D E F

A B C D E F

I10

I100C

D QI96

I104

I36

I35

I18AB

S

I89AB

S I85AB

S

I1AB

S

I9034

I347

I646

I10816

I1326

I159

I7414

I9110

I745

I373

I54

I448

I9

I99I95

I20

FTDI_DBG

DBGOUTVCP_TX

SWO_EN

FTDI_TCK

FTDI_TDI_DO

FTDI_TDO_DI

JTAGEN

FTDI_TMS

JTAGENFTDI_DBG

FTDIJTAGEN SWDEN

FTDI_SRSTn

FTDI_DBG DBGOUT

INTDBG

RSTSW

RC

EXTCABLEn

HIBn DRVEN

Page 29: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

A P P E N D I X B

Connection DetailsThis 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

Page 30: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

Component LocationsFigure B-1. LM3S8962 Evaluation Board Component Locations

30 July 26, 2008

Page 31: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

Stellaris® LM3S8962 Evaluation Board

Evaluation Board DimensionsFigure B-2. LM3S8962 Evaluation Board Dimensions

Figure B-3. LM3S2110 CAN Device Board Dimensions

July 26, 2008 31

Page 32: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

I/O Breakout PadsThe 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 Pad No. Description Pad

No. Description Pad No.

GND 1 GND 21 PC3/TDO 41

PA7* 2 ADC3 22 GND 42

PA6/CCP1* 3 ADC2 23 PE2/PhB1* 43

PA5/SSI0TX* 4 ADC1 24 PE3/PhA1* 44

PA4/SSI0RX* 5 ADC0 25 PE0/PWM4* 45

PA3/SSI0FSS* 6 GND 26 PE1/PWM5* 46

PA2/SSI0CLK* 7 PD7/IDX0 27 PB2/I2C0SCL 47

PA1/U0TX* 8 PD6/FAULT 28 PB3/I2C0SDA 48

PA0/U0RX* 9 PD5/CCP2 29 PB1/PWM3 49

GND 10 PD4/CCP0 30 GND 50

PC4/PHA0 11 +15V 31 PF1/IDX1* 51

+3.3V 12 No connect 32 PB0/PWM2 52

PC5 13 +5V 33 PF3/LED0* 53

PC6/PHB0 14 GND 34 PF2/LED1* 54

PC7 15 PB4/C0- 35 GND 55

PG0* 16 GND 36 OSC32OUT 56

PG1/PWM1* 17 PB6/C0+ 37 GND 57

PD3/U1TX 18 PB5/C1- 38 OSC32IN 58

PD2/U1RX 19 PC2/TDI 39 PF0/PWM0* 59

No connect 20 PB7/TRST 40 +3.3V 60

32 July 26, 2008

Page 33: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

Stellaris® LM3S8962 Evaluation Board

LM3S2110 CAN Device Board Connections

Recommended ConnectorsConnection 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 Sullins PPPC152LFBN-RC Digikey S7118-ND

Cable Socket 3M 89130-0101 Digikey MKC30A-ND

Pin Header Sullins PEC15DAAN Digikey S2011E-15-ND

PC

3 (7

7)nc

(75)

PE

1 (7

3)nc

(74)

PB

3 (7

1)P

E0

(72)

PB

1 (6

7)P

B2

(70)

PF1

*(61

)P

B0

(66)

GN

DP

F2*(

60)

nc (

59)

nc (5

8)X

OSC

1X

OS

C0

GN

D+3

.3V

+5V

BU

S+5

V

PA

1 (2

7)PA

0 (2

6)P

C4

(25)

PC

5 (2

4)P

G6

(23)

PC

7 (2

2)P

G0

(19)

PG

1 (1

8)nc

(17)

nc (1

6)P

D3

(13)

PD

2 (1

2)nc

(6)

nc (5

)nc

(2)

nc (1

)G

ND

+3.3

V

PC2 (78)nc (83)

nc (84)PH1 (85)PH0 (86)PB7*(89)

PB6 (90)GNDPB4 (92)

PB5 (91)PD5 (96)

PD4 (95)PD6 (99)PD7 (100 ) PA2 (28)

PA3 (29) PA4 (30)PA5 (31)

PA6 (34)nc (35) nc (37)nc (40) nc (41)nc (42)

nc (43)nc (46) PF0*(47)GND

12

1718

19 20

31 32

3334

5152

5354

6566

July 26, 2008 33

Page 34: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

ARM Target PinoutIn ICDI input and output mode, the Stellaris LM3S8962 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. This applies to both an external Stellaris microcontroller target (Debug Output mode) and to external JTAG/SWD debuggers (Debug Input mode).

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.

Table B-3. 20-Pin JTAG/SWD Configuration

Function Pin Pin Function

VCC (optional) 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

nc 15 16 GND

nc 17 18 GND

nc 19 20 GND

34 July 26, 2008

Page 35: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

Stellaris® LM3S8962 Evaluation Board

ReferencesIn 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 User’s 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

Page 36: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

36 July 26, 2008

Page 37: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

A P P E N D I X C

Contact Information

Company InformationLuminary 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 8- and 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 350Austin, TX 78746Main: +1-512-279-8800Fax: +1-512-279-8879http://www.luminarymicro.com

Support InformationFor support on Luminary Micro products, contact:

[email protected]+1-512-279-8800, ext. 3

July 26, 2008 37

Page 38: Stellaris® LM3S8962 Evaluation Board - Chesschess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdfThe heart of the EVB is a Stellaris LM3S8962 ARM Cortex-M3-based

38 July 26, 2008