LUMINARY MICRO LM3S1968 User Manual

Stellaris® LM3S1968
Evaluation Board
USER’S MANUAL
EK-LM3S1968-02 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 INCLUDI NG 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® LM3S1968 Evaluation Board

Table of Contents

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

List of Tables

Table 2-1. Stellaris LM3S1968 Evaluation Board Hardware Debugging Configurations ... .... ... ... ...... .... ... ... ... 12
Table 2-2. Isolating On-Board Hardware........................................................................................................15
Table B-1. I/O Breakout Pads.........................................................................................................................27
Table B-2. Recommended Connectors................. ... ... .... ... ............................................................................. 28
Table B-3. 20-Pin JTAG/SWD Configuration..................................................................................................28
4 October 28, 2008
Stellaris® LM3S1968 Evaluation Board

List of Figures

Figure 1-1. Stellaris LM3S1968 Evaluation Board Layout.................................................................................7
Figure 1-2. LM3S1968 Evaluation Board Block Diagram..................................................................................8
Figure 2-1. ICD Interface Mode .......................................................................................................................16
Figure A-1. LM3S1968 Evaluation Board (sheet 1 of 4) ..... ... ... ....................................... ... .... ... ......................20
Figure A-2. LM3S1968 Evaluation Board (sheet 2 of 4) ..... ... ... ....................................... ... .... ... ......................21
Figure A-3. LM3S1968 Evaluation Board (sheet 3 of 4) ..... ... ... ....................................... ... .... ... ......................22
Figure A-4. LM3S1968 Evaluation Board (sheet 4 of 4) ..... ... ... ....................................... ... .... ... ......................23
Figure A-5. PLD schematic ..............................................................................................................................24
Figure B-1. Component Locations ................................................................................................................... 25
Figure B-2. LM3S1968 Evaluation Board Dimensions........................ ... .... ... ...................................... .... ... ...... 26
October 28, 2008 5
6 October 28, 2008
USB Device Interface
Lithium coin c ell
66 pin I/O break-out header
Navigation
Switches
Select switch
St at us LED s
Speaker
Reset switch
Power LED
OLED Graphics
Display
JTAG/SWD i nput and output
Stellaris
TM
LM3S1968
Microcontroller
In-circuit D ebug Interface
Hi bernat e LE D
CHAPTER 1

Stellaris® LM3S1968 Evaluation Board

The Stellaris® LM3S1968 Evaluation Board is a compact and versatile evaluation platform for the Stellaris LM3S1968 ARM® Cortex™-M3-based microcontrolle r. The evaluation kit design highlights the LM3S1968 microcontroller's peripherals and its Hibernation module.
A 3V lithium battery, included in the kit, supplies power to the Hibernation module and maintains data and real-time clock information for ab out two years in the absence of USB power.
You can use the EVB either as an evaluation platform or as a low-cost in-circuit debug interface (ICDI). In debug interface mode, the on-board microcontroller is disabled, allowing connection of the debug signals to an external Stellaris microcontroller target. The kit is also compatible with high-performance external JTAG debuggers.
This evaluation kit enables quick evaluation, prototype development, and creation of application-specific designs using the LM3S1968's broad range of peripherals. The kit also includes extensive source-code examples, allowing you to start building C code applications quickly.
Figure 1-1. Stellaris LM3S1968 Evaluation Board Layou t
October 28, 2008 7
Stellaris® LM3S1968 Evaluation Board
USB
Stellaris
LM3S1968
Microcontroller
Dual USB
Device
Controller
I
/
O
S
i
g
n
a
l
s
OLED Display
128 x 96
Debug
I/O Signal Break-out
JTAG/SWD
Output/Input
USB Cable
Reset
SWD/JTAG Mux
UART0
T
a
r
g
e
t
C
a
b
l
e
Debug
Select
Switch
Nav
Switch
Speaker
LED
LM3S1968
Evaluation Board
I/O Signal Break-out
I/O Signal Break-out
I/O Signal Break-out
3V Coin Cell
+3V to
debug
interface
+3V to MCU
+3.3V
Regulator
+3.3V
Regulator
Amp
and
peripherals

Features

The Stellaris LM3S1968 Evaluation Kit includes the following features:
Stellaris LM3S1968 microcontr olle rSimple setup; USB cable provides serial communication, debugging, and powerOLED graphics display with 128 x 96 pixel resolutionUser LED, navigation switches, and select pushbuttons8
Ω magnetic speaker with class D amplifier
Internal 3 V battery and support for on-chip hibernation moduleUSB interface for debugging and power supplyStandard ARM® 20-pin JTAG debug connector with input and output modesLM3S1968 I/O available on labeled break-out pads

Block Diagram

Figure 1-2. LM3S1968 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:
LM3S1968 evaluation board (EVB)USB cable20-pin JTAG/SWD target cableCD containing:
A supported version of one of the following:
Keil™ RealView® Microcontroller Development Kit (MDK-ARM)
IAR Embedded Workbench
Code Sourcery GCC development tools
Code Red Technolog ies development tools
Complete documentationQuickstart guideQuickstart source code
Stellaris® LM3S1968 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 : 130 mA typ (fully active, CPU at 50 MHz)
17 uA (hibernate mode, operating from battery)
Break-out power output: 3.3 Vdc (60 mA max), 15 Vdc (15 mA max)Speaker power: 0.3 W maxDimensions: 3.20” x 3.50” x 0.5” (LxWxH)RoHS status: Compliant

Features of the LM3S1968 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 timersThree fully programmable 16C550-type UARTsEight 10-bit ADC channels (inputs) when used as single-ended inputs
October 28, 2008 9
Stellaris® LM3S1968 Evaluation Board
Three independent integrated analog comparatorsTwo I
2
C 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 position5 to 52 GPIOs, depending on user configurationOn-chip low drop-out (LDO) voltage regulatorHibernation module
10 October 28, 2008
Loading...
+ 22 hidden pages