Professional Documents
Culture Documents
Board
User ’s Manual
Texas Instruments
108 Wild Basin, Suite 350
Austin, TX 78746
http://www.ti.com/stellaris
List of Figures
Figure 1-1. Stellaris® LM4F120 LaunchPad Evaluation Board ......................................................................... 6
Figure 2-1. Stellaris® LaunchPad Evaluation Board Block Diagram ................................................................. 9
Figure B-1. Stellaris® LaunchPad Component Locations (Top View) ............................................................. 21
Figure B-2. Stellaris® LaunchPad Dimensions)............................................................................................... 22
Kit Contents
The Stellaris® LM4F120 LaunchPad Evaluation Kit comes with the following:
Stellaris® LaunchPad Evaluation Board (EK-LM4F120XL)
On-board Stellaris® In-Circuit Debug Interface (ICDI)
USB Micro-B plug to USB-A plug cable
README First document
Features
The Stellaris® LaunchPad includes the following features:
Stellaris® LM4F120H5QR microcontroller
USB Micro-B connector for USB Device
RGB user LED
2 user switches (application/wake)
Available I/O brought out to headers on a 0.1" grid
On-board Stellaris® In-Circuit Debug Interface (ICDI)
Switch-selectable power sources
– ICDI
– USB Device
Reset switch
Preloaded RGB quickstart application
Supported by StellarisWare® software including the USB library and the peripheral driver
library
BoosterPacks
Stellaris® LaunchPad provides an easy and inexpensive way to develop applications with the
Stellaris® LM4F120H5QR microcontroller. Stellaris® BoosterPacks and MSP430™ BoosterPacks
expand the available peripherals and potential applications of the Stellaris® LaunchPad.
BoosterPacks can be used with the Stellaris® LaunchPad or just use the on-board
LM4F120H5QR microcontroller as its processor. See“(Microcontroller, USB, Expansion, Buttons,
and LED (Schematic on page 18)” on page 10 in Chapter 2 for more information.
Build your own BoosterPack and take advantage of Texas Instruments’ web site to help promote it!
From sharing a new idea or project, to designing, manufacturing, and selling your own
BoosterPack kit, TI offers a variety of avenues for you to reach potential customers with your
solutions.
Specifications
Table 1-1 shows the specifications for the Stellaris® LaunchPad.
Parameter Value
Board supply voltage 4.75–5.25 VDC from one of the following sources:
Debugger (ICDI) USB Micro-B cable (connected to a PC)
USB Device Micro-B cable (connected to a PC)
JTAG/SWD
Stellaris ICDI
LaunchPad-Specific
Expansion Headers
BoosterPack XL
UART0
Stellaris®
GPIO I/O
LaunchPad-Compatible
Expansion Headers
MSP430™
GPIO I/O
USB Device
USB
ICDI
Connector
Device
GPIO
Power Select
Switch RGB LED
VDD
Breakout Pads
Functional Description
(Microcontroller, USB, Expansion, Buttons, and LED (Schematic on
page 18)
Microcontroller
The Stellaris LM4F120H5QR is a 32-bit ARM® Cortex™-M4F-based microcontroller with 256-KB
Flash memory, 32-KB SRAM, 80-MHz operation, USB Device, Hibernation module, and a wide
range of other peripherals. See the LM4F120H5QR microcontroller data sheet (order number
DS-LM4F120H5QR) for complete device details.
Most of the microcontroller signals are routed to 0.1" pitch headers. An internal multiplexer allows
different peripheral functions to be assigned to each of these GPIO pads. When adding external
circuitry, consider the additional load on the evaluation board’s power rails.
The LM4F120H5QR microcontroller is factory-programmed with a quickstart demo program. The
quickstart program resides in on-chip Flash memory and runs each time power is applied, unless
the quickstart application has been replaced with a user program.
USB Device
The Stellaris® LaunchPad includes a USB Micro-B connector to allow for USB 2.0 Device
operation. The signals shown in Table 2-1 are used for USB Device.
PD4 USB0DM D-
PD5 USB0DP D+
When connected as a USB Device, the evaluation board can be powered from either the Stellaris®
ICDI or the USB Device connectors. The user can select the power source by moving the POWER
SELECT switch (SW3) to the Device position. See the Power Management schematic on page 19
1.01 3.3 V
2.01 GND
2.05 RESET
a
2.06 PB7 4 - - SSI2Tx - T0CCP1 - - -
2.07b PB6 1 - - SSI2Rx - T0CCP0 - - -
3.01 5.0V
3.02 GND
a. Not recommended for BoosterPack use. This signal tied to on-board function via 0-Ω resistor.
a. Not recommended for BoosterPack use. This signal tied to on-board function via 0-Ω resistor.
Hibernate
The Stellaris® LaunchPad provides an external 32.768 kHz crystal (Y1) as the clock source for the
LM4F120H5QR’s Hibernation module clock source. The current draw while in Hibernate mode can
be measured by making some minor adjustments to the Stellaris® LaunchPad. This is explained in
more detail later in this section.
The conditions that can generate a wake signal to the Hibernate module on the Stellaris®
LaunchPad are waking on a Real-time Clock (RTC) match and/or waking on assertion of the WAKE
pin.1 The second user switch (SW2) is connected to the WAKE pin on the microcontroller. The
WAKE pin, as well as the VDD and HIB pins, are easily accessible through breakout pads on the
Stellaris® LaunchPad. See Appendix A, “Schematics” on page 22 for details.
There is no external battery source on the Stellaris® LaunchPad Hibernation module, which
means the VDD3ON power control mechanism should be used. This mechanism uses internal
switches to remove power from the Cortex-M4F processor as well as to most analog and digital
functions while retaining I/O pin power.
To measure the Hibernation mode current or the Run mode current, the VDD jumper that connects
the 3.3 V pin and the MCU_PWR pin must be removed. See Appendix A, “Schematics” on
page 17 for details on these pins and component locations. An ammeter should then be placed
between the 3.3 V pin and the MCU_PWR pin to measure IDD (or IHIB_VDD3ON). The
LM4F120H5QR microcontroller uses VDD as its power source during VDD3ON Hibernation mode,
so IDD is the Hibernation mode (VDD3ON mode) current. This measurement can also be taken
during Run mode, which measures IDD the microcontroller running current.
Clocking
The Stellaris® LaunchPad uses a 16.0-MHz crystal (Y2) to complete the LM4F120H5QR
microcontroller's main internal clock circuit. An internal PLL, configured in software, multiples this
clock to higher frequencies for core and peripheral timing.
The Hibernation module is clocked from an external 32.768 kHz crystal (Y1).
1. If the board does not turn on when you connect it to a power source, the microcontroller might be in Hibernate mode (depending
on the programmed application). You must satisfy one of the programmed wake conditions and connect the power to bring the
microcontroller out of Hibernate mode and turn on the board.
Reset
The RESET signal into the LM4F120H5QR microcontroller connects to the RESET switch and to
the Stellaris® ICDI circuit for a debugger-controlled reset.
External reset is asserted (active low) under any of three conditions:
Power-on reset (filtered by an R-C network)
RESET switch held down
By the Stellaris® ICDI circuit when instructed by the debugger (this capability is optional, and
may not be supported by all debuggers)
PC0 TCK/SWCLK
PC1 TMS/SWDIO
PC2 TDI
PC3 TDO/SWO
PA0 U0RX
PA1 U0TX
Software Description
The StellarisWare® software provided with the Stellaris® LaunchPad provides access to all of the
peripheral devices supplied in the design. The Stellaris® Peripheral Driver Library is used to
operate the on-chip peripherals as part of StellarisWare®.
StellarisWare® includes a set of example applications that use the StellarisWare® Peripheral
Driver Library. These applications demonstrate the capabilities of the LM4F120H5QR
microcontroller, as well as provide a starting point for the development of the final application for
use on the Stellaris® LaunchPad evaluation board.
Source Code
The complete source code including the source code installation instructions are provided at
www.ti.com/stellaris-launchpad. The source code and binary files are installed in the DriverLib
tree.
Tool Options
The source code installation includes directories containing projects and/or makefiles for the
following tool-chains:
Keil ARM RealView® Microcontroller Development System
IAR Embedded Workbench for ARM
Sourcery CodeBench
Texas Instruments' Code Composer Studio™ IDE
Download evaluation versions of these tools from www.ti.com/stellaris. Due to code size
restrictions, the evaluation tools may not build all example programs. A full license is necessary to
re-build or debug all examples.
Instructions on installing and using each of the evaluation tools can be found in the Quickstart
guides (for example, Quickstart-Keil, Quickstart-IAR) which are available for download from the
evaluation kit section of our web site at www.ti.com/stellaris.
For detailed information on using the tools, see the documentation included in the tool chain
installation or visit the web site of the tools supplier.
Follow these steps to program example applications into the Stellaris® LaunchPad evaluation
board using the Stellaris® ICDI:
1. Install LM Flash Programmer on a Windows PC.
2. Switch the POWER SELECT switch to the right for Debug mode.
3. Connect the USB-A cable plug to an available port on the PC and the Micro-B plug to the
'Debug' USB port on the board.
4. Verify that the POWER LED D4 on the board is lit.
5. Run LM Flash Programmer.
6. In the Configuration tab, use the Quick Set control to select the EK-LM4F120XL evaluation
board.
7. Move to the Program tab and click the Browse button. Navigate to the example applications
directory (the default location is “C:\StellarisWare\boards\ek-lm4f120xl\”).
8. Each example application has its own directory. Navigate to the example directory that you
want to load and then into the directory which contains the binary (*.bin) files. Select the binary
file and click Open.
9. Set the “Erase Method” to “Erase Necessary Pages,” check the “Verify After Program” box,
and check “Reset MCU After Program”.
10. Click the Program button to start the Erase, Download, and Verify process.
Program execution starts once the Verify process is complete.
DEBUG/VCOM
U1-A GPIO J9
PA0/U0RX_VCP_TXD 17 45 PB0
PA0 PB0 CON-USB-MICROB
GPIO PA1/U0TX_VCP_RXD 18 46 PB1
PA1 PB1
PA2 19 47 PB2
PA2 PB2 0
PA3 20 48 PB3
PA3 PB3
PA4 21 58 PB4 9 7 R14
PA4 PB4
D+
VB
PA5 22 57 PB5 8 6
D-
ID
PA5 PB5
PA6 23 1 PB6
PA6 PB6
PA7 24 4 PB7 +USB_VBUS
1
PA7 PB7
+USB_VBUS
DEBUG_PC0/TCK/SWCLK 52 61 PD0
PC0 PD0
DEBUG_PC1/TMS/SWDIO 51 62 PD1
PC1 PD1
DEBUG_PC2/TDI 50 63 PD2
PC2 PD2
DEBUG_PC3/TDO/SWO 49 64 PD3
PC3 PD3
PC4 16 43
PC4 PD4 USB_DM
10k
PC5 15 44
R6
PC5 PD5 USB_DP
PC6 14 53 PD6
PC6 PD6
PC7 13 10 PD7
PC7 PD7 0 USB_DP
PE0 9 28 R15
PE0 PF0 USB_DM
PE1 8
PE1 PF1
29 PF0 J1 and J2 provide compatability with
7 30
1M
PE2 PF1
R7
PE2 PF2
PE3 6
PE3 PF3
31 PF2 Booster Packs designed for MSP430 Launchpad
PE4 59
PE4 PF4
5 PF3 Used for VBUS detection when
PE5 60
PE5 PF4 J3 and J4 sit 100 mils inside J1 and J2 to provide
configured as a self-powered USB Device
LM4F120 extended functions specific to this board.
See the board user manual for complete table of pin mux functions
GPIO
0 R1 +3.3V
0 R2 USR_SW2 J1 J2
0 R11 LED_R
LED_B 1 1
0 R12 2 PB5 PB2 2
R13 LED_G 0
0 3 PB0 PE0 3
USR_SW1 PD0 PB6
R9 4 PB1 PF0 4
0 5 PE4 5
TARGETRST
6 PE5 PB7 6
PD1 PB7
R10 7 PB4 PB6 7
8 PA5 PA4 8
9 PA6 PA3 9
10 PA7 PA2 10
CON_110_100 CON_110_100
+VBUS
SW1
USR_SW1
J3 J4
R3
1 PF2 1
330 2 PF3 2
C 3 PD0 PB3 3
4 PD1 PC4 4
Q1 PD2 PC5
LED_R DTC114EET1G 5 5
B 6 PD3 PC6 6
7 PE1 PC7 7
8 PE2 PD6 8
E +VBUS 9 PE3 PD7 9
SW2 10 PF1 PF4 10
D1 USR_SW2
CON_110_100 CON_110_100
2 R
R5
3 G A 1 R8
330 4 B
C WAKE
330
RGB_LED_0404_COMA
Q3
LED_G DTC114EET1G
B
+MCU_PWR
R28 H20
RESET 10k
RESET H24 and H25 installed as a single 1x2
+USB_VBUS
TARGETRST header on 100 mil center with jumper
H18
+ICDI_VBUS +MCU_PWR
+VBUS C13
Power Select 0.1uF H21 H24 H25
H19 SW3 WAKE
OMIT +3.3V
R31
U1-B
1M
1
0
2 38 32
RESET WAKE
3 R30
H1
41 33
OSC1 HIB HIB OMIT
6 40
OSC0
5 37
VBAT
4 34
R26
0
XOSC0
35 2
GNDX VDDA
36
Y2 XOSC1
24pF
24pF
11
C28
C29
16MHz VDD
26
VDD C3 C4 C5 C6 C8 C7
3 42
GNDA VDD
54
VDD 0.01uF 0.1uF 0.01uF 0.1uF 0.01uF 1.0uF
12
GND
C31 C32 27
GND
39 25
H2
10pF 10pF GND VDDC +MCU_VDDC
55 56
+3.3V GND VDDC
32.768Khz C10 C11 C12
+VBUS Y1 LM4F120 0.1uF 0.1uF C22
H17 H23 +3.3V 400mA Regulator H22 2.2uF
1.0uF
U8
TPS73633DRB
8 1
IN OUT
5 3
R27
330
EN NR
C14 GND PAD C18
0.01uF
4
1.0uF
D4
H11 H12
Green
H13 H10
+VBUS
+3.3V
R17
10k
D2
TLV803 A1
3 TARGETRST
RESET 2 A2
3 K
VDD ICDI_RST
GND 1
U4
Power Management
FILENAME PART NO. SHEET
EK-LM4F120XL Rev A.sch EK-LM4F120XL 2 OF 3
Stellaris In-Circuit Debug Interface (ICDI)
PA1/U0TX_VCP_RXD
PA0/U0RX_VCP_TXD
+MCU_PWR
6
7
+3.3V 51 62
PC1 PD1
50 63
PC2 PD2 VB
49 64 1
H15
CON-USB-MICROB
PC3 PD3
16 43
PC4 PD4 D-
15 44 2
PC5 PD5
14 53
J11
PC6 PD6 DEBUG_PC3/TDO/SWO D+ 0
R21 R22 13 10 3
10k 10k PC7 PD7
ID R16
9 28 4
PE0 PF0
8 29
ICDI_TCK PE1 PF1 DEBUG_PC1/TMS/SWDIO G
7 30 5
ICDI_TMS PE2 PF2 DEBUG_PC0/TCK/SWCLK
6 31
8
9
ICDI_TDI PE3 PF3
59 5
ICDI_TDO PE4 PF4
60
PE5
LM4F120
+3.3V
R19
10k
ICDI_RST
C34
0.1uF +3.3V ICDI JTAG
OMIT
U2-B
J5
38 32
RESET WAKE
5 6
41 33 4 7 ICDI_TDO
OSC1 HIB ICDI_TCK
40 3 8
OSC0 ICDI_TDI
37 2 9
VBAT +3.3V ICDI_TMS
34 1 10
R20
XOSC0 ICDI_RST
35 2
GNDX VDDA
36
Y5 XOSC1
11 TC2050-IDC-NL
16MHz VDD
26
VDD C15 C17 C19 C20 C21 C1
3 42
GNDA VDD
54
VDD 0.01uF 0.1uF 0.01uF 0.1uF 0.01uF 1.0uF
12
GND
C25 C26 27
GND
10pF 10pF 39 25
GND VDDC
55 56
GND VDDC
C23 C24 C2
LM4F120 0.1uF 0.1uF C9
2.2uF
1.0uF
DESIGNER REVISION DATE
1 C1-2 C7 C12 C14 5 Capacitor, 0402, X5R, 10V, Low ESR Johanson 100R07X105KV4T
Dielectrics Inc
5 C4 C6 C10-11 C17 8 Capacitor, 0.1uF 16V, 10% 0402 X7R Taiyo Yuden EMK105B7104KV-F
C20 C23-24
Lite-On LTST-C171GKT
15 R1-2 R9-16 R20 12 Resistor, 0 OHM 1/10W 0603 SMD Panasonic ERJ-3GEY0R00V
R26
16 R3-5 R8 R27 5 Resistor, 330 ohm, 1/10W, 5%, 0402 Yageo RC0402FR-07330RL
17 R6 R17-19 R21-23 8 Resistor, 10k ohm, 1/10W, 5%, 0402 Yageo RC0402FR-0710KL
R28 Thick Film
19 RESET SW1 SW2 3 Switch, Tact 6mm SMT, 160gf Omron B3S-1000
Abracon ABM3-16.000MHZ-B2-
T
26 C31 C34 2 Capacitor, 0.1uF 16V, 10% 0402 X7R Taiyo Yuden EMK105B7104KV-F
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2012, Texas Instruments Incorporated