Download EK-LM3S3748 - Texas Instruments

Transcript
Stellaris® LM3S3748 Evaluation Kit
User ’s Manual
EK-LM3S374 8-05
Co pyrigh t © 2 008– 201 0 Te xas In strumen ts
Copyright
Copyright © 2008–2010 Texas Instruments, Inc. All rights reserved. Stellaris and StellarisWare are registered trademarks of Texas Instruments.
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.
Texas Instruments
108 Wild Basin, Suite 350
Austin, TX 78746
http://www.ti.com/stellaris
2
January 6, 2010
Stellaris® LM3S3748 Evaluation Kit
Table of Contents
Chapter 1: Stellaris® LM3S3748 Evaluation Board ....................................................................................... 9
Features............................................................................................................................................................ 10
Block Diagram .................................................................................................................................................. 10
Kit Contents ...................................................................................................................................................... 11
Evaluation Board Specifications ................................................................................................................... 12
Microcontroller Features ............................................................................................................................... 12
Chapter 2: Hardware Description .................................................................................................................. 15
LM3S3748 Microcontroller Overview ................................................................................................................ 15
Clocking ........................................................................................................................................................ 15
Reset............................................................................................................................................................. 15
Power Supplies ............................................................................................................................................. 15
USB............................................................................................................................................................... 16
Debugging ........................................................................................................................................................ 17
Debugging Modes......................................................................................................................................... 17
Debug In Considerations .............................................................................................................................. 17
Debug USB ................................................................................................................................................... 18
USB to JTAG/SWD ....................................................................................................................................... 18
Virtual COM Port........................................................................................................................................... 18
Serial Wire Out.............................................................................................................................................. 18
Color LCD ......................................................................................................................................................... 19
Features........................................................................................................................................................ 19
Control Interface ........................................................................................................................................... 19
Backlight ....................................................................................................................................................... 19
Power............................................................................................................................................................ 20
Oscilloscope ..................................................................................................................................................... 20
Voltage Reference ........................................................................................................................................ 20
Differential Inputs .......................................................................................................................................... 20
Test Signals .................................................................................................................................................. 21
Optimizing the Oscilloscope.......................................................................................................................... 21
Other Peripherals.............................................................................................................................................. 22
Speaker......................................................................................................................................................... 22
Navigation Switch ......................................................................................................................................... 23
Status LED.................................................................................................................................................... 23
Interfacing to the EVB....................................................................................................................................... 23
Bypassing Peripherals ...................................................................................................................................... 23
In-Circuit Debugger Interface............................................................................................................................ 23
Appendix A: Schematics................................................................................................................................ 25
Appendix B: PCB ............................................................................................................................................ 31
Component Locations....................................................................................................................................... 31
Evaluation Board Dimensions........................................................................................................................... 33
Appendix C: Bill of Materials (BOM) ............................................................................................................. 35
Appendix D: Connection Details ................................................................................................................... 39
I/O Breakout Pads ............................................................................................................................................ 39
January 6, 2010
3
DC Power Jack ................................................................................................................................................. 40
ARM Target Pinout ........................................................................................................................................... 40
Oscilloscope Header Pinout ............................................................................................................................. 40
Appendix E: References ................................................................................................................................ 43
4
January 6, 2010
Stellaris® LM3S3748 Evaluation Kit
List of Figures
Figure 1-1.
Figure 1-2.
Figure 2-1.
Figure 2-2.
Figure 2-3.
Figure B-1.
Figure B-2.
Figure D-1.
LM3S3748 Evaluation Board........................................................................................................... 9
LM3S3748 EVB Block Diagram .................................................................................................... 11
Oscilloscope Acceptable Measurement Range............................................................................. 21
Oscilloscope Connections ............................................................................................................. 21
ICD Interface Mode ....................................................................................................................... 24
LM3S3748 Evaluation Board Component Locations..................................................................... 32
LM3S3748 Evaluation Board Dimensions..................................................................................... 33
DC Power Jack.............................................................................................................................. 40
January 6, 2010
5
6
January 6, 2010
Stellaris® LM3S3748 Evaluation Kit
List of Tables
Table 2-1.
Table 2-2.
Table 2-3.
Table 2-4.
Table 2-5.
Table 2-6.
Table 2-7.
Table 2-8.
Table C-1.
Table D-1.
Table D-2.
Table D-3.
Board Power Options .................................................................................................................... 16
USB-Related Signals..................................................................................................................... 16
LM3S3748 EVB Hardware Debugging Configurations.................................................................. 17
Debug-Related Signals ................................................................................................................. 18
LCD-Related Signals..................................................................................................................... 19
Oscilloscope Electrical Specifications ........................................................................................... 20
Speaker-Related Signals............................................................................................................... 22
Navigation Switch-Related Signals ............................................................................................... 23
LM3S3748 Bill of Materials............................................................................................................ 35
I/O Breakout Pads ......................................................................................................................... 39
ARM Target Pinout........................................................................................................................ 40
Oscilloscope Header Pinout .......................................................................................................... 40
January 6, 2010
7
8
January 6, 2010
C H A P T E R 1
Stellaris® LM3S3748 Evaluation Board
The Stellaris® LM3S3748 Evaluation Board (EVB) is a compact and versatile evaluation platform
for the Stellaris LM3S3748 ARM® Cortex™-M3-based microcontroller. The evaluation board
design highlights the LM3S3748 microcontroller's key features including USB 2.0 full-speed
(12 Mbps) controller, Analog-to-Digital Converter (ADC), and serial interfaces.
The LM3S3748 EVB has connectors for both embedded USB Host and USB Device operation;
allowing a range of USB application options to be evaluated. In USB Device mode, a small switch
selects between bus-powered and self-powered options.
Four ADC signals are paired as two differential channels to implement a 1MS/s oscilloscope
application on the LCD panel. The oscilloscope feature set includes USB host and device
connectivity as well as SD card support.
The LM3S3748 EVB may be used 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 LM3S3748 Evaluation Kit enables rapid evaluation and prototyping of LM3S3748
microcontroller designs. The kit also includes extensive example applications and complete
source code. Figure 1-1 shows the LM3S3748 EVB in detail.
Figure 1-1.
LM3S3748 Evaluation Board
Color LCD Panel
MicroSD card slot
Oscilloscope terminals
USB Device Connector
USB Host Connector
Reset switch
USB interface
for Debugger
5 VDC supply
input
USB Power
Mode Switch
Stellaris
LM3S3748
Microcontroller
JTAG/SWD
input and
output
34-pin I/O
break -out
header
34-pin I/O break out header
January 6, 2010
Status LED
Speaker
Navigation switch
with press-to-select
9
Features
Features
The Stellaris LM3S3748 Evaluation Board includes the following features:
„
Stellaris LM3S3748 microcontroller
„
2-channel oscilloscope demo application
„
USB Host and Device connectors
„
Bus-powered or self-powered
„
Simple setup; USB cable provides serial communication, debugging, and power
„
Color LCD graphics display with 128 x 128 pixel resolution
„
User LED, and navigation switch with press to select
„
8Ω Magnetic speaker with amplifier
„
microSD card slot
„
USB interface for debugging and power supply
„
DC jack for optional 5 V power supply
„
Standard ARM® 20-pin JTAG debug connector with input and output modes
„
LM3S3748 microcontroller I/O available on labeled break-out pads
Block Diagram
Figure 1-2 on page 11 shows the LM3S3748 EVB block diagram.
10
January 6, 2010
Stellaris® LM3S3748 Evaluation Kit
LM3S3748 EVB Block Diagram
Target
Cable
Figure 1-2.
I/O Signal Break-out
LCD Display
CSTN 128 x 128
Debug
I/O signals
Debug
USB USB
SWD/JTAG Mux
Dual
USB
Device
Controller
Debug
I/O Signal Break-out
JTAG/SWD
Output/Input
UART0
Device
USBMode
USB
Type A
connector
Host
USB
Mode
+5 V host supply
+3.3 V
Regulator
USB Switch
LED
USB
Mini-B
connector
Stellaris
Dust Devil
Microcontroller
USB
Switch
Nav
Switch
‘Scope
CH1
Input
1.5 V
reference
Control
‘Scope
CH2
Input
Reset
USB Host /Device Evaluation Board
Kit Contents
The Stellaris LM3S3748 Evaluation Kit contains everything needed to develop and run USB
applications using Stellaris microcontrollers including:
„
LM3S3748 Evaluation Board (EVB)
„
USB cables (1 each for device and debugger use)
„
USB flash memory stick
„
Four oscilloscope test leads
„
20-pin JTAG/SWD target cable
„
CD containing:
– A supported version of one of the following (including a toolchain-specific Quickstart
guide):
January 6, 2010
•
Keil™ RealView® Microcontroller Development Kit (MDK-ARM)
•
IAR Embedded Workbench
11
Kit Contents
•
Code Sourcery GCC development tools
•
Code Red Technologies development tools
•
Texas Instruments’ Code Composer Studio™ IDE
– Complete documentation
– Quickstart application source code
– Stellaris® Firmware Development Package with example source code
Evaluation Board Specifications
„
Board supply voltage:
4.85–5.25 Vdc from one of the following sources:
– Debugger USB cable (connected to a PC)
– Device USB cable (connected to a PC)
– DC power jack
„
Board supply current:
130 mA typ (fully active, CPU at 50 MHz, no audio)
„
Break-out power output:
3.3 Vdc (100 mA max)
„
Speaker power:
0.3 W max
„
Dimensions:
4.65” x 2.45” x 0.33” (L x W x H)
„
RoHS status:
Compliant
When the EVB is used in USB Host mode, the host connector is capable of supplying power to the
connected USB device. The available supply current is limited to ~250 mA unless the EVB is
powered from an external 5 V supply with a ≥ 600 mA rating.
Microcontroller Features
The LM3S3748 microcontroller includes the following product features:
„
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)
– 37 interrupt channels with eight priority levels
12
„
128 KB single-cycle flash
„
64 KB single-cycle SRAM
„
Pre-programmed ROM
„
DMA controller
„
Two SSI modules
„
One USB Host controller
„
Four general-purpose 32-bit timers
„
Two fully programmable 16C550-type UARTs
„
Eight 10-bit ADC channels (inputs) when used as single-ended inputs
January 6, 2010
Stellaris® LM3S3748 Evaluation Kit
„
Two integrated analog comparators
„
Two I2C modules
„
Four PWM generator blocks
„
One QEI module with position integrator for tracking encoder position
„
3 to 61 GPIOs, depending on user configuration
„
On-chip low drop-out (LDO) voltage regulator
„
Hibernation module
January 6, 2010
13
Kit Contents
14
January 6, 2010
C H A P T E R 2
Hardware Description
In addition to a microcontroller, the Stellaris® LM3S3748 evaluation board includes a range of
useful peripheral features and an integrated in-circuit debug interface (ICDI). This chapter
describes how these peripherals operate and interface to the microcontroller.
LM3S3748 Microcontroller Overview
The heart of the EVB is a Stellaris LM3S3748 ARM® Cortex™-M3-based microcontroller. The
LM3S3748 microcontroller offers 128-KB flash memory, 64-KB SRAM memory, 50-MHz operation,
USB, and a wide range of peripherals. See the LM3S3748 microcontroller data sheet (order
number DS-LM3S3748) for complete device details.
The LM3S3748 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 has been replaced with a user program.
Clocking
The EVB uses an 8.0-MHz crystal to complete the LM3S3748 microcontroller's main internal clock
circuit. An internal PLL, configured in software, multiplies this clock to 50 MHz for core and
peripheral timing.
The real-time clock oscillator is part of the microcontroller's Hibernation module and uses a
4.194304 MHz crystal for timing. This frequency divides by 128 to generate a 32.7680 kHz
standard timing frequency.
Reset
The LM3S3748 microcontroller shares its external reset input with the LCD display. In the EVB,
reset sources are gated through the CPLD, though in a typical application, a simple wired-OR
arrangement, with a resistor to +3.3 V, is sufficient.
External reset is asserted (active low) under any one of these conditions:
„
Power-on reset
„
Reset push switch SW1 held down
„
By the USB device controller (U5 FT2232) when instructed by the debugger
Power Supplies
The EVB has two main power rails. A +3.3 V supply powers the microcontroller and most other
circuitry. A +5 V supply is used by the Host USB port and In-circuit Debug Interface (ICDI) USB
controller. A low drop-out (LDO) regulator (U8) converts the +5 V power rail to +3.3 V. Both rails
are routed to pads on the I/O break-out headers and may be used to power external circuits.
January 6, 2010
15
LM3S3748 Microcontroller Overview
EVB power can be supplied through three different connectors as shown in Table 2-1.
Table 2-1. Board Power Options
Reference
Main Features
Powered?
USB Host Feature
Powered
J5
Yes
Yes
USB Device connector
J6
Yesa
No
Debug Interface USB
connector
J7
Yes
Yes
Power Source
DC Jack
a. To power the EVB, the USB power switch (SW3) must be in the “BUS” position.
Only one power source should be connected to the EVB. If the USB Power switch (SW3) is in the
BUS position, the board should be powered from J6 (USB Device connector). If the USB Power
switch is in the SELF position, the board should be powered from J7 (Debug USB connector) or
from J5 (DC power jack). Do not apply power to J5 and J7 at the same time.
The current and voltage available on the USB host port is a function of the EVB power source. If
board power is provided by a USB cable, the host port power is limited to 500 mA minus the EVB
power requirements. Use the DC jack to provide power from a +5 V source if a full 500 mA USB
host supply is necessary on J7.
USB
The LM3S3748's full-speed USB controller supports both Host and Device configurations. In Host
mode, the EVB acts as a host for USB devices connected to J1. In Device mode, the EVB acts as
a device and can be connected to another USB host, such as a PC.
The EVB has dedicated USB Host and USB Device connectors. A multiplexer (U9), controlled by a
GPIO pin (PH2/PB0), determines which port is active by switching D+ and D- signals. Each port
has additional ESD protection diode arrays (D9, D10) for up to 15 kV of electrostatic discharge
(ESD) protection.
Table 2-2. USB-Related Signals
Microcontroller Pin
EVB Function
To isolate, remove...
Pin 70 USBDM
USB Data-
-
Pin 71 USBDP
USB Data+
-
Pin 73 USBRBIAS
USB bias resistor
-
Pin 66 PB0
Input (see Rev A0 errata)
-
Pin 67 PB1
Input (see Rev A0 errata)
-
Pin 84 PH2
USB Host/Device mux control
Pin 83 PH3/USB0EPEN
Host power enable (active high)
-
Pin 76 PH4/USB0PFLT
Host power fault (active low)
-
JP33
U7, a fault-protected switch, controls and monitors power to the USB Host port. USB0EPEN, the
control signal from the microcontroller, has a pull-down resistor to ensure Host-port power remains
16
January 6, 2010
Stellaris® LM3S3748 Evaluation Kit
off during reset. The power switch immediately cuts power if the attached USB device draws more
than 1 Amp, or if the switches' thermal limits are exceeded by a device drawing more than
500 mA. Under fault conditions, U7 will set its over-current output pin low. This is an open-drain
signal, so a pull-up must be enabled by the microcontroller. The USB controller can be configured
to generate an interrupt if USB0PFLT is asserted.
The EVB can be either a bus-powered USB device or self-powered USB device depending on the
position of the USB power switch (SW3).
WARNING – Do not change the USB power selection while power is applied. Doing so may
damage the switch contacts.
When using the EVB in USB-Host mode, power to the EVB should be supplied by the In-circuit
Debugger (ICDI) USB cable or by a +5 V source connected to the DC power jack. Set the USB
power switch to self-power.
Note that the LM3S3748 microcontroller’s USB capabilities are completely independent from the
ICDI USB functionality.
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 LM3S3748 EVB supports a range of hardware debugging configurations. Table 2-3
summarizes these configurations.
Table 2-3. LM3S3748 EVB Hardware Debugging Configurations
Mode
Debug Function
Use
Selected by...
1
Internal ICDI
Debug on-board LM3S3748
microcontroller over Debug 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.
For users who prefer an external
debug interface (ULINK, JLINK,
etc.) with the EVB.
Connecting an external debugger to
the JTAG/SWD header
3
In from JTAG/SWD
header
The red Debug Out LED will be ON
Modes 2 and 3 automatically detect the presence of an external debug cable. When the debugger
software 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 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 to the
EVB.
January 6, 2010
17
Debugging
Debug USB
An FT2232 device from Future Technology Devices International Ltd manages USB-to-serial
conversion. The FT2232 is factory-configured 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.
The ICDI USB capabilities are completely independent from the LM3S3748's on-chip USB
functionality.
A small serial EEPROM holds the FT2232 configuration data. The EEPROM is not accessible by
the LM3S3748 microcontroller. For full details on FT2232 operation, go to www.ftdichip.com.
USB to JTAG/SWD
The FT2232 USB device performs JTAG/SWD serial operations under the control of the debugger.
A CPLD (U6) multiplexes SWD and JTAG functions and, when working in SWD mode, provides
direction control for the bidirectional data line. The CPLD also implements logic to select between
the three debug modes. The target microcontroller selection is determined by multiplexing
TCK/SWCLK.
Virtual COM Port
The Virtual COM Port (VCP) allows Windows applications (such as HyperTerminal) to
communicate with UART0 on the LM3S3748 over USB. Once the FT2232 VCP driver is installed,
Windows assigns a COM port number to the VCP channel.
Table 2-4. Debug-Related Signals
Microcontroller Pin
EVB Function
To isolate, remove...
Pin 77 TDO/SWO
JTAG data out or trace data out
-
Pin 78 TDI
JTAG data in
-
Pin 79 TMS/SWDIO
JTAG TMS or SWD data in/out
-
Pin 80 TCK/SWCLK
JTAG Clock or SWD clock
-
Pin 26 PA0/U0RX
Virtual Com port data to LM3S3748
JP12
Pin 27 PA1/U0TX
Virtual Com port data from LM3S3748
JP25
Serial Wire Out
The EVB supports the Cortex-M3 Serial-Wire Output (SWO) trace capabilities. Under debugger
control, the CPLD can route the SWO datastream to the VCP transmit channel. The debugger can
then decode and interpret the trace information received from the Virtual Com Port (VCP). The
normal VCP connection to UART0 is interrupted when using SWO.
Not all debuggers support SWO.
Refer to the Stellaris LM3S3748 Datasheet for additional information on the Trace Port Interface
Unit (TPIU).
18
January 6, 2010
Stellaris® LM3S3748 Evaluation Kit
Color LCD
The EVB features a liquid crystal graphics display with 128 x 128 pixel resolution. The display is
protected during shipping by a thin, protective plastic film. Remove the film by gently pulling the
green tab.
Features
The color LCD includes the following features:
„
Formike Electronic KWH015C04-F01 display
„
CSTN 128 x‘ h128 resolution
„
16-bit color
„
White LED backlight
„
8-bit data bus
„
ST7637 Drive IC
Control Interface
The color LCD module has a built-in controller IC with an 8-bit parallel interface. Port G is used to
transfer data to and from the LCD module. Three control signals (A0, WR, RD) provide read/write
and register/data control using GPIO pins.
Table 2-5. LCD-Related Signals
Microcontroller Pin
EVB Function
To isolate, remove...
Pin 19 PG0
LCD Data 0
JP16
Pin 18 PG1
LCD Data 1
JP14
Pin 19 PG2
LCD Data 2
JP17
Pin 16 PG3
LCD Data 3
JP18
Pin 41 PG4
LCD Data 4
JP26
Pin 40 PG5
LCD Data 5
JP27
Pin 37 PG6
LCD Data 6
JP28
Pin 36 PG7
LCD Data 7
JP29
Pin 25 PC4
LCD Write Enable (active low)
JP30
Pin 24 PC5
LCD Read Enable (active low)
JP21
Pin 72 PB2
LCD Register / Data select
JP11
Pin 61 PF1/PWM1
Backlight control
JP19
Backlight
The white LED backlight must be powered for the display to be visible. Set PF1/PWM1 high to turn
on the backlight. For brightness control, use the pin's PWM function to reduce the normal 34 mA
supply current.
January 6, 2010
19
Oscilloscope
Power
The LCD module has internal bias voltage generators and requires only a single 3 Vdc supply,
which is provided via D2 and D3.
Oscilloscope
The oscilloscope feature has two differential measurement channels which provide waveform
acquisition using the LM3S3748 microcontroller's Analog-to-Digital Converter (ADC). This section
describes the oscilloscope hardware. For a detailed description of the oscilloscope operation and
software, see the Stellaris® Peripheral Driver Library User's Guide in the LM3S3748 Evaluation
Kit’s Example Applications section.
Voltage Reference
The oscilloscope circuit can measure negative voltages by biasing the oscilloscope input channels
to +1.5 V. A voltage divider is buffered by an op-amp (U2) for a low impedance voltage reference.
The reference voltage varies proportionally with the 3.3 V rail, but the differential measurement
configuration will successfully reject this error.
Differential Inputs
Both input channels have 11:1 differential input voltage dividers. For accuracy, 0.1% resistors are
used. The ADC inputs to the LM3S3748 microcontroller have two key parameters sets in this
application circuit. The first are the common-mode (absolute) voltage limits of 0 to 3.0 V. This sets
the voltage limit on any oscilloscope input signal to +16.5 V to -16.5 V, using the following
equations:
Vcm(max+) = (Vadc(max) - Vref) * 11 = +16.5 V
Vcm(max-) = (Vadc(min) - Vref) * 11 = -16.5 V
The second key parameter set is the differential mode voltages limits, which are +1.5 V and -1.5 V.
These values are important in defining the maximum voltage between the inputs to each channel.
Vdm = Vadc(diff) * 11 = +/-16.5 V
Table 2-6. Oscilloscope Electrical Specifications
Parameter Name
Min
Nom
Max
Units
-16.5
–
+16.5
V
Differential Input Voltage
–
–
+16.5
V
Differential Input Voltage
–
–
-16.5
V
Input Impedance
–
220K
–
Ω
Common Mode Input Voltage
20
January 6, 2010
Stellaris® LM3S3748 Evaluation Kit
Figure 2-1.
Oscilloscope Acceptable Measurement Range
+16.5V
Acceptable
measurement
range
0
-16.5V
Min
Max
Test Signals
The oscilloscope inputs may be used to measure voltages and waveforms at various points on the
board. Consider the oscilloscope's input impedance (220 KΩ) when selecting signals to measure.
The EVB has two defined test points that can be easily accessed on the oscilloscope header.
Figure 2-2.
Oscilloscope Connections
Test Ground
Test Point 2
Channel 1-
Channel 2+
Channel 1+
Channel 2-
Test Point 1
Test Ground
The oscilloscope test leads, included in the evaluation kit, have pin-sockets that are compatible
with a wide range of test probes, clips, and hooks that have 0.025" square terminal posts.
Optimizing the Oscilloscope
The oscilloscope hardware is a simple design that balances trade-offs between input impedance,
signal bandwidth, and measurement error.
January 6, 2010
21
Other Peripherals
Measurement error is introduced when an ADC is fed from a high-impedance source. Each time
the ADC makes a conversion, a very small capacitor in the ADC input-stage must be charged.
During the charging period, the voltage may drop slightly.
Using only one oscilloscope channel will reduce the error, because the internal capacitance
charges to approximately the same level for each conversion. The error can also be reduced by
adding a capacitor across the differential inputs to the ADC (for example, between ADC0 and
ADC1).
Adding 33 pF capacitors will stabilize the input to the ADC, however, it will also create a 24-kHz
low-pass filter. This will limit the usable bandwidth of the oscilloscope, but will optimize it for DC
level measurements.
Another method is to reduce the values of the input divider resistors. The best overall solution
would be a high-performance op-amp buffer stage.
Other Peripherals
Speaker
The LM3S3748 evaluation board's speaker circuit can be used in either tone or waveform mode.
In tone mode, the LM3S3748 microcontroller's PWM module directly generates tones within the
audible frequency range. The width of the pulses determines the volume. If only one PWM signal
(PWM2 or PWM3) is used, then the non-PWM signal should be configured as a general-purpose
output. For increased speaker volume, PWM2 and PWM3 can be configured as complementary
drive signals. In tone and waveform modes, be careful to avoid large DC currents in the speaker.
Do not drive the PWM levels to opposite polarities for more than 10 ms.
Waveform mode uses two high-frequency PWM signals to drive a MOSFET H-bridge with an
output filter. This circuit is essentially a Class-D amplifier. The symmetrical 2nd order low-pass L-C
filter has a cut-off frequency of approximately 33 kHz. The microcontroller's PWM module should
be configured with a PWM frequency of at least 66 kHz. Using higher frequencies (for example,
500 kHz) improves audio quality. Once configured, audio waveform data can be used to update
the PWM duty cycle at a rate equal to the audio sampling rate.
The speaker on the evaluation board has standard 8-Ω impedance. Audio quality can be enhanced
by adding a small, vented enclosure around the speaker.
Table 2-7. Speaker-Related Signals
Microcontroller Pin
22
EVB Function
To isolate, remove...
Pin 60 PF2/PWM2
Audio PWM +
JP22
Pin 59 PF3/PWM3
Audio PWM -
JP20
January 6, 2010
Stellaris® LM3S3748 Evaluation Kit
Navigation Switch
The EVB has a four-way navigation switch (SW2) with press-to-select functionality. Each of the
five signals connects to GPIO pins on the LM3S3748 microcontroller. The internal 200 kΩ pull-up
resistors should be enabled before reading switch status.
Table 2-8. Navigation Switch-Related Signals
Microcontroller Pin
EVB Function
To isolate, remove...
Pin 65 PB3
Up Switch
JP13
Pin 92 PB4
Down Switch
JP10
Pin 91 PB5
Left Switch
JP9
Pin 90 PB6
Right Switch
JP23
Pin 89 PB7
Select Switch
D1
The press-to-select switch also connects to the WAKE signal on the LM3S3748's microcontroller’s
Hibernate module. Diode D1 blocks current from the WAKE internal pull-up when in Hibernate
mode. The diode is transparent in normal switch operation.
Status LED
A user LED (LED3) is provided for general use. The LED is connected to PG2/PWM0, allowing the
option of either GPIO or PWM control (brightness control).
Interfacing to the EVB
An array of accessible I/O signals makes it easy to interface the EVB to external circuits. All
LM3S3748 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 x on page y has a complete list of I/O signals as well as recommended connectors. Most
LM3S3748 I/O signals are +5-V tolerant. Refer to the LM3S3748 microcontroller data sheet for
detailed electrical specifications.
Bypassing Peripherals
The EVB's on-board peripheral circuits require 30 GPIO lines. This leaves 23 GPIO lines
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 30 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.
NOTE: The quickstart application will not run if one or more jumpers are removed.
In-Circuit Debugger Interface
The LM3S3748 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” on page 17 for a description of how to enter Debug Out
mode.
January 6, 2010
23
In-Circuit Debugger Interface
Figure 2-3.
ICD Interface Mode
Connecting Pin 18 to GND sets
external debug mode
Evaluation Board
USB
`
PC with IDE/
debugger
Stellaris
MCU
JTAG or SWD connects to the
external microcontroller
Target
Cable
Stellaris
MCU
Target
Board
TCK/SWCLK bypasses the
on- board microcontroller
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.
The Stellaris target board should have a 2x10 0.1" pin header with signals as indicated in
Table D-2 on page 40. This applies to both an external Stellaris microcontroller 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 usually 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. Some external debug
interfaces may require a voltage on pin 1 to set line driver thresholds. The EVB ICDI circuit
automatically sets pin 1 high if an external debugger is connected. In other modes, this pin is
unused.
24
January 6, 2010
A P P E N D I X A
Schematics
This section contains the following schematic diagrams for the LM3S3748 evaluation board:
„
Microcontroller on page 26
„
Power, USB Selection on page 27
„
LCD, Switches, and Audio on page 28
„
Debugger Interfaces on page 29
„
JTAG Logic with Auto Mode Detect, Hibernate, and TVcc Control on page 30
January 6, 2010
25
Microcontroller
1
2
3
4
5
6
I/O Break-out Headers
On-board LCD Signals
Stellaris LM3S3748 Microcontroller
Note 1:
PH2 controls USB mux (and PB0 input per errata).
PB0 to HOSTEn connection required for Rev A0 silicon.
Jumpers can be cut to
free GPIO lines if required.
PH2/FAULT3
U?
JP30
A
LCD_WR
PC4/CCP4
JP21
LCD_RD
JP11
LCD_A0
JP16
LCD0
JP14
LCD1
PC5/C1+
PB2/I2C0SCL
PG0/PWM4
JP18
LCD3
JP27
LCD5
JP28
LCD6
JP29
LCD7
80
79
PC2/TDI
78
PC3/TDO/SWO 77
25
PC4/CCP4
24
PC5/C1+
23
PC6/U1RX
22
PC7/U1TX
INT_TCK
TMS/SWDIO
PC2/TDI
PC3/TDO/SWO
PG2
PG3/FAULT2
JP26
LCD4
26
27
28
29
30
31
34
35
PG1/PWM5
JP17
LCD2
PA0/U0RX
PA1/U0TX
PA2/SSI0CLK
PA3/SSI0FSS
PA4/SSI0RX
PA5/SSI0TX
PA6/I2C1SCL
PA7/I2C1SDA
PG4/CCP3
PG5/FAULT1
PE0/SSI1CLK
PE1/SSI1FSS
PE2/SSI1RX
PE3/SSI1TX
PE4/ADC3
PE5/ADC2
PE6/ADC1
PE7/ADC0
PG6/PWM6
PG7/PWM7
B
PG0/PWM4
PG1/PWM5
PG2
PG3/FAULT2
PG4/CCP3
PG5/FAULT1
PG6/PWM6
PG7/PWM7
74
75
95
96
6
5
2
1
19
18
17
16
41
40
37
36
48
49
52
53
R1
D6
1M
Y1
1
2
1
8.00MHz
C
Y2
WAKEn
HIBn
2
PC0/TCK/SWCLK
PC1/TMS/SWDIO
PC2/TDI
PC3/TDO/SWO
PC4/CCP4
PC5/C1+
PC6/U1RX
PC7/U1TX
C1
C2
C3
C4
10PF
10PF
27PF
27PF
R2
10K
MCURSTn
C5
OMIT
History
Date
Description
0
Jan 31,08
Final prototype release
A
Apr 2, 08
First production release
B
Jul 3, 08
Add PB1 to +5V jumper.
Add pull-up on reset switch.
9
15
21
33
39
45
54
57
63
69
82
87
94
4
PD0/IDX0
PD1/PHA0
PD2/CCP5
PD3/CCP0
PD4/ADC7
PD5/ADC6
PD6/ADC5
PD7/ADC4
PF0/PWM0
PF1/PWM1
PF2/PWM2
PF3/PWM3
PF4/FAULT0
PF5/CCP2
PF6/CCP1
PF7/PhB0
PG0/PWM4
PG1/PWM5
PG2
PG3/FAULT2
PG4/CCP3
PG5/FAULT1
PG6/PWM6
PG7/PWM7
PH0/CCP6
PH1/CCP7
PH2/FAULT3
PH3/USB0EPEN
PH4/NMI/USB0PFLT
OSC0
OSC1
XOSC0
XOSC1
WAKE
HIB
MA2J728
64
PB0
PB1
PB2/I2C0SCL
PB3/I2C0SDA
PB4/C0PB5/C1PB6/C0+
PB7/NMI
PE0/SSI1CLK
PE1/SSI1FSS
PE2/SSI1RX
PE3/SSI1TX
PE4/ADC3
PE5/ADC2
PE6/ADC1
PE7/ADC0
4.194304MHz
+3.3V
Revision
50
51
PA0/U0RX
PA1/U0TX
PA2/SSI0CLK
PA3/SSI0FSS
PA4/SSI0RX
PA5/SSI0TX
PA6/I2C1SCL
PA7/I2C1SDA
RST
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GNDA
JP33
0 Ohm
66
67
72
65
92
91
90
89
PB2/I2C0SCL
PB3/I2C0SDA
PB4/C0PB5/C1PB6/C0+
PB7/NMI
10
11
12
13
97
98
99
100
PD0/IDX0
PD1/PHA0
PD2/CCP5
PD3/CCP0
PD4/ADC7
PD5/ADC6
PD6/ADC5
PD7/ADC4
47
61
60
59
58
46
43
42
PF0/PWM0
PF1/PWM1
PF2/PWM2
PF3/PWM3
PF4/FAULT0
PF5/CCP2
PF6/CCP1
PF7/PHB0
HOSTEn
USB0VBUS
+5V
JP34
0 Ohm
Note 2:
PB1 jumpered to +5V per Rev A0 errata.
68 67
34 33
PB7/NMI
PH0/CCP6
PB6/C0+
PE2/SSI1RX
PD4/ADC7
PD6/ADC5
PE7/ADC0
PE5/ADC2
PD0/IDX0
PD2/CCP5
PG2
PC7/U1TX
PC5/C1+
PA1/U0TX
PA4/SSI0RX
PA6/I2C1SCL
PG7/PWM7
PB4/C0PE3/SSI1TX
PD5/ADC6
PD7/ADC4
PE6/ADC1
PE4/ADC3
PD1/PHA0
PD3/CCP0
PG1/PWM5
PC6/U1RX
PC4/CCP4
PA2/SSI0CLK
PA5/SSI0TX
PA7/I2C1SDA
DBG+5V
PA3/SSI0FSS
PH2/FAULT3
PC3/TDO/SWO
PA0/U0RX
+VBUS
PB5/C1PC2/TDI
PH1/CCP7
PE1/SSI1FSS
PB2/I2C0SCL
A
PE0/SSI1CLK
PG0/PWM4
PG3/FAULT2
PB3/I2C0SDA
PF1/PWM1
PF3/PWM3
PF0/PWM0
PF5/CCP2
PF7/PHB0
PG5/FAULT1
PF6/CCP1
PG4/CCP3
PG6/PWM6
36 35
2 1
Oscilloscope Signals
On-board Peripheral Signals
Jumpers can be cut to
Jumpers can be cut to
free GPIO/ADC lines if required.
free GPIO lines if required.
JP5
PE7/ADC0
JP12
AINAP
PE6/ADC1
PH0/CCP6
PH1/CCP7
PH2/FAULT3
B
PA0/U0RX
VCP_RX
JP25
JP6
86
85
84
83
76
+3.3V
PF2/PWM2
PF4/FAULT0
VBAT
AINAM
PA1/U0TX
VCP_TX
JP8
PE5/ADC2
USB0EPE
USB0PFLT
JP7
PE4/ADC3
JP2
AINBP
PA2/SSI0CLK
AINBM
CARDCLK
JP4
PA3/SSI0FSS
CARDCSn
JP1
USB0DP
USB0DM
USB0RBIAS
USBDP
71
70
73
PA4/SSI0RX
PA5/SSI0TX
VDD33
VDD33
VDD33
VDD33
VDD33
VDD33
VDD33
VDD33
CARDRX
JP24
9.10K
PF0/PWM0
LED
+3.3V
VDDA
CARDTX
JP3
USBDM
R3
JP19
3
PF1/PWM1
8
20
32
44
56
68
81
93
C8
C9
0.01UF
0.01UF
BACKLIGHT
JP22
C11
0.1UF
C13
0.1UF
C15
1UF
PF2/PWM2
SOUND+
C
JP20
PF3/PWM3
SOUNDJP13
PB3/I2C0SDA
UP_SWn
JP10
PB4/C0-
DOWN_SWn
JP9
VBAT
55
VBAT
PB5/C1-
LEFT_SWn
JP23
LDO
VDD25
VDD25
VDD25
VDD25
7
PB6/C0+
C6
0.1UF
RIGHT_SWn
JP15
WAKEn
14
38
62
88
SELECT_SWn
D1
PB7/NMI
MA2J728
C10
C7
1UF
LM3S3748
0.01UF
C12
0.1UF
C14
0.1UF
C16
0.1UF
D
D
Drawing Title:
Stellaris USB Host/Device Eval Board
Page Title:
Microcontroller
Size
Date:
1
2
3
4
5
B
Document Number:
7/3/2008
BD-LM3S3748
Sheet
6
1
of
4
Rev
A
Power, USB Selection
1
2
3
4
5
6
Bus-Power / Self-Power Switch
DEVICE+5V
A
3 SW3
U8
PQ1LA333MSPQ
+5V
1
2
6
4
VIN
VOUT
A
+3.3V
5
4
R38
100K
C36
1UF
ON
HIBn
NR
1
C37
USB HOST
C38
1UF
J1
154-UAR42-E
0.01UF
2
SSSS820201
3
GND
5
V
D-
D+
G
5
+5V DC INPUT
1
2
3
4
D4
J5
1
3
2
PJ-014D-SMT
6
+VBUS
Main +3.3V 200mA Power Supply
MBR0520
B
B
USB DEVICE
D9
TPD2E001DRL
5
USB0PFLT
R39
OUT
IN
OUT
EN
OUT
OCn
USBDP
6
D1D+
D1+
8
7
+
C39
150uF
USBDM
4
D2DD2+
ID
G
7
5
DEVICE+5V
6
JP32
Omit
3
9
12
10V
8
7
100K
C
1
D+
NC
NC
GND
GND
2
5
FSUSB11MTCX
VBUS Fault Protected Switch
3
2
5
4
USB0EPE
VCC
VCC
C42
0.1UF
HOSTEn Low = USB Host selected
HOSTEn High = USB Device selected
DEVICE+5V
1
IO1
N.C.
IO2
3
C35
1UF
IN
GND
2
1
+5VIN
S1
S2
C40
0.1UF
D-
6
4
HOSTEn
+VBUS
U7
TPS2051BDGN
14
11
5V
4
3
U9
10
13
VCC GND
2
1
1
+VBUS
IO1
N.C.
IO2
+3.3V
R44
0 Ohm
3
2
5
DBG+5V
54819-0572
J6
VCC GND
C
4
C41 D10
0.1UF TPD2E001DRL
Host/Device Selector
+3.3V D7
DEVICE+5V
VBAT
MA2J728
R42
1.5K
R40
Omit
USB0VBUS
BT1
OMIT
3V Coin Cell
R41
Omit
D
D
Hibernation Battery (not installed)
Drawing Title:
Stellaris USB Host/Device Eval Board
Page Title:
Power, USB Selection
Size
Date:
1
2
3
4
5
B
Document Number:
7/3/2008
BD-LM3S3748
Sheet
6
2
of
4
Rev
A
LCD, Switches, and Audio
1
2
3
4
5
6
+5V
R22
47
6
+3.3V
R43
100K
Reset
Left
Select
MBR0520
1
C23
4
LEFT_SWn
5
R12
100K
SELECT_SWn
TPA511GLFS
L2
4.7uH
C19
Q1A
FDG6322C
2
SOUND+
7
5
3
1
2
4.7uH
DOWN_SWn
MCURSTn
LCD_A0
LCD_WR
LCD_RD
6
Down
L1
UP_SWn
RIGHT_SWn
6
6
Q2A
FDG6322C
1UF
C21
0.1UF
C18
0.1UF
1
2
3
Q2B
FDG6322C
SPK1
3
SW2
Up
MBR0520
4
4
TEST1
Q1B
FDG6322C
5
4-way Navigation Switch
Right
D3
RESET_SWn
SW-B3S1000
1
D2
Q3A
FDG6322C
2
BACKLIGHT
+3.3V
SW1
2
1
A
+3.3V
U3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
0.1UF
LCD7
LCD6
LCD5
LCD4
LCD3
LCD2
LCD1
LCD0
LED-K
LED-A
GND
VDD
NC
NC
CSn
RESB
D/Cn
WRn
RDn
D7
D6
D5
D4
D3
D2
D1
D0
GND
A
SOUNDR15
100K
LCD[0..7]
LCD[0..7]
LCD-KWH015C04-F01
128x128 CSTN LCD Graphics Display
B
B
User Switches
+3.3V
Audio Amplifier
TEST2
R16
10K
1
2
3
4
5
6
7
8
+3.3V
C22
0.1UF
AINAP
100K 0.1%
R17
10K
12
CARDTX
11
CARDCLK
330
2908-05WB-MG
9
+3.3V
R18
LED
10
CARDCSn
CARDRX
R4
P1
DBGOUTLED
Status
LED2
Red
Debug Out
R19
330
+3.3V
R8
10K 0.1%
LED1
Green
C
C
microSD Card Slot
R9
10K 0.1%
R5
100K 0.1%
TEST2
1
1
+3.3V
R6
AINBP
100K 0.1%
C17
0.1UF
R10
10K 0.1%
U2
FAN4174IS5X
C20
0.1UF
LED4
Red
R14
100K
HIBn
Hibernate
Status LEDs
Q3B
FDG6322C
3
5
R21
330
AINBM
100K 0.1%
D
2 Channel Oscilloscope
Hibernate Mode Indicator
Drawing Title:
Stellaris USB Host/Device Eval Board
Page Title:
LCD, Switches and Audio
Size
Date:
1
Power
3
R11
10K 0.1%
R7
LED3
Green
+5V
CON-HDR-1X8-P100
D
R20
330
R13
120K
4
VR+1.5V
+3.3V
4
TEST1
2
1
2
3
4
5
6
7
8
AINAM
+3.3V
5
J2
+3.3V
2
3
4
5
B
Document Number:
7/3/2008
BD-LM3S3748
Sheet
6
3
of
4
Rev
A
Debugger Interfaces
1
2
3
4
5
Debug Interface Logic
Debugger USB Interface
+3.3V
54819-0572
J7
TP4
PLD_TDI
TP5
PLD_TDO
TP6
+3.3V
IO1
N.C.
IO2
1
4
VCC GND
0.01UF
R27
1.5K
D8
TPD2E001DRL
+5V
ACBUS0
ACBUS1
ACBUS2
ACBUS3
SI/WUA
+5V
R23
10K
U4
VCC
NC
ORG
GND
CS
SK
DI
DO
1
2
3
4
48
1
2
47
R24
1.5K
CAT93C46
43
44
1K 64X16
1
Y3
2
+5V
4
5
6.00MHz
C25
C26
27PF
27PF
EECS
EESK
EEDATA
TEST
XTIN
XTOUT
BDBUS0
BDBUS1
BDBUS2
BDBUS3
BDBUS4
BDBUS5
BDBUS6
BDBUS7
BCBUS0
BCBUS1
BCBUS2
BCBUS3
SI/WUB
RESET#
RSTOUT#
PWREN#
GND
GND
GND
GND
VCC
VCC
VCCIOA
VCCIOB
15
13
12
11
10
SRSTN
DBG_JTAG_EN
RESET_SWn
+3.3V
+3.3V
40
39
38
37
36
35
33
32
VCP_RX
R30
4.7K
C
45
AGND
AVCC
B0
B1
B2
B3
B4
B5
B6
B7
B8
B9
B10
B11
B12
+3.3v
20
21
22
23
24
26
27
28
31
32
33
34
38
R37
4.7K
TARGETCABLEn
DBGOUTLED
VCP_TX
MCURSTn
B
+3.3V
SWO_EN
C32
0.1UF
+3.3V
30
29
28
27
26
MODE
VCP_TX_SWO
+3.3V
MODE is reserved
for future use.
41
+5V
9
18
25
34
12
36
Bank 1
A
TP8
U6
LC4032V-75TN48C
VCC
VCC
TCK
TMS
TDI
TDO
11
25
1
35
18
43
19
42
A0/GOE0
A1
A2
A3
A4
A5
Bank 0
A6
A7
A8
A9
A10
A11
A12
B15/GOE1
B14
B13
USBDP
3
2
5
7
USBDM
44
45
46
47
48
2
3
4
7
8
9
10
14
INT_TCK
TCK
TDI/DI
TDO/DO
TMS/OUTEN
24
23
22
21
20
19
17
16
PLD JTAG TEST POINTS
TP7
41
40
39
8
R26 27
8
7
6
5
TP3
PLD_TMS
TCK/SWCLK
TMS/SWDIO
0.1UF
R25 27
ADBUS0
ADBUS1
ADBUS2
ADBUS3
ADBUS4
ADBUS5
ADBUS6
ADBUS7
VCCO (Bank 1)
GND (Bank 1)
3V3OUT
30
29
5
4
3
2
1
6
C24
R29
4.7K
U5
C27
B
C31
0.1UF
CLK1/I
CLK0/I
CLK2/I
CLK3/I
+3.3V
USB Device Controller
Omit
GND (Bank 0)
VCCO (Bank 0)
JP31
7 USBSH
5
6
G
13
37
ID
GND
GND
D+
A13
A14
A15
D-
15
16
17
5V
6
DBG+5V
PLD_TCK
+3.3V
RESETRC
A
6
3
42
14
31
R32
+3.3v
JTAG/SWD Interface
Input/Output
27
R28
46
C28
330
C29
C30
C33
C34
0.1UF
0.1UF
0.1UF
0.1UF
R33
PC2/TDI
27
R34
TMS/SWDIO
FT2232D
27
0.1UF
R35
Channel A : JTAG / SW Debug
27
Channel B : Virtual Com Port
R36
PC3/TDO/SWO
27
C
J4
XVCC 1
3
XTDI 5
XTMS 7
XTCK 9
11
XTDO 13
15
17
19
2
4
6
8
10
12
14
16
18
20
CON-HDR-2X10-P100
+3.3V
R31
10K
J3
XVCC
D
1
3
5
7
9
2
4
6
8
10
XTMS
XTCK
XTDO
XTDI
D
Drawing Title:
Stellaris USB Host/Device Eval Board
Page Title:
Debugger Interfaces
CON-HDR-2X5-050
Size
Fine-pitch JTAG/SWD
Date:
1
2
3
4
5
B
Document Number:
7/3/2008
BD-LM3S3748
Sheet
6
4
of
4
Rev
A
JTAG Logic with Auto Mode Detect, Hibernate,
and TVcc
A
B
C
1
D
I90
SWO_EN
10
FTDI_TCK
45
DBGOUT
I105
44
I85
I86
ITCK
I109
41
I7
2
H
1
B
A
S
I91
G
S
A
B
34
F
FTDI_DBG
I89
VCP_TX
E
XTCK
2
I87
FTDI_TDI_DO
46
I6
I92
32
U0TX
24
XTDO
S
3
FTDI_TDO_DI
I3
B
A
47
I16
JTAGEN
I18
FTDI_TMS
48
I111
I4
21
4
JTAGEN
I20
FTDI_DBG
5
FTDIJTAGEN
4
FTDI_SRSTn
3
3
I35
I5
I37
XTDI
4
I112
S
SWDEN
I36
I2
B
A
I17
I9
40
XTMS
5
I8
D
FTDI_DBG
Q
DBGOUT
31
I96
6
C
7
I95
I99
33
I102
RSTSW
9
RC
14
EXTCABLEn
26
HIBn
16
7
DBGLED
6
INTDBG
I100
I42
I15
38
I104
I70
I106
I107
TEST
TRSTn
MCURSTn
7
I74
I115
8
A
TVCC
15
I114
Texas Instruments, Inc.
JTAG Logic with Auto Mode Detect, Hibernate and TVcc Control
Sept 28, 2007
I13
DRVEN
I108
B
C
D
E
F
G
8
H
A P P E N D I X B
PCB
This appendix contains plots showing component locations and board dimensions.
„
Component Locations (see page 32)
„
Evaluation Board Dimensions (see page 33)
Component Locations
The figure on the following page shows component locations.
January 6, 2010
31
Component Locations
Figure B-1. LM3S3748 Evaluation Board Component Locations
32
January 6, 2010
Stellaris® LM3S3748 Evaluation Kit
Evaluation Board Dimensions
Figure B-2. LM3S3748 Evaluation Board Dimensions
4.65"
2.45"
1.75
0.325
January 6, 2010
1.50"
33
Evaluation Board Dimensions
34
January 6, 2010
A P P E N D I X C
Bill of Materials (BOM)
Table C-1 provides the BOM for the LM3S3748 Evaluation Kit.
Table C-1. LM3S3748 Bill of Materials
Reference
Qty
C1, C2
2
C3, C4, C25,
C26
Description
Mfg
Supplier
Stock No.
C0603C100J5GACTU
Capacitor 10pF 50V 5%
Ceramic NPO/COG 0603
Kemet
Mouser
80-C0603C100J5G
4
C0603C270J5GACTU
Capacitor 27pF 50V 5%
Ceramic NPO/COG 0604
Kemet
Mouser
80-C0603C270J5G
C39
1
T491D157M010AT
Capacitor 150uF 10V
Tantalum Size D
Kemet
Digikey
399-3778-2-ND
C6, C11, C12,
C13, C14, C16,
C17, C18, C20,
C21, C22, C23,
C27, C28, C29,
C30, C31, C32,
C33, C34, C40,
C41, C42
23
C0603C104K4RACTU
Capacitor, 0.1uF 16V
10% 0603 X7R
Kemet
Mouser
80-C0603C104K4R
C7, C15, C19,
C35, C36, C38
6
TMK212BJ105KG-T
Capacitor 1.0uF 25V X5R
0805
Taiyo
Yuden
Digikey
587-1291-1-ND
C8, C9, C10,
C24, C37
5
C0603C103J5RACTU
Capacitor, 0.01uF 50V
5% 0603 X7R
Kemet
Mouser
80-C0603C103J5R
D2, D3, D4, D5
4
MBR0520L
Diode, Schottky 500mA
20V SOD123
Fairchild
Arrow/
Mouser
MBR0520L
D1, D6, D7
3
MA2J728
Diode, Schottky 30mA
30V Low Ir
Panasoni
c
Digikey
MA2J72800LTR-ND
D8, D9, D10
3
TPD2E001DRLR
Diode, ESD protection
array Low-cap SOT-533
TI
Digikey
296-21883-1-ND
J1
1
AU-Y1006-R
UAR42-E
Connector, USB Type A
Assmann
Kobiconn
Digikey
Mouser
J2
1
538-22-28-4083
Connector, 8 way SIL
header 0.1"
Molex
Mouser
22-28-4083
J4
1
TSHSM-110-D-02-T-HAP-TR-P-LF 10995
TSM-110-01-S-DH-A-PTR TSM-110-01-L-DH-AP-TR TSM-110-01-T-DHA-P-TR
Connector, 20 way dual
header r/a SMT with
placement cap
ML
Electronic
s / 4ucon
/ Samtec
ML
Electroni
cs /
4ucon
TSHSM-110-D-02-T-HAP-TR-P-LF 10995
J5
1
PJ-014D-SMT
Connector, DC Jack SMT
1.3x3.8mm
CUI
Digikey
CP-014DPJTR-ND
J6, J7
2
54819-0572
Connector, USB Mini-B
SMT 5pin
Molex
Mouser
538-54819-0572
January 6, 2010
Part Number
154-
AE9924-ND
UAR42-E
154-
35
Table C-1. LM3S3748 Bill of Materials (Continued)
Mfg
Supplier
Stock No.
Inductor 4.7uH 360mA
0805 Chip Inductor
Taiyo
Yuden
Digikey
587-1602-1-ND
LTST-C171GKT
LED, 0805 SMT Green
LiteOn
Mouser /
Arrow
LTST-C171GKT
2
LTST-C171EKT
LED, 0805 SMT Red
LiteOn
Mouser /
Arrow
LTST-C171EKT
P1
1
2908-05WB-MG
Connector, Micro SD
card, push-push SMT
3M
Mouser
517-2908-05WB-MG
Q1, Q2, Q3
3
FDG6322C
Mosfet, P-N Channel
Complementary Pair 25V
SC70-6
Fairchild
Digikey
FDG6322CTR-ND
R1
1
ERJ-3GEYJ105V
Resistor 1M Ohms 5%
0603
Panasoni
c
Digikey
P1.0MGCT-ND
R12, R14, R15,
R38, R39
5
ERJ-3EKF1003V
Resistor 100K 1% 0603
Panasoni
c
Digikey
P100KHCT-ND
R13
1
ERJ-3EKF1203V
Resistor 120K 1% 0603
Panasoni
c
Digikey
P120KHCT-ND
R18, R19, R20,
R21, R28
5
ERJ-3GEYJ331V
Resistor 330 ohms 5%
0603
Panasoni
c
Digikey
P330GCT-ND
R2, R16, R17,
R23, R31
5
ERJ-3GEYJ103V
Resistor, 10K 5% 0603
Panasoni
c
Digikey
P10KGCT-ND
R22
1
ERJ-3GEYJ470V
Resistor 47 Ohms 5%
0603
Panasoni
c
Digikey
P47GCT-ND
R24, R27, R42
3
ERJ-3GEYJ152V
Resistor, 1.5K 5% 0603
Panasoni
c
Digikey
P1.5KGCT-ND
R25, R26, R32,
R33, R34, R35,
R36
7
ERJ-3GEYJ270V
Resistor 27 Ohms 5%
0603
Panasoni
c
Digikey
P27GCT-ND
R29, R30, R37
3
ERJ-3GEYJ472V
Resistor 4.7K 5% 0603
Panasoni
c
Digikey
P4.7KGCT-ND
R3
1
ERJ-3EKF9101V
Resistor 9.10K 1% 0603
Panasoni
c
Digikey
P9.1KHCT-ND
R4, R5, R6, R7
4
ERA-3AEB104V
Resistor 100K 0.1%
25ppm 0603
Panasoni
c
Digikey
P100KDBTR-ND
R8, R9, R10,
R11
4
ERA-3AEB103V
Resistor 10K 0.1% 25ppm
0603
Panasoni
c
Digikey
P10KDBTR-ND
SPK1
1
NDT-03C
Speaker, 8 ohm 0.3W
Surface mount
Star
Micronics
Hawk
NDT-03C
SW2a
1
TPA511GLFS
Switch, 4-way Navigation
SMT w/select
C&K
Digikey
401-1130-2-ND
SW2b
1
BOUTON TPA
Cap for Nav Switch, Black
C&K
Digikey
401-1997-ND
36
Reference
Qty
Part Number
L1, L2
2
CBC2012T4R7M
LED1, LED3
2
LED2, LED4
Description
January 6, 2010
Stellaris® LM3S3748 Evaluation Kit
Table C-1. LM3S3748 Bill of Materials (Continued)
Reference
Qty
Mfg
Supplier
Stock No.
SW1
1
B3S-1000P
Switch, Momentary Tact
160gmf 6mm
Omron
Arrow /
Future
SW415-ND
U1
1
LM3S3748
IC, Microcontroller ARM
Cortex TQFP-100
Luminary
Luminar
y
LM3S3748
U2
1
FAN4174IS5X_NL
IC, Op-amp Rail-to-Rail
SOT23-5
Fairchild
Mouser
512-FAN4174IS5X
U3a
1
KWH015C04-F01
LCD Module 128x128
1.5" CTN
Formike
Display
Wan
Display
KWH015C04-F01
U3b
1
SFW20R-2STE1LF
Connector, 20 way 1mm
ZIF flat-flex connector
FCI
Digikey
609-1914-2-ND
U4
1
CAT93C46YI-G /
AT93C46A-10TU-2.7
Serial Eeprom 1Kbit
TSSOP8
Catalyst
Atmel
Mouser
Digikey
CAT93C46YI-G
U5
1
FT2232D
IC, USB to Serial
Interface TQFP48
Ftdi
Ftdi
FT2232D
U6
1
LC4032V-75TN48C
IC, CPLD 32 macro-cell
TQFP48
Lattice
Arrow
LC4032V-75TN48C
U7
1
TPS2051BDGN
IC, Fault protected power
switch TSSOP8
TI
Digikey
296-17313-1-ND
U8
1
PQ1LA333MSPQ
IC, Voltage regulator 3.3V
500mA SOT89-5
Sharp
Mouser
852-PQ1LA333MSPQ
U9
1
FSUSB11MTCX
IC, Full-speed USB switch
TSSOP-14
Fairchild
Digikey
Mouser
512-FSUSB11MTCX
Y1
1
NX8045GB8.000000MHZ
Crystal, 8.00MHz
8.0x4.5mm SMT
NDK
Digikey
644-1018-2-ND
Y2
1
HCM49-4.194304MABJT
Crystal, 4.194304MHz
HC49US SMT
Citizen
Mouser /
Digikey
695-HCM49-419-U
300-8529-1-ND
Y3
1
FOXSDLF/060-20
Crystal, 6.00MHz
HC49US SMT
Fox
Mouser /
Digikey
559-FOXSDLF/060-20
631-1008-2-ND
1
EK-LM3S3748-A
PCB, FR-4 4-layer Rev A
Advanced
Advance
d
EK-LM3S3748
3
3M 4949
Tape, VHB Foam Double
coat 45mil 0.25" x 1.25"
cut piece
3M
Uline
S-10144
1
DI002860
Adhesive label for
speaker LMI logo
0.5"x0.5”
Drake
Drake
DI002860
SW3
1
SSSS820201
CUS22-TB
Slide Switch SMT verticle
SPCO
Alps
Copal
Mouser
Digikey
688-SSSS820201
563-1105-1-ND
R40, JP33
2
ERJ-3GEY0R00V
Resistor 0 Ohms 0603
Panasoni
c
Digikey
P0.0GTR_ND
Do not populate
J3 (0.05" JTAG header),
R41, R43, BAT1
January 6, 2010
Part Number
Description
37
38
January 6, 2010
A P P E N D I X D
Connection Details
This appendix contains the following sections:
„
I/O Breakout Pads (see page 39)
„
DC Power Jack (see page 40)
„
ARM Target Pinout (see page 40)
„
Oscilloscope Header Pinout (see page 40)
I/O Breakout Pads
The LM3S3748 EVB has 55 I/O pads and 13 power pads for a total of 68 pads. Connection can be
made by soldering wires directly to these pads, or by using 0.1" pitch headers and sockets.
NOTE: In Table D-1, an asterisk (*) by a signal name (also on the EVB PCB) indicates the signal
is typically used for on-board functions. Normally, you should cut the associated jumper
(JP1-30) before using an assigned signal for external interfacing.
Table D-1. I/O Breakout Pads
Description
Pad
No.
Description
Pad
No.
Description
Pad
No.
Description
Pad
No.
GND
34
PB7/NMI *
33
GND
68
DBG+5V
67
PH0/CCP6
32
GND
31
+VBUS
66
PA3/SSI0FSS
65
PB6/C0+ *
30
PB4/C0- *
29
PB5/C1- *
64
PH2/FAULT3 *
63
PE2/SSI1RX
28
PE3/SSI1TX
27
PC2/TDI *
62
PC3/TDO/SWO*
61
PD4/ADC7
26
PD5/ADC6
25
PH1/CCP7
60
PA0/U0RX *
59
PD6/ADC5
24
PD7/ADC4
23
PE1/SSI1FSS
58
GND
57
PE7/ADC0 *
22
PE6/ADC1 *
21
PB2/I2C0SCL
56
PE0/SSI1CLK
55
PE5/ADC2 *
20
PE4/ADC3 *
19
GND
54
PG0/PWM4 *
53
PD0/IDX0
18
PD1/PHA0
17
PB3/I2C0SDA*
52
PG3/FAULT2 *
51
PD2/CCP5
16
PD3/CCP0
15
PF1/PWM1 *
50
+3.3V
49
PG2 *
14
PG1/PWM5 *
13
PF3/PWM3 *
48
PF2/PWM2 *
47
PC7/U1TX
12
PC6/U1RX
11
VBAT
46
PF2/FAULT0
45
PC5/C1+ *
10
PC4/CCP4 *
9
GND
44
GND
43
PA1/U0TX *
8
PA2/SSI0CLK*
7
GND
42
PF0/PWM0 *
41
PA4/SSI0RX
6
PA5/SSI0TX *
5
PF6/CCP1
40
PF5/CCP2
39
PA6/I2C1SCL
4
PA7/I2C1SDA
3
PG4/CCP3 *
38
PF7/PHB0
37
PG7/PWM7 *
2
GND
1
PG6/PWM6 *
36
PG5/FAULT1 *
35
January 6, 2010
39
DC Power Jack
DC Power Jack
The EVB provides a DC power jack for connecting an external +5V regulated (±5%) power source
as shown in Figure D-1.
Figure D-1. DC Power Jack
Center Positive (+)
The socket is 3.5 mm dia with a 1.3 mm pin. Suitable plugs include CUI PP3-002D.
ARM Target Pinout
In ICDI input and output mode, the LM3S3748 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 (see Table D-2).
Table D-2. ARM Target Pinout
Function
Pin
Pin
Function
VCC (optional)
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
Oscilloscope Header Pinout
Table D-3 shows the header pinout for the oscilloscope.
Table D-3. Oscilloscope Header Pinout
40
Pad No.
Description
Test Wiring
1
Test Point 1
Wire this pair
2
Channel 1 +
January 6, 2010
Stellaris® LM3S3748 Evaluation Kit
Table D-3. Oscilloscope Header Pinout (Continued)
Pad No.
January 6, 2010
Description
Test Wiring
3
Channel 1-
Wire this pair
4
GND
5
Test Point 2
6
Channel 2 +
7
Channel 2 -
8
GND
Wire this pair
Wire this pair
41
Oscilloscope Header Pinout
42
January 6, 2010
A P P E N D I X E
References
In addition to this document, the following references are included on the Stellaris LM3S3748
Evaluation Kit documentation CD-ROM and are also available for download at www.ti.com/
stellaris:
„
Stellaris LM3S3748 Evaluation Kit Quickstart Guide for appropriate tool kit (see “Kit Contents,”
on page 11)
„
Stellaris LM3S3748 Evaluation Kit Read Me First
„
StellarisWare Driver Library User’s Guide, publication number SW-DRL-UG
„
Stellaris LM3S3748 Microcontroller Data Sheet, publication DS-LM3S3748
Additional references include:
„
Formike Electronic KWH015C04-F01 LCD Display Data Sheet
„
Sitronix ST7637 Color LCD Controller/Driver Data Sheet
„
Future Technology Devices Incorporated FT2232D Data Sheet
„
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
– Texas Instruments’ Code Composer Studio™ IDE web site, www.ti.com/ccs
January 6, 2010
43
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,
and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should
obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are
sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard
warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where
mandated by government requirements, testing of all parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and
applications using TI components. To minimize the risks associated with customer products and applications, customers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right,
or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information
published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a
warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual
property of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied
by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive
business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional
restrictions.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all
express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not
responsible or liable for any such statements.
TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably
be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing
such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and
acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products
and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be
provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in
such safety-critical applications.
TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are
specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military
specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at
the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.
TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are
designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated
products in automotive applications, TI will not be responsible for any failure to meet such requirements.
Following are URLs where you can obtain information on other Texas Instruments products and application solutions:
Products
Applications
Amplifiers
amplifier.ti.com
Audio
www.ti.com/audio
Data Converters
dataconverter.ti.com
Automotive
www.ti.com/automotive
DLP® Products
www.dlp.com
Communications and
Telecom
www.ti.com/communications
DSP
dsp.ti.com
Computers and
Peripherals
www.ti.com/computers
Clocks and Timers
www.ti.com/clocks
Consumer Electronics
www.ti.com/consumer-apps
Interface
interface.ti.com
Energy
www.ti.com/energy
Logic
logic.ti.com
Industrial
www.ti.com/industrial
Power Mgmt
power.ti.com
Medical
www.ti.com/medical
Microcontrollers
microcontroller.ti.com
Security
www.ti.com/security
RFID
www.ti-rfid.com
Space, Avionics &
Defense
www.ti.com/space-avionics-defense
RF/IF and ZigBee® Solutions www.ti.com/lprf
Video and Imaging
www.ti.com/video
Wireless
www.ti.com/wireless-apps
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2010, Texas Instruments Incorporated