Data Sheet

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 134 of 233
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
Description
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. If a particular interface, either RGB interface or MCU interface, is
not used then the corresponding bits in the parameter are ignored. The pixel format is shown in the table below.
DPI [2:0]
RGB Interface Format
DBI [2:0]
MCU Interface Format
0
0
0
Reserved
0
0
0
Reserved
0
0
1
Reserved
0
0
1
Reserved
0
1
0
Reserved
0
1
0
Reserved
0
1
1
Reserved
0
1
1
Reserved
1
0
0
Reserved
1
0
0
Reserved
1
0
1
16 bits / pixel
1
0
1
16 bits / pixel
1
1
0
18 bits / pixel
1
1
0
18 bits / pixel
1
1
1
Reserved
1
1
1
Reserved
If using RGB Interface must selection serial interface.
X = Don’t care
Restriction
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
Default
Default Value
Status
DPI [2:0] DBI [2:0]
Power On Sequence 3’b110 3’b110
SW Reset No Change No Change
HW Reset 3’b110 3’b110
Flow Chart
COLMOD (3Ah)
DPI[2:0] RGB pixel format
DBI[2:0] MCU pixel format
Command
Parameter
Action
Mode
Legend
Sequential transfer
Display
Any Command