EK-LM3S6965-05 Copyright © 2007-2008 Luminary Micro, Inc. Stellaris® LM3S6965 Evaluation Board USER’S MANUAL
EK-LM3S6965-05 Copyright © 2007-2008 Luminary Micro, Inc.
Stellaris® LM3S6965Evaluation Board
USER’S MANUAL
2 October 28, 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 © 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 350Austin, TX 78746Main: +1-512-279-8800Fax: +1-512-279-8879http://www.luminarymicro.com
Stellaris® LM3S6965 Evaluation Board
October 28, 2008 3
Table of ContentsChapter 1: Stellaris® LM3S6965 Evaluation Board ....................................................................................... 7Features.............................................................................................................................................................. 8Block Diagram .................................................................................................................................................... 8Evaluation Kit Contents ...................................................................................................................................... 9
Evaluation Board Specifications ..................................................................................................................... 9Features of the LM3S6965 Microcontroller......................................................................................................... 9
Chapter 2: Hardware Description.................................................................................................................. 11LM3S6965 Microcontroller ................................................................................................................................ 11
Device Overview ........................................................................................................................................... 11Ethernet ........................................................................................................................................................ 11Clocking ........................................................................................................................................................ 11Reset............................................................................................................................................................. 11Power Supplies ............................................................................................................................................. 12Debugging..................................................................................................................................................... 12
USB Device Controller Functions ..................................................................................................................... 13Device Overview ........................................................................................................................................... 13USB to JTAG/SWD....................................................................................................................................... 13Virtual COM Port........................................................................................................................................... 13Serial Wire Out.............................................................................................................................................. 13
Organic LED Display ........................................................................................................................................ 13Features........................................................................................................................................................ 13Control Interface ........................................................................................................................................... 14Power Supply................................................................................................................................................ 14Design Guidelines......................................................................................................................................... 14Further Reference......................................................................................................................................... 14
Other Peripherals.............................................................................................................................................. 14Speaker......................................................................................................................................................... 14MicroSD Card Slot ........................................................................................................................................ 14Push Switches .............................................................................................................................................. 14User LED ...................................................................................................................................................... 15
Bypassing Peripherals ...................................................................................................................................... 15Interfacing to the EVB....................................................................................................................................... 15Using the In-Circuit Debugger Interface ........................................................................................................... 16
Appendix A: Schematics................................................................................................................................ 17Appendix B: Connection Details ................................................................................................................... 23Component Locations....................................................................................................................................... 23Evaluation Board Dimensions........................................................................................................................... 24I/O Breakout Pads ............................................................................................................................................ 24Recommended Connectors .............................................................................................................................. 25ARM Target Pinout ........................................................................................................................................... 26References ....................................................................................................................................................... 26
Appendix C: Contact Information ................................................................................................................. 29
4 October 28, 2008
List of FiguresFigure 1-1. Stellaris LM3S6965 Evaluation Board Layout ................................................................................. 7Figure 1-2. LM3S6965 Evaluation Board Block Diagram .................................................................................. 8Figure 2-1. ICD Interface Mode ....................................................................................................................... 16Figure A-1. LM3S6965 Microcontroller (sheet 1 of 3) ...................................................................................... 18Figure A-2. LM3S6965 Microcontroller (sheet 2 of 3) ...................................................................................... 19Figure A-3. LM3S6965 Microcontroller (sheet 3 of 3) ...................................................................................... 20Figure A-4. PLD schematic .............................................................................................................................. 21Figure B-1. Component Locations ................................................................................................................... 23Figure B-2. Evaluation Board Dimensions ....................................................................................................... 24
Stellaris® LM3S6965 Evaluation Board
List of TablesTable 2-1. Stellaris LM3S6965 Evaluation Board Hardware Debugging Configurations................................ 12Table 2-2. Isolating On-Board Hardware........................................................................................................ 15Table B-1. I/O Breakout Pads ......................................................................................................................... 25Table B-2. Recommended Connectors........................................................................................................... 25Table B-3. 20-Pin JTAG/SWD Configuration .................................................................................................. 26
October 28, 2008 5
6 October 28, 2008
C H A P T E R 1
Stellaris® LM3S6965 Evaluation BoardThe Stellaris® LM3S6965 Evaluation Board is a compact and versatile evaluation platform for the Stellaris LM3S6965 ARM® Cortex™-M3-based microcontroller. The evaluation kit uses the LM3S6965 microcontroller’s fully integrated 10/100 Ethernet controller to demonstrate an embedded web server.
You can use the board either as an evaluation platform or as a low-cost in-circuit debug interface (ICDI). In debug interface mode, the on-board microcontroller is bypassed, allowing programming or debugging of an external 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 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 Layout
Placeholder Image
October 28, 2008 7
Stellaris® LM3S6965 Evaluation Board
FeaturesThe Stellaris LM3S6965 Evaluation Board includes the following features:
Stellaris LM3S6965 microcontroller with fully-integrated 10/100 embedded Ethernet controller
Simple setup; USB cable provides serial communication, debugging, and power
OLED graphics display with 128 x 96 pixel resolution
User LED, navigation switches, and select pushbuttons
Magnetic speaker
LM3S6965 I/O available on labeled break-out pads
Standard ARM® 20-pin JTAG debug connector with input and output modes
USB interface for debugging and power supply
MicroSD card slot
Block DiagramFigure 1-2. LM3S6965 Evaluation Board Block Diagram
USB
USB StellarisLM3S6965
Microcontroller
DualUSB
DeviceController
I/O S
igna
ls
OLED Display128 x 96
Debu
g
NavSwitch
Switch
LED
I/O Signal Break-out
I/O Signal Break-out
JTAG/SWD Output/Input
USB Cable
Reset+3.3V
Regulator
SWD
/JTA
G
Mux
UART0
Targ
et
Cab
le
Speaker
RJ45Jack+
MagneticsCAT5 Cable
8 October 28, 2008
Stellaris® LM3S6965 Evaluation Board
Evaluation Kit ContentsThe evaluation kit contains everything needed to develop and run applications for Stellaris microcontrollers including:
LM3S6965 Evaluation Board (EVB)
USB cable
20-pin JTAG/SWD target cable
CD containing:
– A supported, 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 Technologies development tools
– Complete documentation
– Quickstart guide
– Quickstart source code
– Stellaris® Firmware Development Package with example source code
Evaluation Board SpecificationsBoard supply voltage: 4.37–5.25 Vdc from USB connector
Board supply current: 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 Microcontroller32-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 Flash
64 KB single-cycle SRAM
Four general-purpose 32-bit timers
Integrated Ethernet MAC and PHY
Three fully programmable 16C550-type UARTs
Four 10-bit channels (inputs) when used as single-ended inputs
Two independent integrated analog comparators
October 28, 2008 9
Stellaris® LM3S6965 Evaluation Board
Two I2C modules
Three 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
0 to 42 GPIOs, depending on user configuration
On-chip low drop-out (LDO) voltage regulator
10 October 28, 2008
C H A P T E R 2
Hardware DescriptionIn 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 MicrocontrollerDevice 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 Flash memory and runs each time power is applied, unless the quickstart has been replaced with a user program.
EthernetA 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.
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.
ClockingThe 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 internal 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.
ResetThe 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 reset
Reset push switch SW1 held down
Internal debug mode—By the USB device controller (U4 FT2232) when instructed by debugger
October 28, 2008 11
Hardware Description
Power SuppliesThe 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.
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 LM3S6965 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.
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 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.
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 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
Table 2-1. Stellaris LM3S6965 Evaluation Board Hardware Debugging Configurations
Mode Debug Function Use Selected by
1 Internal ICDI Debug on-board LM3S6965 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.
12 October 28, 2008
Stellaris® LM3S6965 Evaluation Board
documentation for full details. However, if your debugger interface does not have a selectable power source, it may be necessary to install a 0-Ω resistor on the evaluation board to route power to pin 1. Refer to the schematics and board drawing in the appendix of this manual for the location of this resistor.
USB Device Controller FunctionsDevice 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/SWDThe FT2232 USB device performs JTAG/SWD serial operations under the 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 PortThe 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 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 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.
FeaturesRiT P14201 series display
128 columns by 96 rows
High-contrast (typ. 500:1)
Excellent brightness (120 cd/m2)
Fast 10 us response
October 28, 2008 13
Hardware Description
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® Firmware Development Package (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. 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.
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 ReferenceFor additional information on the RiT OLED display, visit www.ritekdisplay.com.
Other PeripheralsSpeaker
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 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.
14 October 28, 2008
Stellaris® LM3S6965 Evaluation Board
User LEDA 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 PeripheralsExcluding Ethernet, 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.
Important: The quickstart application will not run if one or more jumpers are removed.
Interfacing to the EVBAn 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.
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
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
October 28, 2008 15
Hardware Description
Most LM3S6965 I/O signals are +5-V tolerant. Refer to the LM3S6965 data sheet for detailed electrical specifications.
Using the In-Circuit Debugger InterfaceThe 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.
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
16 October 28, 2008
A P P E N D I X A
SchematicsSchematics for the Stellaris LM3S6965 Evaluation Board follow.
October 28, 2008 17
5
5
6
6
D D
C C
B B
A A
Document Number:
RevSheetDate: of3/26/2008 1 3
Drawing Title:
Page Title:
Size
Ethernet Evaluation Board
LM3S6965 Micro and 10/100 Ethernet
B
D
1
18PF
C8
6
5
8
4
2
3
1
7
TX+
TX-
RX+
RX-
GL
GR
rnet 10/100baseT
1Y
25.0
JP1
JP2
PA0/U0Rx
PA1/U0Tx
VCP_RX
VCP_TXJP7
JP9SSICLK
OLEDCSn
PA2/SSI0CLK
PA3/SSI0FSS
JP6
SSITXPA5/SSI0TX
On-board Peripheral Signals
free GPIO lines as required.
JP14
SELECT_SWn
JP15
LED
JP12
UP_SWnJP10
DOWN_SWnJP11
JP13LEFT_SWn
RIGHT_SWn
Jumpers can be cut to
JP4
SOUND
JP5
SSIRXPA4/SSI0RX
JP8
OLEDDC
JP3
CARDCSn
PF1/IDX1
PF0/PWM0
PE0/PWM4
PE1/PWM5
PE2/PhB1
PE3/PhA1
PD1/PWM1
PD0/IDX0
PC7/PhB0
3635
59 60
+15VPB5/C1- PB6/C0+PB7/TRST PC2/TDIPC3/TDO PE3/PhA1PE2/PhB1PE0/PWM4 PE1/PWM5PB2/I2C0SCL PB3/I2CSDAPB1/PWM3PF1/IDX1 PB0/PWM2PF3/LED0 PF2/LED1
OSC32OUTOSC32IN
+3.3VPF0/PWM0
Headers
ion Release
out feature, add SWO support, 1-bit
T 128x96 OLED display
y option.
JP16
EN+15VPC6/CCP3
future compatibility. +3.3V. Add TVCC control.
1
1
2
2
3
3
4
4
Revision Date Description
History
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
910
NC
GND
P4
J3011G21DNL
R349.9
+3.3V
C70.01UF
R249.9
R649.9
R749.9
C3
0.1UF
+3.3V
C4
0.1UF
+3.3V
C610pF
C110pF
C210pF
C180.01UF
C130.01UF
C140.01UF
C160.1UF
C150.1UF
C120.1UF
+3.3V
+3.3V
R4
330
PA1/U0TxPA2/SSI0CLKPA3/SSI0FSSPA4/SSI0RXPA5/SSI0TX
PA0/U0Rx
R1
10K
+3.3V
Stellaris Microcontroller
R5
330
+3.3V
+3.3V
PA6/I2CSCLPA7/I2CSDA
TMS/SWDIOPC2/TDIPC3/TDOPC4/PhA0PC5/C1+/C0oPC6/CCP3PC7/PhB0
PE0/PWM4PE1/PWM5PE2/PhB1PE3/PhA1
PG0/U2RXPG1/U2TX
PF1/IDX1PF0/PWM0
PD7/CCP1PD6/FAULTPD5/CCP2PD4/CCP0PD3/U1TXPD2/U1RXPD1/PWM1PD0/IDX0
PB7/TRSTPB6/C0+PB5/C1-PB4/C0-PB3/I2CSDAPB2/I2C0SCLPB1/PWM3PB0/PWM2
PF2/LED1PF3/LED0
C190.1UF
C204.7UF
C174.7UF
Ethe
21
0MHz
OSC32INOSC32OUT
PD4/CCP0PD6/FAULT
C510pF
12
3334
ADC3ADC1
PD0/IDX0PD2/U1RXPG1/U2TXPC7/PhB0PC5/C1+/C0o
PA1/U0TxPA3/SSI0FSSPA5/SSI0TXPA7/I2CSDA
PB4/C0-PD5/CCP2PD7/CCP1ADC0ADC2
PD1/PWM1PD3/U1TXPG0/U2RXPC6/CCP3PC4/PhA0PA0/U0RxPA2/SSI0CLKPA4/SSI0RXPA6/I2CSCL
+3.3V
+5V
I/O Break-out
R3310K
+3.3V
1 2Y3
8.00MHz
18PF
C40
18PF
C41
A 5/12/07 First Product
B 6/29/07 Improve SWD
C 8/09/07 Change to Ri
OLED displa
Install R271/25/08
+3.3V
R35
12.4K
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
PC5/C1+/C0o24
PC6/CCP323
PC7/PhB022
PD0/IDX0 10
PD1/PWM1 11
PD2/U1RX 12
PD3/U1TX 13
PD4/CCP0 95
PD5/CCP2 96
PD6/FAULT 99
PD7/CCP1 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/C1- 91
PB6/C0+ 90
PB7/TRST 89
PE0/PWM472
PE1/PWM573
PE2/PhB174
PE3/PhA175
ADC36 ADC25
PA6/I2C1SCL34
PA7/I2C1SDA35
ADC12 ADC01
PF0/PWM0 47
PF1/IDX1 61
PF2/LED1 60
PF3/LED0 59
MDIO 58
TXON 46
TXOP 43
ERBIAS 41
PG0/U2RX19
PG1/U2TX18
XTALNPHY17
XTALPPHY16
GND42
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
XOSC052
XOSC153
VBAT 55
CMOD065
CMOD176
U1
LM3S6965
12.4K 1% resistor required on Pin 41 forcompatibility with future LM3S6965 revisions.See Product Change Notification.
Add R35 for 3/25/08DTie R6/R7 to
5
5
6
6
D D
C C
B B
A A
Document Number:
RevSheetDate: of3/26/2008 2 3
Drawing Title:
Page Title:
Size
Ethernet Evaluation Board
OLED Display, Switches and Audio
B
D
2
Debug Out
Status
Power
s
CARDSSIT
SSIC
SSIR
LED2Green
LED3Red
LED4Green
R14
200K
SSITXSSICLK
+3.3V
128x96 OLED Graphics Display
C26
4.7UF
MCURSTnOLEDDC
+15V
OLEDCSn
C230.1UF
C210.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
U2
OLED-RIT-128X96
+3.3V
1
1
2
2
3
3
4
4
R18
330DBGOUTLED
ResetSW1
SW-B3S1000
SELECT_SWn
UP_SWn
DOWN_SWn
LEFT_SWn
RIGHT_SWn
RESET_SWn
R1510K
+3.3V
Select
Up
Down
Left
Right
R16
330LED
R20
330
R92.2
+5V
Q1NDS331N
R1210K
SOUND
Speaker Circuit
Status LED
User Switches
+3.3V
D1MBR0520
SW2
SW-B3S1000
SW3
SW-B3S1000
SW4
SW-B3S1000
SW5
SW-B3S1000
SW6
SW-B3S1000
microSD Card Slot
12345678
9 10 11 12
P3
2908-05WB-MG+3.3V
C280.1UF
+3.3V
CSnX
LK
X
R1710K
R1910K
+3.3V
+3.3V
12
BZ1
NFT-03A
C30OMIT
+15V 50mA Power Supply for OLED Display
+15V
FB 3
VIN5
SHDNn4 GND 2
SW 1
U7
FAN5331
+5V
C244.7UF C25
4.7UF
D2
MBR0520
0.1UF
C22
120pF
C27R13200K
R1117.8KEN+15V
R1010K
10uH
L1
NR4018T100M
5
5
6
6
D D
C C
B B
A A
Document Number:
RevSheetDate: of3/26/2008 3 3
Drawing Title:
Page Title:
Size
Ethernet Evaluation Board
USB, Debugger Interfaces and Power
B
D
3
60o
USB+5V
1 23 45 67 89 1011 1213 1415 1617 1819 20
P2
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
U3LC4032V-75TN48C
PC2/TDI
MCURSTn
DBGOUTLED
TARGETCABLEnPC3/TDO
TMS/SWDIOTCK/SWCLK
PB7/TRST
XVCC
1
1
2
2
3
3
4
4
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
+3.3V+5V
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
USB +5V to +3.3V 500mA Power Supply
VCP_RX
TCK/SW
PC2/T
PC3/TD
TMS/SW
C32
0.01UF
5V D- D+ ID G
1 2 3 4
75
6
P1 54819-0519
SRSTN
VOUT 4
SENSE 5VIN26
GND2
NC 3
GND 7
VIN11U6
LP8345ILD-3.3
USB+5V
Debug Interface Logic
JP18
C384.7UF
C394.7UF
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
Omit
JP17USBSH
CS 1
SK 2
DI 3
DO 4GND5 ORG6 NC7 VCC8
1K 64X16
U5
CAT93C46
1 2Y2
6.00MHz
18PF
C10
18PF
C11
0.1UF
C42
R344.7K
+3.3V
INT_TCK
SWO_EN
VCP_TX_SWOMODE
MODE is reserved for future use.
R84.7K
+3.3V
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
22 October 28, 2008
A P P E N D I X B
Connection DetailsThis appendix contains the following sections:
Component Locations
Evaluation Board Dimensions
I/O Breakout Pads
ARM Target Pinout
References
Component LocationsFigure B-1. Component Locations
October 28, 2008 23
Evaluation Board DimensionsFigure B-2. Evaluation Board Dimensions
I/O Breakout PadsThe 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.
Recommended ConnectorsConnection can be made by soldering wires directly to pads or using 0.1” pitch headers and sockets.
Table B-1. I/O Breakout Pads
Description Pad No.
Pad No. Description Description Pad
No.Pad No. 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 56 55 PC2/TDI*
ADC1 28 27 ADC0 PC3/TDO* 54 53 PE3/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* 18 17 PG0/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* 10 9 PA2/SSICLK* PF0/PWM0 36 35 +3.3 V
PA3/SFSS* 8 7 PA4/SSIRX*
PA5/SSITX* 6 5 PA6/SCL1
PA7/SDA1 4 3 GND
GND 2 1 +5 V
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 Digikey S7116-ND
Cable Socket 3M 89126-0101 Digikey MKC26A-ND
Pin Header Sullins PEC13DAAN Digikey S2012-13-ND
October 28, 2008 25
ARM Target PinoutIn 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).
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.
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 LM3S6965 Evaluation Kit Quickstart Guide for appropriate tool kit (see “Evaluation Kit Contents,” on page 9)
Stellaris LM3S6965 Read Me First for the ENET Evaluation Kit
Stellaris Family Peripheral Driver Library
Stellaris Family Peripheral Driver Library User’s Manual, publication PDL-LM3S6965
Stellaris LM3S6965 Data Sheet, publication DS-LM3S6965
Table B-3. 20-Pin JTAG/SWD Configuration
Function Pin Pin Function
VCC 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
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.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
October 28, 2008 27
28 October 28, 2008
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
October 28, 2008 29
30 October 28, 2008