+ All Categories
Home > Documents > Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...used to turn the backlight on and off. A 1...

Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...used to turn the backlight on and off. A 1...

Date post: 31-Mar-2021
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
29
RDK-BDC-06 Copyright © 2008–2010 Texas Instruments User’s Manual Stellaris® Intelligent Display Module with 3.5" Landscape Display Reference Design Kit
Transcript
Page 1: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

RDK-BDC-06 Copyright © 2008–2010 Texas Instruments

User ’s Manual

Stellaris® Intelligent Display Module with 3.5" Landscape Display Reference Design Kit

Page 2: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

2 September 7, 2010

CopyrightCopyright © 2008–2010 Texas Instruments, Inc. All rights reserved. Stellaris and StellarisWare are registered trademarks of Texas Instruments. ARM and Thumb are registered trademarks, and Cortex is a trademark of ARM Limited. Other names and brands may be claimed as the property of others.

Texas Instruments108 Wild Basin, Suite 350Austin, TX 78746http://www.ti.com/stellaris

Page 3: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

Stellaris® Intelligent Display Module with 3.5" Display

September 7, 2010 3

Table of ContentsChapter 1: Stellaris® Intelligent Display Module with 3.5" Landscape Display Reference Design Kit Overview............................................................................................................................................................ 9Kit Contents ...................................................................................................................................................... 10Using the RDK .................................................................................................................................................. 10Features............................................................................................................................................................ 10Board Overview ................................................................................................................................................ 11

Chapter 2: Hardware Description.................................................................................................................. 13Block Diagram .................................................................................................................................................. 13Functional Description ...................................................................................................................................... 14

Microcontroller, Reset, and JTAG (Schematic page 1)................................................................................. 14Microcontroller .......................................................................................................................................... 14Debugging................................................................................................................................................. 14

LCD Panel and Voltage Regulators (Schematic page 2).............................................................................. 14LCD Panel................................................................................................................................................. 14Touch Panel .............................................................................................................................................. 15High Power LED Driver ............................................................................................................................. 153.3 V DC Regulator................................................................................................................................... 15

UART, microSD Card Slot, Speaker, Analog Inputs, Digital I/O (Schematic page 3) ................................... 15RS232 Serial Port ..................................................................................................................................... 15microSD Card Slot .................................................................................................................................... 15Speaker..................................................................................................................................................... 15Analog Inputs ............................................................................................................................................ 16Digital I/O .................................................................................................................................................. 16Serial Header ............................................................................................................................................ 16

Chapter 3: Software Development ................................................................................................................ 17Software Description......................................................................................................................................... 17Source Code..................................................................................................................................................... 17Tool Options ..................................................................................................................................................... 17Programming the IDM....................................................................................................................................... 18

Appendix A: Schematics................................................................................................................................ 21Appendix B: Bill of Materials (BOM) ............................................................................................................. 25Appendix C: Component Details................................................................................................................... 27

Page 4: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

4 September 7, 2010

Page 5: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

Stellaris® Intelligent Display Module with 3.5" Display

September 7, 2010 5

List of FiguresFigure 1-1. Intelligent Display Module with 3.5" Landscape Display ................................................................. 9Figure 1-2. IDM-L35 Board Overview Diagram ............................................................................................... 12Figure 2-1. Intelligent Display Module with 3.5” Display Block Diagram.......................................................... 13Figure 2-2. Debug Connection Pinout ............................................................................................................. 14Figure C-1. Component placement plot for top ................................................................................................ 27Figure C-2. Component placement plot for bottom .......................................................................................... 28

Page 6: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

6 September 7, 2010

Page 7: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

Stellaris® Intelligent Display Module with 3.5" Display

September 7, 2010 7

List of TablesTable B-1. RDK-IDM-L35 Bill of Materials (BOM)........................................................................................... 25

Page 8: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

8 September 7, 2010

Page 9: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

September 7, 2010 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

C H A P T E R 1

Page 10: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

Stellaris® Intelligent Display Module with 3.5" Landscape Display Reference Design Kit Overview

10 September 7, 2010

Kit ContentsThe 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 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 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.

FeaturesThe 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

Page 11: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

Stellaris® Intelligent Display Module with 3.5" Display

September 7, 2010 11

– Synchronous serial port

High performance microcontroller and large memory

– 32-bit ARM® Cortex™-M3 core

– 256 KB Main Flash memory, 64 KB SRAM

– 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 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 the Stellaris Graphics Library and Stellaris Peripheral Driver Library

Board OverviewFigure 1-2 shows an overview of the board.

Page 12: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

Stellaris® Intelligent Display Module with 3.5" Landscape Display Reference Design Kit Overview

12 September 7, 2010

Figure 1-2. IDM-L35 Board Overview Diagram

1

microSD Card

Digital I /O (8)

JTAG/SWDSerial Header

Digital I /O (4)

5VGND

RS232 Serial Port

Analog Inputs (4)

Digital I /O (4)

5VGND

Page 13: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

September 7, 2010 13

Hardware DescriptionThe 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 DiagramFigure 2-1 shows the IDM-L35 block diagram.

Figure 2-1. Intelligent Display Module with 3.5” Display Block Diagram

QVGA3.5" LCD

Panel

LCD Driver

StellarisLM3S1958

Microcontroller

Speaker

microSD card microSD

RS232 Serial

Analog

5 V

ADC (4)

Analog touch signals

3.3VRegulator

3.3V 5V5V DC Jack

Data

Ctrl

Digital I/O (4)

ESD Protected

ESD Protected

Digital I /O (8)Digital I /O (4)

Serial Header

C H A P T E R 2

Page 14: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

Hardware Description

14 September 7, 2010

Functional DescriptionThis 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.

MicrocontrollerAt 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.

DebuggingThe 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 PanelThe 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).

1 2

9 10

TMS/ SWDIOTCK/ SWCLKTDOTDISRSTn

3.3VGNDGND

n/cGND

Page 15: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

Stellaris® Intelligent Display Module with 3.5" Display

September 7, 2010 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 PanelFour 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 DriverThe 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 RegulatorThe 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 PortThe MAX3221 (U2) line transceiver interfaces between UART2 and the RS232 port pins on J3. UART2 uses ports PG0 and PG1.

microSD Card SlotStandard 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.

SpeakerSpeaker 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.

Page 16: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

Hardware Description

16 September 7, 2010

Analog InputsTerminal 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 HeaderHeader 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.

Page 17: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

September 7, 2010 17

Software DevelopmentThis chapter provides general information on software development as well as instructions for Flash memory programming.

Software DescriptionThe 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 CodeThe 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 OptionsThe source code installation includes directories containing projects and/or makefiles for the following tool-chains:

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

C H A P T E R 3

Page 18: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

Software Development

18 September 7, 2010

Evaluation versions of these tools can be downloaded from www.ti.com/stellaris. 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.ti.com/stellaris.

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 IDMThe 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.

Page 19: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

Stellaris® Intelligent Display Module with 3.5" Display

September 7, 2010 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.

Page 20: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

Software Development

20 September 7, 2010

Page 21: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

September 7, 2010 21

SchematicsThis sections contains the schematic diagrams for the Intelligent Display Module.

IDM-L35 Microcontroller and JTAG on page 22

IDM-L35 LCD Display and DC Regulators on page 23

IDM-L35 UART, microSD Card Slot, Speaker, Analog Inputs, and Digital I/O on page 24

A P P E N D I X A

Page 22: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

1

1

2

2

3

3

4

4

5

5

6

6

D D

C C

B B

A A

Document Number: Rev

SheetDate: of10/13/2008 1 3

RB

This document contains information proprietary to Texas Instruments, Inc. and shall not be used forengineering design, procurement of manufacture in whole or in part without the express writtenpermission of Texas Instruments, Inc. Copyright © 2006 Texas Instruments, Inc. All rights reserved.

108 Wild Basin Rd.Suite 350Austin, TX 78746

Texas Instruments

Designer:

Drawn by:

Approved:

Drawing Title:

Page Title:

Size

Arnaldo Cruz

Arnaldo Cruz

* 0001

Intelligent Display Module IDM-L35

Stellaris Microcontroller, JTAG

B

C2518pF

C2418pF

C170.1uF

C180.1uF

C190.1uF

C210.1uF

C220.01uF

C230.01uF

C290.1uF

C300.1uF

C310.1uF

C320.01uF

RST_n

OSC0OSC1

C260.1uF

C270.1uF

1 2Y1

8.000 MHz

TMSTCKTDOTDI

3.3V

3.3V

R1110K

C161uF

C201uF

C281uF

LCD_D1LCD_D2LCD_D3LCD_D4

LCD_D6LCD_D7

LCD_D10LCD_D11LCD_D12LCD_D13LCD_D14LCD_D15

LCD_D8LCD_D9

TOUCH_XPTOUCH_XN

LCD_D[15..0]

R22 10KR23 10K

3.3V

3.3V

R2510K

C15

0.1uF

1 23 4

SW1

Tactile Switch

SPI_CLKSPI_SEL_nSPI_RXSPI_TXADC0ADC1ADC2ADC3

U0RXU0TXPA2PA3PA4PA5PA6PA7

PG0PG1PG2PG3PG4PG5PG6PG7

SOUNDLCD_RSTn

TOUCH_XPTOUCH_XN

TOUCH_YNTOUCH_YP

PD0PD1

1 23 45 67 89 10

JTAG/SWD

J6

HDR 2X5-MH

3.3V

C100.1uF

R12 10KR13 10KR14 10KR15 10K

3.3V

LCD_D[15..0]

LCD_BLLCD_WRnLCD_RDn

LCD_DC

LCD_D0

LCD_D5

PA0/U0RX26

PA1/U0TX27

PA2/SSI0CLK28

PA3/SSI0FSS29

PA4/SSI0RX30

PA5/SSI0TX31

PC0/TCK/SWCLK80

PC1/TMS/SWDIO79

PC2/TDI78

PC3/TDO/SWO77

PC425

PC524

PC6/CCP323

PC7/CCP422

PD0 10

PD1 11

PD2/U1RX 12

PD3/U1TX 13

ADC7 95

ADC6 96

ADC5 99

ADC4 100

GND9

GND15

GND21

GND33

RST64

LDO 7

OSC048

OSC149

PB0/CCP0 66

PB1/CCP2 67

PB2/I2C0SCL 70

PB3/I2C0SDA 71

PB4 92

PB5/CCP5 91

PB6/CCP1 90

PB7/TRST 89

PE0/SSI1CLK72

PE1/SSI1FSS73

PE2/SSIRx74

PE3/SSI1Tx75

ADC36

ADC25

PA6/I2C1SCL34

PA7/I2C1SDA35

ADC12

ADC01

PF0 47

PF1 61

PF2 60

PF3 59

PF4 58

PF5 46

PF6 43

PF7 42

PG0/U2RX19

PG1/U2TX18

PG217

PG316

PG441

PG540

PG637

PG736

PH0/CCP6 86

PH1/CCP7 85

PH2 84

PH3 83

AVDD 3

AVDD 98AGND97 AGND4

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

CVDD 14

CVDD 38

CVDD 62

CVDD 88

WAKE50

HIB51

XOSC052

XOSC153

VBAT 55

CMOD065

CMOD176

U?

LM3S1958

TP3TP4TP5TP6

TP7

TP8

3.3V

Schematic page 1

Page 23: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

1

1

2

2

3

3

4

4

5

5

6

6

D D

C C

B B

A A

Document Number: Rev

SheetDate: of10/13/2008 2 3

RB

Drawing Title:

Page Title:

SizeB

LCD Display, DC Regulators

Intelligent Display Module IDM-L35

*

XRYDXLYU

RESETCSSPICLKSPISDI

HSYNCVSYNCDCLK

AVDD

VCCDCRDWRPS0PS1PS2PS3WSYNC

OE

LED_K

LED_A

LD1LD2LD3LD4LD5

LD6LD7LD8

LD10LD11

LD12LD13LD14LD15LD16LD17

LCD_D0LCD_D1LCD_D2LCD_D3LCD_D4

LCD_D5LCD_D6LCD_D7

LCD_D8LCD_D9

LCD_D10LCD_D11LCD_D12LCD_D13LCD_D14LCD_D15

LCD_RSTn

LD0

LD9

LCD_CSn

3.3V

LEDK

C7

0.01uF

C6

0.01uF

C9

0.01uF

C8

0.01uF

TP1

R1610K

R1710K

C144.7uF

C120.1uF

C130.1uF

VLED

23456789

1011121314151617181920

1

M1

21222324252627282930313233343536373839404142434445464748495051525354555657585960

M2

P1

FPC_Socket_60pin

LCD_RSTnLCD_D[15..0]

TOUCH_XP

TOUCH_XNTOUCH_YN

TOUCH_YP

LCD_D[15..0]

C364.7uF

5V

SHDN4

VIN5 SW 1

GND2

FB 3

U7

FAN5333B C371uF

LEDK

VLED

R1015.8

L1 10uH

D3

D2

BAT54

R2110K

LCD_BL

C350.47uF

5V

VIN4 VOUT 5

VR1

GND2 CD 3

U3

PQ1N333MASPQ

C334.7uFC34

4.7uF

R27 10K

3.3V

R28330

3.3V

D1GREEN_LED

132

J7

Power_Jack_2.5mm

M1

LCD_Panel_K3.5

LCD_WRnLCD_RDnLCD_DC

12

3 4

56

U6

MMQA5V6T1G

Schematic page 2

Page 24: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

1

1

2

2

3

3

4

4

5

5

6

6

D D

C C

B B

A A

Document Number: Rev

SheetDate: of10/13/2008 3 3

RB

Drawing Title:

Page Title:

SizeB

UART, uSD Card Slot, Speaker, Analog inputs, Digital I/O

Intelligent Display Module IDM-L35

0001

5V

R5 33.2

R6 33.2

R7 33.2

R9 33.2

R1 33.2

R2 33.2

R3 33.2

R4 33.2

1

2

3

4

J2

Term_Block_4P

1

2

3

4

5

6

J1

Term_Block_6P

T_ADC0

T_ADC1

T_ADC2

T_ADC3

T_PA2

T_PA3

T_PA4

T_PA5

12345678

J4

HDR-1X8

1234

J5

HDR-1X4

C1 0.47uF

C4 0.47uF

3.3V

C50.47uF

C2 0.47uF

C3 0.47uF

R810K

3.3V

123

UART

J3

HDR-1X3

VCC 15

C2+5

C2-6

C1+2

C1-4

INVALID 10

V+ 3

V- 7

T1IN11 T1OUT 13

GND14

R1OUT9 R1IN 8

EN1

FORCEON12

FORCEOFF16

U2

MAX3221

TP2

UTX

URX

ADC0ADC1ADC2ADC3

PA2PA3PA4PA5

PA6PA7

PG0PG1PG2PG3PG4PG5PG6PG7

PD0PD1

R2433.2

Q1MMBT3904

R26

2.80k

D4MMSD4148T1G

5V

32

1

4

+_

SPK1

Buzzer

SOUND

microSD Card SlotR1810K

R1910K

R2010K

3.3V

C110.1uF

CD/DAT32

CMD3

DAT21

VDD4

CLK5

VSS6

DAT07

DAT18 GN

D11

uSD Card

GN

D12

GN

D9

GN

D10

P2

uSD Socket

SPI_CLKSPI_SEL_nSPI_RXSPI_TX

12

3 4

56 U5

MMQA5V6T1G

12

3 4

56 U4

MMQA5V6T1G

TP9TP10TP11TP12

PG1PG0

U0RXU0TX

123456

TTL-232R

J8

HDR-1X6

5V

Schematic page 3

Page 25: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

September 7, 2010 25

Bill of Materials (BOM)Table B-1 provides the BOM for the RDK-IDM-L35.

Table B-1. RDK-IDM-L35 Bill of Materials (BOM)

IDM L35 BOM Rev B 7/29/2010

Designator Comment Description Footprint MFG Ordering QuantityC1, C2, C3, C4, C5, C35 0.47uF CAP, 0603, 0.47uF, 10%, 16V, X7R 1608[0603] Murata GRM188R71C474KA88D 6C6, C7, C8, C9, C22, C23,C32 0.01uF CAP, 0402, 0.01uF, 10%, 25V, X7R 1005[0402] Murata GRM155R71E103KA01D 7

C10, C11, C12, C13, C15, C17, C18, C19, C21, C26, C27, C29, C30, C31 0.1uF CAP, 0402, 0.1uF, 10%, 16V, X7R 1005[0402] Murata GCM155R71C104KA55D 14C14, C33, C34, C36 4.7uF CAP, 0805, X7R, 4.7uF, 20%, 10V C0805 Murata GRM21BR61A475MA73L 4C16, C20, C28 1uF CAP, 0805, X7R, 1uF, 10%, 10V C0805 Murata GRM21BR71A105KA01L 3C24, C25 18pF CAP, 0402, C0G, 18pF, 50V 1005[0402] Murata GRM1555C1H180JZ01D 2C37 1uF CAP, 1206, X7R, 1uF, 10%, 50V C1206 Murata GRM31CR71H105KA61L 1

D1 GREEN_LED LED GREEN SGL 20mA 0805 D2012[0805]CML InnovativeTechnologies 7012X5 1

D2 BAT54 DIODE SCHOTTKY 200mA 30V SOT23AFairchildSemiconductor BAT54 1

D3 Zener_24V ZENER DIODE, 24V, 1W, SMA smb-85x108 Diodes Inc SMAZ24-13-F 1D4 MMSD4148T1G DIODE Switching SOD-123 ON Semiconductor MMSD4148T1G 1

J1 Term_Block_6P Terminal Block, 6 pin, 3.5mm, T/H CON6/3.5mm_ED555 On Shore Technology ED555/6DS 1

J2 Term_Block_4P Terminal Block, 4 pin, 3.5mm, T/H CON4/3.5mm_ED555 On Shore Technology ED555/4DS 1J3 HDR-1X3 HDR, 1x3, 0.025" PIN, 0.1" CTR HDR1X3 FCI 68000-103HLF 1J4 HDR-1X8 HDR, 1x8 0.025" PIN, 0.1" CTR HDR1X8 FCI 68000-108HLF 1J5 HDR-1X4 HDR, 1x4 0.025" PIN, 0.1" CTR HDR1X4 FCI 68000-104HLF 1J6 HDR 2X5-MH MICRO HDR, 2X5, 0.050" CTR HDR2X5_SHRD_.050 HARWIN M50-3500542 1J7 Power_Jack_2.5 Power Jack 2.5MM X 6.5MM conn3-200120-pwrjk CUI Inc PJ-102B 1J8 HDR-1X6 HDR, 1x6 0.025" PIN, 0.1" CTR HDR1X6 FCI 68000-106HLF 1L1 10uH IND -- 10uH 0.9A, 0.133Ohms SMD 3225[1210] Taiyo Yuden CBC3225T100MR 1

P1 FPC_Socket_60FPC Socket 60 pin SMT 0.5mm pitch, Top,RA ZIF CONN_FPC_60P_4UCONN_11792

4UCON TechnologyInc 11792 1

P2 uSD Socket CONN micro SD card socket SMT CON8/MICROSD 3M 2908-05WB-MG 1Q1 MMBT3904 General purpose NPN transistor SOT-23 ONSEMI MMBT3904LT1G 1R1, R2, R3, R4, R5, R6,R7, R9, R24 33 RES, SO, 0603, 33ohm, 1%, 1/10W J1-0603 Vishay/Dale CRCW060333R0FKEA 9R8, R11, R12, R13, R14,R15, R16, R17, R18, R19, R20, R21, R22, R23, R25, R27 10K RES, SO, 0603, 10K, 1%, 1/10W J1-0603 Vishay/Dale CRCW060310K0FKEA 16R10 15.8 RES, SO, 0603, 15.8, 1%, 1/10W J1-0603 Vishay/Dale CRCW060315R8FKTA 1R26 2.80k RES, SO, 0603, 2.80K, 1%, 1/10W J1-0603 Vishay/Dale CRCW06032K80FKEA 1R28 330 RES, SO, 0603, 330 Ohm, 1%, 1/10W J1-0603 Vishay/Dale CRCW0603330RFKEA 1SPK1 Buzzer Magnetic Buzzer PIN2 CUI Inc CSS-73B16K 1

SW1 Tactile Switch SWITCH TACT SPST-NO 200GF GW SMD SW/KMR211G C&K Components KMR221GLFS 1

U1 LM3S1958ARM Cortex-M3 Microcontroller withoutboard-lock security feature Stellaris_PQFP100 Luminary Micro LM3S1958-IQC50* 1

U2 MAX3221 RS-232 Transceiver SSOP16 Texas Instruments MAX3221ECDB 1

U3 PQ1N333MASPQIC, 350mA LDO regulator SOT89-5 Sharp Microelectronics PQ1N333MASPQ 1

U4, U5, U6 MMQA5V6T1G Quad monolithic common anode TVS SC-74/.95mmONSEMICONDUCTOR MMQA5V6T1G 3

U7 FAN5333BSerial LED Driver Switcher,1.5MHz,30V,SMT SOT23-5 Fairchild FAN5333BSX 1

Y1 8.000 MHz XTAL 8.000MHz Crystal_NX8045 NDK NX8045GB-8.000000MHZ 1

Designator Comment Description Footprint MFG Ordering Quantity

LCD panelLCD module 320 x 240 RGB, 3.5", 262Kcolors, touch panel 3" x 2.5" Kentec ATP350G01 1Double sided foam tape, 0.125" thick, 2" x 1/2" cut piece 2Double sided foam tape, 0.125" thick, 1" x 3/4" cut piece 1

Designator Comment Description Footprint MFG Ordering Quantity

StandoffStandoff, aluminum, 4-40 thread, 0.187" OD,1.0" long Keystone 534-2031 4Machine screw 4-40 x 0.25" lead freemachine screw Richco Plastic NSP-4-4-01Alternate supplier for screws above Building Fasteners NY PMS 440 0025 PH

Texas Instruments Stellaris Microcontrollers

Screws 4

Parts soldered to IDM L35 PCB

4008-1/2"X36YD3MTape

Additional Parts for Module

Additional Parts for RDK Assembly

A P P E N D I X B

Page 26: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

Bill of Materials (BOM)

26 September 7, 2010

Page 27: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

September 7, 2010 27

Component DetailsThis appendix contains details on component locations, including:

Component placement plot for top (Figure C-1)

Component placement plot for bottom (Figure C-2)

Figure C-1. Component placement plot for top

A P P E N D I X C

Page 28: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

Component Details

28 September 7, 2010

Figure C-2. Component placement plot for bottom

Page 29: Stellaris LM3S1958 Intelligent Display Module (IDM-L35 ...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

IMPORTANT NOTICE

Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,and other changes to its products and services at any time and to discontinue any product or service without notice. Customers shouldobtain the latest relevant information before placing orders and should verify that such information is current and complete. All products aresold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.

TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standardwarranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except wheremandated by government requirements, testing of all parameters of each product is not necessarily performed.

TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products andapplications using TI components. To minimize the risks associated with customer products and applications, customers should provideadequate design and operating safeguards.

TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right,or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Informationpublished by TI regarding third-party products or services does not constitute a license from TI to use such products or services or awarranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectualproperty of the third party, or a license from TI under the patents or other intellectual property of TI.

Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompaniedby all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptivebusiness practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additionalrestrictions.

Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids allexpress and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is notresponsible or liable for any such statements.

TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonablybe expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governingsuch use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, andacknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their productsand any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may beprovided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products insuch safety-critical applications.

TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products arespecifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet militaryspecifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely atthe Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.

TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products aredesignated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designatedproducts in automotive applications, TI will not be responsible for any failure to meet such requirements.

Following are URLs where you can obtain information on other Texas Instruments products and application solutions:

Products Applications

Amplifiers amplifier.ti.com Audio www.ti.com/audio

Data Converters dataconverter.ti.com Automotive www.ti.com/automotive

DLP® Products www.dlp.com Communications and www.ti.com/communicationsTelecom

DSP dsp.ti.com Computers and www.ti.com/computersPeripherals

Clocks and Timers www.ti.com/clocks Consumer Electronics www.ti.com/consumer-apps

Interface interface.ti.com Energy www.ti.com/energy

Logic logic.ti.com Industrial www.ti.com/industrial

Power Mgmt power.ti.com Medical www.ti.com/medical

Microcontrollers microcontroller.ti.com Security www.ti.com/security

RFID www.ti-rfid.com Space, Avionics & www.ti.com/space-avionics-defenseDefense

RF/IF and ZigBee® Solutions www.ti.com/lprf Video and Imaging www.ti.com/video

Wireless www.ti.com/wireless-apps

Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265Copyright © 2010, Texas Instruments Incorporated


Recommended