MULTI-INNO TECHNOLOGY CO., LTD. www.multi-inno.com LCD MODULE SPECIFICATION Model : MI0283QT-11 For Customer's Acceptance: Customer Approved Comment Revision 1.
MODULE NO.: MI0283QT-11 Ver 1.2 REVISION RECORD REV NO. REV DATE CONTENTS 1.0 2011-06-22 First release 1.1 2012-02-03 Update interface description 1.2 2012-11-26 Update power consumption MULTI-INNO TECHNOLOGY CO.,LTD. REMARKS P.
MODULE NO.: MI0283QT-11 Ver 1.2 CONTENTS GENERAL INFORMATION EXTERNAL DIMENSIONS ABSOLUTE MAXIMUM RATINGS ELECTRICAL CHARACTERISTICS BACKLIGHT CHARACTERISTICS ELECTRO-OPTICAL CHARACTERISTICS INTERFACE DESCRIPTION APPLICATION NOTES INITIAL CODE RELIABILITY TEST INSPECTION CRITERION PRECAUTIONS FOR USING LCD MODULES USING LCD MODULES PRIOR CONSULT MATTER MULTI-INNO TECHNOLOGY CO.,LTD. P.
MODULE NO.: MI0283QT-11 Ver 1.2 GENERAL INFORMATION Item LCD type Viewing direction Gray scale inversion direction Module area (W × H) Active area (W×H) Number of Dots Pixel pitch(W × H) DriverIC Colors Backlight Type Module Power consumption InterfaceType Input voltage With/Without TSP Weight Contents TFT/TRANSMISSIVE/POSITIVE 6:00 12:00 50.2×69.3×4.0 43.2×57.6 240(RGB)×320 0.18 × 0.18 ILI9341 65K/262K 4 LEDs 220 CPU/RGB 2.8 With TSP 24.
MODULE NO.: MI0283QT-11 Ver 1.2 EXTERNAL DIMENSIONS MULTI-INNO TECHNOLOGY CO.,LTD. P.
Ver 1.2 MODULE NO.: MI0283QT-11 ABSOLUTE MAXIMUM RATINGS Parameter Power supply voltage Logic signal voltage Operatingtemperature Storagetemperature Humidity Symbol VCI VDDI Top TST Min -0.3 -0.3 -20 -30 RH - Max 4.6 4.6 70 80 90%(Max60 °C) Unit V V °C °C RH ELECTRICAL CHARACTERISTICS DC CHARACTERISTICS Parameter Power supply voltage Logic signalI/O voltage Inputvoltage'H'level Inputvoltage'L'level Outputvoltage'H'level Outputvoltage'L'leve Symbol VCI VDDI VIH VIL VOH VOL Min 2.5 1.65 0.
MODULE NO.: MI0283QT-11 Ver 1.2 White LED CIRCUIT DIAGRAM: NOTE: 1 The LED ‘s driver mode needs to be constant current mode. Permanent damage to the device may occur if maximum values are exceeded or reverse voltage is loaded .Functional operation should be restricted to the conditions described under normal operating conditions. MULTI-INNO TECHNOLOGY CO.,LTD. P.
Ver 1.2 MODULE NO.: MI0283QT-11 ELECTRO-OPTICAL CHARACTERISTICS Item Symbol Response time Contrastratio Luminance uniformity Surface Luminance Tr +Tf Cr δ WHITE Lv Viewing angle range CIE (x, y) chromaticity NTSC Ratio θ Red x Red y Green x Green y Blue x Blue y White x White y S Condition θ=0° ∅=0° Ta=25 ∅ = 90° ∅ = 270° ∅ = 0° ∅ = 180° θ=0° ∅=0° Ta=25 Min 80 150 55 Typ Max Unit Remark Note 25 500 90.8 240 70 57 70 70 0.6368 0.3329 0.3397 0.6138 0.1433 0.0807 0.2886 0.
MODULE NO.: MI0283QT-11 Ver 1.2 FIG.1. The definition of Response Time FIG.2. Measuring method for Contrast ratio,surface luminance, Luminance uniformity CIE (x, y) chromaticity A : 5 mm B : 5 mm H,V : Active Area Light spot size ∅=5mm, 500mm distance from the LCD surface to detector lens measurement instrument is TOPCON’s luminance meter BM-5 FIG.3. The definition of viewing angle MULTI-INNO TECHNOLOGY CO.,LTD. P.
MODULE NO.: MI0283QT-11 Ver 1.2 INTERFACE DESCRIPTION Pin No. Symbol I/O Function 1 LEDK I Cathode for LED backlighting 2 LEDA1 I Anode No.1 for LED backlighting 3 LEDA2 I Anode No.2 for LED backlighting 4 LEDA3 I Anode No.3 for LED backlighting 5 LEDA4 I Anode No.
MODULE NO.: MI0283QT-11 Ver 1.2 NOTE1: MULTI-INNO TECHNOLOGY CO.,LTD. P.
Ver 1.2 MODULE NO.: MI0283QT-11 APPLICATION NOTES 1.1 Interface Timing Chart Note: Please refer to ILITEK’s ILITEK’s ILI9341 ILI9341 data sheet for more details.
Ver 1.2 MODULE NO.
Ver 1.2 MODULE NO.
Ver 1.2 MODULE NO.
Ver 1.2 MODULE NO.
Ver 1.2 MODULE NO.
MODULE NO.: MI0283QT-11 Ver 1.
MODULE NO.: MI0283QT-11 Ver 1.
MODULE NO.: MI0283QT-11 Ver 1.2 RELIABILITY TEST No. 1 2 3 4 5 6 7 Test Item High Temperature Storage Low Temperature Storage High Temperature Operating Low Temperature Operating Temperature Cycle Damp Proof Test Vibration Test 8 Drooping test 9 ESD test 10 Hitting test 11 Pen sliding durability test Test Condition 80 2 /96 hours -30 2 /96 hours 70 2 /96 hours -20 2 /96 hours -30 2 ~25~80 2 10cycles 60 5 90%RH/96 hours Frequency 10Hz~55Hz~10Hz Amplitude 1.
Ver 1.2 MODULE NO.: MI0283QT-11 INSPECTION CRITERION PAGE 1 OUTGOING QUALITY STANDARD OF 7 TITLE:FUNCTIONAL TEST & INSPECTION CRITERIA This specification is made to be used as the standard acceptance/rejection criteria for Color mobile phone LCM with touch panel. 1 Sample plan Sampling plan according to GB/T2828.1-2003/ISO 2859-1 1999 and ANSI/ASQC Z1.4-1993, normal level 2 and based on: Major defect: AQL 0.65 Minor defect: AQL 1.5 2.
Ver 1.2 MODULE NO.: MI0283QT-11 PAGE 2 OUTGOING QUALITY STANDARD OF 7 TITLE:FUNCTIONAL TEST & INSPECTION CRITERIA 4. Inspection standards 4.1 Major Defect Item No Items to be inspected 4.1.1 All functional defects 1) No display 2) Display abnormally 3) Missing vertical horizontal segment 4) Short circuit 5) Back-light no lighting, flickering and abnormal lighting. 4.1.2 Missing Missing component 4.1.3 Outline dimension 4.1.
Ver 1.2 MODULE NO.: MI0283QT-11 PAGE 3 OUTGOING QUALITY STANDARD OF 7 TITLE: FUNCTIONAL TEST & INSPECTION CRITERIA 3. 2. Zone Dim Spots Circle shaped and dim edged defects Acceptable Qty Size(mm) A B C Ignore 0.2 0.20 0.40 2 0.40 0.60 1 Minor Ignore 0 0.60 4.2 Cosmetic Defect Item No Items to be inspected size(mm) Line defect Black line, White line, Foreign material on polarizer 4.2.
Ver 1.2 MODULE NO.: MI0283QT-11 PAGE 4 OUTGOING QUALITY STANDARD OF 7 TITLE:FUNCTIONAL TEST & INSPECTION CRITERIA Size(mm) Dim line defect Zone L(Length) 4.2.3 W(Width) A Polarizer scratch TP film scratch Acceptable Qty Ignore 5.0 L 10.0 B W 0.03 Ignore 0.03 W 0.05 2 0.05 1 C Minor Ignore L 5.0 W 0.08 0.08 0 W Air bubbles between glass & polarizer 2. Zone Size(mm) 4.2.4 Polarize Air bubble Acceptable Qty A B C Ignore 0.2 0.20 0.30 2 0.30 0.50 1 Minor Ignore 0 0.
Ver 1.2 MODULE NO.: MI0283QT-11 PAGE 5 OF OUTGOING QUALITY STANDARD 7 TITLE:FUNCTIONAL TEST & INSPECTION CRITERIA B:TP Glass defect X(mm) 3.0 Y(mm) 3.0 Z(mm) Disregard (ii)Usual surface cracks A:LCD Glass defect X 3.0 Y Z
Ver 1.2 MODULE NO.: MI0283QT-11 OUTGOING QUALITY STANDARD PAGE 6 OF 7 TITLE:FUNCTIONAL TEST & INSPECTION CRITERIA 4.4 Parts Defect Item No Items to be inspected 4.4.1 Parts contraposition 4.4.2 SMT Inspection Standard Classification of defects 1 Not allow IC and FPC/heat-seal lead width is more than 50% beyond lead pattern. 2 Not allow chip or solder component is off center more than 50% of the pad outline. According to the IPC-A-610C class 2 standard.
Ver 1.2 MODULE NO.: MI0283QT-11 OUTGOING QUALITY STANDARD PAGE 7 OF 7 TITLE: FUNCTIONAL TEST & INSPECTION CRITERIA 1 Pattern font Pattern fonts are clear and symmetrical pattern fonts filter lightly are allowed; The fort line is not allow to thinner or thicker than 1/3of normal size, and swing is not more than 0.1mm. the line is smooth and not broken. 2 The wing forward in the side of Visual Area The length of wing forward inside of the Visual Area: n 0.
MODULE NO.: MI0283QT-11 Ver 1.2 PRECAUTIONS FOR USING LCD MODULES Handing Precautions (1) The display panel is made of glass and polarizer. As glass is fragile. It tends to become or chipped during handling especially on the edges. Please avoid dropping or jarring. Do not subject it to a mechanical shock by dropping it or impact. (2) If the display panel is damaged and the liquid crystal substance leaks out, be sure not to get any in your mouth.
MODULE NO.: MI0283QT-11 Ver 1.2 Handling precaution for LCM LCM is easy to be damaged. Please note below and be careful for handling. Correct handling: As above picture, please handle with anti-static gloves around LCM edges. Incorrect handling: Please don’t touch IC directly. Please don’t hold the surface of panel. Please don’t hold the surface of IC. MULTI-INNO TECHNOLOGY CO.,LTD. Please don’t stack LCM. Please don’t stretch interface of output, such as FPC cable.
MODULE NO.: MI0283QT-11 Ver 1.2 Storage Precautions When storing the LCD modules, the following precaution is necessary. (1) Store them in a sealed polyethylene bag. If properly sealed, there is no need for the dessicant. (2) Store them in a dark place. Do not expose to sunlight or fluorescent light, keep the temperature between 0°C and 35°C, and keep the relative humidity between 40%RH and 60%RH. (3) The polarizer surface should not come in contact with any other objects.
MODULE NO.: MI0283QT-11 Ver 1.2 USING LCD MODULES Installing LCD Modules The hole in the printed circuit board is used to fix LCM as shown in the picture below. Attend to the following items when installing the LCM. (1) Cover the surface with a transparent protective plate to protect the polarizer and LC cell.
MODULE NO.: MI0283QT-11 Ver 1.2 (1) If soldering flux is used, be sure to remove any remaining flux after finishing to soldering operation. (This does not apply in the case of a non-halogen type of flux.) It is recommended that you protect the LCD surface with a cover during soldering to prevent any damage due to flux spatters. (2) When soldering the electroluminescent panel and PC board, the panel and board should not be detached more than three times.
MODULE NO.: MI0283QT-11 Ver 1.2 Safety (1) It is recommended to crush damaged or unnecessary LCDs into pieces and wash them off with solvents such as acetone and ethanol, which should later be burned. (2) If any liquid leaks out of a damaged glass cell and comes in contact with the hands, wash off thoroughly with soap and water.
ILI9341 a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color Specification Preliminary Version: V1.02 Document No.: ILI9341_DS_V1.02.pdf ILI TECHNOLOGY CORP. 8F, No. 38, Taiyuan St., Jhubei City, Hsinchu Country 302 Taiwan R.O.C. Tel.886-3-5600099; Fax.886-3-5670585 http://www.ilitek.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Table of Contents Section Page 1. Introduction.................................................................................................................................................... 7 2. Features ........................................................................................................................................................ 7 3. Block Diagram ..................................................
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.6.6. 18-bit Parallel MCU Interface .............................................................................................. 76 7.6.7. 6-bit Parallel RGB Interface................................................................................................. 80 7.6.8. 16-bit Parallel RGB Interface............................................................................................... 82 7.6.9.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.33. COLMOD: Pixel Format Set (3Ah) .................................................................................... 134 8.2.34. Write_Memory_Continue (3Ch)......................................................................................... 135 8.2.35. Read_Memory_Continue (3Eh)......................................................................................... 137 8.2.36. Set_Tear_Scanline (44h) ................
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.23. Read ID4 (D3h) ................................................................................................................. 187 8.3.24. Positive Gamma Correction (E0h)..................................................................................... 188 8.3.25. Negative Gamma Correction (E1h) ................................................................................... 189 8.3.26.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 15.3. Input Pins ..................................................................................................................................... 217 15.4. Reset Timing ................................................................................................................................ 218 16. Configuration of Power Supply Circuit ....................................................................................
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 1. Introduction ILI9341 is a 262,144-color single-chip SOC driver for a-TFT liquid crystal display with resolution of 240RGBx320 dots, comprising a 720-channel source driver, a 320-channel gate driver, 172,800 bytes GRAM for graphic display data of 240RGBx320 dots, and power supply circuit.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Low -power consumption architecture Low operating power supplies: VDDI = 1.65V ~ 3.3V (logic) VCI = 2.5V ~ 3.3V (analog) LCD Voltage drive: Source/VCOM power supply voltage AVDD - GND = 4.5V ~ 5.5V VCL - GND = -2.0V ~ -3.0V Gate driver output voltage VGH - GND = 10.0V ~ 20.0V VGL - GND = -5.0V ~ -15.0V VGH - VGL 32V VCOM driver output voltage VCOMH = 3.0V ~ (AVDD – 0.5)V VCOML = (VCL+0.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 3.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 4. Pin Descriptions Power Supply Pins Pin Name VDDI I/O I VDDI_LED I VCI I Type P Descriptions Low voltage power supply for interface logic circuits (1.65 ~ 3.3 V) Power supply for LED driver interface. (1.65 ~ 3.3 V) If LED driver is not used, fix this pin at VDDI. Analog Power High voltage power supply for analog circuit blocks (2.5 ~ 3.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color RESX EXTC CSX I I I MCU (VDDI/VSS) MCU (VDDI/VSS) MCU (VDDI/VSS) ILI9341 This signal will reset the device and must be applied to properly initialize the chip. Signal is active low. Extended command set enable. Low: extended command set is discarded. High: extended command set is accepted. Please connect EXTC to VDDI to read/write extended registers (RB0h~RCFh, RE0h~RFFh) Chip select input pin (“Low” enable).
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Note. 1. If CSX is connected to VSS in Parallel interface mode, there will be no abnormal visible effect to the display module. Also there will be no restriction on using the Parallel Read/Write protocols, Power On/Off Sequences or other functions. Furthermore there will be no influence to the Power Consumption of the display module. 2. When CSX=’1’, there is no influence to the parallel and serial interface.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color LCD Driver Input/Output Pins Descriptions Pin Name I/O Type S720~S1 O Source Source output signals.. Leave the pin to open when not in use. G320~G1 O Gate Gate output signals. Leave the pin to open when not in use. O Power Stabilizing capacitor AVDD ILI9341 Output voltage of 1st step up circuit (2 x VCI). Input voltage to 2nd step up circuit. Generated power output pad for source driver block.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Liquid crystal power supply specifications Table No.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 5. Pad Arrangement and Coordination 1 2 0 ………………… 1 0 3 0 4 0 5 0 7 0 ……………………. 6 0 8 0 1 0 0 Face Up (Bump View) 9 0 1 1 0 y 1 2 0 1 4 0 1 5 0 1 6 0 ……………………. x 1 3 0 1 7 0 1 8 0 2 0 0 2 1 0 2 2 0 ………………… 1 9 0 2 3 0 The information contained herein is the exclusive property of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color No. Pad name X Y No. Pad name X Y No. Pad name X Y ILI9341 No. Pad name X Y 1 DUMMY -7292.5 -248 51 C12M -4292.5 -248 101 VSSA -1292.5 -248 151 LEDPWM 2 DUMMY -7232.5 -248 52 C12M -4232.5 -248 102 VSSA -1232.5 -248 3 VCOM -7172.5 -248 53 C11P -4172.5 -248 103 VSSA -1172.5 -248 4 VCOM -7112.5 -248 54 C11P -4112.5 -248 104 VSSA -1112.5 5 VCOM -7052.5 -248 55 C11P -4052.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color X Y X X ILI9341 No. Pad name No. Pad name Y No. Pad name Y No. Pad name 201 DUMMY 5432.5 -248 251 G32 7147 224 301 G132 6447 224 351 G232 5747 X 224 Y 202 DUMMY 5492.5 -248 252 G34 7133 93 302 G134 6433 93 352 G234 5733 93 203 DUMMY 5552.5 -248 253 G36 7119 224 303 G136 6419 224 353 G236 5719 224 204 DUMMY 5612.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color No. Pad name X Y No. Pad name X Y No. Pad name X Y ILI9341 No.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color No.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color No. Pad name No.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color No. Pad name X Y No. Pad name X Y No. Pad name X Y ILI9341 No.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color No. Pad name X Y No.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 BUMP Size Input Pad (1 ~ 232) x x 2 5 1 0 0 3 1 Output Pad (233 ~ 1278) 1 0 0 The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 6. Block Function Description MCU System Interface ILI9341 provides four kinds of MCU system interface with 8080- Ⅰ/8080-Ⅱ series parallel interface and 3-/4-line serial interface.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Power Supply Circuit The LCD drive power supply circuit generates the voltage levels as GVDD, VGH, VGL and VCOM for driving TFT LCD panel. Timing controller The timing controller generates all the timing signals for display and GRAM access. Oscillator ILI9341 incorporates RC oscillator circuit and output a stable output frequency for operation.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7. Function Description 7.1. MCU interfaces ILI9341 provides the 8-/9-/16-/18-bit parallel system interface for 8080- Ⅰ/8080-Ⅱ series, and 3-/4-line serial system interface for serial data input. The input system interface is selected by external pins IM [3:0] and the bit formal per pixel color order is selected by DBI [2:0] bits of 3Ah register. 7.1.1.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.1.2. 8080-Ⅰ Ⅰ Series Parallel Interface ILI9341 can be accessed via 8-/9-/16-/18-bit MCU 8080- Ⅰ series parallel interface. The chip-select CSX (active low) is used to enable or disable ILI9341 chip. The RESX (active low) is an external reset signal. WRX is the parallel data write strobe, RDX is the parallel data read strobe and D[17:0] is parallel data bus. ILI9341 latches the input data at the rising edge of WRX signal.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.1.3. Write Cycle Sequence The WRX signal is driven from high to low and then be pulled back to high during the write cycle. The host processor provides information during the write cycle when the display module captures the information from host processor on the rising edge of WRX. When the D/CX signal is driven to low level, then input data on the interface is interpreted as command information.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.1.4. Read Cycle Sequence The RDX signal is driven from high to low and then allowed to be pulled back to high during the read cycle. The display module provides information to the host processor during the read cycle while the host processor reads the display module information on the rising edge of RDX signal. When the D/CX signal is driven to low level, then input data on the interface is interpreted as command.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.1.5. 8080-Ⅱ Ⅱ Series Parallel Interface ILI9341 can be accessed via 8-/9-/16-/18-bit MCU 8080- Ⅱ series parallel interface. The chip-select CSX (active low) is used to enable or disable ILI9341 chip. The RESX (active low) is an external reset signal. WRX is the parallel data write strobe, RDX is the parallel data read strobe and D[17:0] is parallel data bus. ILI9341 latches the input data at the rising edge of WRX signal.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.1.6. Write Cycle Sequence The WRX signal is driven from high to low and then be pulled back to high during the write cycle. The host processor provides information during the write cycle when the display module captures the information from host processor on the rising edge of WRX. When the D/CX signal is driven to low level, then input data on the interface is interpreted as command information.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.1.7. Read Cycle Sequence The RDX signal is driven from high to low and then allowed to be pulled back to high during the read cycle. The display module provides information to the host processor during the read cycle while the host processor reads the display module information on the rising edge of RDX signal. When the D/CX signal is driven to low level, then input data on the interface is interpreted as command.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.1.8. Serial Interface The selection of interface is done by IM [3:0] bits. Please refer to the Table in the following. IM3 IM2 IM1 IM0 MCU-Interface Mode CSX D/CX 0 1 0 1 3-line serial interface “L” - Read/Write command, parameter or display data. 0 1 1 0 4-line serial interface “L” ‘H/L” Read/Write command, parameter or display data.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Data Format for 4-line Serial Interface Transmission byte may be Command or Data MSB D7 8-bit Transmission Byte LSB D6 D5 D4 8-bit Transmission Byte D3 D2 D1 D0 8-bit Transmission Byte The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Host processor drives the CSX pin to low and starts by setting the D/CX bit on SDA. The bit is read by ILI93401 on the first rising edge of SCL signal. On the next falling edge of SCL, the MSB data bit (D7) is set on SDA by the host. On the next falling edge of SCL, the next bit (D6) is set on SDA. If the optional D/CX signal is used, a byte is eight read cycle width.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.1.10. Read Cycle Sequence The read mode of interface means that the host reads register’s parameter or display data from ILI9341. The host has to send a command (Read ID or register command) and then the following byte is transmitted in the opposite direction. ILI9341 latches the SDA (input data) at the rising edges of SCL (serial clock), and then shifts SDA (output data) at falling edges of SCL (serial clock).
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 3-wire Serial Protocol (for RDDST command: 32-bit read) S TB TB P S CSX SCL Interface I SDA D/C D7 D6 D5 D4 D3 D2 D1 D0 SDA D/C D7 D6 D5 D4 D3 D2 D1 D0 D31 D30 D29 D2 D1 D0 D/C D/C Interface II D31 SDO D30 D29 D2 D1 D0 Multi-byte Read Data Output Command Dummy Clock Cycle The information contained herein is the exclusive property of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 4-wire Serial Interface Protocol 4-wire Serial Protocol (for RDID1/RDID2/RDID3/0Ah/0Bh/0Ch/0Dh/0Eh/0Fh command: 8-bit read) S TB TB P S CSX SCL 0 D/CX Interface I SDA D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 SDI Interface II SDO Command Read Data Output 4-wire Serial Protocol (for RDDID command: 24-bit read) S TB TB P S CSX
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 4-wire Serial Protocol (for RDDST command: 32-bit read) S TB TB P S CSX SCL 0 D/CX Interface I SDA D7 D6 D5 D4 D3 D2 D1 D0 SDI D7 D6 D5 D4 D3 D2 D1 D0 D31 D30 D29 D2 D1 D0 D31 D30 D29 D2 D1 D0 Interface II SDO Multi-byte Read Data Output Command Dummy Clock Cycle The information contained herein is the exclusive property of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.1.11.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color Break Command 1 Parameter 11 Parameter 12 ILI9341 Parameter11 is successfully sent, but Parameter12 is breaked and needed to be transfer again.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.1.12. Data Transfer Pause It will be possible when transferring a command, frame memory data or multiple parameter data to invoke a pause in the data transmission.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.1.13. Serial Interface Pause (3_wire) S TB TB P CSX Host (MCU to Driver) SDA 0 D7 D6 D5 D4 D3 D2 D1 D0 D/C D7 D6 D5 D4 D3 D2 D1 D0 SCL Command Data / Command / Parameter The CSX can be high level between the data and next command.The SDA and SCL are invalid during CSX is high level 7.1.14.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.1.15. Data Transfer Mode ILI9341 can provide two different kinds of color depth (16-bit/pixel and 18-bit/pixel) display data to the graphic RAM. The data format is described for each interface. Data can be downloaded to the frame memory by 2 methods. 7.1.16.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.2. RGB Interface 7.2.1. RGB Interface Selection ILI9341 has two kinds of RGB interface and these interfaces can be selected by RCM [1:0] bits. When RCM [1:0] bits are set to “10”, the DE mode is selected which utilizes VSYNC, HSYNC, DOTCLK, DE, D [17:0] pins; when RCM [1:0] bits are set to “11”, the SYNC mode is selected which utilizes which utilizes VSYNC, HSYNC, DOTCLK, D [17:0] pins.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 there is received a new frame of the display. This is low enable and its state is read to the display module by a rising edge of the DOTCLK signal. Horizontal synchronization (HSYNC) is used to tell when there is received a new line of the frame. This is low enable and its state is read to the display module by a rising edge of the DOTCLK signal.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 frequency about 70Hz. Notes: 1. Vertical period (one frame) shall be equal to the sum of Vsync + VBP + VAdr + VFP. 2. Horizontal period (one line) shall be equal to the sum of Hsync + HBP + HAdr + HFP. 3. Control signals PCLK and Hsync shall be transmitted as specified at all times while valid pixels are transferred between the host processor and the display module.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.2.2. RGB Interface Timing The timing chart of 18-/16-bit RGB interface mode is shown as below.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 The timing chart of 6-bit RGB interface mode is shown as below: 1 frame Front porch Back porch VSYNC VLW>=1H HSYNC DOTCLK ENABLE D[5:0] HLW>=2DOTCLKs HSYNC 1H DOTCLK ENABLE DTST>=HLW D[5:0] RG B RG B B R G B Valid data VLW : VSYNC Low Width HLW : HSYNC Low Width DTST : Data Transfer Startup Time DOTCLK PCDIVH[3:0] PCDIVL[3:0] PCLKD Note 1: The DE signal is not needed when RGB interface SYNC mode is selected.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Note 4: In 6-bit RGB interface mode, set the cycles of VSYNC, HSYNC and DE to 3 multiples of DOTCLK. The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.3. VSYNC Interface ILI9341 supports the VSYNC interface in synchronization with the frame-synchronizing signal VSYNC to display the moving picture with the 8080- Ⅰ/8080-Ⅱ system interface. When the VSYNC interface is selected to display a moving picture, the minimum GRAM update speed is limited and the VSYNC interface is enabled by setting DM[1:0] = “10” and RM = “0”.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 The VSYNC interface has the minimum speed limitation of writing data to the internal GRAM via the system interface, which are calculated from the following formula. Internal clock frequency (fosc.) [Hz] = FrameFrequency x (DisplayLine (NL) + FrontPorch (VFP) + BackPorch (VBP)) x ClockCyclePerLines (RTN) x FrequencyFluctuation.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 When calculate the internal clock frequency, the oscillator variation is needed to be taken into consideration. In the above example, the calculated internal clock frequency with ±10% margin variation is considered and ensures to complete the display operation within one VSYNC cycle. The causes of frequency variation come from fabrication process of LSI, room temperature, external resistors and VCI voltage variation.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.4. Color Depth Conversion Look Up Table When ILI9341 operates in parallel 16-bit interface, the color depth conversion is done by look-up table and extend input data format to 18-bit. See the detailed for look-up table of color depth conversion.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 G input (6-bit) G output (6-bit) 16-bit/pixel –mode 18-bit/pixel –mode 65,536 colors 262,144 colors 000000 G005 G004 G003 G002 G001 G000 33 000001 G015 G014 G013 G012 G011 G010 34 000010 G025 G024 G023 G022 G021 G020 35 000011 G035 G034 G033 G032 G031 G030 36 000100 G045 G044 G043 G042 G041 G040 37 000101 G055 G054 G053 G052 G051 G050 38 000110 G065 G064 G063 G062 G061 G060 39 000111 G075 G074 G073 G07
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 G input (6-bit) G output (6-bit) 16-bit/pixel –mode 18-bit/pixel –mode 65,536 colors 262,144 colors 100010 G345 G344 G343 G342 G341 G340 67 100011 G355 G354 G353 G352 G351 G350 68 100100 G365 G364 G363 G362 G361 G360 69 100101 G375 G374 G373 G372 G371 G370 70 100110 G385 G384 G383 G382 G381 G380 71 100111 G395 G394 G393 G392 G391 G390 72 101000 G405 G404 G403 G402 G401 G400 73 101001 G415 G414 G413 G41
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 B input (5-bit) B output (6-bit) 16-bit/pixel –mode 18-bit/pixel –mode 65,536 colors 262,144 colors 00000 B005 B004 B003 B002 B001 B000 97 00001 B015 B014 B013 B012 B011 B010 98 00010 B025 B024 B023 B022 B021 B020 99 00011 B035 B034 B033 B032 B031 B030 100 00100 B045 B044 B043 B042 B041 B040 101 00101 B055 B054 B053 B052 B051 B050 102 00110 B065 B064 B063 B062 B061 B060 103 00111 B075 B074 B073 B072 B0
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.5. Display Data RAM (DDRAM) ILI9341 has an integrated 240x320x18-bit graphic type static RAM. This 172,800-byte memory allows storing a 240xRGBx320 image with an 18-bit resolution (262K-color). There is no abnormal visible effect on the display when there are simultaneous panel display read and interface read/write to the same location of the frame memory.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color 7.6. Display Data Format ILI9341 supplies 18-/16-/9-/8-bit parallel MCU interface with 8080- ILI9341 Ⅰ/8080-Ⅱ series, 3-/4-line serial interface and 6-/16-18-bit parallel RGB interface. The parallel MCU interface and serial interface mode can be selected by external pins IM [3:0] and RGB interface mode can be selected by software command parameters RCM[1:0]. 7.6.1.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 16 bit/pixel color order (R:5-bit, G:6-bit, B:5-bit), 65,536 colors ‘ 1’ RESX IM[3:0]=0101 or 1101 IM[3:0] CSX Pixel n D8 SDA 1 D7 R1 4 D6 R1 3 D5 D4 R1 2 R1 1 D3 R1 0 Pixel n+1 D2 D1 D0 G1 5 G1 4 G1 3 D8 D7 G1 2 1 D6 D5 D4 G1 1 G1 0 B1 4 D3 D2 B1 3 B1 2 D1 B1 1 D0 B1 0 D8 D7 R2 4 1 D6 R2 3 D5 R2 2 D4 R2 1 D3 R2 0 D2 G2 5 D1 D0 G2 4 G2 3 SCL 16-bit Look-Up Table for 65k Colors map
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Read data through 3-line SPI mode RESX ‘ 1’ IM[3:0]=0101 or 1101 IM[3:0] CSX SCL SDA (I/F I) SDI (I/F II) SDA (I/F I) SDO (I/F II) 0 High-Z R2Eh High-Z D23 D22 D21 9 Dummy Clock D20 D19 D18 D17 D16 D2 D1 D0 D23 D22 D21 D20 D19 1-Pixel data Note 1: ‘-‘= Don’t care –Can be set “0” or “1”. The information contained herein is the exclusive property of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.6.2. 4-line Serial Interface The 4-line/8-bit serial bus interface of ILI9341 can be used by setting external pin as IM [3:0] to “0110” for serial interface I or IM [3:0] to “1110” for serial interface II. The shown figure is the example of 4-line SPI interface. In 4-line serial interface, different display data format is available for two color depths supported by the LCM listed below. -65k colors, RGB 5, 6, 5 -bits input.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Note 1: The pixel data with 16-bit color depth information. Note 2: The most significant bits are: Rx4, Gx5 and Bx4. Note 3: The least significant bits are: Rx0, Gx0 and Bx0. Note 4: ‘-‘= Don’t care –Can be set “0” or “1”.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.6.3. 8-bit Parallel MCU Interface Ⅰ system 8-bit parallel bus interface of ILI9341 can be used by setting external pin as IM [3:0] to “0000”.The following shown figure is the example of interface with 8080-Ⅰ MCU system interface. The 8080- Different display data formats are available for two color depths supported by listed below. - 65K-Colors, RGB 5, 6, 5 -bits input data. - 262K-Colors, RGB 6, 6, 6 -bits input data.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Ⅱsystem 8-bit parallel bus interface of ILI9341 can be used by settings as IM [3:0] =”1001”. The following shown figure is the example of interface with 8080-Ⅱ MCU system interface. The 8080- Different display data formats are available for two color depths supported by listed below. - 65K-Colors, RGB 5, 6, 5 -bits input data. - 262K-Colors, RGB 6, 6, 6 -bits input data.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.6.4. 9-bit Parallel MCU Interface Ⅰ system 9-bit parallel bus interface of ILI9341 can be selected by setting hardware pin IM [3:0] to “0010”. The following shown figure is the example of interface with 8080-Ⅰ MCU system interface. The 8080- 65K color: 16-bit/pixel (RGB 5-6-5 bits input) One pixel (3 sub-pixels) display data is sent by 2 transfers when DBI [2:0] bits of 3Ah register are set to “101”.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 MDT[1:0]=”01” Count D/CX D8 D7 D6 D5 D4 D3 D2 D1 D0 0 0 1 1 2 1 3 1 … … 718 1 719 1 720 1 C7 C6 C5 C4 C3 C2 C1 C0 0R5 0R4 0R3 0R2 0R1 0R0 0G5 0G4 0G3 0G2 0G1 0G0 0B5 0B4 0B3 0B2 0B1 0B0 … … … … … … … … 239R5 239R4 239R3 239R2 239R1 239R0 239G5 239G4 239G3 239G2 239G1 239G0 239B5 239B4 239B3 239B2 239B1 239B0 Ⅱ system 9-bit parallel bus interface of ILI9341 can be selected by setting hardware pin IM [3:0] to “1011
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 262K color: 18-bit/pixel (RGB 6-6-6 bits input) There are 2 pixels (6 sub-pixels) display data is sent by 4 transfers, when DBI [2:0] bits of 3Ah register are set to “110”.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.6.5. 16-bit Parallel MCU Interface Ⅰ system 16-bit parallel bus interface of ILI9341 can be selected by setting hardware pin IM[3:0] to “0001”.The following shown figure is the example of interface with 8080-Ⅰ MCU system interface. The 8080- Different display data format is available for two colors depth supported by listed below. - 65K-Colors, RGB 5, 6, 5 -bits input data. - 262K-Colors, RGB 6, 6, 6 -bits input data.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 262K color: 18-bit/pixel (RGB 6-6-6 bits input) One pixel (3 sub-pixels) display data is sent by 2 transfers when DBI [2:0] bits of 3Ah register are set to “110”.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 MDT[1:0]=”10” Count D/CX D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 0 0 C7 C6 C5 C4 C3 C2 C1 C0 1 1 0R5 0R4 0R3 0R2 0R1 0R0 0G5 0G4 0G3 0G2 0G1 0G0 0B5 0B4 0B3 0B2 2 1 0B1 0B0 3 1 1R5 1R4 1R3 1R2 1R1 1R0 1G5 1G4 1G3 1G2 1G1 1G0 1B5 1B4 1B3 1B2 1 1 2 1 0R3 0R2 0R1 0R0 0G5 0G4 0G3 0G2 0G1 0G0 0B5 0B4 0B3 0B2 0B1 0B0 3 1 1B1 1B0 … … … … … … … … … … … … … … … … … … 357 238R5 238R4 238R3 238R2 238R1 238R0 238G5 2
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Ⅱ system 16-bit parallel bus interface of ILI9341 can be selected by settings IM [3:0] =”1000”. The following shown figure is the example of interface with 8080-Ⅱ MCU system interface. The 8080- Different display data format is available for two colors depth supported by listed below. - 65K-Colors, RGB 5, 6, 5 -bits input data. - 262K-Colors, RGB 6, 6, 6 -bits input data.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 262K color: 18-bit/pixel (RGB 6-6-6 bits input) One pixel (3 sub-pixels) display data is sent by 2 transfers when DBI [2:0] bits of 3Ah register are set to “110”.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 MDT[1:0]=”10” Count D/CX D17 D16 D15 D14 D13 D12 D11 D10 D8 D7 D6 D5 D4 D3 D2 D1 0 0 C7 C6 C5 C4 C3 C2 C1 C0 1 1 0R5 0R4 0R3 0R2 0R1 0R0 0G5 0G4 0G3 0G2 0G1 0G0 0B5 0B4 0B3 0B2 2 1 0B1 0B0 3 1 1R5 1R4 1R3 1R2 1R1 1R0 1G5 1G4 1G3 1G2 1G1 1G0 1B5 1B4 1B3 1B2 1 1 2 1 0R3 0R2 0R1 0R0 0G5 0G4 0G3 0G2 0G1 0G0 0B5 0B4 0B3 0B2 0B1 0B0 3 1 1B1 1B0 … … … … … … … … … … … … … … … … … … 357 238R5 238R4 238R3 238R2 238R1 238R0 238G5
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.6.6. 18-bit Parallel MCU Interface Ⅰ system 18-bit parallel bus interface of ILI9341 can be selected by setting hardware pin IM[3:0] to “0011”.The following shown figure is the example of interface with 8080-Ⅰ MCU system interface. The 8080- Different display data format is available for one color depth only supported by listed below. - 65K-Colors, RGB 5, 6, 5 -bits input data. - 262K-Colors, RGB 6, 6, 6 -bits input data.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 262K color: 18-bit/pixel (RGB 6-6-6 bits input) One pixel (3 sub-pixels) display data is sent by 1 transfer when DBI [2:0] bits of 3Ah register are set to “110”.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Ⅱ system 18-bit parallel bus interface mode can be selected by settings IM [3:0] =”1010”. The following shown figure is the example of interface with 8080-Ⅱ MCU system interface. The 8080- Different display data format is available for one color depth only supported by listed below. - 65K-Colors, RGB 5, 6, 5 -bits input data. - 262K-Colors, RGB 6, 6, 6 -bits input data.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 262K color: 18-bit/pixel (RGB 6-6-6 bits input) One pixel (3 sub-pixels) display data is sent by 1 transfer when DBI [2:0] bits of 3Ah register are set to “110”.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.6.7. 6-bit Parallel RGB Interface The 6-bit RGB interface is selected by setting the DPI [2:0] bit to “110”. When RCM [1:0] are set to “10” and DE mode is selected, the display operation is synchronized with VSYNC, HSYNC and DOTCLK signals.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 DE Mode, RCM[1:0]=“10” VSYNC HSYNC ENABLE VBP Active Area VFP Totale Area HSYNC ENABLE DOTCLK D[5:0] HBP Active Area HFP Totale Area The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 7.6.8. 16-bit Parallel RGB Interface The 16-bit RGB interface is selected by setting the DPI [2:0] bits to “101”. When RCM [1:0] are set to “10” and DE mode is selected, the display operation is synchronized with VSYNC, HSYNC and DOTCLK signals. The display data is transferred to the internal GRAM in synchronization with the display operation via 16-bit RGB data bus (D [17:13] & D [11:1]) according to the data enable signal (DE).
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8. Command 8.1.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color Memory Write Color SET Memory Read Partial Area Vertical Scrolling Definition Tearing Effect Line OFF Tearing Effect Line ON Memory Access Control Vertical Scrolling Start Address 0 1 ↑ 1 1 ↑ 0 1 1 1 0 ILI9341 XX 0 0 1 1 1 0 0 2Ch ↑ XX 0 0 1 1 1 0 1 2Dh ↑ 1 XX R00 [5:0] XX ↑ 1 XX Rnn [5:0] XX 1 ↑ 1 XX R31 [5:0] XX 1 ↑ 1 XX G00 [5:0] XX 1 ↑ 1 XX Gnn [5:0] XX 1 ↑ 1 XX G64
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color Read Display Brightness Write CTRL Display Read CTRL Display Write Content Adaptive Brightness Control Read Content Adaptive Brightness Control Write CABC Minimum Brightness Read CABC Minimum Brightness Read ID1 Read ID2 Read ID3 0 1 1 ↑ ↑ 1 XX 0 X 1 X 0 X XX 1 ↑ 1 XX 0 1 ↑ XX 0 1 0 1 1 ↑ XX X X BCTRL 0 1 1 ↑ ↑ 1 XX XX 0 X 1 X 0 X 1 ↑ 1 XX X X BCTRL 0 1 ↑ XX 0 1 0 1 1 ↑ XX X X X
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color Display Function Control Entry Mode Set Backlight Control 1 Backlight Control 2 Backlight Control 3 Backlight Control 4 Backlight Control 5 Backlight Control 7 Backlight Control 8 Power Control 1 Power Control 2 VCOM Control 1 VCOM Control 2 NV Memory Write NV Memory Protection Key NV Memory Status Read ILI9341 0 1 ↑ XX 1 0 1 1 0 1 1 ↑ XX X X X X PTG [1:0] 1 1 0 1 1 ↑ XX REV GS SS SM 1 1 ↑ XX
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 0 ↑ 1 XX 1 1 0 1 0 0 1 1 D3h 1 ↑ 1 XX X X X X X X X X XX 1 ↑ 1 XX 0 0 0 0 0 0 0 0 00 1 ↑ 1 XX 1 0 0 1 0 0 1 1 93 1 ↑ 1 XX 0 1 0 0 0 0 0 1 41 0 1 ↑ XX 1 1 1 0 0 0 0 0 E0h 1 1 ↑ XX X X X X 1 1 ↑ XX X X VP1 [5:0] 0E 1 1 ↑ XX X X VP2 [5:0] 12 1 1 ↑ XX X X X 1 1 ↑ XX X X X 1 1 ↑ XX X X X Positive Gamma 1 1 ↑ X
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 (00h). Note 3: Commands 10h, 12h, 13h, 26h, 28h, 29h, 30h, 36h (Bit B4 only), 38h and 39h are updated during V-SYNC when ILI9341 is in Sleep OUT mode to avoid abnormal visual effects. During Sleep IN mode, these commands are updated immediately.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2. Description of Level 1 Command 8.2.1. NOP (00h) 00h Command NOP (No Operation) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX 0 1 ↑ XX 0 0 0 0 0 0 0 0 00h Parameter No Parameter. This command is an empty command; it does not have any effect on the display module.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.2. Software Reset (01h) 01h Command SWRESET D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX 0 1 ↑ XX 0 0 0 0 0 0 0 1 01h Parameter No Parameter. When the Software Reset command is written, it causes a software reset. It resets the commands and parameters to their S/W Reset default values. (See default tables in each command description.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.3.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.4.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 0 Mode 1, V-Blanking only 1 Mode 2, both H-Blanking and V-Blanking.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.5.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.6.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.7.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.8.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.9.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.10.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.11. Enter Sleep Mode (10h) 10h Command SPLIN (Enter Sleep Mode) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX 0 1 ↑ XX 0 0 0 1 0 0 0 0 10h Parameter No Parameter This command causes the LCD module to enter the minimum power consumption mode. In this mode e.g. the DC/DC converter is stopped, Internal oscillator is stopped, and panel scanning is stopped.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.12. Sleep Out (11h) 11h Command SLPOUT (Sleep Out) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX 0 1 ↑ XX 0 0 0 1 0 0 0 1 11h Parameter No Parameter This command turns off sleep mode. In this mode e.g. the DC/DC converter is enabled, Internal oscillator is started, and panel scanning is started. Description X = Don’t care This command has no effect when module is already in sleep out mode.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color SPLOUT (11h) Displa y whole blank screen for 2 frames (Automatic No effect to DISP ON/OFF Commands) ILI9341 Legend Command Parameter Start Internal Oscillator Display Displa y Memory contents in accordance with the current command table settings Action Mode Start up DC-DC Converter Sequential transfer Sleep Out Mode Charge Offset voltage for LCD Panel The information contained herein is the exclusive property of ILI Technology C
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.13. Partial Mode ON (12h) 12h Command PTLON (Partial Mode On) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX 0 1 ↑ XX 0 0 0 1 0 0 1 0 12h Parameter No Parameter This command turns on partial mode The partial mode window is described by the Partial Area command (30H). To leave Description Partial mode, the Normal Display Mode On command (13H) should be written.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.14. Normal Display Mode ON (13h) 13h Command NORON (Normal Display Mode On) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX 0 1 ↑ XX 0 0 0 1 0 0 1 1 13h Parameter No Parameter This command returns the display to normal mode. Normal display mode on means Partial mode off.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.15. Display Inversion OFF (20h) 20h Command DINVOFF (Display Inversion OFF) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX 0 1 ↑ XX 0 0 1 0 0 0 0 0 20h Parameter No Parameter This command is used to recover from display inversion mode. This command makes no change of the content of frame memory. This command doesn’t change any other status.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.16. Display Inversion ON (21h) 21h Command DINVON (Display Inversion ON) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX 0 1 ↑ XX 0 0 1 0 0 0 0 1 21h Parameter No Parameter This command is used to enter into display inversion mode. This command makes no change of the content of frame memory. Every bit is inverted from the frame memory to the display. This command doesn’t change any other status.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.17. Gamma Set (26h) 26h GAMSET (Gamma Set) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 0 0 1 0 0 1 1 0 26h Parameter 1 1 ↑ XX GC [7:0] 01 This command is used to select the desired Gamma curve for the current display. A maximum of 4 fixed gamma curves can be selected.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.18. Display OFF (28h) 28h Command DISPOFF (Display OFF) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX 0 1 ↑ XX 0 0 1 0 1 0 0 0 28h Parameter No Parameter This command is used to enter into DISPLAY OFF mode. In this mode, the output from Frame Memory is disabled and blank page inserted. This command makes no change of contents of frame memory. This command does not change any other status.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.19. Display ON (29h) 29h Command DISPON (Display ON) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX 0 1 ↑ XX 0 0 1 0 1 0 0 1 29h Parameter No Parameter This command is used to recover from DISPLAY OFF mode. Output from the Frame Memory is enabled. This command makes no change of contents of frame memory.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.20.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color CASET (2Ah) ILI9341 If Needed 1st Parameter: SC[15:8] 2nd Parameter: SC[7:0] 3rd Parameter: EC[15:8] 4th Parmeter EC[7:0] Legend Command Parameter PASET (2Bh) Display Flow Chart 1st Parameter: SP[15:8] 2nd Parameter: SP[7:0] 3rd Parameter: EP[15:8] 4th Parameter: EP[7:0] Action Mode Sequential transfer RAMWR(2Ch) If Needed Image Data D1[17:0],D2[17:0]..
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.21.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color CASET (2Ah) ILI9341 If Needed 1st Parameter: SC[15:8] 2nd Parameter: SC[7:0] 3rd Parameter: EC[15:8] 4th Parmeter EC[7:0] Legend Command Parameter PASET (2Bh) Display Flow Chart 1st Parameter: SP[15:8] 2nd Parameter: SP[7:0] 3rd Parameter: EP[15:8] 4th Parameter: EP[7:0] Action Mode Sequential transfer RAMWR(2Ch) If Needed Image Data D1[17:0],D2[17:0]..
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.22. Memory Write (2Ch) 2Ch RAMWR (Memory Write) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 0 0 1 0 1 1 0 0 2Ch 1st Parameter 1 1 ↑ D1 [17:0] XX : 1 1 ↑ Dx [17:0] XX 1 1 ↑ Dn [17:0] XX Nth Parameter This command is used to transfer data from MCU to frame memory. This command makes no change to the other driver status.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.23.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.24.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color RAMRD (2Eh) ILI9341 Legend Command Dummy Read Parameter Display Flow Chart Action Image Data D1[17:0],D2[17:0]..Dn[17:0] Mode Sequential transfer Any Command The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.25.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color Status Availability Normal Mode On, Idle Mode Off, Sleep Out Yes Register Normal Mode On, Idle Mode On, Sleep Out Yes Availability Partial Mode On, Idle Mode Off, Sleep Out Yes Partial Mode On, Idle Mode On, Sleep Out Yes Sleep In Yes Status Default ILI9341 Default Value SR [15:0] ER [15:0] Power On Sequence 16’h0000h 16’h013Fh SW Reset 16’h 0000h 16’h 013Fh HW Reset 16’h 0000h 16’h 013Fh 1.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.26.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 (0, 0) Bottom Fixed Area BFA[15:0] Scroll Area First line read from memory TFA[15:0] Top Fixed Area X = Don’t care Restriction Status Availability Normal Mode On, Idle Mode Off, Sleep Out Yes Register Normal Mode On, Idle Mode On, Sleep Out Yes Availability Partial Mode On, Idle Mode Off, Sleep Out Yes Partial Mode On, Idle Mode On, Sleep Out Yes Sleep In Yes Status Default Default Value TFA [15:0] VSA [15:
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 1.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Scroll Mode Legend CASET (2Ah) 1st & 2nd parameter : SC[15:0] 3rd & 4th Parameter EC[15:0] Command Parameter Display Action Mode PASET (2Bh) Sequential transfer 1st & 2nd parameter : SP[15:0] 3rd & 4th Parameter EP[15:0] RAMRW Scroll Image Data VSCRSADD(37h) 3.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.27. Tearing Effect Line OFF (34h) 34h Command TEOFF (Tearing Effect Line OFF) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX 0 1 ↑ XX 0 0 1 1 0 1 0 0 34h Parameter No Parameter This command is used to turn OFF (Active Low) the Tearing Effect output signal from the TE signal line. Description X = Don’t care.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.28. Tearing Effect Line ON (35h) 35h TEON (Tearing Effect Line ON) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 0 0 1 1 0 1 0 1 35h Parameter 1 1 ↑ XX 0 0 0 0 0 0 0 M 00 This command is used to turn ON the Tearing Effect output signal from the TE signal line. This output is not affected by changing MADCTL bit B4.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Legend TE Line Output OFF Command Parameter TEON(35h) Display Flow Chart 1st Parameter: M bit Action Mode TE Line Output ON Sequential transfer The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.29. Memory Access Control (36h) 36h MADCTL (Memory Access Control) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 0 0 1 1 0 1 1 0 36h Parameter 1 1 ↑ XX MY MX MV ML BGR MH 0 0 00 This command defines read/write scanning direction of frame memory. This command makes no change on the other driver status.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color MH(Horizontal refresh order control bit)="0" ILI9341 MH(Horizontal refresh order control bit)=" 1" display display Top-Left (0,0) Se nd last (240) Se nd 3rd (3) Se nd 1st (1) Top-Left (0,0) Send 2nd (2 ) Send 3rd (3) Send la st (240) Se nd 1st (1) Se nd 2nd (2) Top-Left (0,0) Top-Left (0,0) memory memory Note: Top-Left (0,0) means a physical memory location.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.30. Vertical Scrolling Start Address (37h) 37h VSCRSADD (Vertical Scrolling Start Address) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 0 0 1 1 0 1 1 1 37h 1stParameter 1 ↑ 1 XX VSP [15:8] 00 2ndParameter 1 ↑ 1 XX VSP [7:0] 00 This command is used together with Vertical Scrolling Definition (33h).
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Restriction Status Availability Normal Mode On, Idle Mode Off, Sleep Out Yes Register Normal Mode On, Idle Mode On, Sleep Out Yes Availability Partial Mode On, Idle Mode Off, Sleep Out No Partial Mode On, Idle Mode On, Sleep Out No Sleep In Yes Status Default Flow Chart Power On Sequence Default Value VSP [15:0] 16’h0000h SW Reset 16’h0000h HW Reset 16’h0000h See Vertical Scrolling Definition (33h) descript
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.31. Idle Mode OFF (38h) 38h Command IDMOFF (Idle Mode OFF) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX 0 1 ↑ XX 0 0 1 1 1 0 0 0 38h Parameter No Parameter This command is used to recover from Idle mode on. Description In the idle off mode, LCD can display maximum 262,144 colors. X = Don’t care. Restriction This command has no effect when module is already in idle off mode.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.32. Idle Mode ON (39h) 39h Command IDMON (Idle Mode ON) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX 0 1 ↑ XX 0 0 1 1 1 0 0 1 39h Parameter No Parameter This command is used to enter into Idle mode on. In the idle on mode, color expression is reduced. The primary and the secondary colors using MSB of each R, G and B in the Frame Memory, 8 color depth data is displayed.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Legend Idle mode off Command Parameter Display Flow Chart IDMON(39h) Action Mode Idle mode on Sequential transfer The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.33. COLMOD: Pixel Format Set (3Ah) 3Ah PIXSET (Pixel Format Set) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 0 0 1 1 1 0 1 0 3Ah Parameter 1 1 ↑ XX 0 DPI [2:0] 0 DBI [2:0] 66 This command sets the pixel format for the RGB image data used by the interface. DPI [2:0] is the pixel format select of RGB interface and DBI [2:0] is the pixel format of MCU interface.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.34. Write_Memory_Continue (3Ch) 3Ch Command st Write_Memory_Continue D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX 0 1 ↑ XX 0 0 1 1 1 1 0 0 3Ch D1 D1 D1 D1 D1 D1 D1 D1 D1 000 [17..8] [7] [6] [5] [4] [3] [2] [1] [0] 3FF 1 Parameter 1 1 ↑ Xth Parameter 1 1 ↑ Nth Parameter 1 1 ↑ Dx Dx Dx Dx Dx Dx Dx Dx Dx 000 [17..
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color Status Availability Normal Mode On, Idle Mode Off, Sleep Out Yes Register Normal Mode On, Idle Mode On, Sleep Out Yes Availability Partial Mode On, Idle Mode Off, Sleep Out Yes Partial Mode On, Idle Mode On, Sleep Out Yes Sleep In No Default Status Default Value Power On Sequence Random value SW Reset No change HW Reset No change ILI9341 Flow Chart The information contained herein is the exclusive property of ILI T
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.35. Read_Memory_Continue (3Eh) 3Eh Read_Memory_Continue D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 0 0 1 1 1 1 1 0 3Eh 1st Parameter 1 ↑ 1 XX X X X X X X X X X D1 D1 D1 D1 D1 D1 D1 D1 D1 000 3FF nd 2 Parameter 1 ↑ 1 xst Parameter 1 ↑ 1 Nst Parameter 1 ↑ 1 [17..
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Flow Chart The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.36.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.37.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.38. Write Display Brightness (51h) WRDISBV (Write Display Brightness) 51h D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 0 1 0 1 0 0 0 1 51h Parameter 1 1 ↑ XX DBV[7] DBV[6] DBV[5] DBV[4] DBV[3] DBV[2] DBV[1] DBV[0] 00 This command is used to adjust the brightness value of the display.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.39. Read Display Brightness (52h) 52h RDDISBV (Read Display Brightness Value) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 0 1 0 1 0 0 1 0 52h 1st Parameter 1 ↑ 1 XX X X X X X X X X X 2nd Parameter 1 ↑ 1 XX DBV[7] DBV[6] DBV[5] DBV[4] DBV[3] DBV[2] DBV[1] DBV[0] 00 This command returns the brightness value of the display.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.40. Write CTRL Display (53h) 53h WRCTRLD (Write Control Display) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 0 1 0 1 0 0 1 1 53h Parameter 1 1 ↑ XX 0 0 BCTRL 0 DD BL 0 0 00 This command is used to control display brightness. BCTRL: Brightness Control Block On/Off, This bit is always used to switch brightness for display.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Legend WRCTRLD Command Parameter BCTRL,DD,BL Flow Chart Display Action New Control Value Loaded Mode Sequential transfer The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.41. Read CTRL Display (54h) 54h RDCTRLD (Read Control Display) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 0 1 0 1 0 1 0 0 54h 1st Parameter 1 ↑ 1 XX X X X X X X X X XX 2nd Parameter 1 ↑ 1 XX 0 0 BCTRL 0 DD BL 0 0 00 This command is used to return brightness setting.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Flow Chart The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.42. Write Content Adaptive Brightness Control (55h) 55h WRCABC (Write Content Adaptive Brightness Control) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 0 1 0 1 0 1 0 1 55h Parameter 1 1 ↑ XX 0 0 0 0 0 0 C [1] C [0] 00 This command is used to set parameters for image content based adaptive brightness control functionality.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.43.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.44. Write CABC Minimum Brightness (5Eh) 5Eh Command D/CX 0 RDX 1 WRX ↑ D17-8 XX Parameter 1 1 ↑ XX Backlight Control 1 D6 D5 D4 1 0 1 CMB CMB CMB [6] [5] [4] D7 0 CMB [7] D3 1 CMB [3] D2 1 CMB [2] D1 1 CMB [1] D0 0 CMB [0] HEX 5Eh 00 This command is used to set the minimum brightness value of the display for CABC function.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.45. Read CABC Minimum Brightness (5Fh) 5Fh Command 1stParameter D/CX 0 1 RDX 1 ↑ WRX ↑ 1 D17-8 XX XX 2ndParameter 1 ↑ 1 XX D7 0 X CMB [7] Backlight Control 1 D6 D5 D4 1 0 1 X X X CMB CMB CMB [6] [5] [4] D3 1 X CMB [3] D2 1 X CMB [2] D1 1 X CMB [1] D0 1 X CMB [0] HEX 5Fh X 00 This command returns the minimum brightness value of CABC function.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.46. Read ID1 (DAh) DAh RDID1 (Read ID1) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 1 1 0 1 1 0 1 0 DAh 1stParameter 1 ↑ 1 XX X X X X X X X X 2ndParameter 1 ↑ 1 XX ID1 [7:0] X XX This read byte identifies the LCD module’s manufacturer ID and it is specified by User The 1st parameter is dummy data.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.47. Read ID2 (DBh) DBh RDID2 (Read ID2) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 1 1 0 1 1 0 1 1 DBh 1st Parameter 1 ↑ 1 XX X X X X X X X X 2ndParameter 1 ↑ 1 XX 1 ID2 [6:0] X XX This read byte is used to track the LCD module/driver version.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.2.48. Read ID3 (DCh) DCh RDID3 (Read ID3) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 1 1 0 1 1 1 0 0 DCh 1stParameter 1 ↑ 1 XX X X X X X X X X 2ndParameter 1 ↑ 1 XX ID3 [7:0] X XX This read byte identifies the LCD module/driver and It is specified by User. The 1st parameter is dummy data. Description The 2nd parameter is LCD module/driver ID.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3. Description of Level 2 Command 8.3.1. RGB Interface Signal Control (B0h) B0h Command Parameter IFMODE (Interface Mode Control) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX 0 1 ↑ XX 1 0 1 1 0 0 0 0 B0h RCM RCM [1] [0] 0 VSPL HSPL DPL EPL 40 1 1 ↑ XX ByPass_MODE Sets the operation status of the display interface. The setting becomes effective as soon as the command is received.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.2.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color Restriction Register Availability EXTC should be high to enable this command Status Availability Normal Mode ON, Idle Mode OFF, Sleep OUT Yes Normal Mode ON, Idle Mode ON, Sleep OUT Yes Partial Mode ON, Idle Mode OFF, Sleep OUT Yes Partial Mode ON, Idle Mode ON, Sleep OUT Yes Sleep IN Yes Status Default ILI9341 Default Value DIVA [1:0] RTNA [4:0] Power ON Sequence 2’b00 5’h1Bh SW Reset 2’b00 5’h1Bh HW Reset 2’b00
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.3.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color Restriction Register Availability EXTC should be high to enable this command Status Availability Normal Mode ON, Idle Mode OFF, Sleep OUT Yes Normal Mode ON, Idle Mode ON, Sleep OUT Yes Partial Mode ON, Idle Mode OFF, Sleep OUT Yes Partial Mode ON, Idle Mode ON, Sleep OUT Yes Sleep IN Yes Status Default ILI9341 Default Value DIVB [1:0] RTNB [4:0] Power ON Sequence 2’b00 5’h1Bh SW Reset 2’b00 5’h1Bh HW Reset 2’b00
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.4.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color Restriction Register Availability EXTC should be high to enable this command Status Availability Normal Mode ON, Idle Mode OFF, Sleep OUT Yes Normal Mode ON, Idle Mode ON, Sleep OUT Yes Partial Mode ON, Idle Mode OFF, Sleep OUT Yes Partial Mode ON, Idle Mode ON, Sleep OUT Yes Sleep IN Yes Status Default ILI9341 Default Value DIVC [1:0] RTNC [4:0] Power ON Sequence 2’b00 5’h1Bh SW Reset 2’b00 5’h1Bh HW Reset 2’b00
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.5.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.6.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color Restriction Register Availability EXTC should be high to enable this command Status Availability Normal Mode ON, Idle Mode OFF, Sleep OUT Yes Normal Mode ON, Idle Mode ON, Sleep OUT Yes Partial Mode ON, Idle Mode OFF, Sleep OUT Yes Partial Mode ON, Idle Mode ON, Sleep OUT Yes Sleep IN Yes Status Default ILI9341 Default Value VFP [6:0] VBP [6:0] HFP [4:0] HBP [4:0] Power ON Sequence 7’h02h 7’h02h 5’h0Ah 5’h14h SW R
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.7.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color 1000 17 frames 289ms 1001 19 frames 323ms 1010 21 frames 357ms 1011 23 frames 391ms 1100 25 frames 425ms 1101 27 frames 459ms 1110 29 frames 493ms 1111 31 frames 527ms ILI9341 GS: Sets the direction of scan by the gate driver in the range determined by SCN [4:0] and NL [4:0]. The scan direction determined by GS = 0 can be reversed by setting GS = 1.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color G2 to G320 1 0 ILI9341 G1 G3 ………... G317 G319 G2 G4 ………… G318 G320 G1 to G319 G2 to G320 1 1 G320 G318 ………... G4 G2 G319 G317 ………… G3 G1 G1 to G319 NL [5:0]: Sets the number of lines to drive the LCD at an interval of 8 lines. The GRAM address mapping is not affected by the number of lines set by NL [5:0]. The number of lines must be the same or more than the number of lines necessary for the size of the liquid crystal panel.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color external fosc= Restriction DOTCLK 2 × (PCDIV + 1) EXTC should be high to enable this command Register Availability Status Availability Normal Mode ON, Idle Mode OFF, Sleep OUT Yes Normal Mode ON, Idle Mode ON, Sleep OUT Yes Partial Mode ON, Idle Mode OFF, Sleep OUT Yes Partial Mode ON, Idle Mode ON, Sleep OUT Yes Sleep IN Yes Status Default ILI9341 Default Value PTG [1:0] PT [1:0] REV GS SS SM ISC [3:0] NL [5:0]
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.8. Entry Mode Set (B7h) B7h ETMOD (Entry Mode Set) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 1 0 1 1 0 1 1 1 B7h Parameter 1 1 ↑ XX 0 0 0 0 DSTB GON DTE GAS 06 DSTB: The ILI9341 driver enters the Deep Standby Mode when DSTB is set to high (“1”).
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.9. Backlight Control 1 (B8h) B8h Command Parameter D/CX 0 RDX 1 1 WRX ↑ ↑ D17-8 XX XX D7 1 0 Backlight Control 1 D6 D5 D4 D3 0 1 1 1 0 0 0 TH_UI [3] D2 0 TH_UI [2] D1 0 TH_UI [1] D0 0 TH_UI [0] HEX B8h 0C TH_UI [3:0]: These bits are used to set the percentage of grayscale data accumulate histogram value in the user interface (UI) mode.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.10. Backlight Control 2 (B9h) B9h Command D/CX 0 RDX 1 WRX ↑ D17-8 XX Parameter 1 1 ↑ XX D7 1 TH_MV [3] Backlight Control 2 D6 D5 D4 0 1 1 TH_MV TH_MV TH_MV [2] [1] [0] D3 1 TH_ST [3] D2 0 TH_ST [2] D1 0 TH_ST [1] D0 1 TH_ST [0] HEX B9h CC TH_ST [3:0]: These bits are used to set the percentage of grayscale data accumulate histogram value in the still picture mode.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color Status Availability Normal Mode On, Idle Mode Off, Sleep Out Yes Register Normal Mode On, Idle Mode On, Sleep Out Yes Availability Partial Mode On, Idle Mode Off, Sleep Out Yes Partial Mode On, Idle Mode On, Sleep Out Yes Sleep In Yes Default Value Status Default ILI9341 TH_MV [3:0] TH_ST [3:0] Power On Sequence 4’b1100 4’b1100 SW Reset No change No change HW Reset 4’b1100 4’b1100 The information contained herei
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.11. Backlight Control 3 (BAh) BAh Command D/CX 0 RDX 1 WRX ↑ D17-8 XX D7 1 D6 0 Parameter 1 1 ↑ XX 0 0 Backlight Control 3 D5 D4 D3 1 1 1 DTH_UI 0 0 [3] D2 0 DTH_UI [2] D1 1 DTH_UI [1] D0 0 DTH_UI [0] HEX BAh 04 DTH_UI [3:0]: This parameter is used set the minimum limitation of grayscale threshold value in User Icon (UI) image mode.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.12. Backlight Control 4 (BBh) BBh Command D/CX 0 RDX 1 WRX ↑ D17-8 XX Parameter 1 1 ↑ XX Backlight Control 4 D7 D6 D5 D4 D3 D2 D1 D0 1 0 1 1 1 0 1 1 DTH_MV DTH_MV DTH_MV DTH_MV DTH_ST DTH_ST DTH_ST DTH_ST [3] [2] [1] [0] [3] [2] [1] [0] HEX BBh 65 DTH_ST [3:0]/DTH_MV [3:0]: This parameter is used set the minimum limitation of grayscale threshold value.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color Default Value Status Default ILI9341 DTH_MV [3:0] DTH_ST [3:0] Power On Sequence 4’b0110 4’b0101 SW Reset No change No change HW Reset 4’b0110 4’b0101 The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.13. Backlight Control 5 (BCh) BCh Command Parameter D/CX 0 1 RDX 1 1 WRX ↑ ↑ D17-8 XX XX Backlight Control 5 D7 D6 D5 D4 1 0 1 1 DIM2 [3] DIM2 [2] DIM2 [1] DIM2 [0] D3 1 0 D2 D1 1 0 DIM1 [2] DIM1 [1] D0 0 DIM1 [0] HEX BCh 44 DIM1 [2:0]: This parameter is used to set the transition time of brightness level to avoid the sharp brightness transition on vision.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.14. Backlight Control 7 (BEh) BEh Command D/CX 0 RDX 1 WRX ↑ D17-8 XX Parameter 1 1 ↑ XX Backlight Control 7 D6 D5 D4 0 1 1 PWM_ PWM_ PWM_ DIV[6] DIV[5] DIV[4] D7 1 PWM_ DIV[7] D3 1 PWM_ DIV[3] D2 1 PWM_ DIV[2] D1 1 PWM_ DIV[1] D0 0 PWM_ DIV[0] HEX BEh 0F PWM_DIV [7:0]: PWM_OUT output frequency control. This command is used to adjust the PWM waveform frequency of PWM_OUT.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.15. Backlight Control 8 (BFh) BFh Command Parameter D/CX RDX 0 1 1 1 WRX ↑ ↑ D17-8 XX XX D7 1 0 D6 0 0 Backlight Control 2 D5 D4 D3 1 1 1 0 0 0 D2 D1 D0 HEX 1 1 1 BFh LEDONR LEDONPOL LEDPWMPOL 00 LEDPWMPOL: The bit is used to define polarity of LEDPWM signal.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.16. Power Control 1 (C0h) C0h PWCTRL 1 (Power Control 1) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 1 1 0 0 0 0 0 0 C0h 1stParameter 1 1 ↑ XX 0 0 VRH [5:0] 21 VRH [5:0]: Set the GVDD level, which is a reference level for the VCOM level and the grayscale voltage level.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.17. Power Control 2 (C1h) C1h PWCTRL 2 (Power Control 2) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 1 1 0 0 0 0 0 1 C1h Parameter 1 1 ↑ XX 0 0 0 1 0 BT [2:0] 10 BT [2:0]: Sets the factor used in the step-up circuits. Select the optimal step-up factor for the operating voltage. To reduce power consumption, set a smaller factor.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.18. VCOM Control 1(C5h) C5h VMCTRL1 (VCOM Control 1) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 1 1 0 0 0 1 0 1 C5h 1st Parameter 1 1 ↑ XX 0 VMH [6:0] 31 2ndParameter 1 1 ↑ XX 0 VML [6:0] 3C VMH [6:0] : Set the VCOMH voltage.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color 0010100 0010101 0010110 0010111 0011000 0011001 0011010 0011011 0011100 0011101 0011110 0011111 Restriction Register Availability -2.000 -1.975 -1.950 -1.925 -1.900 -1.875 -1.850 -1.825 -1.800 -1.775 -1.750 -1.725 0110100 0110101 0110110 0110111 0111000 0111001 0111010 0111011 0111100 0111101 0111110 0111111 -1.200 -1.175 -1.150 -1.125 -1.100 -1.075 -1.050 -1.025 -1.000 -0.975 -0.950 -0.925 -0.400 -0.375 -0.350 -0.325 -0.300 -0.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.19. VCOM Control 2(C7h) C7h VMCTRL1 (VCOM Control 1) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 1 1 0 0 0 1 1 1 C7h Parameter 1 1 ↑ XX nVM VMF [6:0] C0 nVM: nVM equals to “0” after power on reset and VCOM offset equals to program MTP value. When nVM set to “1”, setting of VMF [6:0] becomes valid and VCOMH/VCOML can be adjusted. VMF [6:0]: Set the VCOM offset voltage.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color 0110101 0110110 0110111 0111000 0111001 0111010 0111011 0111100 0111101 0111110 0111111 Restriction VMH – 11 VMH – 10 VMH – 9 VMH – 8 VMH – 7 VMH – 6 VMH – 5 VMH – 4 VMH – 3 VMH – 2 VMH – 1 VML – 11 VML – 10 VML – 9 VML – 8 VML – 7 VML – 6 VML – 5 VML – 4 VML – 3 VML – 2 VML – 1 1110101 1110110 1110111 1111000 1111001 1111010 1111011 1111100 1111101 1111110 1111111 VMH + 53 VMH + 54 VMH + 55 VMH + 56 VMH + 57 VMH + 58 VMH + 59 VMH + 60
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.20. NV Memory Write (D0h) D0h NVMWR (NV Memory Write) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 1 1 0 1 0 0 0 0 D0h 1st Parameter 1 1 ↑ XX 0 0 0 0 0 2ndParameter 1 1 ↑ XX PGM_ADR [2:0] PGM_DATA [7:0] 00 XX This command is used to program the NV memory data. After a successful MTP operation, the information of PGM_DATA [7:0] will programmed to NV memory.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.21. NV Memory Protection Key (D1h) D1h NVMPKEY (NV Memory Protection Key) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 1 1 0 1 0 0 0 1 D1h 1stParameter 1 1 ↑ XX KEY [23:16] 55h 2ndParameter 1 1 ↑ XX KEY [15:8] AAh 1 1 ↑ XX KEY [7:0] 66h 3rdParameter KEY [23:0]: NV memory programming protection key.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.22.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.23. Read ID4 (D3h) D3h RDID4 (Read ID4) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 1 1 0 1 0 0 1 1 D3h 1st Parameter 1 ↑ 1 XX X X X X X X X X X 2ndParameter 1 ↑ 1 XX 0 0 0 0 0 0 0 0 00h 3rdParameter 1 ↑ 1 XX 1 0 0 1 0 0 1 1 93h 4th Parameter 1 ↑ 1 XX 0 1 0 0 0 0 0 1 41h Read IC device code.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.24.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.25.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.26. Digital Gamma Control 1 (E2h) E2h DGAMCTRL (Digital Gamma Control 1) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 1 1 1 0 0 0 1 0 E2h 1st Parameter 1 1 ↑ XX RCA0 [3:0] BCA0 [3:0] XX : 1 1 ↑ XX RCAx [3:0] BCAx [3:0] XX 1 1 ↑ XX RCA15 [3:0] BCA15 [3:0] XX th 16 Parameter RCAx [3:0]: Gamma Macro-adjustment registers for red gamma curve.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.27. Digital Gamma Control 2(E3h) E3h DGAMCTRL (Digital Gamma Control 2) D/CX RDX WRX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX Command 0 1 ↑ XX 1 1 1 0 0 0 1 1 E3h 1st Parameter 1 1 ↑ XX : 1 1 ↑ XX 64rdParameter 1 1 ↑ XX RFA0 [3:0] BFA0 [3:0] XX RFAx [3:0] BFAx [3:0] XX RFA63 [3:0] BFA63 [3:0] XX RFAx [3:0]: Gamma Micro-adjustment register for red gamma curve.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 8.3.28.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 RM: Select the interface to access the GRAM. Set RM to “1” when writing display data by the RGB interface. RM Interface for RAM Access 0 System interface/VSYNC interface 1 RGB interface RIM: Specify the RGB interface mode when the RGB interface is used. These bits should be set before display operation through the RGB interface and should not be set during operation.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color 01 “0” is inputted to LSB r [5:0] = {R [4:0], 0} g [5:0] = {G [5:0]} b [5:0] = {B [4:0], 0} 10 Exception: R [4:0], B[4:0] = 5’h1F → r [5:0], b[5:0] = 6’h3F “1” is inputted to LSB r [5:0] = {R [4:0], 1} g [5:0] = {G [5:0]} b [5:0] = {B [4:0], 1} 11 Restriction ILI9341 Exception: R [4:0], B[4:0] = 5’h00 → r [5:0], b[5:0] = 6’h00 Compare R [4:0], G [5:1], B [4:0] case: Case 1: R=G=B → r [5:0] = {R [4:0], G [0]}, g [5:0] = {G [5:0]}, b
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 9. Display Data RAM 9.1. Configuration The display data RAM stores display dots and consists of 1,382,400 bits (240x18x320 bits). There is no restriction on access to the RAM even when the display data on the same address is loaded to DAC. There will be no abnormal visible effect on the display when there is a simultaneous panel read and interface read or write display data to the same location of the frame memory.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 9.2. Memory to Display Address Mapping 9.2.1. Normal Display ON or Partial Mode ON, Vertical Scroll Mode OFF In this mode, the content of frame memory within an area where column pointer is 0000h to 00EFh and page pointer is 0000h to 013Fh is displayed.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 9.2.2. Vertical Scroll Mode There is a vertical scrolling mode, which is determined by the commands “Vertical Scrolling Definition” (33h) and “Vertical Scrolling Start Address” (37h). The Vertical Scroll Mode function is explained by these examples in the following.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 9.2.3. Vertical Scroll Example 9.2.4. Case1: TFA+VSA+BFA < 320 This setting is prohibited, unless unexpected picture will be shown. 9.2.5. Case2: TFA+VSA+BFA = 320 (Rolling Scrolling) The operation of Rolling Scrolling is explained by these examples in the following.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 When TFA=30, VSA=290, BFA=0, VSCRSADD=80 and MADCTL ML bit = 0 Memory Physical Axis (0 ,0) Physical Line Pointer TFA 3 2 2 VSCRSADD 1 1 TFA Display Axis (0,0) 3 When TFA=30, VSA=290, BFA=0, VSCRSADD=80 and MADCTL ML bit = 1 Memory Physical Axis (0 ,0) Physical Line Pointer 2 3 1 1 TFA 3 2 VSCRSADD Display Axis (0,0) TFA Increment VSCRSADD Memory Physical Axis (0 ,0) Physical Line Pointer Display Axis (
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 9.3. MCU to memory write/read direction B Data stream from MCU is like this figure ILITEK E The data is written in the order illustrated above. The Counter which dictates where in the physical memory the data is to be written is controlled by “Memory Data Access Control” Command, Bits B5, B6, and B7 as described below.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Note: Data is always written to the Frame Memory in the same order, regardless of the Memory Write Direction set by MADCTL bits B7, B6 and B5. The write order for each pixel unit is One pixel unit represents 1 column and 1 page counter value on the Frame Memory.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 10. Tearing Effect Output The Tearing Effect output line supplies to the MCU a Panel synchronization signal. This signal can be enabled or disabled by the Tearing Effect Line Off & On commands. The mode of the Tearing Effect Signal is defined by the parameter of the Tearing Effect Line Off & On commands. The signal can be used by the MCU to synchronize Frame Memory Writing when displaying video images. 10.1.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 10.2. Tearing Effect Line Timings The tearing effect signal is described below: tvd l t vdh Vertical Timing Horizontal Timing thdl thdh AC characteristics of Tearing Effect Signal (Frame Rate = 60Hz) Symbol Parameter Min. Typ. Max.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 11. Sleep Out – Command and Self-Diagnostic Functions of the Display Module 11.1. Register loading Detection Sleep Out-command (Command “Sleep Out (11h)”) is a trigger for an internal function of the display module, which indicates, if the display module loading function of factory default values from EV Memory(or similar device) to registers of the display controller is working properly.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 11.2. Functionality Detection Sleep Out-command (Command “Sleep Out (11h)”) is a trigger for an internal function of the display module, which indicates, if the display module is still running and meets functionality requirements. The internal function (= the display controller) is comparing, if the display module is still meeting functionality requirements (e.g. booster voltage levels, timings, etc.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 12. Power ON/OFF Sequence VDDI and VCI can be applied in any order. VCI and VDDI can be powered down in any order. During power off, if LCD is in the Sleep Out mode, VCI and VDDI must be powered down minimum 120msec after RESX has been released. During power off, if LCD is in the Sleep In mode, VDDI or VCI can be powered down minimum 0msec after RESX has been released.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 12.2. Case 2 – RESX line is held Low by Host at Power ON If RESX line is held Low (and stable) by the host during Power On, then the RESX must be held low for minimum 10µsec after both VCI and VDDI have been applied. Note 1: Unless otherwise specified, timings herein show cross point at 50% of signal power level. The information contained herein is the exclusive property of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 12.3. Uncontrolled Power Off The uncontrolled power off means a situation when e.g. there is removed a battery without the controlled power off sequence. There will not be any damages for the display module or the display module will not cause any damages for the host or lines of the interface.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 13. Power Level Definition 13.1. Power Levels 7 level modes are defined they are in order of Maximum Power consumption to Minimum Power Consumption: 1. Normal Mode On (full display), Idle Mode Off, Sleep Out. In this mode, the display is able to show maximum 262,144 colors. 2. Partial Mode On, Idle Mode Off, Sleep Out. In this mode part of the display is used with maximum 262,144 colors. 3.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 13.2.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 14. Gamma Curves Selection ILI9341 provide one gamma curve Gamma2.2. The gamma curve can be selected by the GC0 settings. 14.1. Gamma Default Values (for NW type LC) Data 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 Output Voltage VCOM = Low VCOM = High Gamma 2.2 Gamma 2.2 V0P 4.084 V0N 0.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 14.2. Gamma Curves 14.2.1. Gamma Curve 1 (GC0), applies the function y=x2.2 The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 14.3. Gamma Curves 14.3.1. Grayscale Voltage Generation The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 14.3.2. Positive Gamma Correction The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 14.3.3. Negative Gamma Correction The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 15. Reset 15.1.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 15.2. Output Pins, I/O Pins TE line D[17:0] (output driver) After Power ON Low Hi-Z (Inactive) After Hardware Reset Low Hi-Z (Inactive) After Software Reset Low Hi-Z (Inactive) Note 1: There will be no output from D [17:0] during Power ON/OFF sequence, hardware reset and software reset. 15.3.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 15.4. Reset Timing Shorter than 5us tRW RESX tRT Display Status Signal RESX Symbol tRW tRT Normal operation Parameter Reset pulse duration Initial condition (Default for H/W reset) Resetting Min 10 Max 5 (note 1,5) 120 (note 1,6,7) Reset cancel Unit uS mS mS Note 1: The reset cancel includes also required time for loading ID bytes, VCOM setting and other settings from NV memory to registers.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 16. Configuration of Power Supply Circuit VCOM To Panel < 5 ohm 1uF/10V 1uF/10V < 5 ohm < 5 ohm < 5 ohm < 5 ohm 1uF/25V < 5 ohm 1uF/25V < 5 ohm 1uF/6.3V < 5 ohm 7 Volt If MTP programmed is necessary, please apply 7 volt to AVDD. 1uF/6.3V < 5 ohm < 5 ohm 1uF/6.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 The Following tables shows specifications of external elements connected to the ILI9341’s power supply circuit. Items Capacity 1 µF (B characteristics) Recommended Specification 6.3V 10V 25V Pin connection AVDD ,VCL,C11P/M,C12P/M, C21P/M,C22P/M VGL, VGH The information contained herein is the exclusive property of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 17. NV Memory Programming Flow Start Reset Check (D2h) ID3_CNT/ID2_CNT ID1_CNT/VMF_CNT =3'b111 Y N Wait 10ms NV Memory Write (D0h) 1st Parameter : PGM_ADR[2:0]=3'bxxx 2nd Parameter : PGM_DATA[7:0]=8'bxx (xx=8 bit OTP value) NV Memory Protection Key (D1h) 1st Parameter : 55h 2nd Parameter : AAh 3rd Parameter : 66h Wait 10ms Cut Off External 7.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 18.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 19. Electrical Characteristics 19.1. Absolute Maximum Ratings The absolute maximum rating is listed on following table. When ILI9341 is used out of the absolute maximum ratings, ILI9341 may be permanently damaged. To use ILI9341 within the following electrical characteristics limitation is strongly recommended for normal operation.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 19.2. DC Characteristics 19.2.1.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 Note4: When the measurements are performed with LCD module. Measurement Points are like Note3. Note5: VCI=2.6V Note6: VCI=3.3V Note7: The Max. Value is between with Note 4 measure point and Gamma setting value The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 19.3. AC Characteristics 19.3.1.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 CSX timings : tchw CSX WRX, RDX tcsf Min. 5ns Note: Logic high and low levels are specified as 30% and 70% of VDDI for Input signals. Write to read or read to write timings: CSX ‘ 0’ WRX RDX twrh trdh trdhfm Note: Logic high and low levels are specified as 30% and 70% of VDDI for Input signals. The information contained herein is the exclusive property of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 19.3.2.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 CSX timings : tchw CSX WRX, RDX tcsf Min. 5ns Note: Logic high and low levels are specified as 30% and 70% of VDDI for Input signals. Write to read or read to write timings: CSX ‘ 0’ WRX RDX twrh trdh trdhfm Note: Logic high and low levels are specified as 30% and 70% of VDDI for Input signals. The information contained herein is the exclusive property of ILI Technology Corp.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 19.3.3.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 19.3.4.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 19.3.5.
a-Si TFT LCD Single Chip Driver 240RGBx320 Resolution and 262K color ILI9341 20. Revision History Version No. Date Page V1.00 2010/10/12 All New Created. Description V1.01 2010/10/12 179 Update charge pump ratio V1.02 2010/1206 All Rename 9341 The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of ILI Technology Corp.
STMPE610 S-Touch®: advanced touchscreen controller with 6-bit port expander Features ■ 6 GPIOs ■ 1.8 - 3.
Contents STMPE610 Contents 1 STMPE610 functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2 Pin configuration and functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.1 3 I2C and SPI interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.1 4 5 Pin functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Interface selection . . . . . . . . . . . . . .
STMPE610 Contents 11 Touchscreen controller programming sequence . . . . . . . . . . . . . . . . . 40 12 GPIO controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 12.0.1 13 Power-up reset (POR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Maximum rating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 13.1 Recommended operating conditions . . . . . . . . . . . . . . . . . . .
STMPE610 functional overview 1 STMPE610 STMPE610 functional overview The STMPE610 consists of the following blocks: ● I2C and SPI interface ● Analog-to-digital converver (ADC) ● Touchscreen controller (TSC) ● Driver and switch control unit ● GPIO controller Figure 1. STMPE610 functional block diagram '0)/ !$# ). -/$% 2EF 2EF '0)/ CONTROLLER 3WITCHES AND DRIVERS 2# OSCILLATOR !$# 43# ).4 $ATA IN ! $ATA OUT ) # 30) INTERFACE 3#,+ #,+ 3$!4 #3 62%& '.
STMPE610 2 Pin configuration and functions Pin configuration and functions Figure 2. STMPE610 pin configuration (top through view) 12 11 10 9 13 8 14 7 STMPE610 15 6 16 5 1 Table 2. 2 3 4 Pin assignments Pin Name Function 1 Y- 2 INT 3 A0/Data Out 4 SCLK I2C/SPI clock (VCC domain) 5 SDAT I2C data/SPI CS (VCC domain) 6 VCC 7 Data in 8 NC Y-/GPIO-7 Interrupt output (VCC domain, open drain) I2C address in Reset, Data out in SPI mode (VCC domain) 1.8 − 3.
Pin configuration and functions 2.1 STMPE610 Pin functions The STMPE610 is designed to provide maximum features and flexibility in a very small pincount package. Most of the pins are multi-functional. The following table shows how to select the pin’s function. Table 3.
STMPE610 I2C and SPI interface 3 I2C and SPI interface 3.1 Interface selection The STMPE610 interfaces with the host CPU via a I2C or SPI interface. The pin IN_1 allows the selection of interface protocol at reset state. Figure 3. STMPE610 interface DIN SPI I/F module DOUT CLK CS MUX unit I2C I/F module Table 5.
I2C interface 4 STMPE610 I2C interface The addressing scheme of STMPE610 is designed to allow up to 2 devices to be connected to the same I2C bus. Figure 4. STMPE610 I2C interface GND VCC SCLK SCLK SDAT SDAT STMPE610 ADDR0 AM00753V Table 6. I2C address ADDR0 Address 0 0 x 82 1 0 x 88 For the bus master to communicate to the slave device, the bus master must initiate a Start condition and be followed by the slave device address.
STMPE610 I2C interface Table 7. I2C timing Symbol Min Typ Max Unit 0 − 400 kHz fSCL SCL clock frequency tLOW Clock low period 1.
I2C interface STMPE610 the SDATA low to acknowledge the receipt of the eight bits of data. The receiver may leave the SDATA in high state if it does not acknowledge the receipt of the data. 4.2 Data input The device samples the data input on SDATA on the rising edge of the SCLK. The SDATA signal must be stable during the rising edge of SCLK and the SDATA signal must change only when SCLK is driven low. Table 8.
STMPE610 I2C interface Stop Data Read + 2 No Ack Data Read + 1 Ack Stop No Ack Data Read Ack Ack R/W=1 Ack R/W=1 Data to Write + 2 Ack Stop Data to Write + 1 Ack Data to Write Ack Data to be written Data Read Ack Stop Ack Restart Ack Restart Reg Address Device Address Ack Reg Address Device Address Ack Ack R/W=0 Ack R/W=0 R/W=0 Device Address Reg Address Ack Device Address Reg Address Ack More than one byte Read Device Address R/W=0 One byte Write Start More tha
I2C interface 4.4 STMPE610 Write operations A write is first performed to load the register address into the Address Counter without sending a Stop condition. After the bus master receives an acknowledgement from the slave device, it may start to send a data byte to the register (referred by the Address Counter). The slave device again acknowledges and the bus master terminates the transfer with a Stop condition.
STMPE610 5 SPI interface SPI interface The SPI interface in STMPE610 uses a 4-wire communication connection (DATA IN, DATA OUT, CLK, CS). In the diagram, “Data in” is referred to as MOSI (master out slave in) and “DATA out” is referred to as MISO (master in slave out). 5.1 SPI protocol definition The SPI (serial peripheral interface) follows a byte sized transfer protocol. All transfers begin with an assertion of CS_n signal (falling edge).
SPI interface 5.1.2 STMPE610 Register write The following steps need to be followed for register write through SPI. 5.1.3 1. Assert CS_n by driving a '0' on this pin. 2. Drive a '0' on the first SCL launch clock on MOSI to select a write operation. 3. The next 7 bits on MOSI denote the 7-bit register address (MSB first). 4. The next byte on the MOSI denotes data to be written. 5. The following transmissions on MOSI are considered byte-sized data.
STMPE610 SPI interface Table 10. SPI timing specification (continued) Timing Symbol Description Unit Min Typ Max tLDI Launch clock to MOSI data valid − − 20 ns tLDO Launch clock to MISO data valid − − 330 µs tDI Data on MOSI valid 1 − − µs tCCS Last clock edge to CS_n high 1 − − µs tCSH CS_n high period 2 − − µs tCSCL CS_n high to first clock edge 300 − − ns tCSZ CS_n high to tri-state on MISO 1 − − µs Figure 7.
STMPE610 registers 6 STMPE610 STMPE610 registers This section lists and describes the registers of the STMPE610 device, starting with a register map and then provides detailed descriptions of register types. Table 11.
STMPE610 STMPE610 registers Table 11.
System and identification registers 7 STMPE610 System and identification registers Table 12.
STMPE610 System and identification registers SYS_CTRL2 Clock control 7 6 5 4 3 2 1 0 - - - - RESERVED GPIO_OFF TSC_OFF ADC_OFF Address: 0x04 Type: R/W Reset: 0x0F Description: This register enables to switch off the clock supply [7:3] RESERVED [2] GPIO_OFF: Switch off the clock supply to the GPIO 1: Switches off the clock supply to the GPIO [1] TSC_OFF: Switch off the clock supplyto the touchscreen controller 1: Switches off the clock supply to the touchscreen controller [0] ADC_O
Interrupt system 8 STMPE610 Interrupt system The STMPE610 uses a 2-tier interrupt structure. The ADC interrupts and GPIO interrupts are ganged as a single bit in the “interrupt status register”. The interrupts from the touchscreen controller can be seen directly in the interrupt status register. Figure 8.
STMPE610 Interrupt system INT_CTRL 7 Interrupt control register 6 5 4 3 RESERVED 2 1 0 INT_POLARITY INT_TYPE GLOBAL_INT Address: 0x09 Type: R/W Reset: 0x00 Description: The interrupt control register is used to enable the interruption from a system-related interrupt source to the host.
Interrupt system STMPE610 INT_STA Interrupt status register 7 6 5 4 3 2 1 0 GPIO ADC RESERVED FIFO_EMPTY FIFO_FULL FIFO_OFLOW FIFO_TH TOUCH_DET Address: 0x0B Type: R Reset: 0x10 Description: The interrupt status register monitors the status of the interruption from a particular interrupt source to the host. Regardless of whether the INT_EN bits are enabled, the INT_STA bits are still updated. Writing '1' to this register clears the corresponding bits. Writing '0' has no effect.
STMPE610 Interrupt system GPIO interrupt enable register GPIO_INT_EN 7 6 5 4 3 2 1 0 IEG[x] Address: 0x0C Type: R/W Reset: 0x10 Description: The interrupt status register monitors the status of the interruption from a particular interrupt source to the host. Regardless of whether the IER bits are enabled, the ISR bits are still updated. Writing '1' to this register clears the corresponding bits. Writing '0' has no effect.
Analog-to-digital converter 9 STMPE610 Analog-to-digital converter An 8-input,12-bit analog-to-digital converter (ADC) is integrated in the STMPE610. The ADC can be used as a generic analog-to-digital converter, or as a touchscreen controller capable of controlling a 4-wire resistive touchscreen. AddINT_EN Table 13.
STMPE610 Analog-to-digital converter ADC_CTRL1 ADC control 1 7 RESERVED 6 5 4 SAMPLE_TIME2 SAMPLE_TIME1 SAMPLE_TIME0 Address: 0x20 Type: R/W Reset: 0x9C Description: ADC control register 3 2 1 0 MOD_12B RESERVED REF_SEL RESERVED [7] RESERVED [6:4] SAMPLE_TIMEn: ADC conversion time in number of clock 000: 36 001: 44 010: 56 011: 64 100: 80 101: 96 110: 124 111: Not valid [3] MOD_12B: Selects 10 or 12-bit ADC operation 1: 12 bit ADC 0: 10 bit ADC [2] RESERVED [1] REF_SEL: Selects betw
Analog-to-digital converter STMPE610 [1:0] ADC_FREQ: Selects the clock speed of ADC 00: 1.625 MHz typ. 01: 3.25 MHz typ. 10: 6.5 MHz typ. 11: 6.5 MHz typ. ADC channel data capture ADC_CAPT 7 6 5 4 3 2 1 0 CH[7:0] Address: 0x22 Type: R/W Reset: 0xFF Description: To initiate ADC data acquisition [7:0] CH[7:0]: ADC channel data capture Write '1' to initiate data acquisition for the corresponding channel. Writing '0' has no effect. Reads '1' if conversion is completed.
STMPE610 Analog-to-digital converter Table 14. ADC conversion time Sample time setting Conversion time 6.5 MHz 3.25 MHz 1.625 MHz in ADC clock (154 ns) (308 ns) (615 ns) 000 36 5.5 µs (180 kHz) 11 µs (90 kHz) 22 µs (45 kHz) 001 44 6.8 µs (147 kHz) 13.6 µs (74 kHz) 27 µs (36 kHz) 010 56 8.6 µs (116 kHz) 17.2 µs (58 kHz) 34.4 µs (29 kHz) 011 64 9.9 µs (101 kHz) 19.8 µs (51 kHz) 39.6 µs (25 kHz) 100 80 12.3 µs (81.5 kHz) 24.6 µs (41 kHz) 49.2 µs (20 kHz) 101 96 14.
Touchscreen controller 10 STMPE610 Touchscreen controller The STMPE610 is integrated with a hard-wired touchscreen controller for 4-wire resistive type touchscreen. The touchscreen controller is able to operate completely autonomously, and will interrupt the connected CPU only when a pre-defined event occurs. Figure 9. Touchscreen controller block diagram Movement & window tracking 10/12 bit ADC s FIFO FIFO & interrupt control 10.
STMPE610 Touchscreen controller Window tracking The -WDW_X and WDW_Y registers allow to pre-set a sub-window in the touchscreen such that any touch position that is outside the sub-window will be discarded. Figure 10. Window tracking Top right coordinates Active window Bottom left coordinates FIFO FIFO has a depth of 128 sectors. This is enough for 128 sets of touch data at maximum resolution (2 x 12 bits). FIFO can be programmed to generate an interrupt when it is filled to a pre-determined level.
Touchscreen controller STMPE610 Sampling time calculation The equation for a complete sampling cycle is described below. Touch Detect Delay Sampling Z Settling Time Sampling Y Settling Time Sampling X Settling Time Touch Detect Delay Figure 12.
STMPE610 Touchscreen controller Table 15.
Touchscreen controller STMPE610 TSC_CFG 7 Touchscreen controller configuration register 6 5 AVE_CTRL_1 AVE_CTRL_0 4 3 TOUCH_DET TOUCH_DET TOUCH_DET _DELAY_2 _DELAY_1 _DELAY_0 Address: 0x41 Type: R/W 2 1 0 SETTLING_2 SETTLING_1 SETTLING_0 Buffer: Reset: Description: Touchscreen controller configuration register.
STMPE610 10.2 Touchscreen controller Touch detect delay Touch Detect Delay is an additional method used to compensate for the time it takes for the panel voltage to be pulled high during a non-touch condition. For example, the way it works to detect a touch: X+ is pulled high and Y+ is driven low. After Touch Detect Delay is expired the level of X+ is read. If no touch, X+ is high. If there is a touch, X+ is low.
Touchscreen controller STMPE610 WDW_TR_X Window setup for top right X 7 6 5 4 3 2 1 0 TR_X [11:0] Address: 0x42 Type: R/W Reset: 0x0FFF Description: Window setup for top right X coordinates [11:0] TR_X: bit 11:0 of top right X coordinates WDW_TR_Y Window setup for top right Y 7 6 5 4 3 2 1 0 TR_Y [11:0] Address: 0x44 Type: R/W Reset: 0x0FFF Description: Window setup for top right Y coordinates [11:0] TR_X: bit 11:0 of top right Y coordinates WDW_BL_X Window setup f
STMPE610 Touchscreen controller FIFO_TH FIFO threshold 7 6 5 4 3 2 1 0 FIFO_TH Address: 0x4A Type: R/W Reset: 0x00 Description: Triggers an interrupt upon reaching or exceeding the threshold value. This field must not be set as zero. [7:0] FIFO_TH: Touchscreen controller FIFO threshold FIFO_CTRL_STA FIFO threshold 7 6 5 4 FIFO_OFLOW FIFO_FULL FIFO_EMPTY FIFO_TH_TRIG Address: 0x4B Type: R/W Reset: 0x20 Description: 3 2 RESERVED 1 0 FIFO_RESET Current status of FIFO..
Touchscreen controller STMPE610 FIFO_SIZE FIFO size 7 6 5 4 3 RESERVED 2 1 0 FIFO_SIZE Address: 0x4C Type: R Reset: 0x00 Description: Current number of samples available [7:0] FIFO_SIZE: Number of samples available TSC_DATA_X 11 10 TSC_DATA_X 9 8 7 6 5 4 3 2 1 0 DATAY[11:0] Address: 0x4D Type: R Reset: 0x0000 Description: Bit 11:0 of Y dataTSC_DATA_Y [11:0] DATAY[11:0]: Bit 11:0 of Y data TSC_DATA_Y 11 10 9 8 7 6 5 4 3 2 1 0 DATAY[11:0] Address: 0x4F
STMPE610 Touchscreen controller TSC_DATA Touchscreen controller DATA 7 6 5 4 3 2 1 0 DATA Address: 0x57 (auto-increment), 0xD7 (non-auto-increment) Type: R Reset: 0x00 Description: Data port for TSC data access [11:0] DATA: data bytes from TSC FIFO The data format from the TSC_DATA register depends on the setting of "OpMode" field in TSC_CTRL register. The samples acquired are accessed in "packed samples".
Touchscreen controller STMPE610 TSC_FRACTION_Z 7 6 Touchscreen controller FRACTION_Z 5 4 3 2 RESERVED 1 0 FRACTION_Z Address: 0x56 Type: R Reset: 0x00 Description: This register allows to select the range and accuracy of the pressure measurement [7:3] RESERVED [2:0] FRACTION_Z: 000: Fractional part is 0, whole part is 8 001: Fractional part is 1, whole part is 7 010: Fractional part is 2, whole part is 6 011: Fractional part is 3, whole part is 5 100: Fractional part is 4, whole part is 4
STMPE610 Touchscreen controller TSC_SHIELD 7 Touchscreen controller shield 6 5 RESERVED 4 3 2 1 0 X+ X- Y+ Y- Address: 0x59 Type: R Reset: 0x00 Description: Writing each bit would ground the corresponding touchscreen wire [7:4] RESERVED [3:0] SHIELD[3:0]: Write 1 to GND X+, X-, Y+, Y- lines Doc ID 15432 Rev 4 39/56
Touchscreen controller programming sequence 11 STMPE610 Touchscreen controller programming sequence The following are the steps to configure the touchscreen controller (TSC): a) Disable the clock gating for the touchscreen controller and ADC in the SYS_CFG2 register. b) Configure the touchscreen operating mode and the window tracking index. c) A touch detection status may also be enabled through enabling the corresponding interrupt flag.
STMPE610 Touchscreen controller programming sequence Z value. With the Z value obtained from the register, the user simply needs to multiply the Z value with the touchscreen panel resistance to obtain the touch resistance. o) The TSC_DATA register allows facilitation of another reading format with minimum I2C transaction overhead by using the non autoincrement mode (or equivalent mode in SPI).
GPIO controller 12 STMPE610 GPIO controller A total of 6 GPIOs are available in the STMPE610 port expander device. Most of the GPIOs share physical pins with some alternate functions. The GPIO controller contains the registers that allow the host system to configure each of the pins into either a GPIO, or one of the alternate functions. Unused GPIOs should be configured as outputs to minimize power consumption. A group of registers are used to control the exact function of each of the 6 GPIOs.
STMPE610 GPIO controller GPIO_CLR_PIN Clear pin state register Address: 0x11 Type: R/W Reset: 0x00 Description: GPIO clear pin state register. Writing ‘1’ to this bit causes the corresponding GPIO to go to 0 state. Writing ‘0’ has no effect. GPIO_MP_STA GPIO monitor pin state register Address: 0x12 Type: R/W Reset: 0x00 Description: GPIO monitor pin state. Reading this bit yields the current state of the bit. Writing has no effect.
GPIO controller STMPE610 GPIO_RE Rising edge register Address: 0x15 Type: R/W Reset: 0x00 Description: GPIO rising edge detection enable register. Setting this bit to ‘1’ would enable the detection of the rising edge transition. The detection would be reflected in the GPIO edge detect status register. GPIO_FE Falling edge detection enable register Address: 0x16 Type: R/W Reset: 0x00 Description: Setting this bit to ‘1’ would enable the detection of the falling edge transition.
STMPE610 13 Maximum rating Maximum rating Stressing the device above the ratings listed in the “Absolute maximum ratings” table may cause permanent damage to the device. These are stress ratings only, and operation of the device at these or any other conditions above those indicated in the operating sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Table 18.
Maximum rating Table 19. STMPE610 Power consumption (continued) Value Symbol IIOhibernate 46/56 Parameter I/O supply current Test condition Unit Min Typ Max Hibernate state, no I2C/SPI activity VIO = 1.8 − 3.3 V − 0.5 1 µA Hibernate state, no I2C/SPI activity VIO = 3.3 V − 1.0 3.
STMPE610 14 Electrical specifications Electrical specifications Table 20. DC electrical characteristics (-40 ° C to 85 ° C, all GPIOs comply to JEDEC standard JESD-8-7) Value Symbol Parameter Test condition Unit Min Typ Max VIL Input voltage low state VIO = 1.8 − 3.3 V -0.3 V − 0.20 VIO V VIH Input voltage high state VIO = 1.8 − 3.3 V 0.80 VIO − VIO + 0.3 V V VOL Output voltage low state VIO = 1.8 V, IOL = 4 mA Output voltage high VIO = 3.3 V, state IOL = 8 mA -0.3 V − 0.
Electrical specifications Table 22. STMPE610 ADC specification (-40 ° C to 85 ° C) Value Parameter Test condition Unit Min Typ Max Full-scale input span 0 − Vref V Absolute input range − − VCC +0.2 V Input capacitance − 25 − pF Leakage current − 0.
STMPE610 15 Package mechanical data Package mechanical data In order to meet environmental requirements, ST offers these devices in different grades of ECOPACK® packages, depending on their level of environmental compliance. ECOPACK® specifications, grade definitions and product status are available at: www.st.com. ECOPACK® is an ST trademark. Figure 13. Package outline for QFN16 (3 x 3 x 1 mm) - 0.50 mm pitch 7185330_F 1. Drawing not to scale.
Package mechanical data Table 25. STMPE610 Package mechanical data for QFN16 (3 x 3 x 1 mm) - 0.50 mm pitch Millimeters Symbol Min Typ Max A 0.80 0.90 1.00 A1 − 0.02 0.05 A3 − 0.20 − b 0.18 0.25 0.30 D − 3.00 − D2 1.55 1.70 1.80 E − 3.00 − E2 1.55 1.70 1.80 e − 0.50 − K − 0.20 − L 0.30 0.40 0.50 r 0.09 − − Figure 14. Recommended footprint for QFN16 (3 x 3 x 1 mm) - 0.
STMPE610 Package mechanical data Table 26. Footprint dimensions Millimeters Symbol Min Typ Max A − 3.8 − B − 3.8 − C − 0.5 − D − 0.3 − E − 0.8 − F − 1.5 − G − 0.
Package mechanical data STMPE610 Figure 15. Carrier tape for QFN16 (3 x 3 x 1 mm) - 0.
STMPE610 Package mechanical data Figure 16. Reel information for QFN16 (3 x 3 x 1 mm) - 0.
Package mechanical data STMPE610 Figure 17.
STMPE610 16 Revision history Revision history Table 27. Document revision history Date Revision Changes 07-Apr-2009 1 Initial release. 23-Sep-2009 2 Removed “Temperature sensor” from Section 1, Figure 1 and Figure 8. Updated: In the SYS_CTRL2 register, the 3rd bit is reserved. 12-Mar-2010 3 Updated: Title of the document and ESD value in Table 18. 09-Sep-2011 4 Added new section: Section 10.
STMPE610 Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST’s terms and conditions of sale.
Adafruit 2.
Guide Contents Guide Contents Overview Connecting Pinouts 2 3 8 9 TFT Screen Pins Resistive Touch Controller Pins Capacitive Touch Pins MicroSD card Pins Using with an Uno Using with a Mega/Leonardo Graphics Test Adafruit GFX library Resistive Touchscreen Paint Demo Capacitive Touchscreen Paint Demo Download the FT6206 Library FT6206 Library Reference Drawing Bitmaps Backlight & Touch IRQ Controlling the Backlight Touchscreen Interrupt pin Downloads © Adafruit Industries https://learn.adafruit.
Overview Spice up your Arduino project with a beautiful large touchscreen display shield with built in microSD card connection. This TFT display is big (2.8" diagonal) bright (4 white-LED backlight) and colorful (18-bit 262,000 different shades)! 240x320 pixels with individual pixel control. It has way more resolution than a black and white 128x64 display.
This shield uses a SPI display - its much easier to use with Mega & Leonardo than our v1 shield. We also include an SPI resistive touchscreen controller or a I2C capacitive touch screen controller so you only need one or two additional pins to add a high quality touchscreen controller. Even with all the extras, the price is lower thanks to our parts sourcing & engineering skillz! © Adafruit Industries https://learn.adafruit.
The shield is fully assembled, tested and ready to go. No wiring, no soldering! Simply plug it in and load up our library - you'll have it running in under 10 minutes! Works best with any classic Arduino (UNO/Duemilanove/Diecimila). Solder three jumpers and you can use it at full speed on a Leonardo or Mega as well. This display shield has a controller built into it with RAM buffering, so that almost no work is done by the microcontroller.
© Adafruit Industries https://learn.adafruit.
© Adafruit Industries https://learn.adafruit.
Connecting © Adafruit Industries https://learn.adafruit.
Pinouts There's two versions of the shield. One has a resistive touch screen, one has a capacitive one. The TFT display and pinouts is the same for both. The microSD card is the same too. The differences come in on the touch screen controller TFT Screen Pins Digital #13 or ICSP SCLK - This is the hardware SPI clock pin. By default its digital #13. By cutting a jumper and soldering another on the back, you can move this line from #13 to the ICSP clock pin.
screen data Digital #10 - This is the TFT CS (chip select pin). It's used by the Arduino to tell the TFT that it wants to send/receive data from the TFT only Digital #9 - This is the TFT DC (data/command select) pin. It's used by the Arduino to tell the TFT whether it wants to send data or commands Resistive Touch Controller Pins Digital #13 or ICSP SCLK - This is the hardware SPI clock pin. By default its digital #13.
Digital #4 - This is the uSD CS (chip select pin). It's used by the Arduino to tell the uSD that it wants to send/receive data from the uSD only Using with an Uno Because the TFT is about the same size as an Arduino, we pre-assemble the shield in the factory. To use, simply place it onto your Arduino Uno/Duemilanove/compatible. No wiring, no soldering! Bam! Using with a Mega/Leonardo With just a little effort you can make this shield plug-n-play with the Mega/Leonardo.
You can then cut the small line in between the #11, #12, #13 pads. This will free up digital #11, 12, and 13 for you to use on the Leo or Mega. That's it! No software or firmware hacking other than that is required. © Adafruit Industries https://learn.adafruit.
With this mod, the shield uses the ICSP header for data so make sure your duino (or stack of shields) has a ICSP plugged into the socket as above! © Adafruit Industries https://learn.adafruit.
Graphics Test We have a library with example code ready to go for use with these TFTs. The library is not incredibly fast and optimized but its a good start and can easily be ported to other micrcontrollers. However, we'll assume you're using an Arduino. Our github repository (http://adafru.it/d4d) contains all the code and examples you'll need for driving the TFT. You can download the latest ZIP by clicking the button below Download the Adafruit ILI9341 Library http://adafru.
Restart the Arduino software. You should see a new example folder called Adafruit_ILI9341 and inside, an example called graphicstest. Upload that sketch to your Arduino! You should see a collection of graphical tests draw out on the TFT. © Adafruit Industries https://learn.adafruit.
© Adafruit Industries https://learn.adafruit.
Adafruit GFX library The TFT LCD library is based off of the Adafruit GFX graphics core library. GFX has many ready to go functions that should help you start out with your project. Its not exhaustive and we'll try to update it if we find a really useful function. Right now it supports pixels, lines, rectangles, circles, round-rects, triangles and printing text as well as rotation. Check out the GFX tutorial for detailed information about what is supported and how to use it (http://adafru.
Resistive Touchscreen Paint Demo This page is for the Resistive Touch Screen version of the Shield! The LCD has a 2.8" 4-wire resistive touch screen glued onto it. You can use this for detecting fingerpresses, stylus', etc. Normally, you'll need 4 pins to talk to the touch panel but we decided to go all snazzy and put a dedicated touch screen driver onto the shield.
The touch screen is made of a thin glass sheet, and its very fragile - a small crack or break will make the entire touch screen unusable. Don't drop or roughly handle the TFT and be especially careful of the corners and edges. When pressing on the touchscreen, sometimes people can use the tip of their fingers, or a fingernail. If you don't find the touchscreen responds well to your fingers, you can use a rounded stylus which will certainly work.
Check to make sure this returns a True value, which means the driver was found. If it wasn't, make sure you have the hardware SPI jumpers set up right: for Leonardo/Mega the ICSP jumpers get closed. Now you can call if (! ts.bufferEmpty()) to check if there's any data in the buffer. The touchscreen driver will store touchpoints at all times. When you're ready to get the data, just check if there's any data in the buffer. If there is, you can call TS_Point p = ts.
to ask the driver "is the touchscreen being pressed RIGHT NOW?" You can do that with if (ts.touched()) © Adafruit Industries https://learn.adafruit.
Capacitive Touchscreen Paint Demo This page is for the Capacitive Touch Screen version of the Shield! We now have a super-fancy capacitive touch screen version of this shield. Instead of a resistive controller that needs calibration and pressing down, the capacitive has a hard glass cover and can be used with a gentle fingertip. It is a single-touch capacitive screen only! The capacitive touch screen controller communicates over I2C, which uses two hardwire pins.
Download Adafruit FT6206 Library http://adafru.it/dGH Once you have the library installed, restart the IDE. Now from the examples->Adafruit_FT6206 menu select CapTouchPaint and upload it to your Arduino. The touch screen is made of a thin glass sheet, and its very fragile - a small crack or break will make the entire touch screen unusable. Don't drop or roughly handle the TFT and be especially careful of the corners and edges.
© Adafruit Industries https://learn.adafruit.
Drawing Bitmaps There is a built in microSD card slot into the shield, and we can use that to load bitmap images! You will need a microSD card formatted FAT16 or FAT32 (they almost always are by default). Its really easy to draw bitmaps. Lets start by downloading this image of pretty flowers (pix by johngineer) Copy purple.bmp into the base directory of a microSD card and insert it into the microSD socket in the shield.
To make new bitmaps, make sure they are less than 240 by 320 pixels and save them in 24-bit BMP format! They must be in 24-bit format, even if they are not 24-bit color as that is the easiest format for the Arduino. You can rotate images using the setRotation() procedure You can draw as many images as you want - dont forget the names must be less than 8 characters long. Just copy the BMP drawing routines below loop() and call bmpDraw(bmpfilename, x, y); For each bitmap.
Backlight & Touch IRQ Both the resistive and capacitive versions of this shield have the ability to dim the backlight and get an interrupt from the resistive or capacitive touch controller chip on-board. Controlling the Backlight By default, we assume you'll want the backlight on all the time. However, you may want to PWM control or otherwise turn off the LED backlight to save power. You can do this with a simple hack. On the back, look for the backlight jumper.
Advanced users may want to get an interrupt on a pin (or even, just test a pin rather than do a full SPI query) when the touchscreen is pressed. You can do that by jumpering the #7 solder jumper labeled TS int. We didn't want it to connect to #2 or #3 since those are the Leonardo I2C pins. You can use pin change interrupts to get an interrupt callback on #7. (http://adafru.it/d4h)Or, with a little blue wire, advanced users can connect a wire from the TS interrupt pad to any pin they choose.
Downloads Datasheets: STMPE610 (http://adafru.it/d4k) ILI9341 (TFT controller) (http://adafru.it/d4l) Raw 2.8" TFT datasheet (http://adafru.it/d4m) FT6206 Datasheet (http://adafru.it/dRm) & App note (http://adafru.it/dRn) (capacitive chip) Schematic of the v2 Resistive touchshield Diagram showing the TFT (yellow outline) underlying Arduino mounting holes (thin white line), PCP outline (rectangular thin white line) and 'visible portion' of the TFT (dashed inner line) © Adafruit Industries https://learn.
Schematic of the v2 Capacitive touchscreen © Adafruit Industries https://learn.adafruit.
© Adafruit Industries Last Updated: 2015-08-06 07:30:09 AM EDT Page 31 of 31