Texas Instruments BOOSTXL-K350QVG-S1 User Manual

User's Guide
SLAU601A–March 2015–Revised July 2015
BOOSTXL-K350QVG-S1 QVGA Display BoosterPack™
Plug-in Module
The BOOSTXL-K350QVG-S1 Kentec QVGA Display BoosterPack™ is an easy-to-use plug-in module for adding a touch-screen color display to your LaunchPad™ design. MCU LaunchPad developers can use this BoosterPack to start developing applications using the 320×240-pixel SPI-controlled QVGA display with resistive touch screen.
1 Getting Started............................................................................................................... 2
2 Hardware...................................................................................................................... 3
3 Software Examples.......................................................................................................... 5
4 Additional Resources........................................................................................................ 6
5 Schematics ................................................................................................................... 8
1 BOOSTXL-K350QVG-S1 BoosterPack................................................................................... 1
2 BOOSTXL-K350QVG-S1 Overview....................................................................................... 3
3 BoosterPack Pinout (View From Bottom of PCB) ....................................................................... 3
4 MSP430 Image Reformer................................................................................................... 6
5 BOOSTXL-K350QVG-S1 Software Examples in TI Resource Explorer.............................................. 7
6 Schematics ................................................................................................................... 8
BoosterPack, LaunchPad, Code Composer Studio, E2E are trademarks of Texas Instruments. All other trademarks are the property of their respective owners.
SLAU601A–March 2015–Revised July 2015 BOOSTXL-K350QVG-S1 QVGA Display BoosterPack™ Plug-in Module
Submit Documentation Feedback
Contents
List of Figures
1
Copyright © 2015, Texas Instruments Incorporated
Getting Started
1 Getting Started
1.1 Introduction
The BOOSTXL-K350QVG-S1 Kentec QVGA Display BoosterPack is an easy-to-use plug-in module for adding a touch-screen color display to your LaunchPad kit design. MCU LaunchPad developers can use this BoosterPack to start developing applications using the 320×240-pixel SPI-controlled TFT QVGA display with resistive touch screen.
1.2 Key Features
Kentec TFT LCD (part number: K350QVG-V2-F) – 3.5-inch QVGA (320×240 resolution) – SPI communication – 4-wire resistive touch screen – White LED backlight
LED backlight driver circuit
Complies with the BoosterPack standard for use with 20- and 40-pin LaunchPads
1.3 What's Included
1.3.1 Kit Contents
One BOOSTXL-K350QVG-S1 BoosterPack Plug-in module
www.ti.com
1.3.2 Software Examples
MSP-EXP432P401R LaunchPad + BOOSTXL-K350QVG-S1 demos (see Section 3) – Graphics Library Example
1.4 Next Steps: Looking Into the Provided Code
After the EVM features have been explored, the fun can begin. It's time to open an integrated development environment (IDE) and start looking at the code examples. Section 3 describes the example projects available to make it easy to understand the provided software.
2
BOOSTXL-K350QVG-S1 QVGA Display BoosterPack™ Plug-in Module SLAU601A–March 2015–Revised July 2015
Copyright © 2015, Texas Instruments Incorporated
Submit Documentation Feedback
www.ti.com
2 Hardware
Hardware
Figure 2. BOOSTXL-K350QVG-S1 Overview
2.1 Hardware Features
2.1.1 BoosterPack Pinout
Figure 3. BoosterPack Pinout (View From Bottom of PCB)
SLAU601A–March 2015–Revised July 2015 BOOSTXL-K350QVG-S1 QVGA Display BoosterPack™ Plug-in Module
Submit Documentation Feedback
3
Copyright © 2015, Texas Instruments Incorporated
Hardware
The Kentec QVGA Display BoosterPack adheres to the 40-pin LaunchPad and BoosterPack pinout standard. A standard was created to aid compatibility between LaunchPad and BoosterPack tools across the TI ecosystem.
The 40-pin standard is compatible with the 20-pin standard that is used by other LaunchPad kits like the
MSP-EXP430FR4133. However, this BoosterPack is intended for use with 40-pin LaunchPad kits. If
compatibility is needed with a 20-pin LaunchPad, some modifications must be made for access to certain pins and to provide 5 V for the LCD backlight circuitry.
More information about compatibility can also be found at http://www.ti.com/launchpad.
2.1.2 Kentec QVGA Display (K350QVG-V2-F)
The Kentec TFT display has the following features:
3.5-inch diagonal screen
320×240-pixel resolution
Full color (262000 colors) RGB display
4-wire resistive touch screen
Integrated SSD2119 LCD driver/controller
SPI interface by default, but supports many interface types
Additional information about the K350QVG-V2-F display can be found on the Kentec website.
2.1.3 SSD2119 LCD Driver
The SSD2119 LCD driver is integrated into the display. In order to use the display effectively, a deep understanding of this driver is required. The SSD2119 data sheet contains information about the communication interface and the supported commands.
www.ti.com
2.1.4 LCD Backlight Circuitry
Most of the circuitry seen on the BoosterPack is a boost converter to power the LCD backlight. The LCD requires approximately 20 V to power the LCD backlight due to the serial voltage drops of the LEDs. This power is derived from the 5-V (VUSB) power rail.
2.1.5 SPI Configuration
By default the BOOSTXL-K350QVG-S1 comes configured as a "4-wire" 8-bit SPI. This is the standard SPI on most MCUs with a hardware SPI peripheral. The user can reconfigure R2/R3 and R8/R9 to instead use "3-wire" 9-bit SPI. In this configuration, each SPI write is 9 bits instead of 8, allowing one fewer GPIO pin to be used.
LCD Interface Resistor Configuration
4-wire SPI, 8-bit (default) DNP 0 DNP 0
3-wire SPI, 9-bit 0 DNP 0 DNP
Other (such as parallel)
Table 1. SPI Resistor Configuration
R2 R3 R8 R9
Pins PS0, PS1, PS2, PS3 as indicated in LCD data sheet.
This may require cutting and soldering these traces (not common)
4
BOOSTXL-K350QVG-S1 QVGA Display BoosterPack™ Plug-in Module SLAU601A–March 2015–Revised July 2015
Copyright © 2015, Texas Instruments Incorporated
Submit Documentation Feedback
www.ti.com
Table 2 describes the SPI configuration pin functions.
LCD Interface Pin Name
4-wire SPI, SPI Data In
8-bit (default) (no support for data out)
3-wire SPI, 9-bit SPI Chip Select SPI Clock N/A – controlled by extra bit (first bit)
2.2 Design Files
2.2.1 Hardware
Schematics can be found in Section 5. All design files including schematics, layout, bill of materials (BOM), Gerber files, and documentation are available in a zip folder (SLAR098). This hardware design was done in Altium Designer, a free viewer is available from
http://techdocs.altium.com/display/ADOH/Altium+Designer+Viewer.
2.2.2 Software
All design files including TI-TXT object-code firmware images, software example projects, and documentation are available in the LaunchPad specific software folders. To see which LaunchPad kits feature BOOSTXL-K350QVG-S1 examples, refer to the "What's Included" section on the tool folder.
Hardware
Table 2. SPI Pin Definition
LCD_SCS LCD_SCL LCD_SDI LCD_SDC
GPIO to indicate data or command
SPI Chip Select SPI Clock Data = 1
Command = 0
SPI Data In (no support for data out)
2.3 Hardware Change log
Table 3. Hardware Change Log
PCB Revision Description
Rev 1.0 Initial Release
3 Software Examples
3.1 BOOSTXL-K350QVG-S1 + MSP-EXP432P401R Graphics Library Example
This software is available in the MSP-EXP432P401R Software Examples or is more easily accessible through MSPWare (see Section 4.3).
The demo shows how to use the MSP Graphics Library ("grlib") in a project with the Kentec display. This demo shows the user how to enable the touch screen, create buttons, and use graphics primitives including colors and images.
The program begins by calibrating the touch screen. There is a routine that detects the four corner coordinates to determine if an eligible rectangle boundary is formed. If the calibration was incorrect, a message displays on the screen indicating the calibration failed. When successful, the calibration provides a reference for all button presses throughout the rest of the program.
The next step is to select the mode of the program: display primitives or images. Each mode simply cycles through without user interaction to show features of the display. In the graphics primitives mode, the following primitives are shown:
Pixels
Lines
Circles
Rectangles
SLAU601A–March 2015–Revised July 2015 BOOSTXL-K350QVG-S1 QVGA Display BoosterPack™ Plug-in Module
Submit Documentation Feedback
5
Copyright © 2015, Texas Instruments Incorporated
Additional Resources
Text
The application is heavily commented to ensure it is very clear how to use the grlib APIs. The above primitives are shown as well as the underlying concepts of grlib including background and foreground colors, context, fonts, opacity, and more.
The images mode shows the drawing of a few different images both compressed and uncompressed. Image compression can have a big impact to drawing speeds for simple images. To draw images with the MSP Graphics Library, they must first be converted into the right file format. These files can be generated by the Image Reformer tool that comes packaged with grlib. Launch this tool (.exe) from the grlib folder or directly from TI Resource Explorer.
File Path: <grlib root>\utils\image-reformer\imagereformer.exe TI Resource Explorer > MSPWare > Libraries > Graphics Library > MSP430 Image Reformer The Image Reformer tool allows you to import images and output into grlib specific files to add to your
grlib project. Image Reformer does not manipulate any images (including color modifications, rotation, and cropping)—any image manipulation must be done before importing into the Image Reformer tool. More information about MSP grlib and the Image Reformer tool can be found in the application report Design Considerations When Using MSP430 Graphics Library (SLAA548).
www.ti.com
4 Additional Resources
4.1 TI LaunchPad Portal
More information about LaunchPad kits, supported BoosterPack modules, and available resources can be found at:
TI's LaunchPad portal: information about all LaunchPad kits from TI for all MCUs
4.2 Download CCS, IAR, Keil, or Energia
Although the files can be viewed with any text editor, more can be done with the projects if they are opened with a development environment like Code Composer Studio™ (CCS) IDE, IAR Embedded Workbench, Keil, or Energia.
6
BOOSTXL-K350QVG-S1 QVGA Display BoosterPack™ Plug-in Module SLAU601A–March 2015–Revised July 2015
Figure 4. MSP430 Image Reformer
Copyright © 2015, Texas Instruments Incorporated
Submit Documentation Feedback
www.ti.com
4.3 MSPWare and TI Resource Explorer
MSPWare is a complete collection of libraries and tools. It includes a driver library (driverlib), graphics
library (grlib), and many other software tools. MSPWare is optionally included in a CCS installation or can be downloaded separately. IAR users must download it separately.
Additional Resources
Figure 5. BOOSTXL-K350QVG-S1 Software Examples in TI Resource Explorer
Inside TI Resource Explorer, these examples and many more can be found and easily imported into CCS with one click.
4.4 The Community
4.4.1 TI E2E™ Community
Search the forums at http://e2e.ti.com. If you cannot find your answer, post your question to the community.
4.4.2 Community at Large
Many online communities focus on the LaunchPad and BoosterPack ecosystem – for example,
www.43oh.com. You can find additional tools, resources, and support from these communities.
SLAU601A–March 2015–Revised July 2015 BOOSTXL-K350QVG-S1 QVGA Display BoosterPack™ Plug-in Module
Submit Documentation Feedback
7
Copyright © 2015, Texas Instruments Incorporated
1
1
2
2
3
3
4
4
D D
C C
B B
A A
Title
Number RevisionSize
A4
Date: 2014/12/12 Sheet of
File: D:\KentecDisplay\..\BOOSTXL-K350QVG-S1_03.SchDocDrawn By:
123456789
10
J1
123456789
10
J2
123456789
10
J3
123456789
10
J4
LED-K
LED-A
L1
10uH
C3
68uF
C2
2.2uF
R14
NC
R10
NC
R13 68R
5V0
SW
D2
ZMM24
LED-A
LED-K
R11
0R
LED_PWM
TOUCH_XP
TOUCH_YP
TOUCH_XN TOUCH_YN
AGND
3V3 5V0
GND
LED-K
LED-A
GND
TOUCH_XP
TOUCH_YN
TOUCH_XN
TOUCH_YP
GND
LCD_RST
LCD_SCS
GND
GND
GND
0RR15
3V3
3V3
0RR9
NCR8
GND
3V3
GND
100pF
C1
GND
3V3
BOOSTXL-K350QVG-S1 circuit diagram
10nF
C4
10nF
C5
10nF
C6
10nF
C7
GND GND GND GND
LED_K
1
LED_K
2
LED_A
3
LED_A
4
GND
5
XR
6
YB
7
XL
8
YT
9
GND
10
NC
11
NC
12
NC
13
RESET
14
CS
15
SPCLK
16
SDA-SDI
17
NC
18
NC
19
B0(D0)
20
B1(D1)
21
B2(D2)
22
B3(D3)
23
B4(D4)
24
B5(D5)
25
NC
26
NC
27
G0(D6)
28
G1(D7)
29
G2(D8)
30
G3(D9)
31
G4(D10)
32
G5(D11)
33
NC
34
NC
35
R0(D12)
36
R1(D13)
37
R2(D14)
38
R3(D15)
39
R4(D16)
40
R5(D17)
41
HSYNC
42
VSYNC
43
DCLK
44
AVDD
45
AVDD
46
VDD
47
VDD
48
RS
49
RD
50
WR
51
PS0
52
PS1
53
PS2
54
PS3
55
WSYNC
56
NC
57
DE
58
GND
59
GND
60
CN1 K350QVG-V2-F
PS0
RST
SCLK SDA
LED Backlight Driver Circuit
0RR1
03
0RR7
0RR6
LCD_SCL LCD_SDI
CS
0RR5 0RR4
0RR3
LX
1
GND
2
FB
3
SHDN4SS5IN
6
U1
AIC1896
R12 1K
C8
33nF
LCD_SCL
LCD_SDI
LCD_SCS
D1
MBR0520LT1G
LCD_RST
PS3
PS2
PS1
GND
LED_PWM
111213141516171819
20
212223242526272829
30
313233343536373839
40
LCD_SDC
LCD_SDC
NCR2
NC
PS0
0
1
3-wire, 9-bit SPI interface (SCS, SCL, SDI)
4-wire, 8-bit SPI interface (SCS, SCL, SDI, SDC)
Interface Mode
0RR16
0RR17 0RR18
Default
R9=>R8
R3=>R2
Schematics
5 Schematics
Hardware design files can be downloaded from www.ti.com/lit/zip/slar098.
www.ti.com
8
BOOSTXL-K350QVG-S1 QVGA Display BoosterPack™ Plug-in Module SLAU601A–March 2015–Revised July 2015
Figure 6. Schematics
Copyright © 2015, Texas Instruments Incorporated
Submit Documentation Feedback
www.ti.com
Revision History
Revision History
Changes from March 19, 2015 to July 20, 2015 .............................................................................................................. Page
Changed the link destination for the MSP-EXP432P401R Software Examples .................................................. 5
NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
SLAU601A–March 2015–Revised July 2015 Revision History
Submit Documentation Feedback
9
Copyright © 2015, Texas Instruments Incorporated
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily performed.
TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions.
Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements.
Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use of any TI components in safety-critical applications.
In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and requirements. Nonetheless, such components are subject to these terms.
No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties have executed a special agreement specifically governing such use.
Only those TI components which TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and regulatory requirements in connection with such use.
TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.
Products Applications
Audio www.ti.com/audio Automotive and Transportation www.ti.com/automotive Amplifiers amplifier.ti.com Communications and Telecom www.ti.com/communications Data Converters dataconverter.ti.com Computers and Peripherals www.ti.com/computers DLP® Products www.dlp.com Consumer Electronics www.ti.com/consumer-apps DSP dsp.ti.com Energy and Lighting www.ti.com/energy Clocks and Timers www.ti.com/clocks Industrial www.ti.com/industrial Interface interface.ti.com Medical www.ti.com/medical Logic logic.ti.com Security www.ti.com/security Power Mgmt power.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video RFID www.ti-rfid.com OMAP Applications Processors www.ti.com/omap TI E2E Community e2e.ti.com Wireless Connectivity www.ti.com/wirelessconnectivity
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2015, Texas Instruments Incorporated
Loading...