Power Supplies.............................................................................................................................................12
USB to JTAG/SWD............. ... ... ... .... ... ... .................................................... ................................................... 13
Virtual COM Port........................................................................................................................................... 13
Serial Wire Out..............................................................................................................................................13
Organic LED Display ........................................................................................................................................ 13
Control Interface ...........................................................................................................................................14
Power Supply................................................................................................................................................ 14
Further Reference.........................................................................................................................................14
Other Peripherals............. ... .................................................... ..........................................................................14
Interfacing to the EVB....................................................................................................................................... 15
Using the In-Circuit Debugger Interface ...........................................................................................................16
ARM Target Pinout ........................................................................................................................................... 26
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 applicationspecific 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
January 6, 20107
Features
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 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
The evaluation kit contains everything needed to develop and run applications for S tellaris
microcontrollers including:
LM3S6965 Evaluation Board (EVB)
USB cable
20-pin JTAG/SWD target cable
CD containing:
– A supported version of one of the following (including a toolchain-specific Quickstart
guide):
•Keil™ RealView® Microcontroller Development Kit (MDK-ARM)
•IAR Embedded Workbench
•Code Sourcery GCC development tools
•Code Red Technologies development tools
•Texas Instruments’ Code Composer Studio™ IDE
– Complete documentation
Stellaris® LM3S6965 Evaluation Board
– Quickstart application source code
– Stellaris® Firmware Development Package with example source code
Evaluation Board Specifications
Board supply voltage:4.37–5.25 Vdc from USB connector
Boar 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
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
January 6, 20109
Features of the LM3S6965 Microcontroller
Two independent integrated analog comparators
Two I
2
C 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
10January 6, 2010
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 reset
Reset push switch SW1 held down
Internal debug mode—By the USB device controller (U4 FT2232) when instructed by
debugger
January 6, 201011
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.
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 o n pin 1 to p ower 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
12January 6, 2010
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 to implement a JT AG/SWD po rt (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 an d the t ar get device using a single USB cable .
Separate Windows drivers for each function are provided on the Document atio n and Sof tware 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
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.
Stellaris® LM3S6965 Evaluation Board
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 3S6965 dat a sheet for a dditional 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 display
128 colu mn s by 96 row s
High-contrast (typ. 500:1)
Excellent brightness (120 cd/m
2
)
Fast 10 us response
January 6, 201013
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 pushpush 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.
14January 6, 2010
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 PinEVB FunctionTo Isolate, Remove...
Pin 26 PA0/U0RXVirtual COM port receiveJP1
Pin 27 PA1/U0TXVirtual COM port transmitJP2
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.
January 6, 201015
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.
16January 6, 2010
APPENDIX A
Schematics
This section contains the schematics for the LM3S6965 evaluation board:
LM3S6965 Micro and 10/100 Ethernet on page 18
OLED Display, Switches, and Audio on page 19
USB, Debugger Interfaces, and Power on page 20
JTAG Logic with Auto Mode Detect and Hibernate on page 21
January 6, 201017
1
1
2
2
3
3
4
4
5
5
6
6
DD
CC
BB
AA
Document Number:
RevSheetDate:
of
3/26/20081 3
Drawing Title:
Page Title:
Size
Ethernet Evaluation Board
LM3S6965 Micro and 10/100 Ethernet
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.
24January 6, 2010
Stellaris® LM3S6965 Evaluation Kit
Note: In Table B-2, an asterisk (*) by a signal name (also on the EVB PCB) indicates the signal is
normally used for on-board functions. Normally, you should cut the associated jumper (JP1-15)
before using an assigned signal for external interfacing.
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
FunctionPinPinFunction
VCC12nc
nc34GND
TDI56GND
TMS78GND
TCK910GND
NC1112GND
TDO1314GND
nc1516GND
nc1718GND
nc1920GND
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® LM3S6965
Evaluation Kit documentation CD-ROM and are also available for download at www.ti.com/
stellaris:
StellarisLM3S6965Evaluation Kit Quickst art Guide for appropriate tool kit (s ee “Evaluation Kit
Contents,” on page 10)
(device reset) or TRST (test reset) signals. Both reset functions are
StellarisLM3S6965Read Me First for the CAN Evaluation Kit
StellarisWare® Driver Library, Order number SW-DRL
StellarisWare® Driver Library User’s Manual, publication number SW-DRL-UG
Stellaris LM3S6965 Data Sheet, publication DS-LM3S6965
26January 6, 2010
Stellaris® LM3S6965 Evaluation Kit
Additional references include:
Future Technology Devices Incorporated FT2232C Datasheet
Information on development tool being used:
– RealView MDK web site, www.keil.com/arm/rvmdkkit.asp
– IAR Embedded Workbench web site, www.iar.com
– Code Sourcery GCC development tools web site,
www.codesourcery.com/gnu_toolchains/arm
– Code Red Technologies developm en t to ols we b site, www.code-red-tech.com
– Texas Instruments’ Code Composer Studio™ IDE web site, www.ti.com/ccs
January 6, 201027
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.