Texas Instruments Stellaris IDM-L35 User manual

RDK-IDM-L35-01 Copyright © 2008–2009 Texas Instruments
User’s Manual
Stellaris® Intelligent Display Module
(IDM-L35) with 3.5" Landscape Display
Reference Design Kit

2August 7, 2009
Copyright
Copyright © 2008–2009 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
Main: +1-512-279-8800
Fax: +1-512-279-8879
http://www.luminarymicro.com

Stellaris® Intelligent Display Module with 3.5" Display
August 7, 2009 3
Table of Contents
Chapter 1: Stellaris® Intelligent Display Module with3.5" Landscape Display Reference Design Kit Over-
view....................................................................................................................................................................9
Kit Contents......................................................................................................................................................10
Using the RDK..................................................................................................................................................10
Features............................................................................................................................................................10
Board Overview ................................................................................................................................................11
Chapter 2: Hardware Description..................................................................................................................13
Block Diagram ..................................................................................................................................................13
Functional Description ......................................................................................................................................14
Microcontroller, Reset, and JTAG (Schematic page 1).................................................................................14
Microcontroller ..........................................................................................................................................14
Debugging.................................................................................................................................................14
LCD Panel and Voltage Regulators (Schematic page 2)..............................................................................14
LCD Panel.................................................................................................................................................14
Touch Panel..............................................................................................................................................15
High Power LED Driver.............................................................................................................................15
3.3 V DC Regulator...................................................................................................................................15
UART, microSD Card Slot, Speaker, Analog Inputs, Digital I/O (Schematic page 3)...................................15
RS232 Serial Port .....................................................................................................................................15
microSD Card Slot ....................................................................................................................................15
Speaker.....................................................................................................................................................15
Analog Inputs............................................................................................................................................16
Digital I/O ..................................................................................................................................................16
Serial Header............................................................................................................................................16
Chapter 3: Software Development ................................................................................................................17
Software Description.........................................................................................................................................17
Source Code.....................................................................................................................................................17
Tool Options .....................................................................................................................................................17
Programming the IDM.......................................................................................................................................18
Appendix A: Schematics................................................................................................................................21
Appendix B: Bill of Materials (BOM) .............................................................................................................25
Appendix C: Component Details...................................................................................................................29

4August 7, 2009

Stellaris® Intelligent Display Module with 3.5" Display
August 7, 2009 5
List of Figures
Figure 1-1. Intelligent Display Module with 3.5" Landscape Display .................................................................9
Figure 1-2. IDM-L35 Board Overview Diagram ...............................................................................................11
Figure 2-1. Intelligent Display Module with 3.5” Display Block Diagram..........................................................13
Figure 2-2. Debug Connection Pinout .............................................................................................................14
Figure C-1. Component placement plot for top................................................................................................29
Figure C-2. Component placement plot for bottom ..........................................................................................30

6August 7, 2009

8August 7, 2009

August 7, 2009 9
Stellaris® Intelligent Display Module with 3.5"
Landscape Display Reference Design Kit Overview
Stellaris® Intelligent Display Module with 3.5" Landscape Display (MDL-IDM-L35) Reference
Design Kit (RDK-IDM-L35) is a highly integrated QVGA touch-panel module for automation and
instrumentation applications. The compact design is based on the Stellaris® LM3S1958
microcontroller; a highly integrated microcontroller incorporating a 32-bit ARM® Cortex™-M3 core.
Development of software for the RDK-IDM-L35 is simplified by using the Stellaris comprehensive
graphics library and ARM development tools from our tools partners. The IDM-L35 RDK includes
the touch panel module (MDL-IDM-L35), a documentation CD, power supply, and cables.
The IDM-L35 design uses a Stellaris® LM3S1958 microcontroller to handle display functions,
touchscreen control, networking, and 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-L35 CD.
This user's manual provides comprehensive information on the reference design hardware and
software.
Figure 1-1. Intelligent Display Module with 3.5" Landscape Display
CHAPTER 1

Stellaris® Intelligent Display Module with 3.5" Landscape Display Reference Design Kit Overview
10 August 7, 2009
Kit Contents
The RDK-IDM-L35 reference design kit comes with the following:
MDL-IDM-L35 Intelligent QVGA 3.5” Touch Panel
USB to TTL Serial cable
Debug adapter
–Adapts 10-pin fine-pitch ARM JTAG connector to standard 20-pin connector
Reference Design Kit CD
–Complete documentation, including Quickstart and User's Guides
–Graphical User Interface (GUI) installer
–Complete source code, schematics, and PCB gerber files
The source code can be modified and compiled using tools from Keil and IAR as well as the Gnu C
Compiler for ARM Cortex-M3. Complete GCC tool-chains include those from CodeSourcery and
CodeRed.
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 a
touch-panel application. Software applications are loaded into IDM flash memory using a
JTAG/SWD debug interface or via the serial port using the included boot loader software. 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.
Features
The RDK-IDM-L35 reference design kit provides the following features:
Bright QVGA LCD touch-screen display
–262 K colors, 2.8" QVGA 320 x 240 pixels
–White LED backlight with resistive touch panel
Serial connectivity options
–UART serial port with RS232 signal levels
–UART serial port with TTL signal levels
–Synchronous serial port
High performance microcontroller and large memory
–32-bit ARM® Cortex™-M3 core
–256 KB Main Flash memory, 64 KB SRAM

Stellaris® Intelligent Display Module with 3.5" Display
August 7, 2009 11
–microSD card slot
Power
–Board requires 5 V DC for operation, with an on-board regulator generating 3.3 V for the
Stellaris MCU and other components. Three 5 V connector options are provided:
• DC power jack J7
• Terminal block J1
• Serial header J8
Easy to customize
–Includes full source code, example applications, and design files
–Develop using tools supporting the FastMATH from Keil, IAR, Code Sourcery, and Code
Red (using a Stellaris evaluation kit or preferred ARM Cortex-M3 debugger)
–Supported by the Stellaris Graphics Library and Stellaris® Peripheral Driver Library
Board Overview
Figure 1-2 shows an overview of the board.
Figure 1-2. IDM-L35 Board Overview Diagram
1
microSD Card
Digital I /O (8)
JTAG/SWD
Serial Header
Digital I/O(4)
5V
GND
RS232
Serial Port Analog
Inputs (4)
Digital I /O (4)
5V
GND

Stellaris® Intelligent Display Module with 3.5" Landscape Display Reference Design Kit Overview
12 August 7, 2009

August 7, 2009 13
Hardware Description
The IDM-L35 design uses a Stellaris® LM3S1958 microcontroller to handle display functions,
touch-screen control, UART, and 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-L35 CD.
Block Diagram
Figure 2-1 shows the IDM-L35 block diagram.
Figure 2-1. Intelligent Display Module with 3.5” Display Block Diagram
QVGA
3.5" LCD
Panel
LCD
Driver
Stellaris
LM3S1958
Microcontroller
Speaker
microSD
card
microSD
RS232 Serial
Analog
5 V
ADC(4)
Analog touch signals
3.3V
Regulator
3.3V 5V
5V DC Jack
Data
Ctrl
Digital I/O (4)
ESD Protected
ESD Protected
Digital I/O (8) Digital I/O (4)
Serial Header
CHAPTER 2

Hardware Description
14 August 7, 2009
Functional Description
This section describes the IDM-L35’s hardware design in detail.
Microcontroller, Reset, and JTAG (Schematic page 1)
Page 1 of the schematics details the microcontroller, and JTAG debug interface.
Microcontroller
At the core of the IDM-L35 is the Stellaris LM3S1958 microcontroller (U1). The Stellaris
microcontroller operates at up to 50 MHz using an internal PLL.
The LM3S1958 microcontroller has an internal LDO voltage regulator that supplies power for
internal use. This rail requires only three capacitors for decoupling and is not connected to any
other circuits.
A reset switch (SW1) and R-C network (R25, C15) connect to the microcontroller’s RSTn input. An
external reset circuit is not required by the LM3S1958 microcontroller, the R-C components simply
serve to filter any noise on the reset line.
Debugging
The microcontroller supports JTAG and SWD debugging as well as SWO trace capabilities. To
minimize board area, the IDM-L35 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 ADA1 adaptor board included in the RDK.
Figure 2-2. Debug Connection Pinout
LCD Panel and Voltage Regulators (Schematic page 2)
Page 2 of the schematics contains the LCD panel connector, 3.3 V DC regulator, and the high
voltage LED driver for the LCD panel backlight.
LCD Panel
The LCD panel is attached to FPC ZIF connector P1 and is a 3.5” TFT panel with an integrated
controller (SSD2119). The graphics display memory resides in the LCD panel and contains 168
kilobytes. The LCD panel requires only a 3.3 V power supply which also simplifies system design.
The LCD panel system interface has several modes of operation, for the IDM-L35 it is configured
for 8080 series 16-bit parallel interface mode for improved data rate. Only two control lines
(LCD_RDn, LCD_WRn) are required for reading and writing to the panel. A third signal (LCD_DC)
selects between memory and display control register access. In order to meet reset signal timing
requirements the microcontroller also controls the panel’s reset signal (LCD_RSTn).
12
910
TMS/SWDIO
TCK/ SWCLK
TDO
TDI
SRSTn
3.3V
GND
GND
n/c
GND

Stellaris® Intelligent Display Module with 3.5" Display
August 7, 2009 15
The LCD panel incorporates a white LED backlight with 6 LEDs in series which requires a high
power serial driver (U7) for operation. The backlight power driver shutdown input is controlled by
microcontroller GPIO pin PH0/CCP6. For full brightness, set PH0 high. For dim control, a 1 kHz
PWM signal can be generated with CCP6.
For additional LCD panel information, refer to the data sheet on the RDK-IDM-L35 CD and LCD
driver source code in the Stellaris graphics library.
Touch Panel
Four ADC channels and four GPIO lines connect directly to the resistive touch panel, allowing the
microcontroller to manage all aspects of operation.
X and Y axis position measurements are made independently.
For X-axis measurement, GPIO pins PC4 and PC5 are set HIGH and LOW respectively to form a
resistor divider between 3 V and 0 V. The voltage on ADC4 and ADC5 indicates the X-axis
position.
To measure the Y-axis position, PD2 and PD3 are set HIGH and LOW respectively and the voltage
on ADC6 or ADC7 is measured.
Software controls calibration and finger press detection functions.
High Power LED Driver
The LCD panel backlight has 6 LEDs in series and requires a high power LED driver (U7) for
operation, providing 20 mA at 20 V. The LCD_BL signal driven from a microcontroller GPIO is
used to turn the backlight on and off. A 1 kHZ PWM signal can be used instead for dim control.
3.3 V DC Regulator
The IDM-L35 operates with 5 V DC, which can be applied via DC jack J7, terminal block J1, or
header J8. The RDK includes a USB to TTL serial cable that connects to J8 and receives 5 V from
the USB port. DC regulator U3 generates 3.3 V for powering the board circuits and includes power
indicator LED D1.
UART, microSD Card Slot, Speaker, Analog Inputs, Digital I/O (Schematic
page 3)
The third schematic page contains the UART RS-232 transceiver, microSD card slot, speaker,
terminal blocks, and headers.
RS232 Serial Port
The MAX3221 (U2) line transceiver interfaces between UART2 and the RS232 port pins on J3.
UART2 uses ports PG0 and PG1.
microSD Card Slot
Standard microSD media may be used for image or data storage. The SD card is wired for use in
SPI mode, rather than the 1-bit or 4-bit SD modes.
Speaker Speaker SPK1 is a small magnetic audio transducer which is driven by PC7/CCP4 through a small
transistor. CCP4 can be configured to generate a free-running tone at the required frequency.

Hardware Description
16 August 7, 2009
Analog Inputs
Terminal block J1 provides four electrostatic discharge (ESD) protected analog inputs
(T_ADC0-T_ADC3) connected to the corresponding ADC0-ADC3 channels of the microcontroller.
Refer to the MDL-IDM-L35 data sheet for electrical limits for these inputs.
Digital I/OTerminal block J2 provides four ESD-protected digital I/O signals connected to port A (PA2-PA5) of
the microcontroller. These can be used to implement an SSI port or for I/O signals as required.
Refer to the MDL-IDM-L35 data sheet for electrical specifications on these signals.
Headers J4 and J5 provide 12 additional digital I/O lines directly connected to the microcontroller.
Header J4 provides 8 digital I/O lines connected to port G (PG0-PG7) with PG0 and PG1 allocated
for UART2, and header J5 provides 4 digital I/O lines connected to PA6, PA7, PD0, and PD1. Note
that these signals do not have external ESD protection.
Serial Header
Header J8 is for use with the USB to TTL serial cable, and has connections to UART0 (PA0, PA1)
and board power (5 V, GND). This provides a convenient way to power the board and provide a
serial connection to update the board firmware.

August 7, 2009 17
Software Development
This chapter provides general information on software development as well as instructions for
Flash memory programming.
Software Description
The software provided with the IDM-L35 provides access to all of the peripheral devices supplied
in the design. The Stellaris Peripheral Driver Library is used to operate the on-chip peripherals, the
Stellaris Graphics Library is used to render graphical displays on the touch screen, and a set of
board-specific drivers are provided to access the off-chip functionality on the IDM-L35.
The Stellaris Graphics Library provides two levels of support for rendering graphical elements. In
the lowest level, basic drawing primitives are provided, such as lines, circles, rectangles, and text
rendering. Each primitive supports clipping to a single clipping rectangle, allowing only a portion of
the display to be affected by the drawing primitives. Building upon the drawing primitives is a
widget set, which combines the drawing of graphical elements with reactions to pointer events (in
this case, presses on the touch screen). The widget set includes push buttons, check boxes, radio
buttons, sliders, listboxes, and drawing canvases. By using the widget set, complex interactive
graphical displays can be constructed quickly.
A set of drivers for the on-board peripherals is also provided. This includes a driver for the touch
screen, the audio transducer, the analog inputs, and the microSD card.
The IDM-L35 is also supplied with a set of example applications that utilize the Stellaris Peripheral
Driver Library and the Stellaris Graphics Library, along with the board-specific drivers for the
on-board peripherals. These applications demonstrate the capabilities of the IDM-L35, and provide
a starting point for the development of the final application for use on the IDM-L35. All example
applications are integrated with the Stellaris boot loader to allow automatic firmware updates to be
performed over the serial port using the LM Flash Programmer application.
Source Code
The complete source code for the IDM-L35 is included on the RDK-IDM-L35 CD. Refer to the
Quickstart Guide for a detailed description of initial RDK hardware set up and how to install the
source code. The source code and binary files are installed in the DriverLib tree.
Tool Options
The source code installation includes directories containing projects and/or makefiles for the
following tool-chains:
Keil ARM RealView® Microcontroller Development System
IAR Embedded Workbench for ARM
CodeSourcery G++
Code Red Technology Red Suite
Generic Gnu C compiler
CHAPTER 3

Software Development
18 August 7, 2009
Evaluation versions of these tools may be downloaded from www.luminarymicro.com. Note that,
due to code size restrictions, the evaluation tools may not build all example programs for the IDM.
A full license is necessary to re-build or debug all examples.
Instructions on installing and using each of the evaluation tools can be found in the Quickstart
guides (for example, Quickstart-Keil, Quickstart-IAR) which are available for download from the
evaluation kit section of our web site at www.luminarymicro.com.
For detailed information on using the tools, refer to the documentation included in the tool chain
installation or visit the website of the tools supplier.
Programming the IDM
The IDM-L35 software package includes pre-built binaries for each of the example applications. If
you installed DriverLib to the default installation path of C:/DriverLib, you can find the example
applications for the IDM in “C:/DriverLib/boards/rdk-idm-l35”.
The Stellaris LM Flash Programmer is a free tool for programming Stellaris microcontrollers. It can
be used in two modes to update the firmware on the IDM-L35. All IDM-L35 example applications
are designed for use with the Stellaris boot loader which supports updating of the main application
firmware via the serial port. Alternatively, the LM Flash Programmer utility can be used in
conjunction with any Stellaris evaluation board to program the IDM-L35. The Stellaris evaluation
board acts as a USB-to-JTAG/SWD hardware interface and should be used in cases where the
boot loader image is not present or where the main application image is not behaving correctly and
cannot transfer control to the boot loader. However, in normal operation, it is more convenient to
program via the serial port.
To program example applications into the IDM-L35 using the serial port for firmware update:
1. Install the LM Flash Programmer utility on a Windows PC.
2. Connect the 6-pin connector of the USB to TTL serial cable (FTDI part number
TTL-232R-3V3) to header J8. Verify that J8 pin 1 (marked by the white triangle on PCB) is
connected to the black wire of the 6-pin header.
3. Connect the USB connector of the serial cable to the PC. This provides power and
connectivity to the serial port.
4. Run LM Flash Programmer.
5. In the Configuration tab, select “Manual Configuration - see below” in the “Quick Set” list.
6. Select “Serial (UART) Interface” in the list below “Interface” and set the COM port, set the
baud rate to 115200, and click the “Disable Auto Baud Support” option.
7. Move to the Program tab and click the Browse button. Navigate to the example applications
directory (the default location is “C:/DriverLib/boards/rdk-idm-l35/”).
8. Each example application has its own directory. Navigate into the example directory that you
want to load and then go to the /gcc directory (or the directory corresponding to the tool chain
you are using) which contains the binary (*.bin) files. Select the application binary file and click
Open. Files that start with a “bl_” prefix are boot loader images and cannot be updated using
this method.
9. Ensure that the “Program Address Offset:” is set to 0x800. If this is incorrect, the application
will not boot correctly once the flash programming is completed.
10. Click the Program button to start the download process.
11. The program starts once the download is complete.

Stellaris® Intelligent Display Module with 3.5" Display
August 7, 2009 19
To replace the boot loader image or to program example applications into the IDM-L35 using a
Stellaris evaluation board to provide JTAG/SWD functionality:
1. Install LM Flash Programmer on a Windows PC.
2. Connect the 10-pin to 20-pin adapter (included in the RDK) to the evaluation board ribbon
cable. This converts the standard 20-pin ARM header on the evaluation board to a fine pitch
ARM header.
3. Carefully connect the socket of the adaptor board to J1 on the IDM.
4. Apply power to the IDM and connect the evaluation board (available separately) to a USB port.
5. Run LM Flash Programmer.
6. In the Configuration Tab use the Quick Set control to select the LM3S1968 Evaluation Board.
These settings are compatible with the LM3S1958 implementation on the IDM-L35.
7. Move to the Program Tab and click the Browse button. Navigate to the example applications
directory (the default location is “C:/DriverLib/boards/rdk-idm-l35/).
8. Each example application has its own directory. Navigate into the example directory that you
wish to load and then into the /gcc directory (or the directory corresponding to the tool chain
you are using) which contains the binary (*.bin) files. Files named with a "bl_" prefix are
Stellaris boot loader images while those without the prefix are main application images. Select
the binary file and click Open.
9. Set the "Erase Method" to "Erase Necessary Pages" and check the "Verify After Program"
box.
NOTE: Setting "Erase Entire Flash" when attempting to replace a main application image will
erase the boot loader image and result in a hang when the IDM next boots. If this occurs,
reflash a boot loader image using these instructions.
10. If flashing a boot loader image, set the "Program Address Offset:" value to 0x0000. If
programming a main application image, set this value to 0x800.
11. Next, click on the Program button to start the Erase, Download, and Verify process.
12. Program execution will start once Verify is complete.
The Debuggers in each of the tool-chains also include Flash programming capabilities, including
support for high-performance in-circuit debug interfaces.

Software Development
20 August 7, 2009
This manual suits for next models
2
Table of contents
Popular Industrial Monitor manuals by other brands

HIS
HIS HIS-ML12-Series D user manual

Hope Industrial Systems
Hope Industrial Systems HIS-UM17-***C user manual

Delta Electronics
Delta Electronics Terminal Panels Series TP02G-AS1 instruction sheet

Pepperl+Fuchs
Pepperl+Fuchs VisuNet EX2 GMPRM/PC 3700 Series Hardware manual

Advantech
Advantech IDS31-320W user manual

BEKA
BEKA BA307E manual

Honeywell
Honeywell W8600F installation instructions

Siemens
Siemens SIMATIC Industrial Flat Panel IFP2200 operating instructions

Acnodes
Acnodes APW 5190 user manual

Salamander Designs
Salamander Designs XL Series user manual

CyberView
CyberView RP-X617 user manual

Hope Industrial Systems
Hope Industrial Systems HIS-RL19 Series user manual