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.com
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.
Page 2 of 233
Table of Contents
Section Page
1.
Introduction.................................................................................................................................................... 7
2.
Features ........................................................................................................................................................ 7
3.
Block Diagram ............................................................................................................................................... 9
4.
Pin Descriptions .......................................................................................................................................... 10
5.
Pad Arrangement and Coordination............................................................................................................ 15
6.
Block Function Description.......................................................................................................................... 24
7.
Function Description ................................................................................................................................... 26
7.1.
MCU interfaces .............................................................................................................................. 26
7.1.1.
MCU interface selection ...................................................................................................... 26
7.1.2.
8080-
Ⅰ
Series Parallel Interface........................................................................................ 27
7.1.3.
Write Cycle Sequence ......................................................................................................... 28
7.1.4.
Read Cycle Sequence......................................................................................................... 29
7.1.5.
8080-
Ⅱ
Series Parallel Interface........................................................................................ 30
7.1.6.
Write Cycle Sequence ......................................................................................................... 31
7.1.7.
Read Cycle Sequence......................................................................................................... 32
7.1.8.
Serial Interface .................................................................................................................... 33
7.1.9.
Write Cycle Sequence ......................................................................................................... 33
7.1.10.
Read Cycle Sequence......................................................................................................... 36
7.1.11.
Data Transfer Break and Recovery ..................................................................................... 40
7.1.12.
Data Transfer Pause............................................................................................................ 42
7.1.13.
Serial Interface Pause (3_wire) ........................................................................................... 43
7.1.14.
Parallel Interface Pause ...................................................................................................... 43
7.1.15.
Data Transfer Mode............................................................................................................. 44
7.1.16.
Data Transfer Method 1....................................................................................................... 44
7.1.17.
Data Transfer Method 2....................................................................................................... 44
7.2.
RGB Interface ................................................................................................................................ 45
7.2.1.
RGB Interface Selection ...................................................................................................... 45
7.2.2.
RGB Interface Timing .......................................................................................................... 49
7.3.
VSYNC Interface............................................................................................................................ 52
7.4.
Color Depth Conversion Look Up Table......................................................................................... 55
7.5.
Display Data RAM (DDRAM) ......................................................................................................... 59
7.6.
Display Data Format ...................................................................................................................... 60
7.6.1.
3-line Serial Interface........................................................................................................... 60
7.6.2.
4-line Serial Interface........................................................................................................... 63
7.6.3.
8-bit Parallel MCU Interface ................................................................................................ 65
7.6.4.
9-bit Parallel MCU Interface ................................................................................................ 67
7.6.5.
16-bit Parallel MCU Interface .............................................................................................. 70
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.
Page 3 of 233
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.
18-bit Parallel RGB Interface............................................................................................... 82
8.
Command.................................................................................................................................................... 83
8.1.
Command List ................................................................................................................................ 83
8.2.
Description of Level 1 Command................................................................................................... 89
8.2.1.
NOP (00h)............................................................................................................................ 89
8.2.2.
Software Reset (01h)........................................................................................................... 90
8.2.3.
Read display identification information (04h) ...................................................................... 91
8.2.4.
Read Display Status (09h)................................................................................................... 92
8.2.5.
Read Display Power Mode (0Ah) ........................................................................................ 94
8.2.6.
Read Display MADCTL (0Bh).............................................................................................. 95
8.2.7.
Read Display Pixel Format (0Ch)........................................................................................ 96
8.2.8.
Read Display Image Format (0Dh)...................................................................................... 97
8.2.9.
Read Display Signal Mode (0Eh) ........................................................................................ 98
8.2.10.
Read Display Self-Diagnostic Result (0Fh) ......................................................................... 99
8.2.11.
Enter Sleep Mode (10h) .................................................................................................... 100
8.2.12.
Sleep Out (11h).................................................................................................................. 101
8.2.13.
Partial Mode ON (12h)....................................................................................................... 103
8.2.14.
Normal Display Mode ON (13h) ........................................................................................ 104
8.2.15.
Display Inversion OFF (20h).............................................................................................. 105
8.2.16.
Display Inversion ON (21h) ............................................................................................... 106
8.2.17.
Gamma Set (26h) .............................................................................................................. 107
8.2.18.
Display OFF (28h) ............................................................................................................. 108
8.2.19.
Display ON (29h) ............................................................................................................... 109
8.2.20.
Column Address Set (2Ah) ................................................................................................ 110
8.2.21.
Page Address Set (2Bh) .................................................................................................... 112
8.2.22.
Memory Write (2Ch) .......................................................................................................... 114
8.2.23.
Color Set (2Dh).................................................................................................................. 115
8.2.24.
Memory Read (2Eh) .......................................................................................................... 116
8.2.25.
Partial Area (30h)............................................................................................................... 118
8.2.26.
Vertical Scrolling Definition (33h) ...................................................................................... 120
8.2.27.
Tearing Effect Line OFF (34h) ........................................................................................... 124
8.2.28.
Tearing Effect Line ON (35h) ............................................................................................. 125
8.2.29.
Memory Access Control (36h) ........................................................................................... 127
8.2.30.
Vertical Scrolling Start Address (37h) ................................................................................ 129
8.2.31.
Idle Mode OFF (38h) ......................................................................................................... 131
8.2.32.
Idle Mode ON (39h) ........................................................................................................... 132
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.
Page 4 of 233
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) ................................................................................................... 139
8.2.37.
Get_Scanline (45h)............................................................................................................ 140
8.2.38.
Write Display Brightness (51h) .......................................................................................... 141
8.2.39.
Read Display Brightness (52h).......................................................................................... 142
8.2.40.
Write CTRL Display (53h).................................................................................................. 143
8.2.41.
Read CTRL Display (54h) ................................................................................................. 145
8.2.42.
Write Content Adaptive Brightness Control (55h).............................................................. 147
8.2.43.
Read Content Adaptive Brightness Control (56h) ............................................................. 148
8.2.44.
Write CABC Minimum Brightness (5Eh)............................................................................ 149
8.2.45.
Read CABC Minimum Brightness (5Fh)............................................................................ 150
8.2.46.
Read ID1 (DAh) ................................................................................................................. 151
8.2.47.
Read ID2 (DBh) ................................................................................................................. 152
8.2.48.
Read ID3 (DCh)................................................................................................................. 153
8.3.
Description of Level 2 Command................................................................................................. 154
8.3.1.
RGB Interface Signal Control (B0h) .................................................................................. 154
8.3.2.
Frame Rate Control (In Normal Mode/Full Colors) (B1h).................................................. 155
8.3.3.
Frame Rate Control (In Idle Mode/8 colors) (B2h) ............................................................ 157
8.3.4.
Frame Rate control (In Partial Mode/Full Colors) (B3h).................................................... 159
8.3.5.
Display Inversion Control (B4h)......................................................................................... 161
8.3.6.
Blanking Porch Control (B5h)............................................................................................ 162
8.3.7.
Display Function Control (B6h).......................................................................................... 164
8.3.8.
Entry Mode Set (B7h) ........................................................................................................ 168
8.3.9.
Backlight Control 1 (B8h)................................................................................................... 169
8.3.10.
Backlight Control 2 (B9h)................................................................................................... 170
8.3.11.
Backlight Control 3 (BAh) .................................................................................................. 172
8.3.12.
Backlight Control 4 (BBh) .................................................................................................. 173
8.3.13.
Backlight Control 5 (BCh) .................................................................................................. 175
8.3.14.
Backlight Control 7 (BEh) .................................................................................................. 176
8.3.15.
Backlight Control 8 (BFh) .................................................................................................. 177
8.3.16.
Power Control 1 (C0h)....................................................................................................... 178
8.3.17.
Power Control 2 (C1h)....................................................................................................... 179
8.3.18.
VCOM Control 1(C5h) ....................................................................................................... 180
8.3.19.
VCOM Control 2(C7h) ....................................................................................................... 182
8.3.20.
NV Memory Write (D0h) .................................................................................................... 184
8.3.21.
NV Memory Protection Key (D1h) ..................................................................................... 185
8.3.22.
NV Memory Status Read (D2h) ......................................................................................... 186
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.
Page 5 of 233
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.
Digital Gamma Control 1 (E2h) ......................................................................................... 190
8.3.27.
Digital Gamma Control 2(E3h) .......................................................................................... 191
8.3.28.
Interface Control (F6h) ...................................................................................................... 192
9.
Display Data RAM ..................................................................................................................................... 195
9.1.
Configuration ................................................................................................................................ 195
9.2.
Memory to Display Address Mapping .......................................................................................... 196
9.2.1.
Normal Display ON or Partial Mode ON, Vertical Scroll Mode OFF.................................. 196
9.2.2.
Vertical Scroll Mode........................................................................................................... 197
9.2.3.
Vertical Scroll Example...................................................................................................... 198
9.2.4.
Case1: TFA+VSA+BFA < 320 ........................................................................................... 198
9.2.5.
Case2: TFA+VSA+BFA = 320 (Rolling Scrolling) .............................................................. 198
9.3.
MCU to memory write/read direction ........................................................................................... 200
10.
Tearing Effect Output................................................................................................................................. 202
10.1.
Tearing Effect Line Modes............................................................................................................ 202
10.2.
Tearing Effect Line Timings .......................................................................................................... 203
11.
Sleep Out – Command and Self-Diagnostic Functions of the Display Module......................................... 204
11.1.
Register loading Detection ........................................................................................................... 204
11.2.
Functionality Detection................................................................................................................. 205
12.
Power ON/OFF Sequence ........................................................................................................................ 206
12.1.
Case 1 – RESX line is held High or Unstable by Host at Power ON ........................................... 206
12.2.
Case 2 – RESX line is held Low by Host at Power ON ............................................................... 207
12.3.
Uncontrolled Power Off ................................................................................................................ 208
13.
Power Level Definition .............................................................................................................................. 209
13.1.
Power Levels................................................................................................................................ 209
13.2.
Power Flow Chart......................................................................................................................... 210
14.
Gamma Curves Selection ......................................................................................................................... 211
14.1.
Gamma Default Values (for NW type LC) .................................................................................... 211
14.2.
Gamma Curves ............................................................................................................................ 212
14.2.1.
Gamma Curve 1 (GC0), applies the function y=x
2.2
.......................................................... 212
14.3.
Gamma Curves ............................................................................................................................ 213
14.3.1.
Grayscale Voltage Generation........................................................................................... 213
14.3.2.
Positive Gamma Correction............................................................................................... 214
14.3.3.
Negative Gamma Correction............................................................................................. 215
15.
Reset ......................................................................................................................................................... 216
15.1.
Registers ...................................................................................................................................... 216
15.2.
Output Pins, I/O Pins.................................................................................................................... 217
评论0