Texas Instruments Stellaris RDK-IDM-SBC User manual

RDK-IDM-SBC-UM-05 Copyright © 2009–2011 Texas Instruments
User’s Manual
Stellaris® Intelligent Display Module
Single-Board Computer (IDM-SBC)
Reference Design Kit

2November 28, 2011
Copyright
Copyright © 2009–2011 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

Stellaris® IDM Single-Board Computer
November 28, 2011 3
Table of Contents
Chapter 1: Stellaris® Intelligent Display Module Single-Board Computer RDK Overview........................9
Kit Contents......................................................................................................................................................10
Using the RDK..................................................................................................................................................10
Features............................................................................................................................................................11
Board Overview ................................................................................................................................................12
Board Specifications.....................................................................................................................................12
Chapter 2: Hardware Description..................................................................................................................13
Block Diagram ..................................................................................................................................................13
Functional Description ......................................................................................................................................14
Microcontroller ..............................................................................................................................................14
Debugging.....................................................................................................................................................14
Expansion Connector....................................................................................................................................14
Power and Interface Terminal Block.............................................................................................................15
Clocking........................................................................................................................................................15
Reset.............................................................................................................................................................15
SDRAM.........................................................................................................................................................15
Power Supplies.............................................................................................................................................16
USB...............................................................................................................................................................16
Ethernet ........................................................................................................................................................16
Color QVGA LCD Touch Panel.....................................................................................................................16
I2S Audio.......................................................................................................................................................18
Controller Area Network (CAN).....................................................................................................................18
Serial Flash and microSD Card ....................................................................................................................18
Chapter 3: Software Development ................................................................................................................21
Software Description.........................................................................................................................................21
Source Code.....................................................................................................................................................21
Tool Options .....................................................................................................................................................21
Programming the IDM-SBC..............................................................................................................................22
Appendix A: Schematics................................................................................................................................25
Appendix B: Bill of Materials (BOM) .............................................................................................................29
Appendix C: Component Details...................................................................................................................31

4November 28, 2011

Stellaris® IDM Single-Board Computer
November 28, 2011 5
List of Figures
Figure 1-1. Intelligent Display Module Single-Board Computer.........................................................................9
Figure 1-2. IDM-SBC Board Overview Diagram..............................................................................................12
Figure 2-1. Intelligent Display Module Single-Board Computer Block Diagram ..............................................13
Figure 2-2. Debug Connection Pinout .............................................................................................................14
Figure 2-3. Expansion Connector....................................................................................................................14
Figure 2-4. Pluggable Terminal Blocks............................................................................................................15
Figure C-1. Component placement plot for top................................................................................................31

6November 28, 2011

Stellaris® IDM Single-Board Computer
November 28, 2011 7
List of Tables
Table 2-1. LCD-Related Signals.....................................................................................................................17
Table 2-2. I2S Audio-Related Signals.............................................................................................................18
Table 2-3. CAN-Related Signals ....................................................................................................................18
Table 2-4. Serial Flash and microSD-Related Signals ...................................................................................19
Table B-1. RDK-IDM-SBC Bill of Materials (BOM) .........................................................................................29

8November 28, 2011

November 28, 2011 9
Stellaris® Intelligent Display Module Single-Board
Computer RDK Overview
The Stellaris® Intelligent Display Module Single-Board Computer (RDK-IDM-SBC) is a reference
design for a complete QVGA touch-screen user interface for control, automation, and
instrumentation applications. The design features the powerful Tempest-class LM3S9B92
microcontroller. The IDM-SBC offers USB, Ethernet, CAN, 8 MB of SDRAM, 1 MB of serial Flash,
integrated 256 KB flash, and 96 KB SRAM, and provides simplified software development for the
RDK using The Stellaris comprehensive graphics library and ARM development tools from ARM
tools partners. The 8 MB of SDRAM is connected to the LM3S9B92 microcontroller using the
External Peripheral Interface (EPI) bus available as a feature on Tempest-class devices. The
efficient performance and robust integration of an ARM® Cortex™-M3 microcontroller, positions
the IDM-SBC for use in building access controllers and security systems, intelligent white goods
and home appliances, thin clients, and factory automation applications.
This user's manual provides comprehensive information on the reference design hardware and
software.
Figure 1-1. Intelligent Display Module Single-Board Computer
CHAPTER 1

Stellaris® Intelligent Display Module Single-Board Computer RDK Overview
10 November 28, 2011
Kit Contents
The RDK-IDM-SBC reference design kit contains everything needed to develop and run a range of
applications using Stellaris microcontrollers:
IDM-SBC board
8ΩSpeaker
Retractable ethernet cable
USB flash memory stick
microSD card
Power supply adaptor cable
2-position and 6-position terminal blocks
24 V wall power supply with international plug-set
MDL-ADA2 10-pin to 20-pin JTAG adapter module
Reference Design Kit CD with tools, complete documentation, and source code including:
–Quickstart Guide
–User’s Manual
–Software Reference Manual
–Board Data Sheet
–BOM
–Schematics
–Gerber files
The source code can be modified and compiled using any of the following tools:
Keil™ RealView® Microcontroller Development Kit (MDK-ARM)
IAR Embedded Workbench
Code Sourcery GCC development tools
Code Red Technologies development tools
Texas Instruments’ Code Composer Studio™ IDE
Using the RDK
The recommended steps for using the RDK are:
Follow the Quickstart guide included in the kit. The Quickstart guide will help get the
display module up and running in minutes.
Use your preferred ARM tool-chain and the Stellaris Graphics library to develop
touch-panel, USB, and Ethernet applications. Software applications can be loaded into IDM
flash memory using either the Ethernet boot loader or a JTAG/SWD debug interface. See
Chapter 3, “Software Development,” for the programming procedure. The Stellaris Graphics
Library Software Reference Manual and the Stellaris Peripheral Driver Library Software
Reference Manual each contain specific information on software structure and function.
Customize and integrate the hardware to suit an end application. This user's manual is an
important reference for understand circuit operation and completing hardware modification.

Stellaris® IDM Single-Board Computer
November 28, 2011 11
Features
The RDK-IDM-SBC reference design kit provides the following features:
Bright QVGA LCD touch-screen display
–262 K colors, 3.5" QVGA 320 x 240 pixels
–White LED backlight with resistive touch panel
Advanced audio
–I2S mono Codec for high-quality audio
–0.8 W amplifier directly drives external 8-Ohm speaker
Serial connectivity options
–USB 2.0 Host
–10/100 Ethernet MAC and PHY
–1 MBPS Controller Area Network (CAN)
–I2C Interface for external peripherals and sensors
–UART serial port with TTL signal levels
High performance microcontroller
–32-bit ARM® Cortex™-M3 core
–256 KB single-cycle flash, 96 KB single-cycle SRAM
–80 MHz operation
Versatile board-level memories
–8 MB SDRAM connected by EPI
–1 MB serial flash connected by SPI
–microSD card slot
–USB Host connector for external mass-storage devices
Power supply
–Wide input range 12-40 Vdc power supply with auxiliary 5 V power output
Screw terminal block for I2C, CAN, and power connections
Compact 2.0” x 3.0” PCB footprint
Easy to customize
–Includes full source code, example applications, and design files
–Develop using tools supporting Keil™ RealView® Microcontroller Development Kit
(MDK-ARM), IAR Embedded Workbench, Code Sourcery GCC development tools, Code
Red Technologies development tools, or Texas Instruments’ Code Composer Studio™ IDE
(using a Stellaris evaluation kit or preferred ARM Cortex-M3 debugger)
–Supported by Stellaris Graphics Library and StellarisWare® Peripheral Driver Library
–Comes with factory-programmed quickstart game demo application
–Ethernet boot loader for firmware update

Stellaris® Intelligent Display Module Single-Board Computer RDK Overview
12 November 28, 2011
Board Overview
Figure 1-2 shows an overview of the board.
Figure 1-2. IDM-SBC Board Overview Diagram
Board Specifications
The following list shows the IDM-SBC’s board specifications:
Board supply voltage range: 10-40 Vdc
Board supply current with 24 V supply
–55 mA (1.3 W) when running qs-blox application at 50 MHz
5 V power output (for USB Host or +5 V terminal)
–5 V +/- 5% at 500 mA
Dimensions (excluding LCD panel):
• 2.00” x 3.00” x 0.60” (L x W x H)
Speaker
–Impedance: 8 Ω(±1 Ω)
–Output power: 0.8 W
–Format: Mono
RoHS status: Compliant
JTAG/SWD Connector
Stellaris LM3S39B92
Microcontroller
CAN Transceiver
Flex cable to LCD
Touch Panel
Integrated Power
supply
10/100 Ethernet
microSD Card Slot
8MB SDRAM
Audio Connector
Power and
Ground Test
Points
1MB Serial Flash
I2S Audio CODEC
UART/Expansion
Power Terminals
I2C and CAN Terminals USB Host
+10-40V
GND
I2C SDA
I2C SCL
GND
CAN L
CAN H
+5V

November 28, 2011 13
Hardware Description
The IDM-SBC design uses a Stellaris® LM39B92 microcontroller to handle display functions,
touch-screen control, Ethernet, USB, CAN, and other peripheral functions. Only a few additional
ICs are necessary to complete the design. The entire circuit is built on a compact four-layer printed
circuit board. All design files are provided on the RDK-IDM-SBC CD.
Block Diagram
Figure 2-1 shows the IDM-SBC block diagram.
Figure 2-1. Intelligent Display Module Single-Board Computer Block Diagram
QVGA
Color LCD Module
IDM Single Board Computer
+3.3V
Regulator
I2C
Debug
USB
Control
+5V host supply
USB
Type-A
Connector
MicroSD
card slot 1GB
1MB
Serial
Flash
Touch
I2S
RJ45
Jack+
Magnetics
Speaker
Audio
CODEC
and Amp
EPI
8MB
SDRAM
Step-down
switching
regulator
12-40V
CAN CAN
PHY CAN
Stellaris
LM3S9B92
Microcontroller
SPI
UART0
+5V
Expansion
I/O
Terminal
Block
Ethernet
USB Host
DC In
Data
Power
Terminal
Block
CHAPTER 2

Hardware Description
14 November 28, 2011
Functional Description
This section describes the IDM-SBC’s hardware design in detail.
Microcontroller
The Stellaris LM39B92 is an ARM Cortex-M3-based microcontroller with 256-KB flash memory,
80-MHz operation, Ethernet, USB, EPI and a wide range of peripherals. See the LM39B92 data
sheet (order number DS-LM39B92) for complete device details.
The IDM-SBC’s LM39B92 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.
Debugging
The microcontroller supports JTAG and SWD debugging as well as SWO trace capabilities. To
minimize board area, the IDM-SBC uses a 0.050” pitch header (J6) which matches ARM’s
fine-pitch definition (Figure 2-2). Some in-circuit debuggers provide a matching connector. Other
debuggers can be used with the MDL-ADA2 adaptor board included in the RDK.
Figure 2-2. Debug Connection Pinout
Expansion Connector
UART0 signals from the microcontroller are available on J4, an internal expansion connector. The
pin-out of this connector is compatible with the power/UART cable used by the ICDI board
included in the EK-LM3S9B90 and EK-LM3S9B92 evaluation kits. This then provides a convenient
Virtual Com port interface to a PC. A pair of I2C signals are also available, however, jumpers
connecting SCL and SDA are normally omitted to avoid conflict with digital signals from the ICDI
board.
Figure 2-3. Expansion Connector1
1. Revision A PCBs transpose UART0 RX and TX signals and are, therefore, incompatible with ICDI connections.
12
910
TMS/SWDIO
TCK/ SWCLK
TDO
TDI
SRSTn
3.3V
GND
GND
n/c
GND
12
78
UART0 TX
UART0 RX
SCL (opt)
n/c
SDA (opt)
GND
GND
n/c

Stellaris® IDM Single-Board Computer
November 28, 2011 15
Power and Interface Terminal Block
Power, CAN, and I2C interfaces are provided through 3.5 mm pluggable terminal blocks. For
convenience, the RDK includes the plugs. See the BOM for complete part numbers.
Figure 2-4. Pluggable Terminal Blocks
I2C is a short-distance intra-device bus that can be used to add capabilities such as an ADC (for
analog measurement) or digital inputs and outputs.
CAN is best suited for communication between devices. Refer to the CAN specification for
complete details on data rates and bus length.
Clocking
The IDM-SBC board uses a 16.0-MHz (Y2) crystal to complete the LM3S9B92 microcontroller's
main internal clock circuit. An internal PLL, configured in software, multiples this clock to higher
frequencies for core and peripheral timing.
A 25.0 MHz (Y1) crystal provides an accurate timebase for the Ethernet PHY.
Reset
The RESETn signal into the LM3S39B92 microcontroller connects to the JTAG/SWD debug
connector and to a simple R-C filter circuit to extend reset timing at power up.
The LCD Module has special Reset timing requirements requiring a dedicated control line from the
microcontroller.
SDRAM
The LM3S9B92 features an External Peripheral Interface (EPI) module, a high-speed 8/16/32-bit
parallel bus for connecting external peripherals or memory without glue logic. Supported modes
include SDRAM, SRAM and Flash memories, as well as Host-bus and FIFO modes.
On the IDM-SBC, the SDRAM device interfaces directly to the EPI and adds 8MB of memory (4M
x 16) which, once configured, becomes part of the LM3S9B92’s memory map at either
0x6000.0000 or 0x8000.0000.
The SDRAM interface multiplexes DQ00..14 and AD/BA0..14 without requiring external latches or
buffers. Of the 32 EPI signals, only 24 are used in SDRAM mode, with the remaining signals used
for non-EPI functions on the board.
+10-40VDC
GND
I2C SDA
I2C SCL
GND
CAN L
CAN H
+5V

Hardware Description
16 November 28, 2011
Power Supplies
The RDK-SBC has a wide input range switching-power supply that creates a 5V 1A rail for board
operation. The LM22672 step-down regulator switches at 500KHz with an efficiency of greater
than 90%. Board functions require only about 150 mA with the remaining capability available for
external interfaces such as USB host.
A low drop-out (LDO) regulator (U7) converts the +5V power rail to +3.3V to power digital devices
including the microcontroller and SDRAM.
USB
The LM3S9B92’s full-speed USB controller is configured for Host mode, allowing the SBC to
connect directly to USB Flash sticks and other USB devices.
U9, a fault-protected switch, controls and monitors power to the USB host port. USB_EPEN, the
control signal from the microcontroller, has a pull-down resistor to ensure host-port power remains
off during reset. The power switch will immediately cut 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
500mA. USB_PFLT indicates the over-current status back to the microcontroller.
Ethernet
With its fully integrated 10/100 Ethernet MAC and PHY, the LM3S9B92 requires only a standard
Jack with integrated magnetics and a few passive components. The TX and RX signals are routed
to the jack as a differential pair. The PHY incorporates MDI/MDI-X cross-over, so the function of
the TX and RX pairs can be swapped in software.
The Ethernet jack incorporates two status LEDs that can be controlled directly by the Ethernet
PHY or by those same pins in GPIO mode.
Color QVGA LCD Touch Panel
The IDM-SBC features a TFT Liquid Crystal graphics panel with 320 x 240 pixel resolution. The
face of the panel is protected during shipping by a thin, protective plastic film which should be
removed before use.
The panel should be laid on a flat surface during evaluation, to protect it from damage and
maximize the sensitivity of the touch screen.
Features Features of the LCD Panel include:
–Kitronix K350QVG-V1-F display
–320 x RGB x 240 dots
–3.5” 262K colors
–Wide temperature
–White LED backlight
–Integrated RAM
–Resistive touch panel

Stellaris® IDM Single-Board Computer
November 28, 2011 17
Control Interface
The Color LCD module has a built-in controller IC with a multi-mode parallel interface. The EVB
uses an 8-bit 8080 type interface with GPIO Port D providing the data bus.
BacklightThe white LED backlight must be powered for the display to be clearly visible. U9 (FAN5331B)
implements a 20mA constant-current LED power source to the backlight. The backlight is
controlled by the microcontroller using GPIO PJ7. The timer connected to this pin could be
configured to provide a modulated dimming signal
Because the FAN5331B operates in a constant current mode, its output voltage will jump up if the
LCD should become disconnected. To prevent over-voltage failure of the IC or diode D5, a zener
(D6) clamps the voltage. The current will limit to 20mA, but the total board current will be higher
than when the LCD panel is connected. If the LCD is not connected, avoid over-heating the
backlighting circuit, by setting PJ7 low to completely shut-down the circuit.
Power The LCD module has internal bias voltage generators and requires only a single 3.3V dc supply.
Resistive Touch Panel
The 4-wire resistive touch panel interfaces directly to the microcontroller, using 2 ADC/GPIO
channels and 2 GPIO-only signals. The microcontroller creates a resistive divider by driving Y+
and Y- with 3.3V (VOH) and 0V (VOL) respectively. A voltage representing the Y-axis position is
then read on the X+ terminal. The process then repeats for the other axis. Note that when the
screen is not being touched, the X+ or Y+ sense inputs are floating. The software implements a
special state to discharge the capacitor (C10 or C15) to 0V and detect this condition.
Refer to the StellarisWare® source code for additional information on touch panel implementation.
Table 2-1. LCD-Related Signals
Microcontroller Pin Board Function
PE6/ADC1 Touch X+
PE3 Touch Y-
PE2 Touch X-
PE7/ADC0 Touch Y+
PB7 LCD Reset
PD0..7 LCD Data Bus 0..7
PH7 LCD Data/Control Select
PB0 LCD Read Strobea
a. LCD Read function not available on LM3S9B92 Rev B1. See rework note in
schematic.
PH6 LCD Write Strobe
PJ7 Backlight control

Hardware Description
18 November 28, 2011
I2S Audio
The IDM-SBC has advanced audio capabilities using an I2S-connected Wolfson WM8510
CODEC. The CODEC’s integrated amplifier can directly drive an 8 Ωspeaker. Although the
CODEC supports a microphone input, pin count limits on the LM3S9B92 result in this feature
being unconnected. The Microphone signals are still routed to connector J8 in-case the user
wishes to wire the ADCDAT signal to the LM3S9B92.
The Audio CODEC has a number of control registers which are configured using the I2C bus
signals. CODEC settings can only be written, but not read, using I2C. Refer to the StellarisWare®
example applications for programming information and to the WM8510 data sheet for complete
register details.
In the default configuration, the LM39B92 provides the master Bit Clock (BCLK) and System Clock
(MCLK) to the CODEC. Since the CODEC has only one set of clock I/Os for both audio-out and
audio-in functions, only the LM39B92 I2S module transmit clocks are connected.
DriverLib provides I2S source code, with most examples showing Audio Output.
Controller Area Network (CAN)
Controller Area Network (CAN) is a multicast, shared serial bus standard for connecting
automotive or industrial systems. The IDM-SBC board includes a CAN transceiver (U5) capable of
communicating at up to 1Mb/s. The end-points of the CAN bus should be properly terminated with
120? resistors.
Serial Flash and microSD Card
To supplement the LM3S9B92 microcontroller’s internal Flash memory, the IDM-SBC board
includes a 1MB on-board serial Flash memory and a microSD card slot. Both devices share a SPI
Table 2-2. I2S Audio-Related Signals
Microcontroller Pin Board Function
PB3/I2C0SDA CODEC Configuration Data
PB2/I2C0SCL CODEC Configuration Clock
PE5/I2STXSD Audio Out Serial Data
PE4/I2STXWS Audio Out Framing signal
PB6/I2STXSCK Audio Out Bit Clock
PF1/I2STXMCLK Audio Out System Clock
Table 2-3. CAN-Related Signals
Microcontroller Pin Board Function
PB5/CAN0TX CAN Transmit Data
PB4/CAN0RX CAN Receive Data

Stellaris® IDM Single-Board Computer
November 28, 2011 19
(Serial Peripheral Interface) bus. These memories are typically used for data storage and for large
code images which are copied into SDRAM for execution.
The microSD card is used in SPI mode. 4-bit and 1-bit SD card modes are not supported.
Table 2-4. Serial Flash and microSD-Related Signals
Microcontroller Pin Board Function Jumper Name
PA2/SSI0CLK Clock from SPI module SCLK
PA3 microSD Card chip select SDCSn
PA4/SSI0RX Receive data from SPI module MISO
PA5/SSI0TX Transmit data from SPI module MOSI
PF0 Serial Flash chip select FLCSn

Hardware Description
20 November 28, 2011
Table of contents
Other Texas Instruments Single Board Computer manuals
Popular Single Board Computer manuals by other brands

IEI Technology
IEI Technology KINO-DAL Quick installation guide

NXP Semiconductors
NXP Semiconductors QN902 Series user manual

IEI Technology
IEI Technology AESQ170-969 user manual

Sony
Sony LE-C36 Series Handling instructions

Phytec
Phytec phyCORE-AM64xx Hardware manual

Motorola
Motorola MVME2100 Programmer's reference guide