LUMINARY MICRO LM3S6965 User Manual

Stellaris® LM3S6965
Evaluation Board
USER’S MANUAL
EK-LM3S6965-05 Copyright © 2007-2008 Luminary Micro, Inc.
Legal Disclaimers and Trademark Information
INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH LUMINARY MICRO PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN LUMINARY MICRO’S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, LUMINARY MICRO ASSUMES NO LIABILITY WHATSOEVER, AND LUMINARY MICRO DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF LUMINARY MICRO’S PRODUCTS INCLUD ING 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 © 2007–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
2 October 28, 2008
Stellaris® LM3S6965 Evaluation Board

Table of Contents

Chapter 1: Stellaris® LM3S6965 Evaluation Board .......................................................................................7
Features..............................................................................................................................................................8
Block Diagram ....................................................................................................................................................8
Evaluation Kit Contents ......................................................................................................................................9
Evaluation Board Specifications ..................................................................................................................... 9
Features of the LM3S6965 Microcontroller.........................................................................................................9
Chapter 2: Hardware Description.................................................................................................................. 11
LM3S6965 Microcontroller............... .... ...................................... .... ... ... ... .... ... ... ... ... .... ...................................... 11
Device Overview...........................................................................................................................................11
Ethernet ........................................................................................................................................................11
Clocking........................................................................................................................................................11
Reset.............................................................................................................................................................11
Power Supplies.............................................................................................................................................12
Debugging..................................................................................................................................................... 12
USB Device Controller Functions .....................................................................................................................13
Device Overview...........................................................................................................................................13
USB to JTAG/SWD... ....................................... ... ... ... .... ... ....................................... ... ... ... .... .........................13
Virtual COM Port........................................................................................................................................... 13
Serial Wire Out.............................................................................................................................................. 13
Organic LED Display ........................................................................................................................................13
Features........................................................................................................................................................ 13
Control Interface ...........................................................................................................................................14
Power Supply................................................................................................................................................ 14
Design Guidelines.................................. ... .... ... ... ... ....................................... ... ... .... ... ... ... .............................14
Further Reference.........................................................................................................................................14
Other Peripherals............. ... ....................................... ... .... ... ... ... .......................................................................14
Speaker.........................................................................................................................................................14
MicroSD Card Slot.................................................... .... ...................................... .... ... ... ... .............................14
Push Switches ............. ... .... ... ... ....................................... ... ... .... ... ... ... ..........................................................14
User LED ............... ....................................... ... ... ... ....................................... ... ... .... ......................................15
Bypassing Peripherals............................................................... .... ...................................... .............................15
Interfacing to the EVB....................................................................................................................................... 15
Using the In-Circuit Debugger Interface ........................................................................................................... 16
Appendix A: Schematics................................................................................................................................ 17
Appendix B: Connection Details...................................................................................................................23
Component Locations.......................................................................................................................................23
Evaluation Board Dimensions........................................................................................................................... 24
I/O Breakout Pads ............................................................................................................................................24
Recommended Connectors.............................................................. ... ... ..........................................................25
ARM Target Pinout ...........................................................................................................................................26
References ....................................................................................................................................................... 26
Appendix C: Contact Information ................................................................................................................. 29
October 28, 2008 3

List of Figures

Figure 1-1. Stellaris LM3S6965 Evaluation Board Layout.................................................................................7
Figure 1-2. LM3S6965 Evaluation Board Block Diagram..................................................................................8
Figure 2-1. ICD Interface Mode .......................................................................................................................16
Figure A-1. LM3S6965 Microcontroller (sheet 1 of 3) ......................................................................................18
Figure A-2. LM3S6965 Microcontroller (sheet 2 of 3) ......................................................................................19
Figure A-3. LM3S6965 Microcontroller (sheet 3 of 3) ......................................................................................20
Figure A-4. PLD schematic ..............................................................................................................................21
Figure B-1. Component Locations ................................................................................................................... 23
Figure B-2. Evaluation Board Dimensions ............................. ... .... ... ... ... .... ... ...................................................24
4 October 28, 2008
Stellaris® LM3S6965 Evaluation Board

List of Tables

Table 2-1. Stellaris LM3S6965 Evaluation Board Hardware Debugging Configurations ... .... ... ... ...... .... ... ... ... 12
Table 2-2. Isolating On-Board Hardware........................................................................................................15
Table B-1. I/O Breakout Pads.........................................................................................................................25
Table B-2. Recommended Connectors................. ... ... .... ... ............................................................................. 25
Table B-3. 20-Pin JTAG/SWD Configuration..................................................................................................26
October 28, 2008 5
6 October 28, 2008
P
l
a
c
e
hol
de
r
I
m
a
ge
86%'HYLFH ,QWHUIDFH
EDVH7(WKHUQHW-DFN
PLFUR6'&DUG0HPRU\6ORW
SLQ,2
EUHDNRXW
KHDGHU
SLQ,2 EUHDNRXW KHDGHU
1DYLJDWLRQ
6ZLWFKHV
6HOHFWVZLWFK
6WDWXV/('
6SHDNHU
'HEXJRXW/('
5HVHWVZLWFK
3RZHU/('
2/('*UDSKLFV
'LVSOD\
-7$*6:' LQSXWDQG
RXWSXW
6WHOODULV
70
/06
0LFURFRQWUROOHU
,QFLUFXLW'HEXJ ,QWHUIDFH
CHAPTER 1

Stellaris® LM3S6965 Evaluation Board

The Stellaris® LM3S6965 Evaluation Board is a compact and versatile evaluation platform for the Stellaris LM3S6965 ARM® Cortex™-M3-based microcontrolle r. The evaluation kit uses the LM3S6965 microcontroller’s fully integrated 10/100 Ethernet controller to demonstrate an embedded web server.
You can use the board either as an evaluation platform or as a low-cost in-circuit debug interface (ICDI). In debug interface mode, the on-board microcontroller is bypassed, allowing programming or debugging of an external targ et. The kit is also comp atible with high-performance extern al JT AG debuggers.
This evaluation kit enables quick evaluation, prototype development, and creation of application­specific designs for Ethernet networks. The kit also includes extensive source-code examples, allowing you to start building C code applications quickly.
Figure 1-1. Stellaris LM3S6965 Evaluation Board Layou t
October 28, 2008 7
Stellaris® LM3S6965 Evaluation Board
USB
USB
Stellaris
LM3S6965
Microcontroller
Dual USB
Device
Controller
I
/
O
S
i
g
n
a
l
s
OLED Display
128 x 96
Debug
Nav
Switch
Switch
LED
I/O Signal Break-out
I/O Si gnal Break-out
JTAG/SWD
Output/Input
USB Cable
Reset
+3.3V
Regulator
SWD/JTAG
Mux
UART0
T
a
r
g
e
t
C
a
b
l
e
Speaker
RJ45
Jack+
Magnetics
CAT5 Cable

Features

The Stellaris LM3S6965 Evaluation Board includes the following features:
Stellaris LM3S6965 microcon tr oller with fully-integrated 10/100 embedded Ethernet controllerSimple setup; USB cable provides serial communication, debugging, and powerOLED graphics display with 128 x 96 pixel resolutionUser LED, navigation switches, and select pushbuttonsMagnetic speakerLM3S6965 I/O available on labeled break-out padsStandard ARM® 20-pin JTAG debug connector with input and output modesUSB interface for debugging and power supplyMicroSD card slot

Block Diagram

Figure 1-2. LM3S6965 Evaluation Board Block Diagram
8 October 28, 2008

Evaluation Kit Contents

The evaluation kit contains everything needed to develop and run applications for Stellaris microcontrollers including:
LM3S6965 Evaluation Board (EVB)USB cable20-pin JTAG/SWD target cableCD containing:
A supported, evaluation version of one of the following:
Keil™ RealView® Microcontroller Development Kit (MDK-ARM)
IAR Embedded Workbench® development tools
Code Sourcery GCC development tools
Code Red Technolog ies development tools
Complete documentationQuickstart guideQuickstart source code
Stellaris® LM3S6965 Evaluation Board
Stellaris® Firmware Development Package with example source code

Evaluation Board Specifications

Board supply voltage: 4.37–5.25 Vdc from USB connectorBoar d su pp ly curre nt : 250 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.0” x 2.45” x 0.7” (LxWxH)RoHS status: Compliant

Features of the LM3S6965 Microcontroller

32-bit RISC performance using ARM® Cortex™-M3 v7M architecture
50-MHz operation Hardware-division and single-cycle-multiplication Integrated Nested Vectored Interrupt Controller (NVIC) 42 interrupt channels with eight priority levels
256 KB single-cycle Flash64 KB single-cycle SRAM Four general-purpose 32-bit timersIntegrated Ethernet MAC and PHYThree fully programmable 16C550-type UARTsFour 10-bit channels (inputs) when used as single-ended inputsTwo independent integrated analog comparators
October 28, 2008 9
Stellaris® LM3S6965 Evaluation Board
Two I2C modules  Three PWM generator blocks
One 16-bit counterTwo comparat or sProduces two independent PWM signalsOne dead-band generator
Two QEI modules with position integrator for tracking encoder position0 to 42 GPIOs, depending on user configuration On-chip low drop-out (LDO) voltage regulator
10 October 28, 2008
CHAPTER 2

Hardware Description

In addition to a microcontroller, the Stellaris LM3S6965 evaluation board includes a range of useful peripherals and an integrated ICDI. This chapter describes how these peripherals operate and interface to the MCU.

LM3S6965 Microcontroller

Device Overview

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

Ethernet

A key feature of the LM3S6965 microcontroller is its fully integrated Ethernet controller. Only a 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.

Clocking

Reset

The LM3S6965 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.
The LM3S6965 microcontroller has four on-chip oscillators, three are implemented on the EVB. A
8.0-MHz crystal completes the LM3S6965’s main internal clock circuit. An intern al PLL, configured in software, multiples this clock to 50-MHz for core and peripheral timing.
A small, 25-MHz crystal is used by the LM3S6965 microcontroller for Ethernet physical layer timing and is independent of the main oscillator.
The LM3S6965 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.
Reset is asserted (active low) under any one of three conditions:
Power-on resetReset push switch SW1 held downInternal debug mode—By the USB device controller (U4 FT2232) when instructed by
debugger
October 28, 2008 11
Hardware Description

Power Supplies

The LM3S6965 is powered from a +3.3-V supply. A low drop-out (LDO) regulator regulates +5-V power from the USB cable to +3.3-V. +3.3-V power is available for powering external circuits.
A +15-V rail is available when the OLED display is active. The speaker and OLED display boost-converter operate directly from the +5-V rail.

Debugging

Stellaris microcontrollers support programming and debugging using either JTAG or SWD. JTAG uses the signals TCK, TMS, TDI, and TDO. SWD requires fewer signals (SWCLK, SWDIO, and, optionally, SWO, for trace). The debugger determines which debug protocol is used.
Debugging Modes
The LM3S6965 evaluation board supports a range of hardware debugging configurations. Table 2-1 summarizes these configurations.
Table 2-1. Stellaris LM3S6965 Evaluation Board Hardware Debugging Configurations
Mode Debug Function Use Selected by
1 Internal ICDI Debug on-board LM3S6965
2 ICDI out to JTAG/SWD
header
3 In from JTAG/SWD header For users who prefer an
Modes 2 and 3 automatically detect the presence of an exter nal deb ug cable . When the d ebugg er software is connected to the EVB's USB controller, the EVB automatically selects Mode 2 and illuminates the red Debug Out LED.
Debug In Considerations
Debug Mode 3 supports evaluation boa rd debug ging using an external d ebug interface. Mode 3 is automatically selected when a device such as a Segger J-Link or Keil ULINK is connected.
Boards marked Revision D 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-LM3S6965-D. The last character of the product number identifies the board revision.
microcontroller over USB interface.
The EVB is used as a USB to SWD/JTAG interface to an external target.
external debug interface (ULINK, JLINK, etc.) with the EVB.
Default mode
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.
A configuration or board-level change may be necessary when using an external debug interface with revisions A through C 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 buf f ers 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
12 October 28, 2008
documentation for full details. However, if your debugger interface does not have a selectable power source, it may be necessary to inst a ll a 0-Ω re sistor on th e e v aluatio n b oar d to route p ower to pin 1. Refer to the schematics and board drawing in the appendix of this manual for the location of this resistor.

USB Device Controller Functions

Device Overview

An FT2232 device from Future Technology Devices International Ltd manages USB-to-serial conversion. 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 LM3S6965 microcontroller.
For full details on FT2232 operation, go to www.ftdichip.com.

USB to JTAG/SWD

Stellaris® LM3S6965 Evaluation Board
The FT2232 USB device performs JT AG/SWD serial operations under th e control of the debugger. A CPLD (U2) multiplexes SWD and JTAG functions and, when working in SWD mode, provides direction control for the bidirectional data line.

Virtual COM Port

The Virtual COM Port (VCP) allows Windows applications (such as HyperTerminal) to communicate with UART0 on the LM3S6965 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 received from the VCP. The normal VCP connection to UART0 is interrupted when using SWO. Not all debuggers support SWO. Refer to the S tellaris LM 3S3748 dat a sheet for additional infor mation 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.

Features

RiT P14201 series display128 colu mn s by 96 row sHigh-contrast (typ. 500:1)Excellent brightness (120 cd/mFast 10 us response
October 28, 2008 13
2
)
Hardware Description

Control Interface

The OLED display has a built-in controller IC with synchronous serial and parallel interfaces. Synchronous serial (SSI) is used on the EVB as it requires fewer microcontroller pins. Data cannot be read from the OLED controller; only one data line is necessary. Note that the SSI port is shared with the microSD card slot. The Stellaris® Firmware Development Package (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. 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.
When using the EVB as an in-circuit debug interface (ICDI), the OLED display is held in reset to reduce power consumption and eliminate display wear-out.

Further Reference

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

Other Peripherals

Speaker

A small, magnetic audio transducer connects through a MOSFET to PD1/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.

MicroSD Card Slot

Removable Flash cards are an ideal media for storing data such as web p age content. Th e 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.
14 October 28, 2008

User LED

A user LED (LED3) is provided for general use. The LED is connected to PC5/CCP1, allowing the option of either GPIO or PWM control (brightness control). Refer to the Quickstart Application source code for an example of PWM control.

Bypassing Peripherals

Excluding Ethernet, the EVB’s on-board peripheral circuits require 16 GPIO lines. Two additional GPIO lines are assigned to Ethernet LEDs. Th is 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 pro cess can be reversed by installing 0603- 0-ohm chip resistors.
Important: The quickstart application will not run if one or more jumpers are removed. Table 2-2. Isolating On-Board Hardware
MCU Pin EVB Function To Isolate, Remove...
Pin 26 PA0/U0RX Virtual COM port receive JP1 Pin 27 PA1/U0TX Virtual COM port transmit JP2
Stellaris® LM3S6965 Evaluation Board
Pin 10 PD0/IDX0 SD card chip select JP3 Pin 11 PD1/PWM1 Sound 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 22 PC7/PHB0 OLED display data/control select JP8 Pin 29 PA3/SSI0FSS OLED display chip select JP9 Pin 73 PE1/PWM5 Down switch JP10 Pin 74 PE2/PHB1 Left switch JP11 Pin 72 PE0/PWM4 Up switch JP12 Pin 75 PE3/PHA1 Right switch JP13 Pin 61 PF1/IDX1 Select switch JP14 Pin 47 PF0/PWM0 User LED JP15 Pin 23 PC6/CCP3 Enable +15 V JP16

Interfacing to the EVB

An array of accessible I/O signals makes it easy to interface the EVB to external circuits. All LM3S6965 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.
Table B-1 on page 25 has a complete list of I/O signals as well as recommended connectors.
October 28, 2008 15
Hardware Description
Evaluation Board
Target
Board
Stellaris
MCU
Target
Cable
`
USB
PC with IDE/ debugger
Stellaris
MCU
TC K/SWC LK by pas s es t he on- board m ic roc ont roller
JT AG or SWD c onnec t s t o t he ext ernal m icroc on troller
Connec t ing Pin 18 t o GN D s ets
ext ernal debug m ode
Most LM3S6965 I/O signals are +5-V tolerant. Refer to the LM3S6965 data sheet for detailed electrical specifications.

Using the In-Circuit Debugger Interface

The Stellaris LM3S6965 Evaluation Kit can operate as an In-Circuit Debugger Interface (ICDI). ICDI acts as a USB to the JTAG/SWD adaptor, allowing debugging of any external target board that uses a Stellaris microcontroller. See “Debugging Modes” on page 12 for a description of how to enter Debug Out mode.
Figure 2-1. 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.
16 October 28, 2008
APPENDIX A

Schematics

Schematics for the Stellaris LM3S6965 Evaluation Board follow.
October 28, 2008 17
1
2
3
4
5
6
PD4/CCP0
C17
4.7UF
C6 10pF
PD6/FAULT ADC1
ADC3 PD0/IDX0 PD2/U1RX PG1/U2TX PC7/PhB0 PC5/C1+/C0o
PA1/U0Tx PA3/SSI0FSS PA5/SSI0TX PA7/I2CSDA
R4 330
C3
0.1UF
C4
0.1UF R5 330
4
+3.3V
Stellaris Microcontroller
A A
PA0/U0Rx PA1/U0Tx PA2/SSI0CLK PA3/SSI0FSS PA4/SSI0RX PA5/SSI0TX PA6/I2CSCL PA7/I2CSDA
INT_TCK
TMS/SWDIO
PC2/TDI
PC3/TDO
B B
TMS/SWDIO PC2/TDI PC3/TDO PC4/PhA0 PC5/C1+/C0o PC6/CCP3 PC7/PhB0
PE0/PWM4 PE1/PWM5 PE2/PhB1 PE3/PhA1
ADC0 ADC1 ADC2 ADC3
PG0/U2RX PG1/U2TX
MCURSTn
C41 18PF
OSC32IN OSC32OUT
Y1
1 2
25.00MHz
C C
C8 18PF
C9 18PF
1 2
C40 18PF
Y3
8.00MHz
D D
1
2
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 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
LM3S6965
PA0/U0RX PA1/U0TX PA2/SSI0CLK PA3/SSI0FSS PA4/SSI0RX PA5/SSI0TX PA6/I2C1SCL PA7/I2C1SDA
PC0/TCK/SWCLK PC1/TMS/SWDIO PC2/TDI PC3/TDO/SWO PC4/PhA0 PC5/C1+/C0o PC6/CCP3 PC7/PhB0
PE0/PWM4 PE1/PWM5 PE2/PhB1 PE3/PhA1
ADC0 ADC1 ADC2 ADC3
PG0/U2RX PG1/U2TX
RST XTALNPHY
XTALPPHY MOSCin
MOSCout XOSC0
XOSC1 WAKE
HIB CMOD0 CMOD1
GND GND GND GND GND GND
GND GND GND GND GND GND GND GND GND GND AGND AGND
PB0/PWM2 PB1/PWM3
PB2/I2C0SCL
PB3/I2C0SDA
PB4/C0­PB5/C1-
PB6/C0+
PB7/TRST PD0/IDX0
PD1/PWM1
PD2/U1RX PD3/U1TX
PD4/CCP0 PD5/CCP2
PD6/FAULT
PD7/CCP1
PF0/PWM0
PF1/IDX1 PF2/LED1 PF3/LED0
MDIO
TXOP
TXON
RXIP
RXIN
AVDD AVDD
VDD33 VDD33 VDD33 VDD33 VDD33 VDD33 VDD33 VDD33 VDD33 VDD33 VDD33
VBAT
LDO
VDD25 VDD25 VDD25 VDD25
ERBIAS
PB0/PWM2
66 67 70 71 92 91 90 89
10 11 12 13 95 96 99 100
47 61 60 59
58
PB1/PWM3 PB2/I2C0SCL PB3/I2CSDA PB4/C0­PB5/C1­PB6/C0+
PD0/IDX0 PD1/PWM1 PD2/U1RX PD3/U1TX PD4/CCP0 PD5/CCP2 PD6/FAULT PD7/CCP1
PF0/PWM0 PF1/IDX1 PF2/LED1 PF3/LED0
+3.3V
R33 10K
PB7/TRST
+3.3V
+3.3V
R1 10K
R2
49.9
43
46 40
37
R6
+3.3V
C12
0.1UF
C13
0.01UF
49.9R749.9
C14
0.01UF
3 98
8 20 32 36 44 56 68 81 83 84 93
+3.3V
55 7
C18
14 38 62 88
R35
41
12.4K
12.4K 1% resistor required on Pin 41 for compatibility with future LM3S6965 revisions. See Product Change Notification.
0.01UF
C19
0.1UF
3
R3
49.9
C7
0.01UF
C15
0.1UF
C20
4.7UF
C1 10pFC210pF
C5 10pF
+3.3V
C16
0.1UF
3334 3635
12
PB4/C0­PD5/CCP2 PD7/CCP1 ADC0 ADC2
PD1/PWM1 PD3/U1TX PG0/U2RX PC6/CCP3 PC4/PhA0 PA0/U0Rx PA2/SSI0CLK PA4/SSI0RX PA6/I2CSCL
+5V
+15V
PB5/C1- PB6/C0+ PB7/TRST PC2/TDI PC3/TDO PE3/PhA1 PE2/PhB1 PE0/PWM4 PE1/PWM5 PB2/I2C0SCL PB3/I2CSDA PB1/PWM3 PF1/IDX1 PB0/PWM2 PF3/LED0 PF2/LED1
59 60
PF0/PWM0
I/O Break -out Headers
P4
+3.3V
G+
12
G-
11
1CT:1
3
+3.3V
5 4
1CT:1
7
+3.3V
6 8
+3.3V
2
Y-
1
Y+
9
NC
10
GND
J3011G21DNL
History
Revision Date Description
A 5/12/07 First Production Release B 6/29/07 Improve SWD out feature, add SWO support, 1-bit
C 8/09/07 Change to RiT 128x96 OLED display
Ethernet 10/100baseT
TX+
1
TX-
2
RX+
3 4 5
RX-
6 7 8
GL
GR
OLED display option.
Install R271/25/08 Add R35 for future compatibility.3/25/08D
Tie R6/R7 to +3.3V. Add TVCC control.
5
OSC32OUT OSC32IN
+3.3V
On-board Peripheral Signals
Jumpers can be cut to free GPIO lines as required.
PA0/U0Rx
PA1/U0Tx
PA2/SSI0CLK
PA3/SSI0FSS
PA4/SSI0RX
PA5/SSI0TX
PF0/PWM0
PF1/IDX1
PE0/PWM4
PE1/PWM5
PE2/PhB1
PE3/PhA1
PD1/PWM1
PD0/IDX0
PC7/PhB0
PC6/CCP3
Drawing Title:
Page Title:
Size
B
3/26/2008 1 3
JP1
VCP_RX
JP2
VCP_TX
JP7
SSICLK
JP9
OLEDCSn
JP5
JP6
JP15
JP14
SELECT_SWn
JP12
UP_SWn
JP10
DOWN_SWn
JP11
LEFT_SWn
JP13
RIGHT_SWn
JP4
SOUND
JP3
CARDCSn
JP8
OLEDDC
JP16
EN+15V
Ethernet Evaluation Board LM3S6965 Micro and 10/100 Ethernet
Document Number:
1
6
SSIRX
SSITX
LED
of
RevSheetDate:
D
1
A A
+5V
R9
2.2
BZ1
D1 MBR0520
SOUND
R12 10K
B B
1 2
NFT-03A
Q1 NDS331N
Speaker Circuit
+3.3V
1
+3.3V
C28
0.1UF
+3.3V
+3.3V
R17
P3
10K
1 2 3 4
2908-05WB-MG
5 6 7 8
R19 10K
9
101112
microSD Card Slot
C C
CARDCSn
SSITX
SSICLK
SSIRX
D D
2
+5V
C24
4.7UF
EN+15V
R10 10K
3
D2
MBR0520
U7
5
VIN
SHDNn4GND
FAN5331
L1 NR4018T100M
10uH
SW
1
3
FB
2
+15V 50mA Pow e r S u pp l y for OLED Display
R13 200K
R11
17.8K
C27 120pF
4
+15V
C22
C25
4.7UF
0.1UF
5
OLEDCSn MCURSTn
OLEDDC
SSICLK
SSITX
+3.3V
+3.3V
C23
0.1UF
C26
4.7UF
R14 200K
+15V
C21
0.1UF
U2
1
NC
2
VCIR
3
VCOMH
4
LVSS
5
VSS
6
BS1
7
BS2
8
IREF
9
CSn
10
RESn
11
D/Cn
12
R/Wn
13
E
14
D0/SCLK
15
D1/SDIN
16
D2
17
D3
18
D4
19
D5
20
D6
21
D7
22
VDDIO
23
VDD
24
VCC
25
NC
OLED-RIT-128X96 RGS13128096WH000
6
128x96 OLED Graphics Display
+3.3V
Reset
SW1
SW-B3S1000
Select
SW2
SW-B3S1000
Up
SW3
SW-B3S1000
Down
SW4
SW-B3S1000
Left
SW5
SW-B3S1000
Right
SW6
SW-B3S1000
User Switches
2
3
R15 10K
C30 OMIT
RESET_SWn
SELECT_SWn
UP_SWn
DOWN_SWn
LEFT_SWn
RIGHT_SWn
+3.3V
R16 330
R18 330
R20 330
LED2 Green
LED3 Red
LED4 Green
Status
Debug Out
Power
LED
DBGOUTLED
Status LEDs
Drawing Title:
Ethernet Evaluation Board
Page Title:
OLED Display, Switches and Audio
Document Number:
Size
B
3/26/2008 2 3
4
5
2
6
RevSheetDate:
of
D
1
USB Interface
54819-0519
FB1
P1
5V D- D+ ID G
6
123
U5
8
VCC
7
NC
6
ORG
5
GND
CAT93C46
1K 64X16
C32
0.01UF
CS SK DI
DO
USBSH
475
R21 27 R22 27
+5V+5V
R24 10K
1 2 3 4
1 2
6.00MHz C10 18PF
R25
1.5K
Y2
C11 18PF
USB+5V
A A
USB+5V
60ohm @ 100 MHz
B B
C C
Omit
JP18
JP17
2
USB Device Controller
U4
R23
1.5K
+5V
C31
6
0.1UF
8 7
48
1 2
47 43
44
4 5
9
18 25 34
45
Channel A : JTAG / SW Debug Channel B : Virtual Com Port
3V3OUT
USBDM USBDP
EECS EESK EEDATA TEST
XTIN XTOUT
RESET# RSTOUT#
GND GND GND GND
AGND
FT2232D
ADBUS0 ADBUS1 ADBUS2 ADBUS3 ADBUS4 ADBUS5 ADBUS6 ADBUS7
ACBUS0 ACBUS1 ACBUS2 ACBUS3
BDBUS0 BDBUS1 BDBUS2 BDBUS3 BDBUS4 BDBUS5 BDBUS6 BDBUS7
BCBUS0 BCBUS1 BCBUS2 BCBUS3
PWREN#
VCCIOA VCCIOB
USB +5V to +3.3V 500mA Power Supply
U6
C38
4.7UF
1 6
VIN1 VIN2
VOUT
SENSE
NC
SI/WUA
SI/WUB
VCC VCC
AVCC
4 5
3
3
+3.3V
R8
4.7K
TCK
24
TDI/DI
23 22
TDO/DO
21
TMS/OUTEN
20
SRSTN
19 17
DBG_JTAG_EN
16 15
13 12 11 10
+3.3V
40 39 38 37 36 35 33 32
30 29 28 27 26
41
3 42 14 31
46
C37
0.1UF
SWO_EN
+3.3V
R30 330
+3.3V+5V
C39
4.7UF
VCP_RX
C33
0.1UF
INT_TCK
RESET_SWn
+3.3v
C34
0.1UF
C35
0.1UF
4
Debug Interface Logic
+3.3V
C29
0.1UF
+3.3V
R34
4.7K
C42
0.1UF
MODE VCP_TX_SWO
+5V
C36
0.1UF
13
GND
44
A0/GOE0
45
A1
46
A2
47
A3
48
A4
2
A5
3
A6
4
A7
7
A8
8
A9
9
A10
10
A11
14
A12
MODE is reserved
for future use.
37
19
43
GND
CLK1/I18CLK2/I
1
25
11
TDI
TMS
TCK
CLK3/I42CLK0/I
Bank 0 Bank 1
GND (Bank 0)5VCCO (Bank 0)
A1315A1416A15
17
6
+3.3V
PC2/TDI
TMS/SWDIO
TCK/SWCLK
PC3/TDO
GND (Bank 1)29VCCO (Bank 1)
30
TCK/SWCLK
PC3/TDO
41
PC2/TDI
TMS/SWDIO
5
+3.3V
12
VCC
TDO35VCC
B1339B1440B15/GOE1
36
B0 B1 B2 B3 B4 B5 B6 B7 B8
B9 B10 B11 B12
U3 LC4032V-75TN48C
20 21 22 23 24 26 27 28 31 32 33 34 38
R27 27
R26 27
R28 27
R29 27
R31 27
PLD_TCK PLD_TMS PLD_TDI PLD_TDO
+3.3V
PC2/TDI
PC3/TDO TARGETCABLEn
TMS/SWDIO TCK/SWCLK
TP1 TP2 TP3
PLD JTAG TEST POINTS
TP4 TP5 TP6
DBGOUTLED
VCP_TX
PB7/TRST MCURSTn
XVCC XTDI
XTMS XTCK
XTDO
TARGETCABLEn
6
JTAG/SWD Interface Input/Output
P2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Header 10X2
R32
4.7K
+3.3v
2
D D
1
2
GND
LP8345ILD-3.3
GND
7
Drawing Title:
Ethernet Evaluation Board
Page Title:
USB, Debugger Interfaces and Power
Document Number:
Size
B
3/26/2008 3 3
3
4
5
3
6
RevSheetDate:
of
D
A B C D E F G H
1
VCP_TX
SWO_EN
2
FTDI_TCK XTCK
FTDI_TDI_DO U0TX
3
FTDI_TDO_DI
I90
34 10 45
46
47
I3
I91 I7
I6
I89
A B
S
S
I18
FTDI_TMS
48
I4
4
FTDI_DBG
FTDIJTAGEN
5
FTDI_SRSTn
4
I5
3
I37
I9
DQ
B A
FTDI_DBG
JTAGEN
I20
SWDEN
I36
FTDI_DBG
S
B
DBGOUT
I105
A
I85
I109
I92
I16
JTAGEN
I111
I35
S
I112
B A
I17
DBGOUT
I96
6
I99
C
I100
I95
INTDBG
I102
7
8
RSTSW
RC
EXTCABLEn
HIBn
14
26
16
9
I15
I104
I74
I13
DRVEN
I108
Luminary Micro, Inc. Fury Evaluation Kit JTAG Logic with Auto Mode Detect and Hibernate AUG 23, 2007
44
41
I87
32
24
21
40
I8
31
33
38
1
ITCK
I86
2
I2
I42
XTDO
XTDI
XTMS
DBGLED
3
4
5
6
I70
I106
I107
TEST
TRSTn
MCURSTn
7
7
8
A B C D E F G H
22 October 28, 2008
APPENDIX B

Connection Details

This appendix contains the following sections:
Component LocationsEvaluation Board DimensionsI/O Breakout PadsARM Target PinoutReferences

Component Locations

Figure B-1. Component Locations
October 28, 2008 23

Evaluation Board Dimensions

Figure B-2. Evaluation Board Dimensions

I/O Breakout Pads

The LM3S6965 EVB has 44 I/O pads, 14 power pads, and 2 crystal connections, for a total of 60 pads. Connection can be made by soldering wires directly to these pads, or by using 0.1” pitch headers and sockets.
24 October 28, 2008
Stellaris® LM3S6965 Evaluation Board
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
PD4/CCP0 34 33 PB4/C0- +12 V 60 59 GND PD6/FAULT 32 31 PD5/CCP2 PB5/C1- 58 57 PB6/C0+ GND 30 29 PD7/CCP1 PB7/TRST ADC1 28 27 ADC0 PC3/TDO*5453PE3/PHA1* ADC3 26 25 ADC2 PE2/PHB1 52 51 GND IDX0* 24 23 GND PE0/PWM4 50 49 PE1/PWM5* PD2/U1RX 22 21 PD1/PWM1 PB2/SCL0 48 47 PB3/SDA0 PG2/U2TX 20 19 PD3/U1TTX PB1/PWM3 46 45 GND PC7/PHB0*1817PG0/U2RX PF1/IDX1 44 43 PB0/PWM2 PC5/C1+ 16 15 PC6/CCP3* PF3/LED0 42 41 PF2/LED1 GND 14 13 PC4/PHA0 GND 40 39 OSC32 +3.3 V 12 11 PA0/U0RX* GND 38 37 OSC32 PA1/U0TX*109PA2/SSICLK* PF0/PWM0 36 35 +3.3 V PA3/SFSS*87PA4/SSIRX*
Pad
No.
Pad
No.
Description Description
Pad
No.
56 55 PC2/TDI*
Pad
No.
Description
PA5/SSITX*6 5PA6/SCL1 PA7/SDA1 43GND GND 21+5V

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-34 (2 x 17 way) PCB Socket Sullins PPPC172LFBN-RC Digikey S7120-ND
Cable Socket 3M 89134-0101 Digikey MKC34A-ND Pin Header Sullins PEC17DAAN Digikey S2012E-17-ND
Pins 35-06 (2 x 13 way) PCB Socket Sullins PPPC132LFBN-RC Dig ikey S7116-ND
Cable Socket 3M 89126-0101 Digikey MKC26A-ND Pin Header Sullins PEC13DAAN Digikey S2012-13-ND
October 28, 2008 25

ARM Target Pinout

In ICDI input and output mode, the Stellaris LM3S6965 Evaluation Kit supports ARM’s standard 20-pin JTAG/SWD configuration. The same pin configuration can be used for debugging over Serial Wire Debug (SWD) and JTAG interfaces. The debugger software, running on the PC, determines which interface protocol is used.
The Stellaris target board should have a 2x10 0.1” pin header with signals as indicated in Table B-3. This applies to both an external Stellaris MCU target (Debug output mode) and to external JTAG/SWD debuggers (Debug input mode).
Table B-3. 20-Pin JTAG/SWD Configuration
Function Pin Pin Function
VCC 12nc nc 3 4 GND
TDI 56GND TMS 78GND TCK 910GND NC 11 12 GND TDO 13 14 GND
nc 15 16 GND nc 17 18 GND nc 19 20 GND
ICDI does not control RST 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.

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 do wnload at
www.luminarymicro.com:
Stellaris LM3S6965 Evaluation Kit Quickst art Guide for appropriate tool kit (s ee “Evaluation Kit
Contents,” on page 9)
Stellaris LM3S6965 Read Me First for the ENET Evaluation Kit  Stellaris Family Peripheral Driver Library
(device reset) or TRST (test reset) signals. Both reset functions are
Stellaris Family Peripheral Driver Library User’s Manual, publication PDL-LM3S6965Stellaris LM3S6965 Data Sheet, publication DS-LM3S6965
26 October 28, 2008
Stellaris® LM3S6965 Evaluation Board
Additional references include:
Information on development tool being used:
RealView MDK web site, www.keil.com/arm/rvmdkkit.aspIAR Embedded Workbench web site, www.iar.comCode Sourcery GCC development tools web site,
www.codesourcery.com/gnu_toolchains/arm
Code Red Technologies development tools web site, www.code-red-tech.com
October 28, 2008 27
28 October 28, 2008
APPENDIX C

Contact Information

Company Information
Luminary Micro, Inc. designs, markets, and sells ARM Cortex-M3-based microcontr ollers (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 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
October 28, 2008 29
30 October 28, 2008
Loading...