LUMINARY MICRO LM3S2965 User Guide

Stellaris® LM3S2965
Evaluation Board
USER’S MANUAL
EK-LM3S2965-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® LM3S2965 Evaluation Board

Table of Contents

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

List of Figures

Figure 1-1. Stellaris LM3S2965 Evaluation Board Layout.................................................................................7
Figure 1-2. Stellaris LM3S2110 CAN Device Board.......................................................................................... 8
Figure 1-3. LM3S2965 Evaluation Board Block Diagram..................................................................................9
Figure 1-4. LM3S2110 CAN Device Board Block Diagram ...............................................................................9
Figure 2-1. ICD Interface Mode .......................................................................................................................18
Figure A-1. LM3S2965 Evaluation Board (sheet 1 of 4) ..... ... ... ....................................... ... .... ... ......................22
Figure A-2. LM3S2965 Evaluation Board (sheet 2 of 4) ..... ... ... ....................................... ... .... ... ......................23
Figure A-3. LM3S2965 Evaluation Board (sheet 3 of 4) ..... ... ... ....................................... ... .... ... ......................24
Figure A-4. LM3S2965 Evaluation Board (sheet 4 of 4) ..... ... ... ....................................... ... .... ... ......................25
Figure A-5. PLD Schematic.............................................................................................................................. 26
Figure B-1. Component Locations ................................................................................................................... 27
Figure B-2. LM3S2965 Evaluation Board Dimensions........................ ... .... ... ...................................... .... ... ...... 28
Figure B-3. LM3S2110 CAN Device Board Dimensions..................................................................................28
Figure B-4. LM3S2110 CAN Device Board Connections.................................................................................30
October 28, 2008 5

List of Tables

Table 2-1. Stellaris LM3S2965 Evaluation Board Hardware Debugging Configurations ... .... ... ... ...... .... ... ... ... 14
Table 2-2. Isolating On-Board Hardware........................................................................................................17
Table B-1. I/O Breakout Pads.........................................................................................................................29
Table B-2. Recommended Connectors................. ... ... .... ... ............................................................................. 29
Table B-3. 20-Pin JTAG/SWD Configuration..................................................................................................31
6 October 28, 2008
USB Device
Interface
CAN bus connector
40 pin I /O
break-out
header
34 pin I /O break-out header
Navigation
Switches
Select swi tch
Stat us LED
Speaker
Debug-out LE D
Reset sw it ch
Power LED
OLED Gr aphics
Display
JTAG/SWD
input and
output
Stellaris
TM
LM3S2965
Microcontroller
In-circuit Debug Interface
CHAPTER 1

Stellaris® LM3S2965 Evaluation Board

The Stellaris® LM3S2965 Evaluation Board is a compact and versatile evaluation platform for the Stellaris LM3S296 5 ARM® Cortex™-M3-based microcontroller. The evaluation kit demonstrates a complete controller area network (CAN) using two Stellaris microcontrollers. The main evaluation board (EVB) configures a Stellaris LM3S2965 microcontroller as a CAN host. A small CAN device board, linked with a ribbon cable, uses a Stellaris LM3S2110 microcontroller. The function of each board is fully configurable in software.
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 for programming or debugging of an external target. The kit is also comp atible with high-perfo rmance external JTAG debuggers.
This evaluation kit enables quick evaluation, prototype development, and creation of application­specific designs for CAN. The kit also includes extensive source-code examples, allowing you to start building C code applications quickly.
Figure 1-1. Stellaris LM3S2965 Evaluation Board Layou t
October 28, 2008 7
Stellaris® LM3S2965 Evaluation Board
User swi tches
CAN bus connector
I/ O break- out headers
Power LED
Reset sw it ch
Stat us LED
JTAG/SWD
input
Stellaris
TM
LM3S2110
Microcontroller
Figure 1-2. Stellaris LM3S2110 CAN Device Board

Features

The Stellaris LM3S2965 Evaluation Kit includes the following features:
Stellaris LM3S2965 microcontroller with fully-integrated CAN moduleStandalone CAN device board using Stellaris LM3S2110 microcontrollerSimple setup; USB cable provides serial communication, debugging, and powerOLED graphics display with 128 x 96 pixel resolutionUser LED, navigation switches, and select pushbuttonsMagnetic speakerLM3S2965 I/O available on labeled break-out padsStandard ARM® 20-pin JTAG debug connector with input and output modesUSB interface for debugging and power supply
8 October 28, 2008

Block Diagram

USB
USB
Stellaris
LM3S2965
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 Ca ble
Reset
+3.3V
Regulator
SWD/JTAG
Mux
UART0
T
a
r
g
e
t
C
a
b
l
e
CAN PHY CAN0CAN
Switch
Nav
Switch
Speaker
LED
LM3S2965 CA N
Evaluation Board
I/O Signal Break-out
I/O Signal Break-out
I/O Sign al Break-out
USB
Stellaris
LM3S2110
Microcontroll er
I/O Signals
Debug
I/O Signal Break-out
I/O Si gnal Break-ou t
JTAG/SWD Input
+3.3V
Regulator
CAN PHY CAN0CAN
Switch
LED
LM3S2110
CAN Device
Board
Reset
Switch
Figure 1-3. LM3S2965 Evaluation Board Block Diagram
Stellaris® LM3S2965 Evaluation Board
Figure 1-4. LM3S2110 CAN Device Board Block Diagram
October 28, 2008 9
Stellaris® LM3S2965 Evaluation Board

Evaluation Kit Contents

The evaluation kit contains everything needed to develop and run applications for Stellaris microcontrollers including:
LM3S2965 evaluation board (EVB)LM3S2110 CAN device boardUSB cable20-pin JTAG/SWD target cable10-pin CAN 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 codeStellaris® 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 : 120 mA typ (fully active, CPU at 50 MHz)
200 mA (fully active, with sound)
Break-out power output: 3.3 Vdc (60 mA max), 12 Vdc (15 mA max)Dimensions: 4.1” x 2.45” x 0.7” (LxWxH)

CAN Device Board Specifications

Board supply voltage: 4.0-5.0 Vdc from CAN connectorBoar d su pp ly curre nt : 40 mA typicalDimensions: 2.45” x 1.60” (LxW)

Features of the LM3S2965 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) 27 interrupt channels with eight priority levels
256-KB single-cycle flash
10 October 28, 2008
Stellaris® LM3S2965 Evaluation Board
64-KB single-cycle SRAM Four general-purpose 32-bit timersController area network (CAN) moduleThree fully programmable 16C550-type UARTsFour 10-bit channels (inputs) when used as single-ended inputsThree independent integrated analog comparatorsTwo I
2
C modules
Three PWM generator blocks
One 16-bit counterTwo comparat or sOne PWM generatorOne dead-band generator
Two QEI modules with position integrator for tracking encoder positionTwo synchronous serial interfaces (SSIs)3 to 56 GPIOs, depending on user configuration On-chip low drop-out (LDO) voltage regulator
October 28, 2008 11
Loading...
+ 23 hidden pages