Datasheet
ST7735
V1.7 114 2009-12-04
10.1.29 COLMOD (3Ah): Interface Pixel Format
3AH COLMOD (3Ah): Interface Pixel Format
Inst / Para D/CX WRX RDX D17-8 D7 D6 D5 D4 D3 D2 D1 D0 HEX
COLMOD 0 ↑ 1 - 0 0 1 1 1 0 1 0 (3Ah)
Parameter 1 ↑ 1 - - - - - - IFPF2 IFPF1 IFPF0
Description
This command is used to define the format of RGB picture data, which is to be transferred via the
MCU interface. The formats are shown in the table:
IFPF[2:0] MCU Interface Color Format
011 3 12-bit/pixel
101 5 16-bit/pixel
110 6 18-bit/pixel
111 7 No used
Note1: In 12-bit/Pixel, 16-bit/Pixel or 18-bit/Pixel mode, the LUT is applied to transfer data into the Frame Memory.
Note2: The Command 3Ah should be set at 55h when writing 16-bit/pixel data into frame m
emory, but 3Ah should be
re-set to 66h when reading pixel data from frame memory. Please check the LUT in chapter 9.17 when using
memory read function.
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 No
Partial Mode On, Idle Mode On, Sleep Out No
Sleep In Yes
Default
Status Default Value
IFPF[2:0] VIPF[3:0]
Power On Sequence 0110(18-bit/Pixel) 0110(18-bit/Pixel)
S/W Reset No Change No Change
H/W Reset 0110(18-bit/Pixel) 0110(18-bit/Pixel)
Flow Chart