View
51
Download
6
Category
Tags:
Preview:
Citation preview
EK-LM3S3748-03 Copyright © 2008 Luminary Micro, Inc.
Stellaris® LM3S3748Evaluation KitUSER ’S MANUAL
2 October 28, 2008
Legal Disclaimers and Trademark InformationINFORMATION 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 INCLUDING 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 350Austin, TX 78746Main: +1-512-279-8800Fax: +1-512-279-8879http://www.luminarymicro.com
Stellaris® LM3S3748 Evaluation Kit
Table of ContentsChapter 1: Stellaris® LM3S3748 Evaluation Board ....................................................................................... 9Features............................................................................................................................................................ 10Block Diagram .................................................................................................................................................. 10Kit Contents ...................................................................................................................................................... 11
Evaluation Board Specifications ................................................................................................................... 12Microcontroller Features ............................................................................................................................... 12
Chapter 2: Hardware Description.................................................................................................................. 15LM3S3748 Microcontroller Overview................................................................................................................ 15
Clocking ........................................................................................................................................................ 15Reset............................................................................................................................................................. 15Power Supplies ............................................................................................................................................. 15USB............................................................................................................................................................... 16
Debugging ........................................................................................................................................................ 17Debugging Modes......................................................................................................................................... 17Debug In Considerations .............................................................................................................................. 17Debug USB................................................................................................................................................... 18USB to JTAG/SWD....................................................................................................................................... 18Virtual COM Port........................................................................................................................................... 18Serial Wire Out.............................................................................................................................................. 18
Color LCD ......................................................................................................................................................... 19Features........................................................................................................................................................ 19Control Interface ........................................................................................................................................... 19Backlight ....................................................................................................................................................... 19Power............................................................................................................................................................ 20
Oscilloscope ..................................................................................................................................................... 20Voltage Reference ........................................................................................................................................ 20Differential Inputs .......................................................................................................................................... 20Test Signals .................................................................................................................................................. 21Optimizing the Oscilloscope.......................................................................................................................... 21
Other Peripherals.............................................................................................................................................. 22Speaker......................................................................................................................................................... 22Navigation Switch ......................................................................................................................................... 23Status LED.................................................................................................................................................... 23
Interfacing to the EVB....................................................................................................................................... 23Bypassing Peripherals ...................................................................................................................................... 23In-Circuit Debugger Interface............................................................................................................................ 23
Appendix A: Schematics................................................................................................................................ 25Appendix B: PCB ............................................................................................................................................ 31Component Locations....................................................................................................................................... 31Evaluation Board Dimensions........................................................................................................................... 33
Appendix C: Bill of Materials (BOM) ............................................................................................................. 35Appendix D: Connection Details ................................................................................................................... 39I/O Breakout Pads ............................................................................................................................................ 39
October 28, 2008 3
DC Power Jack ................................................................................................................................................. 40ARM Target Pinout ........................................................................................................................................... 40Oscilloscope Header Pinout ............................................................................................................................. 40
Appendix E: References ................................................................................................................................ 43Appendix F: Contact Information.................................................................................................................. 45
4 October 28, 2008
Stellaris® LM3S3748 Evaluation Kit
List of FiguresFigure 1-1. LM3S3748 Evaluation Board........................................................................................................... 9Figure 1-2. LM3S3748 EVB Block Diagram .................................................................................................... 11Figure 2-1. Oscilloscope Acceptable Measurement Range............................................................................. 21Figure 2-2. Oscilloscope Connections ............................................................................................................. 21Figure 2-3. ICD Interface Mode ....................................................................................................................... 24Figure B-1. LM3S3748 Evaluation Board Component Locations..................................................................... 32Figure B-2. LM3S3748 Evaluation Board Dimensions..................................................................................... 33Figure D-1. DC Power Jack.............................................................................................................................. 40
October 28, 2008 5
6 October 28, 2008
Stellaris® LM3S3748 Evaluation Kit
List of TablesTable 2-1. Board Power Options .................................................................................................................... 16Table 2-2. USB-Related Signals..................................................................................................................... 16Table 2-3. LM3S3748 EVB Hardware Debugging Configurations.................................................................. 17Table 2-4. Debug-Related Signals ................................................................................................................. 18Table 2-5. LCD-Related Signals..................................................................................................................... 19Table 2-6. Oscilloscope Electrical Specifications ........................................................................................... 20Table 2-7. Speaker-Related Signals............................................................................................................... 22Table 2-8. Navigation Switch-Related Signals ............................................................................................... 23Table C-1. LM3S3748 Bill of Materials............................................................................................................ 35Table D-1. I/O Breakout Pads ......................................................................................................................... 39Table D-2. ARM Target Pinout........................................................................................................................ 40Table D-3. Oscilloscope Header Pinout .......................................................................................................... 40
October 28, 2008 7
8 October 28, 2008
C H A P T E R 1
Stellaris® LM3S3748 Evaluation BoardThe 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
USB Host Connector
USB Device Connector
Stellaris LM3S3748
Microcontroller
MicroSD card slot
Oscilloscope terminals
Reset switch
USB interface for Debugger
JTAG/SWD input and output
Status LED
Navigation switch with press-to-select
Speaker
34-pin I/O break-out
header
34-pin I/O break-out header
5 VDC supply input
Color LCD Panel
USB Power Mode Switch
October 28, 2008 9
Features
FeaturesThe 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 DiagramFigure 1-2 on page 11 shows the LM3S3748 EVB block diagram.
10 October 28, 2008
Stellaris® LM3S3748 Evaluation Kit
Figure 1-2. LM3S3748 EVB Block Diagram
Kit ContentsThe 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, evaluation version of one of the following:
• Keil™ RealView® Microcontroller Development Kit (MDK-ARM)
• IAR Embedded Workbench® development tools
USB
USB
USB
StellarisDust Devil
Microcontroller
DualUSB
DeviceController
LCD DisplayCSTN 128 x128
Debu
g
I/O Signal Break-out
JTAG/SWDOutput/Input
Debug USB
Reset+3.3 V
Regulator
SW
D/JT
AGM
ux
UART0
Targ
etC
able
Debug
Switch
NavSwitch
LED
USB Host /Device Evaluation Board
I/O Signal Break-out
USBType A
connector
USB
Host Mode
I/Osi
gnal
s
‘ScopeCH1Input
‘ScopeCH2Input
Control+5 V host supply1.5 V
reference
USBMini-B
connector
USB
Swi
tchDevice Mode
October 28, 2008 11
Kit Contents
• Code Sourcery GCC development tools
• CodeRed Technologies development tools
Complete documentation
– Quickstart guide
– Quickstart source code
– Stellaris® Firmware Development Package with example source code
Evaluation Board SpecificationsBoard 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 FeaturesThe 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
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
12 October 28, 2008
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
October 28, 2008 13
Kit Contents
14 October 28, 2008
C H A P T E R 2
Hardware DescriptionIn 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 OverviewThe 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.
ClockingThe 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.
ResetThe 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 SuppliesThe 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.
October 28, 2008 15
LM3S3748 Microcontroller Overview
EVB power can be supplied through three different connectors as shown in Table 2-1.
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.
USBThe 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.
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
Table 2-1. Board Power Options
Power Source Reference Main Features Powered?
USB Host Feature Powered
DC Jack J5 Yes Yes
USB Device connector J6 Yesa
a. To power the EVB, the USB power switch (SW3) must be in the “BUS” position.
No
Debug Interface USB connector
J7 Yes Yes
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 JP33
Pin 83 PH3/USB0EPEN Host power enable (active high) -
Pin 76 PH4/USB0PFLT Host power fault (active low) -
16 October 28, 2008
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.
DebuggingStellaris 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 ModesThe LM3S3748 EVB supports a range of hardware debugging configurations. Table 2-3 summarizes these configurations.
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 ConsiderationsDebug 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.
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.
The red Debug Out LED will be ON
3 In from JTAG/SWD header
For users who prefer an external debug interface (ULINK, JLINK, etc.) with the EVB.
Connecting an external debugger to the JTAG/SWD header
October 28, 2008 17
Debugging
Debug USBAn FT2232 device from Future Technology Devices International Ltd manages USB-to-serial conversion. The FT2232 is factory-configured by Luminary Micro 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 PortThe 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.
Serial Wire OutThe 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).
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
18 October 28, 2008
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.
FeaturesThe 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 InterfaceThe 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.
BacklightThe 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.
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
October 28, 2008 19
Oscilloscope
PowerThe LCD module has internal bias voltage generators and requires only a single 3 Vdc supply, which is provided via D2 and D3.
OscilloscopeThe 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 InputsBoth 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
Common Mode Input Voltage -16.5 – +16.5 V
Differential Input Voltage – – +16.5 V
Differential Input Voltage – – -16.5 V
Input Impedance – 220K – Ω
20 October 28, 2008
Stellaris® LM3S3748 Evaluation Kit
Figure 2-1. Oscilloscope Acceptable Measurement Range
Test SignalsThe 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
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 OscilloscopeThe oscilloscope hardware is a simple design that balances trade-offs between input impedance, signal bandwidth, and measurement error.
Acceptable measurement
range
+16.5V
-16.5V
0
Min Max
Test Ground
Channel 1-
Channel 1+
Test Point 1
Test Point 2
Channel 2+
Channel 2-
Test Ground
October 28, 2008 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 PeripheralsSpeaker
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 EVB Function To isolate, remove...
Pin 60 PF2/PWM2 Audio PWM + JP22
Pin 59 PF3/PWM3 Audio PWM - JP20
22 October 28, 2008
Stellaris® LM3S3748 Evaluation Kit
Navigation SwitchThe 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.
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 LEDA 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 EVBAn 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 PeripheralsThe 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 InterfaceThe 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.
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
October 28, 2008 23
In-Circuit Debugger Interface
Figure 2-3. ICD Interface Mode
The debug interface operates in either serial-wire debug (SWD) or full JTAG mode, depending on the configuration in the debugger IDE.
The IDE/debugger does not distinguish between the on-EVB Stellaris microcontroller and an external Stellaris microcontroller. The only requirement is that the correct Stellaris device is selected in the project configuration.
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.
Evaluation Board Target Board
Stellaris MCU
Target Cable
`USB
PC with IDE/debugger
Stellaris MCU
TCK/SWCLK bypasses the on-board microcontroller
JTAG or SWD connects to the external microcontroller
Connecting Pin 18 to GND sets external debug mode
24 October 28, 2008
A P P E N D I X A
SchematicsThis 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
October 28, 2008 25
5
5
6
6
D D
C C
B B
A A
Document Number:
RevSheetDate: of7/3/2008 1 4
Drawing Title:
Page Title:
Size
Stellaris USB Host/Device Eval Board
Microcontroller
B
A
BD-LM3S3748
Revision D
0 Ja
History
1Y
8.00
10PF
C1
LCD_W
LCD_R
LCD_A
LCD0
LCD1
LCD2
LCD3
LCD4
LCD5
LCD6
LCD7
On-board Peripheral Signals
free GPIO lines if required.
Jumpers can be cut to
VCP_RX
VCP_TX
CARDCLK
CARDCSn
PA2/SSI0CLK
PA3/SSI0FSS
CARDRXPA5/SSI0TX
SOUND+
UP_SWn
DOWN_SWn
LEFT_SWn
RIGHT_SWn
SOUND-
PF2/PWM2
PF3/PWM3
CARDTXPA4/SSI0RX
LEDPF0/PWM0
WAKEn
Signals
if required.
o
AINAP
AINAM
AINBP
AINBM
BACKLIGHTPF1/PWM1
PB3/I2C0SDA
PB4/C0-
PB5/C1-
PB6/C0+
PB7/NMI
PA0/U0RX
PA1/U0TX
SELECT_SWn
I/O Break-out Headers
1
33
PC2/TDI
PE1/SSI1FSS
PG4/CCP3PG6/PWM6
PF1/PWM1PF3/PWM3
PF5/CCP2PF6/CCP1
PH1/CCP7
+VBUS
D1
MA2J728
PB4/C0-
PB7/NMI
PC4/CCP4
PG1/PWM5PD3/CCP0PD1/PHA0
PD7/ADC4
PE3/SSI1TXPD5/ADC6
PE6/ADC1PE4/ADC3
PC6/U1RX
PA2/SSI0CLKPA5/SSI0TXPA7/I2C1SDA
PB5/C1-
PB2/I2C0SCL
PB3/I2C0SDA
VBAT
PG5/FAULT1PF7/PHB0
PF0/PWM0
PF4/FAULT0PF2/PWM2 +3.3V
PG3/FAULT2PG0/PWM4PE0/SSI1CLK
PA0/U0RXPC3/TDO/SWOPH2/FAULT3PA3/SSI0FSSDBG+5V
JP1
JP2
JP3
JP4
JP9
JP10
JP12
JP13
JP15
JP19
68 67
36 35
JP25
JP24
JP23
JP22
JP20
AA
JuB
1
1
2
2
3
3
4
4
ate Description
n 31,08 Final prototype release
C110.1UF
+3.3V
C120.1UF
21
MHz
10PF
C2
Stellaris LM3S3748 Microcontroller
PF7/PHB0
PF0/PWM0PF1/PWM1PF2/PWM2PF3/PWM3PF4/FAULT0PF5/CCP2
PH0/CCP6PH1/CCP7PH2/FAULT3
1 2Y2
4.194304MHz
27PF
C3
27PF
C4
C60.1UF
HIBn
C140.1UF
R1
1M
VBAT
C160.1UF
C130.1UF
PD3/CCP0PD2/CCP5PD1/PHA0PD0/IDX0
PB6/C0+PB5/C1-PB4/C0-PB3/I2C0SDAPB2/I2C0SCL
PB7/NMI
INT_TCKTMS/SWDIO
PC2/TDIPC3/TDO/SWO
PA1/U0TXPA2/SSI0CLKPA3/SSI0FSSPA4/SSI0RXPA5/SSI0TX
PA0/U0RX
PA6/I2C1SCLPA7/I2C1SDA
PC4/CCP4PC5/C1+PC6/U1RXPC7/U1TX
PE0/SSI1CLKPE1/SSI1FSSPE2/SSI1RXPE3/SSI1TX
PC3/TDO/SWOPC2/TDI
USBDP
USBDMR3
9.10K
On-board LCD Signals
free GPIO lines if required.
Jumpers can be cut to
PG0/PWM4PG1/PWM5PG2PG3/FAULT2PG4/CCP3PG5/FAULT1PG6/PWM6PG7/PWM7
PG0/PWM4
PG1/PWM5
PG2
PG3/FAULT2
PG4/CCP3
PG5/FAULT1
PG6/PWM6
PG7/PWM7
PE4/ADC3PE5/ADC2PE6/ADC1PE7/ADC0
R
D
0
PC4/CCP4
PC5/C1+
PF6/CCP1
PD4/ADC7PD5/ADC6PD6/ADC5PD7/ADC4
HOSTEnUSB0VBUS
USB0EPEUSB0PFLT
PB2/I2C0SCL
R210K
+3.3V
C5OMIT
MCURSTn
C151UF0.01UF
C8
0.01UF
C9
C71UF 0.01UF
C10
WAKEn
Oscilloscope
free GPIO/ADC lines
Jumpers can be cut t
PE7/ADC0
PE6/ADC1
PE5/ADC2
PE4/ADC3
2
34
PA1/U0TXPA4/SSI0RX
PB6/C0+
PC5/C1+
PE2/SSI1RX
PE5/ADC2PE7/ADC0
PG2
PG7/PWM7
PD2/CCP5PD0/IDX0
PD4/ADC7PD6/ADC5
PH0/CCP6
PC7/U1TX
PA6/I2C1SCL
JP5
JP6
JP8
JP7
JP11
JP14
JP16
JP17
JP18
JP30
JP29
JP28
JP27
JP26
JP21
pr 2, 08 First production release
PB0 to HOSTEn connection required for Rev A0 silicon.
0 OhmJP33
PH2/FAULT3
D6
MA2J728
PH2 controls USB mux (and PB0 input per errata).Note 1:
PB1 jumpered to +5V per Rev A0 errata.Note 2:
+5V
PA0/U0RX26
PA1/U0TX27
PA2/SSI0CLK28
PA3/SSI0FSS29
PA4/SSI0RX30
PA5/SSI0TX31
PC0/TCK/SWCLK80
PC1/TMS/SWDIO79
PC2/TDI78
PC3/TDO/SWO77
PC4/CCP425
PC5/C1+24
PC6/U1RX23
PC7/U1TX22
PD0/IDX0 10
PD1/PHA0 11
PD2/CCP5 12
PD3/CCP0 13
PD4/ADC7 97
PD5/ADC6 98
PD6/ADC5 99
PD7/ADC4 100
GND9
GND15
GND21
GND33
RST64
LDO 7
OSC048
OSC149
PB0 66
PB1 67
PB2/I2C0SCL 72
PB3/I2C0SDA 65
PB4/C0- 92
PB5/C1- 91
PB6/C0+ 90
PB7/NMI 89
PE0/SSI1CLK74
PE1/SSI1FSS75
PE2/SSI1RX95
PE3/SSI1TX96
PE4/ADC36
PE5/ADC25
PA6/I2C1SCL34
PA7/I2C1SDA35
PE6/ADC12
PE7/ADC01
PF0/PWM0 47
PF1/PWM1 61
PF2/PWM2 60
PF3/PWM3 59
PF4/FAULT0 58
PF5/CCP2 46
PF6/CCP1 43
PF7/PhB0 42
PG0/PWM419
PG1/PWM518
PG217
PG3/FAULT216
PG4/CCP341
PG5/FAULT140
PG6/PWM637
PG7/PWM736
PH0/CCP6 86
PH1/CCP7 85
PH2/FAULT3 84
PH3/USB0EPEN 83
VDDA 3
GNDA4
VDD33 8
VDD33 20
VDD33 32
VDD33 44
VDD33 56
VDD33 68
VDD33 81
VDD33 93
GND39
GND45
GND54
GND57
GND63
GND69
GND82
GND87
GND94 VDD25 14
VDD25 38
VDD25 62
VDD25 88
WAKE50
HIB51
XOSC052
XOSC153
VBAT 55
PH4/NMI/USB0PFLT 76
USB0DM 70USB0DP 71
USB0RBIAS 73
U?
LM3S3748
0 OhmJP34
l 3, 08 Add PB1 to +5V jumper.Add pull-up on reset switch.
5
5
6
6
D D
C C
B B
A A
Document Number:
RevSheetDate: of7/3/2008 2 4
Drawing Title:
Page Title:
Size
Stellaris USB Host/Device Eval Board
Power, USB Selection
B
A
BD-LM3S3748
V D- D+ G5
1234
6
154-UAR42-EJ1
USB HOST
USB DEVICE
+VBUS
DEVICE+5V
5V D- D+ ID G
1 2 3 4
7
5
6
J6 54819-0572
J5
PJ-014D-SMT
DBG
Selector
OmitJP32
4
4
+5V DC
1
1
2
2
3
3
4
4
+3.3V
USBDP
USBDM
HOSTEn
R40Omit
R41Omit
USB0VBUS
C400.1UF
Main +3.3V 200mA Power Supply
VBUS Fault Protected Switch
10V
+ C39150uF
+VBUS
+3.3V
C361UF
C381UF
0.01UF
C37
VOUT 5
NR 1ON3
GN
D2
VIN4
U8PQ1LA333MSPQ
HIBn
R38100K
D4
MBR0520
1
23
DEVICE+5V
+5V
C351UF
USB0PFLT
USB0EPE
Host/Device
+5V
DEVICE+5V
+VBUS
C420.1UF
C410.1UF
N.C
.2
VCC1 GND
IO1
3
IO2
5
D10TPD2E001DRL
N.C
.2
VCC1 GND
IO1
3
IO2
5
D9TPD2E001DRL
D-4
GND 5
D1- 6
GND 2
D1+ 3
NC7
D+1
VCC 14
NC8
D2- 9
S110
VCC 11
D2+ 12
S213
U9
FSUSB11MTCX
GN
D1
IN2
IN3
EN4
OCn5
OUT 6
OUT 7
OUT 8
U7TPS2051BDGN
R39
100K
HOSTEn Low = USB Host selectedHOSTEn High = USB Device selected
SSSS820201
12
3
45
6
SW3
INPUT
Bus-Power / Self-Power Switch
+5VIN
OMITBT1
3V Coin Cell
R421.5K
VBATD7
MA2J728
+3.3V
Hibernation Battery (not installed)
DEVICE+5V
0 OhmR44
5
5
6
6
D D
C C
B B
A A
Document Number:
RevSheetDate: of7/3/2008 3 4
Drawing Title:
Page Title:
Size
Stellaris USB Host/Device Eval Board
LCD, Switches and Audio
B
A
BD-LM3S3748
R19
330DBGOUTLED
Debug Out
R18
330LED
Status
R20
330
Power
128x128 CSTN LCD Graphics Display
Status LEDs
+3.3V
LED1Green
LED2Red
LED3Green
rnate
D019 D118 D217 D316 D415 D514 D613 D712
VDD4 GND3 LED-A2 LED-K1
NC5
NC6
GND20
CSn7
RESB8
D/Cn9
WRn10
RDn11
U3
LCD-KWH015C04-F01
LCD7
R2247
LCD6LCD5LCD4LCD3LCD2LCD1LCD0
LCD_RDLCD_WRLCD_A0
MCURSTn
D2
MBR0520
D3
MBR0520
+5V
C23
0.1UF
LCD[0..7]
r
12345678
J2
CON-HD
TEST2
1
1
2
2
3
3
4
4
+3.3V
SOUND+
R12100K
SOUND-
R15100K
Audio Amplifier
C210.1UF
C180.1UF
4.7uH
L1
4.7uH
L21 2
SPK1
HIBn
HibeLED4Red
R21330
C19
1UF
microSD Card Slot
12345678
9 10 11 12
P1
2908-05WB-MG+3.3V
C220.1UF
+3.3V
CARDCSnCARDRX
CARDCLK
CARDTX
R1610K
R1710K
+3.3V
+3.3V
+3.3V
LCD[0..7]
1
2
6
Q3AFDG6322C
3
5
4
Q3BFDG6322C
BACKLIGHT
3
5
4
Q2BFDG6322C
1
2
6
Q2AFDG6322C
1
2
6
Q1AFDG6322C
3
5
4
Q1BFDG6322C
R4
100K 0.1%
13
4
1
52 U2
FAN4174IS5X R14100K
R13120K
+3.3V
VR+1.5V
R810K 0.1%
R910K 0.1%
R1010K 0.1%
R1110K 0.1%
AINAP
AINAM
AINBP
AINBM
2 Channel Oscilloscope
+3.3V
C170.1UF
+3.3VC200.1UF
R5
100K 0.1%
R6
100K 0.1%
R7
100K 0.1%
ResetSW1
SW-B3S1000
SELECT_SWn
UP_SWn
DOWN_SWn
LEFT_SWn
RIGHT_SWn
RESET_SWn
User Switches
1 3Up
6Right
2 4Down
7Left
5Select
SW2
TPA511GLFS
4-way Navigation Switch
Hibernate Mode Indicato
+5V
R-1X8-P100
TEST1
TEST1
TEST2
R43100K
+3.3V
5
5
6
6
D D
C C
B B
A A
Document Number:
RevSheetDate: of7/3/2008 4 4
Drawing Title:
Page Title:
Size
Stellaris USB Host/Device Eval Board
Debugger Interfaces
B
A
BD-LM3S3748
DBG+
+5
XTDIXTMS
R36
27
R35
27
R33
27
XTCK
R34
27
VCP_TX
XTDO
R32
27
TP6
TP5
TP4
TP3
TP7
TP8+3.3V
PLD JTAG TEST POINTS
PLD_TCK
PLD_TMS
PLD_TDI
PLD_TDO
+3.3v
JTAG/SWD InterfaceInput/Output
20212223242627283132333438
U6LC4032V-75TN48C
MCURSTn
DBGOUTLED
TARGETCABLEn
XVCC 1 23 45 67 89 10
11 1213151719
14161820
J4
CON-HDR-2X10-P100
R374.7K
1
1
2
2
3
3
4
4
GND18
GND25
GND34
ADBUS0 24
ADBUS1 23
ADBUS2 22
ADBUS3 21
ADBUS4 20
ADBUS5 19
ADBUS6 17
ADBUS7 16
ACBUS0 15
ACBUS1 13
ACBUS2 12
ACBUS3 11
BDBUS0 40
BDBUS1 39
BDBUS2 38
BDBUS3 37
BDBUS4 36
BDBUS5 35
BDBUS6 33
BDBUS7 32
BCBUS0 30
BCBUS1 29
BCBUS2 28
BCBUS3 27
SI/WUA 10
SI/WUB 26
GND9
AGND45
VCC 3
VCC 42
VCCIOA 14
VCCIOB 31
AVCC 46
PWREN# 41
XTOUT44 XTIN43
EECS48
EESK1
EEDATA2
TEST47
RESET#4
RSTOUT#5
3V3OUT6
USBDM8
USBDP7
U5
FT2232D
+3.3v
5V
R25 27
R26 27
+3.3V
+3.3V
DBG_JTAG_EN
R2310K
R24
1.5K
R271.5K
R28
330
+5V
+5V
+5VV
TCKTDI/DITDO/DOTMS/OUTEN
0.1UF
C280.1UF
C29
0.1UF
C30
0.1UF
C33
0.1UF
C34
0.1UF
C27
USB Device Controller
Channel A : JTAG / SW Debug
Channel B : Virtual Com Port
VCP_RX
PC2/TDI
PC3/TDO/SWO
TMS/SWDIO
5V D- D+ ID G
1 2 3 4
7
5
6
J7 54819-0572 +3.3V
SRSTN
Debug Interface Logic
Debugger USB Interface
TDI
1
A52
A63
A74
GN
D (B
ank
0)5
VCC
O (B
ank
0)6
A87
A98
A109
A1110
TCK
11
VC
C12
GN
D13
A1214
A13
15
A14
16
A15
17C
LK1/
I18
CLK
2/I
19
B0B1B2B3B4
TMS
25
B5B6B7
GN
D (B
ank
1)29
VCC
O (B
ank
1)30
B8B9
B10B11
TDO
35
VC
C36
GN
D37
B12
B13
39B
1440
B15
/GO
E141
CLK
3/I
42
CLK
0/I
43
A0/GOE044
A145
A246
A347
A448
Bank 0 Bank 1
+3.3V
RESET_SWn
0.1UFC31
+3.3V
Omit
JP31USBSH
CS 1
SK 2
DI 3
DO 4GND5 ORG6 NC7 VCC8
1K 64X16
U4
CAT93C46
1 2Y3
6.00MHz
27PF
C25
27PF
C26
0.1UF
C32
R304.7K
+3.3V
INT_TCK
SWO_EN
VCP_TX_SWO
MODE
MODE is reserved for future use.
TCK
/SW
CLK
TMS/
SWD
IO
R294.7K
+3.3V
RES
ETR
C
R3110K
+3.3V
1 23 45 67 89 10
J3
CON-HDR-2X5-050
XTCKXTMS
XTDIXTDO
Fine-pitch JTAG/SWD
XVCC
0.01UF
C24 N.C
.2
VCC1 GND 4
IO1
3
IO2
5
D8TPD2E001DRL
+3.3V
G H
G H
1
2
3
4
5
6
7
8
1
2
3
4
5
6
7
8
I105
7
I11415
I10738
I10633
I8644
I221
I707
I4231
I9232
I1624
I87
41
I8
40
I115
I111
I112
I109
ITCK
XTCK
U0TX
XTDO
XTDI
XTMS
DBGLED
TEST
TRSTn
MCURSTn
TVCC
e Detect, Hibernate and TVcc Control
A B C D E F
A B C D E F
I102
I100C
D QI96
I104
I36
I35
I18AB
S
I89AB
S I85AB
S
I1AB
S
I9034
I347
I646
I10816
I1326
I159
I7414
I9110
I745
I373
I54
I448
I9
I99I95
I20
FTDI_DBG
DBGOUTVCP_TX
SWO_EN
FTDI_TCK
FTDI_TDI_DO
FTDI_TDO_DI
JTAGEN
FTDI_TMS
JTAGENFTDI_DBG
FTDIJTAGEN SWDEN
FTDI_SRSTn
FTDI_DBG DBGOUT
INTDBG
RSTSW
RC
EXTCABLEn
HIBn DRVENSept 28, 2007JTAG Logic with Auto ModLuminary Micro, Inc.
A P P E N D I X B
PCBThis appendix contains plots showing component locations and board dimensions.
Component Locations (see page 32)
Evaluation Board Dimensions (see page 33)
Component LocationsThe figure on the following page shows component locations.
October 28, 2008 31
Figure B-1. LM3S3748 Evaluation Board Component Locations
32 October 28, 2008
Stellaris® LM3S3748 Evaluation Kit
Evaluation Board DimensionsFigure B-2. LM3S3748 Evaluation Board Dimensions
4.65"
2.45"
0.325 1.50"
1.75
October 28, 2008 33
34 October 28, 2008
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 Part Number Description Mfg Supplier Stock No.
C1, C2 2 C0603C100J5GACTU Capacitor 10pF 50V 5% Ceramic NPO/COG 0603
Kemet Mouser 80-C0603C100J5G
C3, C4, C25, C26 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
Panasonic 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 154-UAR42-E
Connector, USB Type A Assmann Kobiconn
Digikey Mouser
AE9924-ND 154-UAR42-E
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-H-AP-TR-P-LF 10995 TSM-110-01-S-DH-A-P-TR TSM-110-01-L-DH-A-P-TR TSM-110-01-T-DH-A-P-TR
Connector, 20 way dual header r/a SMT with placement cap
ML Electronics /
4ucon / Samtec
ML Electronics
/ 4ucon
TSHSM-110-D-02-T-H-AP-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
October 28, 2008 35
L1, L2 2 CBC2012T4R7M Inductor 4.7uH 360mA 0805 Chip Inductor
Taiyo Yuden Digikey 587-1602-1-ND
LED1, LED3 2 LTST-C171GKT LED, 0805 SMT Green LiteOn Mouser / Arrow
LTST-C171GKT
LED2, LED4 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 Panasonic Digikey P1.0MGCT-ND
R12, R14, R15, R38, R39
5 ERJ-3EKF1003V Resistor 100K 1% 0603 Panasonic Digikey P100KHCT-ND
R13 1 ERJ-3EKF1203V Resistor 120K 1% 0603 Panasonic Digikey P120KHCT-ND
R18, R19, R20, R21, R28
5 ERJ-3GEYJ331V Resistor 330 ohms 5% 0603 Panasonic Digikey P330GCT-ND
R2, R16, R17, R23, R31
5 ERJ-3GEYJ103V Resistor, 10K 5% 0603 Panasonic Digikey P10KGCT-ND
R22 1 ERJ-3GEYJ470V Resistor 47 Ohms 5% 0603 Panasonic Digikey P47GCT-ND
R24, R27, R42 3 ERJ-3GEYJ152V Resistor, 1.5K 5% 0603 Panasonic Digikey P1.5KGCT-ND
R25, R26, R32, R33, R34, R35,
R36
7 ERJ-3GEYJ270V Resistor 27 Ohms 5% 0603 Panasonic Digikey P27GCT-ND
R29, R30, R37 3 ERJ-3GEYJ472V Resistor 4.7K 5% 0603 Panasonic Digikey P4.7KGCT-ND
R3 1 ERJ-3EKF9101V Resistor 9.10K 1% 0603 Panasonic Digikey P9.1KHCT-ND
R4, R5, R6, R7 4 ERA-3AEB104V Resistor 100K 0.1% 25ppm 0603
Panasonic Digikey P100KDBTR-ND
R8, R9, R10, R11 4 ERA-3AEB103V Resistor 10K 0.1% 25ppm 0603
Panasonic 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
SW1 1 B3S-1000P Switch, Momentary Tact 160gmf 6mm
Omron Arrow / Future
SW415-ND
U1 1 LM3S3748 IC, Microcontroller ARM Cortex TQFP-100
Luminary Luminary LM3S3748
U2 1 FAN4174IS5X_NL IC, Op-amp Rail-to-Rail SOT23-5
Fairchild Mouser 512-FAN4174IS5X
Table C-1. LM3S3748 Bill of Materials (Continued)
Reference Qty Part Number Description Mfg Supplier Stock No.
36 October 28, 2008
Stellaris® LM3S3748 Evaluation Kit
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 NX8045GB-8.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 Advanced 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 Panasonic Digikey P0.0GTR_ND
Do not populate J3 (0.05" JTAG header), R41, R43, BAT1
Table C-1. LM3S3748 Bill of Materials (Continued)
Reference Qty Part Number Description Mfg Supplier Stock No.
October 28, 2008 37
38 October 28, 2008
A P P E N D I X D
Connection DetailsThis 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 PadsThe 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
October 28, 2008 39
DC Power JackThe 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
The socket is 3.5 mm dia with a 1.3 mm pin. Suitable plugs include CUI PP3-002D.
ARM Target PinoutIn 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).
Oscilloscope Header PinoutTable D-3 shows the header pinout for the oscilloscope.
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
Table D-3. Oscilloscope Header Pinout
Pad No. Description Test Wiring
1 Test Point 1 Wire this pair
2 Channel 1 +
Center Positive (+)
40 October 28, 2008
Stellaris® LM3S3748 Evaluation Kit
3 Channel 1- Wire this pair
4 GND
5 Test Point 2 Wire this pair
6 Channel 2 +
7 Channel 2 - Wire this pair
8 GND
Table D-3. Oscilloscope Header Pinout (Continued)
Pad No. Description Test Wiring
October 28, 2008 41
42 October 28, 2008
A P P E N D I X E
ReferencesIn 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.luminarymicro.com:
Stellaris LM3S3748 Evaluation Kit Quickstart Guide for appropriate tool kit (see “Evaluation Kit Contents,” on page 12)
Stellaris LM3S3748 Evaluation Kit Read Me First
Stellaris Family Peripheral Driver Library User’s Guide, publication PDL-LM3S3748
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
October 28, 2008 43
44 October 28, 2008
A P P E N D I X F
Contact Information
Company InformationLuminary Micro, Inc. designs, markets, and sells ARM Cortex-M3-based microcontrollers (MCUs). Austin, Texas-based Luminary Micro is the lead partner for the Cortex-M3 processor, delivering the world's first silicon implementation of the Cortex-M3 processor. Luminary Micro's introduction of the Stellaris® family of products provides 32-bit performance for the same price as current 8- and 16-bit microcontroller designs. With entry-level pricing at $1.00 for an ARM technology-based MCU, Luminary Micro's Stellaris product line allows for standardization that eliminates future architectural upgrades or software tool changes.
Luminary Micro, Inc.108 Wild Basin, Suite 350Austin, TX 78746Main: +1-512-279-8800Fax: +1-512-279-8879http://www.luminarymicro.com
Support InformationFor support on Luminary Micro products, contact:
support@luminarymicro.com+1-512-279-8800, ext. 3
October 28, 2008 45
46 October 28, 2008
Recommended