ILI9342
a-Si TFT LCD Single Chip Driver
320RGBx240 Resolution and 262K color
Specification
Preliminary
Version: V004
Document No.: ILI9342_DS_V004.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.com
a-Si TFT LCD Single Chip Driver
320RGBx240 Resolution and 262K color
ILI9342
Table of Contents
Section Page
1.
Introduction.................................................................................................................................................... 7
2. Features ........................................................................................................................................................ 7
3. Block Diagram ............................................................................................................................................... 9
4. Block Function Description.......................................................................................................................... 10
5. Pin Description ............................................................................................................................................ 12
6. Pad Arrangement and Coordination............................................................................................................ 16
6.1. PAD Coordinate.............................................................................................................................. 17
6.2. Bump Arrangement ........................................................................................................................ 26
7. Function Description ................................................................................................................................... 27
7.1. MPU interfaces............................................................................................................................... 27
7.1.1. MPU interface selection....................................................................................................... 27
7.1.2. 8080-Series Parallel Interface ............................................................................................. 28
7.1.3. Write Cycle Sequence ......................................................................................................... 29
7.1.4. Read Cycle Sequence......................................................................................................... 30
7.1.5. 6800-Series Parallel Interface ............................................................................................. 31
7.1.6. Write Cycle Sequence ......................................................................................................... 33
7.1.7. Read Cycle Sequence......................................................................................................... 35
7.1.8. Serial Interface .................................................................................................................... 37
7.1.9. Write Cycle Sequence ......................................................................................................... 37
7.1.10. Read Cycle Sequence......................................................................................................... 39
7.1.11. Data Transfer Break and Recovery ..................................................................................... 42
7.1.12. Data Transfer Pause............................................................................................................ 44
7.1.13. Serial Interface Pause (3_wire) ........................................................................................... 45
7.1.14. Parallel Interface Pause ...................................................................................................... 45
7.1.15. Data Transfer Mode............................................................................................................. 46
7.1.16. Data Transfer Method 1....................................................................................................... 46
7.1.17. Data Transfer Method 2....................................................................................................... 46
7.2. RGB Interface ................................................................................................................................ 47
7.2.1. RGB Interface Selection ...................................................................................................... 47
7.2.2. RGB Interface Timing .......................................................................................................... 51
7.3. VSYNC Interface............................................................................................................................ 53
7.4. Color Depth Conversion Look-Up Table ........................................................................................ 57
7.5. Display Data RAM (DDRAM) ......................................................................................................... 61
7.6. Display Data Format ...................................................................................................................... 62
7.6.1. 3-line Serial Interface........................................................................................................... 62
7.6.2. 4-line Serial Interface........................................................................................................... 64
7.6.3. 8-bit Parallel MPU Interface................................................................................................. 66
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.
Page 2 of 217
a-Si TFT LCD Single Chip Driver
320RGBx240 Resolution and 262K color
ILI9342
7.6.3.1. 8-bit Data Bus for 12-bit/pixel (RGB 4-4-4 bits input), 4K-color .......................................... 67
7.6.3.2. 8-bit Data Bus for 16-bit/pixel (RGB 5-6-5 bits input), 65K-color ........................................ 68
7.6.3.3. 8-bit Data Bus for 18-bit/pixel (RGB 6-6-6 bits input), 262K-color ...................................... 69
7.6.4. 9-bit Parallel MPU Interface................................................................................................. 70
7.6.4.1. 9-bit Data Bus for 18-bit/pixel (RGB 6-6-6 bits input), 262K-color ...................................... 71
7.6.5. 16-bit Parallel MPU Interface............................................................................................... 72
7.6.5.1. 16-bit Data Bus for 12-bit/pixel (RGB 4-4-4 bits input), 4K-color ........................................ 73
7.6.5.2. 16-bit Data Bus for 16-bit/pixel (RGB 5-6-5 bits input), 65K-color ...................................... 74
7.6.5.3. 16-bit Data Bus for 18-bit/pixel (RGB 6-6-6 bits input), 262K-color .................................... 75
7.6.6. 18-bit Parallel MPU Interface............................................................................................... 76
7.6.6.1. 18-bit Data Bus for 18-bit/pixel (RGB 6-6-6 bits input), 262K-color .................................... 77
7.6.7. 6-bit Parallel RGB Interface................................................................................................. 78
7.6.8. 16-bit Parallel RGB Interface............................................................................................... 80
7.6.9. 18-bit Parallel RGB Interface............................................................................................... 81
8. Command.................................................................................................................................................... 82
8.1. Command List ................................................................................................................................ 82
8.2. Description of Regulative Command Set ....................................................................................... 87
8.2.1. NOP (00h)............................................................................................................................ 87
8.2.2. Software Reset (01h)........................................................................................................... 88
8.2.3. Read display identification information (04h) ...................................................................... 89
8.2.4. Read Display Status (09h)................................................................................................... 90
8.2.5. Read Display Power Mode (0Ah) ........................................................................................ 92
8.2.6. Read Display MADCTL (0Bh).............................................................................................. 93
8.2.7. Read Display Pixel Format (0Ch) ........................................................................................ 94
8.2.8. Read Display Image Format (0Dh)...................................................................................... 95
8.2.9. Read Display Signal Mode (0Eh) ........................................................................................ 96
8.2.10. Read Display Self-Diagnostic Result (0Fh) ......................................................................... 97
8.2.11. Enter Sleep Mode (10h) ...................................................................................................... 98
8.2.12. Sleep Out (11h).................................................................................................................... 99
8.2.13. Partial Mode ON (12h)....................................................................................................... 101
8.2.14. Normal Display Mode ON (13h) ........................................................................................ 102
8.2.15. Display Inversion OFF (20h).............................................................................................. 103
8.2.16. Display Inversion ON (21h) ............................................................................................... 104
8.2.17. Gamma Set (26h) .............................................................................................................. 105
8.2.18. Display OFF (28h) ............................................................................................................. 106
8.2.19. Display ON (29h) ............................................................................................................... 107
8.2.20. Column Address Set (2Ah) ................................................................................................ 108
8.2.21. Page Address Set (2Bh) .................................................................................................... 110
8.2.22. Memory Write (2Ch) .......................................................................................................... 112
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.
Page 3 of 217
a-Si TFT LCD Single Chip Driver
320RGBx240 Resolution and 262K color
ILI9342
8.2.23. Color Set (2Dh).................................................................................................................. 113
8.2.24. Memory Read (2Eh) .......................................................................................................... 114
8.2.25. Partial Area (30h)............................................................................................................... 116
8.2.26. Vertical Scrolling Definition (33h) ...................................................................................... 118
8.2.27. Tearing Effect Line OFF (34h) ........................................................................................... 122
8.2.28. Tearing Effect Line ON (35h) ............................................................................................. 123
8.2.29. Memory Access Control (36h) ........................................................................................... 125
8.2.30. Vertical Scrolling Start Address (37h) ................................................................................ 127
8.2.31. Idle Mode OFF (38h) ......................................................................................................... 129
8.2.32. Idle Mode ON (39h) ........................................................................................................... 130
8.2.33. COLMOD: Pixel Format Set (3Ah) .................................................................................... 132
8.2.34. Write Memory Continue (3Ch)........................................................................................... 133
8.2.35. Read Memory Continue (3Eh)........................................................................................... 135
8.2.36. Set Tear Scan line (44h) .................................................................................................... 137
8.2.37. Get Scan line (45h)............................................................................................................ 138
8.2.38. Read ID1 (DAh) ................................................................................................................. 139
8.2.39. Read ID2 (DBh) ................................................................................................................. 140
8.2.40. Read ID3 (DCh) ................................................................................................................. 141
8.3. Description of Extended Command set ....................................................................................... 142
8.3.1. RGB Interface Signal Control (B0h) .................................................................................. 142
8.3.2. Display Waveform Cycle 1 (In Normal Mode/Full Colors) (B1h) ....................................... 143
8.3.3. Display Waveform Cycle 2 (In Idle Mode/8 colors) (B2h).................................................. 144
8.3.4. Display Waveform Cycle (In Partial Mode/Full Colors) (B3h) ........................................... 145
8.3.5. Display Inversion Control (B4h)......................................................................................... 146
8.3.6. Blanking Porch Control (B5h) ............................................................................................ 148
8.3.7. Display Function Control (B6h).......................................................................................... 150
8.3.8. Entry Mode Set (B7h) ........................................................................................................ 154
8.3.9. Oscillator Control (B8h) ..................................................................................................... 155
8.3.10. Set EXTC (B9h) ................................................................................................................. 156
8.3.11. Power Control 1 (C0h)....................................................................................................... 157
8.3.12. Power Control 2 (C1h)....................................................................................................... 159
8.3.13. Power Control 3 (For Normal Mode) (C2h) ....................................................................... 161
8.3.14. Power Control 4 (For Idle Mode) (C3h) ............................................................................. 162
8.3.15. Power Control 5 (For Partial Mode) (C4h)......................................................................... 163
8.3.16. VCOM Control 1(C5h) ....................................................................................................... 164
8.3.17. VCOM Control 2(C7h) ....................................................................................................... 166
8.3.18. NV Memory Write (D0h) .................................................................................................... 168
8.3.19. NV Memory Protection Key (D1h) ..................................................................................... 169
8.3.20. NV Memory Status Read (D2h) ......................................................................................... 170
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.
Page 4 of 217
a-Si TFT LCD Single Chip Driver
320RGBx240 Resolution and 262K color
ILI9342
8.3.21. Read ID4 (D3h) ................................................................................................................. 171
8.3.22. Positive Gamma Correction (E0h)..................................................................................... 172
8.3.23. Negative Gamma Correction (E1h) ................................................................................... 173
8.3.24. Digital Gamma Control 1 (E2h) ......................................................................................... 174
8.3.25. Digital Gamma Control 2(E3h) .......................................................................................... 175
8.3.26. Interface Control (F6h) ...................................................................................................... 176
8.3.27. Get GPIO0~7 Status (F7h) ................................................................................................ 179
8.3.28. Set GPIO0~7 Status (F8h) ................................................................................................ 180
9. Display Data RAM ..................................................................................................................................... 181
9.1. Configuration ................................................................................................................................ 181
9.2. Memory to Display Address Mapping .......................................................................................... 182
9.2.1. Normal Display ON or Partial Mode ON, Vertical Scroll Mode OFF.................................. 182
9.2.2. Vertical Scroll Mode........................................................................................................... 183
9.2.3. Vertical Scroll Example...................................................................................................... 184
9.2.4. Case1: TFA+VSA+BFA < 240 ........................................................................................... 184
9.2.5. Case2: TFA+VSA+BFA = 240 (Rolling Scrolling) .............................................................. 184
9.3. MPU to memory write/read direction............................................................................................ 186
10. Tearing Effect Output................................................................................................................................. 189
10.1. Tearing Effect Line Modes............................................................................................................ 189
10.2. Tearing Effect Line Timings .......................................................................................................... 190
11. Sleep Out – Command and Self-Diagnostic Functions of the Display Module......................................... 191
11.1. Register loading Detection ........................................................................................................... 191
11.2. Functionality Detection................................................................................................................. 192
12. Power ON/OFF Sequence ........................................................................................................................ 193
12.1. Case 1 – RESX line is held High or Unstable by Host at Power ON ........................................... 193
12.2. Case 2 – RESX line is held Low by Host at Power ON ............................................................... 194
12.3. Uncontrolled Power Off ................................................................................................................ 195
13. Power Level Definition .............................................................................................................................. 196
13.1. Power Levels................................................................................................................................ 196
13.2. Power Flow Chart......................................................................................................................... 197
14. Gamma Curves Selection ......................................................................................................................... 198
14.1. Gamma Default Values (for NW type LC) .................................................................................... 198
14.2. Gamma Curves ............................................................................................................................ 199
14.2.1. Gamma Curve 1 (GC0), applies the function y=x2.2 .......................................................... 199
14.2.2. Gamma Curve 2 (GC1), applies the function y=x1.8 .......................................................... 199
14.2.3. Gamma Curve 3 (GC2), applies the function y=x2.5 .......................................................... 199
14.2.4. Gamma Curve 4 (GC3), applies the function y=x1.0 .......................................................... 199
15. Reset ......................................................................................................................................................... 200
15.1. Registers ...................................................................................................................................... 200
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.
Page 5 of 217
a-Si TFT LCD Single Chip Driver
320RGBx240 Resolution and 262K color
ILI9342
15.2. Output Pins, I/O Pins.................................................................................................................... 201
15.3. Input Pins ..................................................................................................................................... 201
15.4. Reset Timing ................................................................................................................................ 202
16. NV Memory Programming Flow ................................................................................................................ 203
17. Deep Standby Mode Setting ..................................................................................................................... 204
18. Electrical Characteristics........................................................................................................................... 205
18.1. Absolute Maximum Ratings ......................................................................................................... 205
18.2. DC Characteristics ....................................................................................................................... 206
18.2.1. General DC Characteristics............................................................................................... 206
18.3. AC Characteristics ....................................................................................................................... 208
18.3.1. Display Parallel 18/16/9/8-bit Interface Timing Characteristics (8080-system)................. 208
18.3.2. Display Parallel 18/16/9/8-bit Interface Timing Characteristics (6800-system)................. 210
18.3.3. Fixed E Mode .................................................................................................................... 210
18.3.4. Clocked E Mode ................................................................................................................ 211
18.3.5. Display Serial Interface Timing Characteristics (3-line SPI system) ................................. 212
18.3.6. Display Serial Interface Timing Characteristics (4-line SPI system) ................................. 213
18.3.7. Parallel RGB Interface Timing Characteristics .................................................................. 214
19. Application Circuit ..................................................................................................................................... 215
20. Revision History ........................................................................................................................................ 217
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.
Page 6 of 217
1. Introduction
a-Si TFT LCD Single Chip Driver
320RGBx240 Resolution and 262K color
ILI9342
ILI9342 is a 262,144-color single-chip SOC driver for a-TFT liquid crystal display with resolution of 320RGBx240
dots, comprising a 960-channel source driver, a 240-channel gate driver, 172,800 bytes GRAM for graphic
display data of 320RGBx240 dots, and power supply circuit.
ILI9342 supports parallel 8-/9-/16-/18-bit data bus MPU interface, 6-/16-/18-bit data bus RGB interface and
3-/4-line serial peripheral interface (SPI). The moving picture area can be specified in internal GRAM by window
address function. The specified window area can be updated selectively, so that moving picture can be
displayed simultaneously independent of still picture area.
ILI9342 can operate with 1.65V ~ 3.6V I/O interface voltage and an incorporated voltage follower circuit to
generate voltage levels for driving an LCD. ILI9342 supports full color, 8-color display mode and sleep mode for
precise power control by software and these features make the ILI9342 an ideal LCD driver for medium or small
size portable products such as digital cellular phones, smart phone, MP3 and PMP where long battery life is a
major concern.
2. Features
Display resolution: [320xRGB](H) x 240(V)
Output:
960 source outputs
240 gate outputs
Common electrode output (VCOM)
a-TFT LCD driver with on-chip full display RAM: 172,800 bytes
System Interface
8-bits, 9-bits, 16-bits, 18-bits interface with 6800/8080-series MPU
6-bits, 16-bits, 18-bits RGB interface with graphic controller
3-line / 4-line serial interface
Display mode:
Full color mode (Idle mode OFF): 262K-color (selectable color depth mode by software)
Reduce color mode (Idle mode ON): 8-color
Power saving mode:
Sleep mode
Deep standby mode
On chip functions:
VCOM generator and adjustment
Timing generator
Oscillator
DC/DC converter
Line/frame inversion
4 preset selectable gamma curves
MTP (3 times):
8-bits for ID1, ID2, ID3
7-bits for VCOM adjustment
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.
Page 7 of 217
a-Si TFT LCD Single Chip Driver
320RGBx240 Resolution and 262K color
ILI9342
Low -power consumption architecture
Low operating power supplies:
IOVCC = 1.65V ~ 3.3V (logic)
VCI = 2.4V ~ 4.8V (analog)
LCD Voltage drive:
Source/VCOM power supply voltage
DDVDH - GND = 4.5V ~ 6.0V
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 ~ (DDVDH – 0.5)V
VCOML = (VCL+0.5)V ~ 0V
VCOMH - VCOML
6.0V
Operate temperature range: -40
a-Si TFT LCD storage capacitor : Cst on Common structure only
to 85
≦
≦
℃
℃
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.
Page 8 of 217