ST7789

Datasheet

Manufacturer

Part number not specified

Overview

Part: Sitronix (Part number not specified)

Type: Display Driver IC

Key Specs:

  • Interface Pixel Formats: 12-bit/pixel (RGB 4-4-4-bit), 16-bit/pixel (RGB 5-6-5-bit), 18-bit/pixel (RGB 6-6-6-bit)
  • Color Depths: 4K-Colors, 65K-Colors, 262K-Colors
  • MCU Parallel Interface Bus Widths: 8-bit, 9-bit, 16-bit, 18-bit

Features:

  • 8080 Series MCU Parallel Interface (18/16/9/8-bit Bus)
  • Serial Interface (3-line, 4-line, 2 data lane)
  • RGB Interface
  • Display Data RAM (DDRAM)
  • Vertical Scroll Mode
  • Tearing Effect
  • Power On/Off Sequence Control
  • Gamma Correction
  • Display Dimming
  • Content Adaptive Brightness Control (CABC)
  • Software Reset
  • Sleep In/Out Modes
  • Partial Display Mode
  • Normal Display Mode
  • Display Inversion
  • Display On/Off Control
  • Memory Write/Read Functions
  • Interface Pixel Format Selection

Applications:

  • null

Package:

  • Bare die / Chip-on-Glass (implied by "PAD ARRANGEMENT", "OUTPUT BUMP DIMENSION", "INPUT BUMP DIMENSION", "CHIP INFORMATION")

Features

  • Single chip TFT-LCD Controller/Driver with On-chip Frame Memory (FM)
  • Display Resolution: 240*RGB (H) *320(V)
  • Frame Memory Size: 240 x 320 x 18-bit = 1,382,400 bits
  • LCD Driver Output Circuits
    • Source Outputs: 240 RGB Channels
    • Gate Outputs: 320 Channels
    • Common Electrode Output
  • Display Colors (Color Mode)
    • Full Color: 262K, RGB=(666) max., Idle Mode Off
    • Color Reduce: 8-color, RGB=(111), Idle Mode On
  • Programmable Pixel Color Format (Color Depth) for Various Display Data input Format
    • 12-bit/pixel: RGB=(444)
    • 16-bit/pixel: RGB=(565)
    • 18-bit/pixel: RGB=(666)
  • MCU Interface
    • Parallel 8080-series MCU Interface (8-bit, 9-bit, 16-bit & 18-bit)
    • 6/16/18 RGB Interface(VSYNC, HSYNC, DOTCLK, ENABLE, DB[17:0])
    • Serial Peripheral Interface(SPI Interface)
    • VSYNC Interface
  • Display Features
    • Programmable Partial Display Duty
    • CABC for saving current consumption
    • Color enhancement
  • On Chip Build-In Circuits
    • DC/DC Converter
    • Adjustable VCOM Generation
    • Non-Volatile (NV) Memory to Store Initial Register Setting and Factory Default Value (Module ID, Module Version, etc)
    • Timing Controller
    • 4 preset Gamma curve with separated RGB Gamma setting
  • Build-In NV Memory for LCD Initial Register Setting
    • 8-bits for ID1 setting
    • 8-bits for ID2 setting
    • 8-bits for ID3 setting
    • 6-bits for VCOM Offset adjustment
  • Driving Algorithm

Version 1.0 Page 13 of 317 2017/09

  • Dot Inversion
  • Column Inversion
  • Wide Supply Voltage Range
    • I/O Voltage (VDDI to DGND): 1.65V ~ 3.3V (VDDI VDD) ≦
    • Analog Voltage (VDD to AGND): 2.4V ~ 3.3V
  • On-Chip Power System
    • Source Voltage (VAP (GVDD) to VAN (GVCL)): +6.4~-4.6V
    • VCOM level: GND
    • Gate driver HIGH level (VGH to AGND): +12.2V ~ +14.97V
    • Gate driver LOW level (VGL to AGND): -12.5V ~ -7.16V
  • Optimized layout for COG Assembly
  • Operate temperature range: -30°C to +85°C
  • Lower Power Consumption

Pin Configuration

3-line serial interface Ⅰ

Pin NameDescription

4-line serial interface Ⅰ

Pin NameDescription
CSXChip selection signal
Data is regarded as a command when WRX is low
WRXData is regarded as a parameter or data when WRX is high
DCXClock signal
SDASerial input/output data

3-line serial interface Ⅱ

Pin NameDescription
CSXChip selection signal
DCXClock signal
SDASerial input data
SDOSerial output data

4-line serial interface Ⅱ

Pin NameDescription
CSXChip selection signal
Data is regarded as a command when WRX is low
WRXData is regarded as a parameter or data when WRX is high

Version 1.0 Page 55 of 317 2017/09

DCXClock signal
SDASerial input data
SDOSerial output data

Table 14 pin description of serial interface

Electrical Characteristics

7.1 Absolute Operation Range

ItemSymbolRatingUnit
Supply VoltageVDD- 0.3 ~ +4.6V
Supply Voltage (Logic)VDDI- 0.3 ~ +4.6V
Driver Supply VoltageVGH-VGL-0.3 ~ +30.0V
Logic Input Voltage RangeVIN-0.3 ~ VDDI + 0.5V
Logic Output Voltage RangeVO-0.3 ~ VDDI + 0.5V
Operating Temperature RangeTOPR-30 ~ +85°C
Storage Temperature RangeTSTG-40 ~ +125°C

Table 1 Absolute Operation Range

Note: If one of the above items is exceeded its maximum limitation momentarily, the quality of the product may be degraded. Absolute maximum limitation, therefore, specify the values exceeding which the product may be physically damaged. Be sure to use the product within the recommend range.

7.2 DC Characteristics

SpecificationRelated
ParameterSymbolConditionMIN.TYP.MAX.UnitPins
Power & Operation Voltage
System VoltageVDDOperating
voltage
2.42.753.3V
Interface Operation VoltageVDDII/O Supply
Voltage
1.651.83.3V
Gate Driver High VoltageVGH12.214.97VNote 4
Gate Driver Low VoltageVGL-12.5-7.16V
Gate Driver Supply VoltageVGH-VGL
Input / Output
19.3627.47VNote 5
Logic-High Input VoltageVIH0.7VDDIVDDIVNote 1
Logic-Low Input VoltageVILVSS0.3VDDIVNote 1
Logic-High Output VoltageVOHIOH = -1.0mA0.8VDDIVDDIVNote 1
Logic-Low Output VoltageVOLIOL = +1.0mAVSS0.2VDDIVNote 1
Logic-High Input CurrentIIHVIN = VDDI1uANote 1
Logic-Low Input CurrentIILVIN = VSS-1uANote 1
Input Leakage CurrentIILKVIN = VSS or VDDI-0.1+0.1uANote 1
VCOM Voltage
VCOM amplitudeVCOMVSSV
Source Driver
Source Output RangeVsoutVANVAPV
Gamma Reference
Voltage(Positive)
VAP4.456.4VNote 6
Gamma Reference
Voltage(Negative)
VAN-4.6-2.65V
Source Output Settling TimeTrBelow with 99%
precision
20usNote 2
Output Offset VoltageVOFFSET35mVNote 3

Table 2 Basic DC Characteristics

Notes:

  1. TA= -30 to 70 (to +85 no damage). °C °C

  2. Source channel loading= 2KΩ+12pF/channel, Gate channel loading=5KΩ+40pF/channel.

  3. The Max. value is between measured point of source output and gamma setting value.

  4. When evaluating the maximum and minimum of VGH, VDD=2.8V.

Version 1.0 Page 38 of 317 2017/09

    1. The maximum value of |VGH-VGL| can no over 30V.
  • 6. Default register setting of Vcom and Vcomoffset is 20h

7.3 Power Consumption

Ta=25°C, Frame rate = 60Hz, Registers setting are IC default setting.

ImageCurrent Consumption
Operation ModeIDDI
(mA)
Normal ModeBlack0.005
Partial + Idle Mode (48 lines)Black0.005
Sleep-in ModeN/A0.005

Table 3 Power Consumption

Notes:

  1. The Current Consumption is DC characteristics of ST7789VW.

  2. Typical: VDDI=1.8V, VDD=2.75V; Maximum: VDDI=1.65 to 3.3V, VDD=2.4 to 3.3V

7.4 AC Characteristics

VDDI=1.65 to 3.3V, VDD=2.4 to 3.3V, AGND=DGND=0V, Ta=25°C

SignalSymbolParameterMinMaxUnitDescription
TASTAddress setup time0ns
D/CXTAHTAddress hold time (Write/Read)10ns-
TCHWChip select "H" pulse width0ns
TCSChip select setup time (Write)15ns
TRCSChip select setup time (Read ID)45ns
CSXTRCSFMChip select setup time (Read FM)355ns-
TCSFChip select wait time (Write/Read)10ns
TCSHChip select hold time10ns
TWCWrite cycle66ns
WRXTWRHControl pulse "H" duration15ns
TWRLControl pulse "L" duration15ns
TRCRead cycle (ID)160ns
RDX (ID)TRDHControl pulse "H" duration (ID)90nsWhen read ID data
TRDLControl pulse "L" duration (ID)45ns
RDX
(FM)
TRCFMRead cycle (FM)450ns
TRDHFMControl pulse "H" duration (FM)90nsWhen read from
TRDLFMControl pulse "L" duration (FM)355nsframe memory
D[17:0]TDSTData setup time10nsFor CL=30pF

TDHTData hold time10ns
TRATRead access time (ID)40ns
TRATFMRead access time (FM)340ns
TODHOutput disable time2080ns

Figure 2 Rising and Falling Timing for I/O Signal

Figure 3 Write-to-Read and Read-to-Write Timing

Note: The rising time and falling time (Tr, Tf) of input signal and fall time are specified at 15 ns or less. Logic high and low levels are specified as 30% and 70% of VDDI for Input signals.

Figure 4 3-line serial Interface Timing Characteristics

VDDI=1.65 to 3.3V, VDD=2.4 to 3.3V, AGND=DGND=0V, Ta=25°C

SignalSymbolParameterMinMaxUnitDescription
TCSSChip select setup time (write)15ns
TCSHChip select hold time (write)15ns
CSXTCSSChip select setup time (read)60ns
TSCCChip select hold time (read)65ns
TCHWChip select "H" pulse width40ns
TSCYCWSerial clock cycle (Write)16ns
TSHWSCL "H" pulse width (Write)7ns
TSLWSCL "L" pulse width (Write)7ns
SCLTSCYCRSerial clock cycle (Read)150ns
TSHRSCL "H" pulse width (Read)60ns
TSLRSCL "L" pulse width (Read)60ns
SDATSDSData setup time7ns
(DIN)TSDHData hold time7ns
TACCAccess time1050nsFor maximum CL=30pF
DOUTTOHOutput disable time1550nsFor minimum CL=8pF

Table 5 3-line serial Interface Characteristics

Note : The rising time and falling time (Tr, Tf) of input signal are specified at 15 ns or less. Logic high and low levels are specified as 30% and 70% of VDDI for Input signals.

7.4.3 Serial Interface Characteristics (4-line serial):

Figure 5 4-line serial Interface Timing Characteristics

VDDI=1.65 to 3.3V, VDD=2.4 to 3.3V, AGND=DGND=0V, Ta=25°C

SignalSymbolParameterMINMAXUnitDescription
TCSSChip select setup time (write)15ns
TCSHChip select hold time (write)15ns
CSXTCSSChip select setup time (read)60ns
TSCCChip select hold time (read)65ns
TCHWChip select "H" pulse width40ns
TSCYCWSerial clock cycle (Write)16ns
TSHWSCL "H" pulse width (Write)7ns-write command & data
TSLWSCL "L" pulse width (Write)7nsram
SCLTSCYCRSerial clock cycle (Read)150ns
TSHRSCL "H" pulse width (Read)60ns-read command & data
TSLRSCL "L" pulse width (Read)60nsram
TDCSD/CX setup time10ns
D/CXTDCHD/CX hold time10ns
SDATSDSData setup time7ns
(DIN)TSDHData hold time7ns
TACCAccess time1050nsFor maximum CL=30pF
DOUTTOHOutput disable time1550nsFor minimum CL=8pF

Table 6 4-line serial Interface Characteristics

Note : The rising time and falling time (Tr, Tf) of input signal are specified at 15 ns or less. Logic high and low levels are specified as

30% and 70% of VDDI for Input signals.

Figure 6 RGB Interface Timing Characteristics

VDDI=1.65 to 3.3V, VDD=2.4 to 3.3V, AGND=DGND=0V, Ta=25°C

SignalSymbolParameterMINMAXUnitDescription
HSYNC,
VSYNCTSYNCSVSYNC, HSYNC Setup Time30-ns
ENABLETENSEnable Setup Time25-ns
TENHEnable Hold Time25-ns
PWDHDOTCLK High-level Pulse Width60-ns
PWDLDOTCLK Low-level Pulse Width60-ns
DOTCLKTCYCDDOTCLK Cycle Time120-ns
Trghr, TrghfDOTCLK Rise/Fall time-20ns
DBTPDSPD Data Setup Time50-ns
TPDHPD Data Hold Time50-ns
SignalSymbolParameterMINMAXUnitDescription
HSYNC,
VSYNCTSYNCSVSYNC, HSYNC Setup Time35-ns
ENABLETENSEnable Setup Time35-ns
TENHEnable Hold Time35-ns
DOTCLKPWDHDOTCLK High-level Pulse Width35-ns
PWDLDOTCLK Low-level Pulse Width-ns
TCYCDDOTCLK Cycle Time80-ns
Trghr, TrghfDOTCLK Rise/Fall time-10ns
TPDSPD Data Setup Time35-ns
DBTPDHPD Data Hold Time35-ns

7.4.5 Reset Timing:

Figure 7 Reset Timing

VDDI=1.65 to 3.3V, VDD=2.4 to 3.3V, AGND=DGND=0V, Ta=25°C

Related PinsSymbolParameterMINMAXUnit

Table 9 Reset Timing

Notes:

  1. The reset cancel includes also required time for loading ID bytes, VCOM setting and other settings from NVM (or similar device) to registers. This loading is done every time when there is HW reset cancel time (tRT) within 5 ms after a rising edge of RESX.

  2. Spike due to an electrostatic discharge on RESX line does not cause irregular system reset according to the table below:

RESX PulseAction
Shorter than 5usReset Rejected
Longer than 9usReset
Between 5us and 9usReset starts
  1. During the Resetting period, the display will be blanked (The display is entering blanking sequence, which maximum time is 120 ms, when Reset Starts in Sleep Out –mode. The display remains the blank state in Sleep In –mode.) and then return to Default condition for Hardware Reset.

  2. Spike Rejection also applies during a valid reset pulse as shown below:

    1. When Reset applied during Sleep In Mode.
    1. When Reset applied during Sleep Out Mode.
  1. It is necessary to wait 5msec after releasing RESX before sending commands. Also Sleep Out command cannot be sent for 120msec.

Sitronix Confidential The information contained herein is the exclusive property of Sitronix and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of Sitronix.

8 FUNCTION DESCRIPTION

8.1 MPU Interface Type Selection

ST7789VW supports 8/16/9/18 bit parallel data bus for 8080 series CPU, RGB serial interfaces. Selection of these interfaces are set by IM[3:0] pins as shown below.

IM3IM2IM1IM0InterfaceRead Back Data Bus Selection
000080-8bit parallel I/FDB[7:0]
000180-16bit parallel I/FDB[15:0]
001080-9bit parallel I/FDB[8:0]
001180-18bit parallel I/FDB[17:0],
0
1
0
12 data lane serial I/FSDA: in/out, WRX: in
01104-line 8bit serial I/FSDA: in/out
100080-16bit parallel I/F ⅡDB[17:10], DB[8:1]
100180-8bit parallel I/F ⅡDB[17:10]
101080-18bit parallel I/F ⅡDB[17:0],
101180-9bit parallel I/F ⅡDB[17:9]
11013-line 9bit serial I/F Ⅱ
SDA: in/ SDO: out
11104-line 8bit serial I/F Ⅱ
SDA: in/ SDO: out

8.2 8080- Series MCU Parallel Interface

The MCU can use one of following interfaces: 11-lines with 8-data parallel interface, 12-lines with 9-data parallel interface, 19-line with 16-data parallel interface or 21-lines with 18-data parallel interface. The chip-select CSX (active low) enables/disables the parallel interface. RESX (active low) is an external reset signal. WRX is the parallel data write enable, RDX is the parallel data read enable and D[17:0] is parallel data bus.

The LCD driver reads the data at the rising edge of WRX signal. The D/CX is the data/command flag. When D/CX='1', D[17:0] bits is either display data or command parameter. When D/C='0', D[17:0] bits is command. The interface functions of 8080-series parallel interface are given in following table.

IM3IM2IM1IM0InterfaceD/CXRDXWRXRead back selection
01Write 8-bit command (D7 to D0)
08-bit11Write 8-bit display data or 8-bit parameter (D7 to D0)
000parallel1
1

1
1
Read 8-bit display data (D7 to D0)
Read 8-bit parameter or status (D7 to D0)
0101Write 8-bit command (D7 to D0)
16-bit11Write 16-bit display data or 8-bit parameter (D15 to D0)
00parallel1
1

1
1
Read 16-bit display data (D15 to D0)
Read 8-bit parameter or status (D7 to D0)
01001Write 8-bit command (D7 to D0)
9-bit11Write 9-bit display data or 8-bit parameter (D8 to D0)
parallel1
1

1
1
Read 9-bit display data (D8 to D0)
Read 8-bit parameter or status (D7 to D0)
01101Write 8-bit command (D7 to D0)
18-bit11Write 18-bit display data or 8-bit parameter (D17 to D0)
0parallel1
1

1
1
Read 18-bit display data (D17 to D0)
Read 8-bit parameter or status (D7 to D0)

8.2.1 Write cycle sequence

The write cycle means that the host writes information (command / data) to the display via the interface. Each write cycle (WRX high-low-high sequence) consists of 3 control signals (DCX, RDX, WRX) and data signals (DB[17:0]). DCX bit is a control signal, which tells if the data is a command or a data. The data signals are the command if the control signal is low (='0') and vice versa it is data (='1').

Version 1.0 Page 51 of 317 2017/09

Sitronix Confidential The information contained herein is the exclusive property of Sitronix and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of Sitronix.

Figure 8 8080-Series WRX Protocol

Note: WRX is an unsynchronized signal (It can be stopped).

Figure 9 8080-Series Parallel Bus Protocol, Write to Register or Display RAM

8.2.2 Read cycle sequence

The read cycle (RDX high-low-high sequence) means that the host reads information from LCD driver via interface. The driver sends data (D[17:0]) to the host when there is a falling edge of RDX and the host reads data when there is a rising edge of RDX.

Sitronix Confidential The information contained herein is the exclusive property of Sitronix and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of Sitronix.

Figure 10 8080-series RDX protocol

Note: RDX is an unsynchronized signal (It can be stopped).

Figure 11 8080-series parallel bus protocol, read data from register or display RAM

8.3 8080- series MCU Parallel Interface

The MCU uses one of following interface: 11-lines with 8-data parallel interface, 12-lines with 9-data parallel interface, 19-lines with 16-data parallel interface, or 21-lines with 18-data parallel interface. The chip-select CSX(active low) enables and disables the parallel interface. RESX (active low) is an external reset signal. The R/WX is the Read/Write flag and D[17:0] is parallel data bus.

The LCD driver reads the data at the rising edge of WRX signal. The D/CX is the data/command flag. When D/CX='1', D[17:0] bits is either display data or command parameter. When D/C='0', D[17:0] bits is command.

The 8080- series bi Ⅱ -directional interface can be used for communication between the micro controller and LCD driver. Interface bus width can be selected with IM3, IM2, IM1 and IM0.The interface functions of 8080- series parallel interface Ⅱ are given in Table 12 The function of 8080-Ⅱ series parallel interface.

IM3 IM2 IM1 IM0InterfaceD/CXRDXWRXFunction
10016-bit Parallel01Write 8-bit command (D[8:1])
01
1
1
1


1
1
Write 16-bit display data or 8-bit parameter (D[17:10], D[8:1])
Read 16-bit Display data (D[17:10], D[8:1])
Read 8-bit parameter or status (D[8:1])
018-bit Parallel01Write 8-bit command (D[17:10])
111Write 8-bit display data or 8-bit parameter (D[17:10])
01
1

1
1
Read 8-bit Display data (D[17:10])
Read 8-bit parameter or status (D[17:10])
018-bit Parallel01Write 8-bit command (D[8:1])
1011
1
1
1


1
1
Write 18-bit display data or 8-bit parameter (D[17:0], D[8:1])
Read 18-bit Display data (D[17:0])
Read 8-bit parameter or status (D[8:1])
0119-bit Parallel01Write 8-bit command (D[17:10])
11
1
1
1


1
1
Write 9-bit display data or 8-bit parameter (D[17:9])
Read 9-bit Display data (D[17:9])
Read 8-bit parameter or status (D[17:10])

Table 12 The function of 8080- series parallel interface

IM3IM2IM1IM0InterfaceRead back selection
01013-line serial interface Ⅰ
01104-line serial interface ⅠVia the read instruction (8-bit, 24-bit and 32-bit read
11013-line serial interface Ⅱparameter)
11104-line serial interface Ⅱ

8.4 Serial Interface

Table 13 Selection of serial interface

The serial interface is either 3-lines/9-bits or 4-lines/8-bits bi-directional interface for communication between the micro controller and the LCD driver. The 3-lines serial interface use: CSX (chip enable), SCL (serial clock) and SDA (serial data input/output), and the 4-lines serial interface use: CSX (chip enable), D/CX (data/ command flag), SCL (serial clock) and SDA (serial data input/output). Serial clock (SCL) is used for interface with MCU only, so it can be stopped when no communication is necessary.

8.4.1 Pin description

3-line serial interface Ⅰ

Pin NameDescription

4-line serial interface Ⅰ

Pin NameDescription
CSXChip selection signal
Data is regarded as a command when WRX is low
WRXData is regarded as a parameter or data when WRX is high
DCXClock signal
SDASerial input/output data

3-line serial interface Ⅱ

Pin NameDescription
CSXChip selection signal
DCXClock signal
SDASerial input data
SDOSerial output data

4-line serial interface Ⅱ

Pin NameDescription
CSXChip selection signal
Data is regarded as a command when WRX is low
WRXData is regarded as a parameter or data when WRX is high

Version 1.0 Page 55 of 317 2017/09

DCXClock signal
SDASerial input data
SDOSerial output data

Table 14 pin description of serial interface

8.4.2 Command write mode

The write mode of the interface means the micro controller writes commands and data to the LCD driver. 3-lines serial data packet contains a control bit D/CX and a transmission byte. In 4-lines serial interface, data packet contains just transmission byte and control bit D/CX is transferred by the D/CX pin. If D/CX is "low", the transmission byte is interpreted as a command byte. If D/CX is "high", the transmission byte is stored in the display data RAM (memory write command), or command register as parameter.

Any instruction can be sent in any order to the driver. The MSB is transmitted first. The serial interface is initialized when CSX is high. In this state, SCL clock pulse or SDA data have no effect. A falling edge on CSX enables the serial interface and indicates the start of data transmission.

Figure 12 Serial interface data stream format

When CSX is "high", SCL clock is ignored. During the high period of CSX the serial interface is initialized. At the falling edge of CSX, SCL can be high or low. SDA is sampled at the rising edge of SCL. D/CX indicates whether the byte is command (D/CX='0') or parameter/RAM data (D/CX='1'). D/CX is sampled when first rising edge of SCL (3-line serial interface) or 8th rising edge of SCL (4-line serial interface). If CSX stays low after the last bit of command/data byte, the serial interface expects the D/CX bit (3-line serial interface) or D7

Sitronix Confidential The information contained herein is the exclusive property of Sitronix and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of Sitronix.

(4-line serial interface) of the next byte at the next rising edge of SCL..

Figure 13 3-line serial interface write protocol (write to register with control bit in transmission)

8.4.3 Read function

The read mode of the interface means that the micro controller reads register value from the driver. To achieve read function, the micro controller first has to send a command (read ID or register command) and then the following byte is transmitted in the opposite direction. After that CSX is required to go to high before a new command is send (see the below figure). The driver samples the SDA (input data) at rising edge of SCL, but shifts SDA (output data) at the falling edge of SCL. Thus the micro controller is supported to read at the rising edge of SCL.

After the read status command has been sent, the SDA line must be set to tri-state no later than at the falling edge of SCL of the last bit.

8.4.4 3-line serial interface /** Ⅰ Ⅱ **protocol

3-line serial protocol (for RDID1/RDID2/RDID3/0Ah/0Bh/0Ch/0Dh/0Eh/0Fh command: 8-bit read):

3-line serial protocol (for RDDID command: 24-bit read)

3-line Serial Protocol (for RDDST command: 32-bit read)

Figure 15 3-line serial interface read protocol

8.4.5 4-line serial protocol

4-line serial protocol (for RDID1/RDID2/RDID3/0Ah/0Bh/0Ch/0Dh/0Eh/0Fh command: 8-bit read):

4-line Serial Protocol (for RDDST command: 32-bit read)

Figure 16 4-line serial interface read protocol

8.4.6 2 data lane serial Interface

Interface selection:

IM3IM2IM1IM0InterfaceRead back selection
Via the read instruction (8-bit, 24-bit and 32-bit
01012 data lane serial interfaceread)

Table 15 IM pin selection

2-wire data lane serial interface use: CSX (chip enable), DCX (serial clock) and SDA (serial data input/output 1), and WRX (serial data input 2). To enter this interface, command E7h need set 10h.

2 data lane hardware suggestion and Pin description:

2 data lane serial interface, IM[3:0]=0101

2 data lane serial interface

Figure 17 Hardware suggestion of 2 data lane serial interface

Pin NameDescription

Table 16 Pin description of 2 data lane serial interface

Command write mode:

The command write protocol of 2-wire data lane serial interface is the same with the 3-line serial interface, so users can ignore the input data of WRX.

Any instruction can be sent in any order to the driver. The MSB is transmitted first. The serial interface is initialized when CSX is high. In this state, SCL clock pulse or SDA data have no effect. A falling edge on CSX enables the serial interface and indicates the start of data transmission.

SRAM write mode:

The SRAM write mode of 2-wire data line serial interface need use SDA pin and WRX pin to be data input pins.

Read function:

The read mode of 2-wire data lane serial interface is the same with the 3-line serial interface and WRX pin can be ignored. To achieve read function, the micro controller first has to send a command (read ID or register command) and then the following byte is transmitted in the opposite direction. After that CSX is required to go to high before a new command is send (see the below figure). The driver samples the SDA (input data) at rising edge of SCL, but shifts SDA (output data) at the falling edge of SCL. Thus the micro controller is supported to read at the rising edge of SCL.

After the read status command has been sent, the SDA line must be set to tri-state no later than at the falling edge of SCL of the last bit.

3-line serial interface** Ⅰ**/**Ⅱ **protocol:

3-line serial protocol (for RDID1/RDID2/RDID3/0Ah/0Bh/0Ch/0Dh/0Eh/0Fh command: 8-bit read):

3-line Serial Protocol (for RDDST command: 32-bit read)

Version 1.0 Page 64 of 317 2017/09

Figure 19 3-line serial interface read protocol

8.5 Data Transfer Break and Recovery

If there is a break in data transmission by RESX pulse, while transferring a command or frame memory data or multiple parameter command data, before Bit D0 of the byte has been completed, then driver will reject the previous bits and have reset the interface such that it will be ready to receive command data again when the chip select line (CSX) is next activated after RESX have been HIGH state.

If there is a break in data transmission by CSX pulse, while transferring a command or frame memory data or multiple parameter command data, before Bit D0 of the byte has been completed, then driver will reject the previous bits and have reset the interface such that it will be ready to receive the same byte re-transmitted when the chip select line (CSX) is next activated.

If 1, 2 or more parameter commands are being sent and a break occurs while sending any parameter before the last one and if the host then sends a new command rather than re-transmitting the parameter that was interrupted, then the parameters that were successfully sent are stored and the parameter where the break occurred is rejected. The interface is ready to receive next byte as shown below.

Figure 20 Write interrupts recovery (serial interface)

If a 2 or more parameter commands are being sent and a break occurs by the other command before the last one is sent, then the parameters that were successfully sent are stored and the other parameter of that command remains previous value.

Sitronix Confidential The information contained herein is the exclusive property of Sitronix and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of Sitronix.

Figure 21 Write interrupts recovery (both serial and parallel Interface)

Version 1.0 Page 67 of 317 2017/09

8.6 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. If the chip select line is released after a whole byte of a frame memory data or multiple parameter data has been completed, then driver will wait and continue the frame memory data or parameter data transmission from the point where it was paused. If the chip select Line is released after a whole byte of a command has been completed, then the display module will receive either the command's parameters (if appropriate) or a new command when the chip select line is next enabled as shown below.

This applies to the following 4 conditions:

    1. Command-Pause-Command
    1. Command-Pause-Parameter
    1. Parameter-Pause-Command
    1. Parameter-Pause-Parameter

8.6.1 Parallel interface pause

Figure 22 Parallel bus pause protocol (paused by CSX)

8.7 Data Transfer Mode

The module has three kinds color modes for transferring data to the display RAM. These are 12-bit color per pixel, 16-bit color per pixel and 18-bit color per pixel. The data format is described for each interface. Data can be downloaded to the frame memory by 2 methods.

8.7.1 Method 1

The image data is sent to the frame memory in successive frame writes, each time the frame memory is filled, the frame memory pointer is reset to the start point and the next frame is written.

8.7.2 Method 2

The image data is sent and at the end of each frame memory download, a command is sent to stop frame memory write. Then start memory write command is sent, and a new frame is downloaded.

Start frame
Frame 1
Memory write
Image data
Any commandStart frame
Memory write
Frame 2
Image data
Any command
Stop
Any command

Note 2: The frame memory can contain both odd and even number of pixels for both methods. Only complete pixel data will be stored in

the frame memory.

8.8 Data Color Coding

8.8.1 8080- series** Ⅰ **8-bit Parallel Interface

The 8080- series 8 Ⅰ -bit parallel interface of ST7789VW can be used by setting IM[3:0]="0000b". Different display data formats are available for three Colors depth supported by listed below.

  • 4k colors, RGB 4,4,4-bit input.
  • 65k colors, RGB 5,6,5-bit input.
  • 262k colors, RGB 6,6,6-bit input.

8.8.2 8-bit data bus for 12-bit/pixel (RGB 4-4-4-bit input), 4K-Colors, 3Ah="03h"

Version 1.0 Page 70 of 317 2017/09

There is 1pixel (3 sub-pixels) per 2-byte

Note 1: The data order is as follows, MSB=D15, LSB=D0 and picture data is MSB=Bit 5, LSB=Bit 0 for Green, and MSB=Bit 4, LSB=Bit 0 for Red and Blue data.

Note 2: 2-times transfer is used to transmit 1 pixel data with the 16-bit color depth information.

Note 3: '-' = Don't care – Can be set to '0' or '1'

Version 1.0 Page 71 of 317 2017/09

8.8.4 8-bit data bus for 18-bit/pixel (RGB-6-6-6-bit input), 262K-Colors, 3Ah="06h"

There is 1pixel (3 sub-pixels) per 3-bytes.

Note 1: The data order is as follows, MSB=D7, LSB=D0 and picture data is MSB=Bit 5, LSB=Bit 0 for Red, Green and Blue data. Note 2: 3-times transfer is used to transmit 1 pixel data with the 18-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

8.8.5 8080- series** Ⅱ **8-bit Parallel Interface

The 8080- series 8 Ⅱ -bit parallel interface of ST7789VW can be used by setting IM[3:0]="1001b". Different display data formats are available for three Colors depth supported by listed below.

  • 65k colors, RGB 5,6,5-bit input.
  • 262k colors, RGB 6,6,6-bit input.

8.8.6 8-bit data bus for 16-bit/pixel (RGB 5-6-5-bit input), 65K-Colors, 3Ah="05h"

Note 1: The data order is as follows, MSB=D17, LSB=D10 and picture data is MSB=Bit 5, LSB=Bit 0 for Green, and MSB=Bit 4, LSB=Bit 0 for Red and Blue data.

Note 2: 2-times transfer transmit 1 pixel data with the 16-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

Version 1.0 Page 73 of 317 2017/09

Note 1: The data order is as follows, MSB=D17, LSB=D10 and picture data is MSB=Bit 5, LSB=Bit 0 for Red, Green and Blue data. Note 2: 3-times transfer is used to transmit 1 pixel data with the 18-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

8.8.8 8080- series 16** Ⅰ **-Bit Parallel Interface

The 8080- series 16 Ⅰ -bit parallel interface of ST7789VW can be used by setting IM[3:0]="0001b". Different display data formats are available for three colors depth supported by listed below.

  • 4k colors, RGB 4,4,4-bit input
  • 65k colors, RGB 5,6,5-bit input
  • 262k colors, RGB 6,6,6-bit input

There is 1pixel (3 sub-pixels) per 1byte

Note 1: The data order is as follows, MSB=D11, LSB=D0 and picture data is MSB=Bit 3, LSB=Bit 0 for Red, Green and Blue data. Note 2: 1-times transfer (D11 to D0) is used to transmit 1 pixel data with the 12-bit color depth information.

There is 1 pixel (3 sub-pixels) per 1 byte

Note 1: The data order is as follows, MSB=D15, LSB=D0 and picture data is MSB=Bit 5, LSB=Bit 0 for Green, and MSB=Bit 4, LSB=Bit 0 for Red and Blue data.

Note 2: 1-times transfer (D15 to D0) is used to transmit 1 pixel data with the 16-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

Version 1.0 Page 77 of 317 2017/09

8.8.11 16-bit data bus for 18-bit/pixel (RGB-6-6-6-bit input), 262K-Colors, 3Ah="06h",

MDT[1:0]="00b"

There are 2 pixels (6 sub-pixels) per 3 bytes

Note 1: The data order is as follows, MSB=D15, LSB=D0 and picture data is MSB=Bits 5, LSB=Bit 0 for Red, Green and Blue data. Note 2: 3-times transfer is used to transmit 1 pixel data with the 18-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

Version 1.0 Page 78 of 317 2017/09

8.8.12 16-bit data bus for 18-bit/pixel (RGB-6-6-6-bit input), 262K-Colors, 3Ah="06h", MDT[1:0]="01b"

Note 1: The data order is as follows, MSB=D15, LSB=D0 and picture data is MSB=Bits 5, LSB=Bit 0 for Red, Green and Blue data. Note 2: 2-times transfer is used to transmit 1 pixel data with the 18-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

Version 1.0 Page 79 of 317 2017/09

Note 1: The data order is as follows, MSB=D15, LSB=D0 and picture data is MSB=Bits 5, LSB=Bit 0 for Red, Green and Blue data. Note 2: 2-times transfer is used to transmit 1 pixel data with the 18-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

Version 1.0 Page 80 of 317 2017/09

Note 1: The data order is as follows, MSB=D15, LSB=D0 and picture data is MSB=Bits 5, LSB=Bit 0 for Red, Green and Blue data. Note 2: 2-times transfer is used to transmit 1 pixel data with the 18-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

Version 1.0 Page 81 of 317 2017/09

8.8.15 8080- series 16** Ⅱ **-Bit Parallel Interface

The 8080- series 16 Ⅱ -bit parallel interface of ST7789VW can be used by setting IM[3:0]="1000b". Different display data formats are available for two colors depth supported by listed below.

  • 65k colors, RGB 5,6,5-bit input
  • 262k colors, RGB 6,6,6-bit input

8.8.16 16-bit data bus for 16-bit/pixel (RGB 5-6-5-bit input) 65K-Color, 3Ah="05h"

There is 1 pixel (3 sub-pixels) per 1 byte

Note 1: The data order is as follows, MSB=D17, LSB=D1 and picture data is MSB=Bit 5, LSB=Bit 0 for Green, and MSB=Bit 4, LSB=Bit 0 for Red and Blue data.

Note 2: 1-times transfer (D17D10, D8D1) is used to transmit 1 pixel data with the 16-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

Version 1.0 Page 82 of 317 2017/09

8.8.17 16-bit data bus for 18-bit/pixel (RGB-6-6-6-bit input), 262K-Colors, 3Ah="06h",

MDT[1:0]="00b"

There are 2 pixels (6 sub-pixels) per 3 bytes

Note 1: The data order is as follows, MSB=D17, LSB=D1 and picture data is MSB=Bits 5, LSB=Bit 0 for Red, Green and Blue data. Note 2: 3-times transfer is used to transmit 1 pixel data with the 18-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

Version 1.0 Page 83 of 317 2017/09

Note 1: The data order is as follows, MSB=D17, LSB=D1 and picture data is MSB=Bits 5, LSB=Bit 0 for Red, Green and Blue data. Note 2: 2-times transfer is used to transmit 1 pixel data with the 18-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

8.8.19 16-bit data bus for 18-bit/pixel (RGB-6-6-6-bit input), 262K-Colors, 3Ah="06h",

Version 1.0 Page 84 of 317 2017/09

Note 1: The data order is as follows, MSB=D17, LSB=D0 and picture data is MSB=Bits 5, LSB=Bit 0 for Red, Green and Blue data. Note 2: 2-times transfer is used to transmit 1 pixel data with the 18-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

Version 1.0 Page 85 of 317 2017/09

Note 1: The data order is as follows, MSB=D17, LSB=D1 and picture data is MSB=Bits 5, LSB=Bit 0 for Red, Green and Blue data. Note 2: 2-times transfer is used to transmit 1 pixel data with the 18-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

Version 1.0 Page 86 of 317 2017/09

8.8.21 8080- series 9** Ⅰ **-Bit Parallel Interface

The 8080- series 9 Ⅰ -bit parallel interface of ST7789VW can be used by setting IM[3:0]="0010b"Different display data formats are available for two colors depth supported by listed below.

-65k colors, RGB 5,6,5-bit input

-262k colors, RGB 6,6,6-bit input

8.8.22 Write 9-bit data for RGB 5-6-5-bit input (65K-Color), 3Ah="05h"

Note 1: The data order is as follows, MSB=D7, LSB=D0 and picture data is MSB=Bit 4, LSB=Bit 0 for Red, Green and Blue data. Note 2: 2-time transfer is used to transmit 1 pixel data with the 16-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

Version 1.0 Page 87 of 317 2017/09

There is 1 pixel (3 sub-pixels) per 2bytes

Note 1: The data order is as follows, MSB=D8, LSB=D0 and picture data is MSB=Bit 5, LSB=Bit 0 for Red, Green and Blue data. Note 2: 2-time transfer is used to transmit 1 pixel data with the 18-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

8.8.24 Write 9-bit data for RGB 6-6-6-bit input (262K-Color), 3Ah="06h", MDT[1:0]="01b"

Note 1: The data order is as follows, MSB=D8, LSB=D0 and picture data is MSB=Bit 5, LSB=Bit 0 for Red, Green and Blue data. Note 2: 3-time transfer is used to transmit 1 pixel data with the 18-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

Version 1.0 Page 89 of 317 2017/09

8.8.25 8080- series 9** Ⅱ **-bit Parallel Interface

The 8080- series 9 Ⅱ -bit parallel interface of ST7789VW can be used by setting IM[3:0]="1011b"Different display data formats are available for two colors depth supported by listed below.

-65k colors, RGB 5,6,5-bit input

-262k colors, RGB 6,6,6-bit input

8.8.26 Write 9-bit data for RGB 5-6-5-bit input (65K-Color), 3Ah="05h"

Note 1: The data order is as follows, MSB=D16, LSB=D9 and picture data is MSB=Bit 4, LSB=Bit 0 for Red, Green and Blue data. Note 2: 2-time transfer is used to transmit 1 pixel data with the 16-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

Version 1.0 Page 90 of 317 2017/09

There is 1 pixel (3 sub-pixels) per 2bytes

Note 1: The data order is as follows, MSB=D17, LSB=D9 and picture data is MSB=Bit 5, LSB=Bit 0 for Red, Green and Blue data. Note 2: 2-time transfer is used to transmit 1 pixel data with the 18-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

8.8.28 Write 9-bit data for RGB 6-6-6-bit input (262K-Color), 3Ah="06h", MDT[1:0]="01b"

Note 1: The data order is as follows, MSB=D16, LSB=D11 and picture data is MSB=Bit 5, LSB=Bit 0 for Red, Green and Blue data. Note 2: 3-time transfer is used to transmit 1 pixel data with the 18-bit color depth information. Note 3: '-' = Don't care – Can be set to '0' or '1'

Version 1.0 Page 92 of 317 2017/09

8.8.29 8080- series 18** Ⅰ **-Bit Parallel Interface

The 8080- seri Ⅰ es 18-bit parallel interface of ST7789VW can be used by setting IM[3:0]="0011b". Different display data formats are available for three colors depth supported by listed below.

  • 4k colors, RGB 4,4,4-bit input
  • 65k colors, RGB 5,6,5-bit input
  • 262k colors, RGB 6,6,6-bit input.

        • G1, Bit 3 - G1, Bit 2 - G1, Bit 1 - G1, Bit 0 - 8080-series control pins RESX CSX D/CX "1" WRX RDX "1" D15 D14 D13 D12 D11 D10 D9 D8 Pixel n Pixel n+1 12 bits 12 bits R1 G1 B1 R2 G2 B2 R3 G3 B3 18 bits Frame memory R1, Bit 3 0 R1, Bit 2 0 R1, Bit 1 1 R1, Bit 0 0 1 1 0 0 D7 D6 D5 D4 D3 D2 D1 D0 - - - - B1, Bit 3 B1, Bit 2 B1, Bit 1 B1, Bit 0 G2, Bit 3 G2, Bit 2 G2, Bit 1 G2, Bit 0 R2, Bit 3 R2, Bit 2 R2, Bit 1 R2, Bit 0 - - - - B2, Bit 3 B2, Bit 2 B2, Bit 1 B2, Bit 0 G3, Bit 3 G3, Bit 2 G3, Bit 1 G3, Bit 0 R3, Bit 3 R3, Bit 2 R3, Bit 1 R3, Bit 0 - - - - B3, Bit 3 B3, Bit 2 B3, Bit 1 B3, Bit 0 G4, Bit 3 G4, Bit 2 G4, Bit 1 G4, Bit 0 R4, Bit 3 R4, Bit 2 R4, Bit 1 R4, Bit 0 - - - - B4, Bit 3 B4, Bit 2 B4, Bit 1 B4, Bit 0 Pixel n+2 Pixel n+3 Look-Up Table for 4096 Color data mapping (12 bits to 18 bits) - - D17 - - - - - - - D16 -

There is 1 pixel (3 sub-pixels) per byte

There is one pixel (3 sub-pixels) per byte

Note 1: The data order is as follows, MSB=D15, LSB=D0 and picture data is MSB=Bit 5, LSB=Bit 0 for Green, and MSB=Bit 4, LSB=Bit 0 for Red and Blue data.

Version 1.0 Page 95 of 317 2017/09

Note 2: 1-time transfer is used to transmit 1 pixel data with the 16-bit color depth information.

There is 1 pixel (3 sub-pixels) per byte

Note 1: The data order is as follows, MSB=D17, LSB=D0 and picture data is MSB=Bit 5, LSB=Bit 0 for Read, Green and Blue data. Note 2: 1-times transfer (D17o D0) is used to transmit 1 pixel data with the 18-bit color depth information.

8.8.33 8080- series 18** Ⅱ **-Bit Parallel Interface

The 8080- series 18 Ⅱ -bit parallel interface of ST7789VW can be used by setting IM[3:0]="1010b". Different display data formats are available for two colors depth supported by listed below.

  • 65k colors, RGB 5,6,5-bit input
  • 262k colors, RGB 6,6,6-bit input.

8.8.34 18-bit data bus for 16-bit/pixel (RGB-5-6-5-bit input), 65K-colors, 3Ah="05h"

There is one pixel (3 sub-pixels) per byte

Note 1: The data order is as follows, MSB=D15, LSB=D0 and picture data is MSB=Bit 5, LSB=Bit 0 for Green, and MSB=Bit 4, LSB=Bit 0 for Red and Blue data.

Note 2: 1-time transfer is used to transmit 1 pixel data with the 16-bit color depth information.

        • G1, Bit 3 - G1, Bit 2 - G1, Bit 1 - G1, Bit 0 0 8080-series control pins RESX CSX D/CX "1" WRX RDX "1" D15 D14 D13 D12 D11 D10 D9 D8 Pixel n Pixel n+1 18 bits 18 bits R1 G1 B1 R2 G2 B2 R3 G3 B3 Frame memory R1, Bit 3 0 R1, Bit 2 1 R1, Bit 1 0 R1, Bit 0 1 1 0 0 - D7 D6 D5 D4 D3 D2 D1 D0 B1, Bit 3 B1, Bit 2 B1, Bit 1 B1, Bit 0 G2, Bit 3 G2, Bit 2 G2, Bit 1 G2, Bit 0 R2, Bit 3 R2, Bit 2 R2, Bit 1 R2, Bit 0 B2, Bit 3 B2, Bit 2 B2, Bit 1 B2, Bit 0 G3, Bit 3 G3, Bit 2 G3, Bit 1 G3, Bit 0 R3, Bit 3 R3, Bit 2 R3, Bit 1 R3, Bit 0 B3, Bit 3 B3, Bit 2 B3, Bit 1 B3, Bit 0 G4, Bit 3 G4, Bit 2 G4, Bit 1 G4, Bit 0 R4, Bit 3 R4, Bit 2 R4, Bit 1 R4, Bit 0 B4, Bit 3 B4, Bit 2 B4, Bit 1 B4, Bit 0 Pixel n+2 Pixel n+3 - - D17 D16 R1, Bit 4 R2, Bit 4 R3, Bit 4 R4, Bit 4 G1, Bit 5 G1, Bit 4 G2, Bit 5 G2, Bit 4 G3, Bit 5 G3, Bit 4 G4, Bit 5 G4, Bit 4 B1, Bit 4 B2, Bit 4 B3, Bit 4 B4, Bit 4 R1, Bit 5 R2, Bit 5 R3, Bit 5 R4, Bit 5 B1, Bit 5 B2, Bit 5 B3, Bit 5 B4, Bit 5

There is 1 pixel (3 sub-pixels) per byte

Note 1: The data order is as follows, MSB=D17, LSB=D0 and picture data is MSB=Bit 5, LSB=Bit 0 for Read, Green and Blue data. Note 2: 1-times transfer (D17o D0) is used to transmit 1 pixel data with the 18-bit color depth information.

8.8.36 3-Line Serial Interface

Different display data formats are available for three colors depth supported by the LCM listed below.

4k colors, RGB 4-4-4-bit input

65k colors, RGB 5-6-5-bit input

262k colors, RGB 6-6-6-bit input

8.8.37 Write data for 12-bit/pixel (RGB-4-4-4 bit input), 4K-Colors, 3Ah="03h"

Note 1: Pixel data with the 12-bit color depth information Note 2: The most significant bits are: Rx3, Gx3 and Bx3 Note 3: The least significant bits are: Rx0, Gx0 and Bx0

8.8.38 Write data for 16-bit/pixel (RGB 5-6-5-bit input), 65K-Colors, 3Ah="05h"

Note 1: Pixel data with the 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

8.8.39 Write data for 18-bit/pixel (RGB-6-6-6-bit input), 262K-Colors, 3Ah="06h"

Note 1: Pixel data with the 18-bit color depth information Note 2: The most significant bits are: Rx5, Gx5 and Bx5 Note 3: The least significant bits are: Rx0, Gx0 and Bx0

8.8.40 4-Line Serial Interface

Different display data formats are available for three colors depth supported by the LCM listed below.

4k colors, RGB 4-4-4-bit input

65k colors, RGB 5-6-5-bit input

262k colors, RGB 6-6-6-bit input

8.8.41 Write data for 12-bit/pixel (RGB 4-4-4-bit input), 4K-Colors, 3Ah="03h"

Note 1. pixel data with the 12-bit color depth information Note 2. The most significant bits are: Rx3, Gx3 and Bx3 Note 3. The least significant bits are: Rx0, Gx0 and Bx0

Note 1. pixel data with the 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 1. pixel data with the 18-bit color depth information Note 2. The most significant bits are: Rx5, Gx5 and Bx5 Note 3. The least significant bits are: Rx0, Gx0 and Bx0

8.9 RGB Interface

8.9.1 RGB interface Selection

The color format selection of RGB Interface for ST7789VW is selected by setting the RIM and command 3Ah, DB[6:4].

RIM3Ah, DB[6:4]RGB Interface ModeData pins

8.9.2 RGB Color Format

ST7789VW supports two kinds of RGB interface, DE mode and HV mode, and 6bit/18bit data format. When DE mode is selected and the VSYNC, HSYNC, DOTCLK, DE, D[17:0] pins can be used; when HV mode is selected and the VSYNC, HSYNC, DOTCLK, D[17:0] pins can be used. When using RGB interface, only serial interface can be selected.

16-bit RGB interface Hardware suggestion, IM[3:0]=0101.

Write data for 16-bit/pixel (RGB 5-6-5-bit input), 65K-Colors

D17R1, Bit 4R2, Bit 4R3, Bit 4R4, Bit 4R5, Bit 4
D16R1, Bit 3R2, Bit 3R3, Bit 3R4, Bit 3R5, Bit 3
D15R1, Bit 2R2, Bit 2R3, Bit 2R4, Bit 2R5, Bit 2
D14R1, Bit 1R2, Bit 1R3, Bit 1R4, Bit 1R5, Bit 1
D13R1, Bit 0R2, Bit 0R3, Bit 0R4, Bit 0R5, Bit 0
D12-----
D11G1, Bit 5G2, Bit 5G3, Bit 5G4, Bit 5G5, Bit 5
D10G1, Bit 4G2, Bit 4G3, Bit 4G4, Bit 4G5, Bit 4
D9G1, Bit 3G2, Bit 3G3, Bit 3G4, Bit 3G5, Bit 3
D8G1, Bit 2G2, Bit 2G3, Bit 2G4, Bit 2G5, Bit 2
D7G1, Bit 1G2, Bit 1G3, Bit 1G4, Bit 1G5, Bit 1
D6G1, Bit 0G2, Bit 0G3, Bit 0G4, Bit 0G5, Bit 0
D5B1, Bit 4B2, Bit 4B3, Bit 4B4, Bit 4B5, Bit 4
D4B1, Bit 3B2, Bit 3B3, Bit 3B4, Bit 3B5, Bit 3
D3B1, Bit 2B2, Bit 2B3, Bit 2B4, Bit 2B5, Bit 2
D2B1, Bit 1B2, Bit 1B3, Bit 1B4, Bit 1B5, Bit 1
D1B1, Bit 0B2, Bit 0B3, Bit 0B4, Bit 0B5, Bit 0
D0-
Pixel n
16 bits-Pixel n+116 bits-
Pixel n+2
-
Pixel n+3
-
Pixel n+4
Frame memory
R1G1B1R2G2B2R3G3B3

18-bit RGB interface hardware suggestion, IM[3:0]=0101.

Write data for 18-bit/pixel (RGB 6-6-6-bit input), 262K-Colors

D17R1, Bit 5R2, Bit 5R3, Bit 5R4, Bit 5R5, Bit 5
D16R1, Bit 4R2, Bit 4R3, Bit 4R4, Bit 4R5, Bit 4
D15R1, Bit 3R2, Bit 3R3, Bit 3R4, Bit 3R5, Bit 3
D14R1, Bit 2R2, Bit 2R3, Bit 2R4, Bit 2R5, Bit 2
D13R1, Bit 1R2, Bit 1R3, Bit 1R4, Bit 1R5, Bit 1
D12R1, Bit 0R2, Bit 0R3, Bit 0R4, Bit 0R5, Bit 0
D11G1, Bit 5G2, Bit 5G3, Bit 5G4, Bit 5G5, Bit 5
D10G1, Bit 4G2, Bit 4G3, Bit 4G4, Bit 4G5, Bit 4
D9G1, Bit 3G2, Bit 3G3, Bit 3G4, Bit 3G5, Bit 3
D8G1, Bit 2G2, Bit 2G3, Bit 2G4, Bit 2G5, Bit 2
D7G1, Bit 1G2, Bit 1G3, Bit 1G4, Bit 1G5, Bit 1
D6G1, Bit 0G2, Bit 0G3, Bit 0G4, Bit 0G5, Bit 0
D5B1, Bit 5B2, Bit 5B3, Bit 5B4, Bit 5B5, Bit 5
D4B1, Bit 4B2, Bit 4B3, Bit 4B4, Bit 4B5, Bit 4
D3B1, Bit 3B2, Bit 3B3, Bit 3B4, Bit 3B5, Bit 3
D2B1, Bit 2B2, Bit 2B3, Bit 2B4, Bit 2B5, Bit 2
D1B1, Bit 1B2, Bit 1B3, Bit 1B4, Bit 1B5, Bit 1
D0B1, Bit 0
Pixel n
Frame memory
18 bitsB2, Bit 0
Pixel n+1
18 bitsB3, Bit 0
Pixel n+2
B4, Bit 0
Pixel n+3
B5, Bit 0
Pixel n+4
R1G1B1R2G2B2R3G3B3

6-bit RGB interface hardware suggestion, IM[3:0]=0101.

Write data for 6-bit/pixel (RGB 5-6-5-bit input), 65K-Colors

Write data for 6-bit/pixel (RGB 6-6-6-bit input), 262K-Colors

Sitronix Confidential The information contained herein is the exclusive property of Sitronix and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of Sitronix.

Figure 23 RGB Interface Data Format

Version 1.0 Page 112 of 317 2017/09

8.9.3 RGB Interface Definition

The display operation via the RGB interface is synchronized with the VSYNC, HSYNC, and DOTCLK signals. The data can be written only within the specified area with low power consumption by using window address function. The back porch and front porch are used to set the RGB interface timing.

Figure 24 DRAM Access Area by RGB Interface

Please refer to the following table for the setting limitation of RGB interface signals.

ParameterSymbolMin.Typ.Max.Unit
Horizontal Sync. Widthhpw210Clock
Horizontal Sync. Back Porchhbp410hpw+hbp=31Clock
Horizontal Sync. Front Porchhfp238-Clock
Vertical Sync. Widthvs24Line
Vertical Sync. Back Porchvbp24vs+vbp=127Line
Vertical Sync. Front Porchvfp28-Line

Typical value are related to the setting of dot clock is 7MHz and frame rate is 70Hz..

If the setting of hpw is 10 dot clocks and hbp is 10 dot clocks, the setting of HBP in command B1h is 20 dot clocks

In with ram mode, hpw+hbp+hfp≧22

Version 1.0 Page 113 of 317 2017/09

6bit RGB interface:

ParameterSymbolMin.Typ.Max.Unit
Horizontal Sync. Widthhpw630Clock
Horizontal Sync. Back Porchhbp1230hpw+hbp=93Clock
Horizontal Sync. Front Porchhfp660-Clock
Vertical Sync. Widthvs24Line
Vertical Sync. Back Porchvbp24vs+vbp=127Line
Vertical Sync. Front Porchvfp28-Line

Note:

Typical value are related to the setting of dot clock is 17MHz and frame rate is 60Hz, VDD=VDDI=2.8V..

In with ram mode, hpw+hbp+hfp≧66

In without ram mode, hpw+hbp≧60

8.9.4 RGB Interface Mode Selection

ST7789VW supports two kinds of RGB interface, DE mode and HV mode. Each mode also can select with ram and without ram. The table shown below uses command B1h to select RGB interface mode.

RCM[1:0]WORGB ModeData Path
0Ram
101DE modeShift register (without Ram)
0Ram
111HV modeShift register (without Ram)

8.9.5 RGB Interface Timing

The timing chart of RGB interface DE mode is shown as follows.

Note: The setting of front porch and back porch in host must match that in IC as this mode.

Sitronix Confidential The information contained herein is the exclusive property of Sitronix and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of Sitronix.

The timing chart of RGB interface HV mode is shown as follows.

Figure 26 Timing chart of RGB interface HV mod

The following are the functions not available in RGB Input Interface mode.

FunctionRGB InterfaceI80 System Interface

VSYNC, HSYNC, and DOTCLK signals must be supplied during a display operation period.

In RGB interface mode, the panel controlling signals are generated from DOTCLK, not the internal clock generated from the internal oscillator.

In 6-bit RGB interface mode, each of RGB dots are transferred in synchronization with DOTCLK signals. In other words, one pixel data needs to take three DOTCLKs to transfer.

In 6-bit RGB interface mode, the cycles of VSYNC, HSYNC, ENABLE, DOTCLK signals must be set correctly so that the data transfer is completed in units of pixels.

When switching between the internal operation mode and the external display interface operation mode, follow the sequences below in setting instruction.

In RGB interface mode, the front porch period continues until the next VSYNC input is detected after drawing one frame.

In RGB interface mode, a RAM address is set in the address counter every frame on the falling edge of VSYNC.

8.10 VSYNC Interface

8.10.1 18-bit RGB Interface

The ST7789VW incorporates VSYNC interface, which enables motion pictures to be displayed with only the conventional system interface and the frame synchronization signal (VSYNC). This interface requires minimal changes from the conventional system to display motion pictures.In this interface the internal display operation is synchronized with VSYNC. Data for display is written to RAM via the system interface with higher speed than for internal display operation. This method enables tearing-free display of motion pictures with the conventional interface.

Figure 28 Operation through VSYNC Interface

Sitronix Confidential The information contained herein is the exclusive property of Sitronix and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of Sitronix.

Display operation can be achieved by using the internal clock generated by the internal oscillator and the VSYNC input. Because all the data for display is written to RAM, only the data to be rewritten is transferred. This method reduces the amount of data transferred during motion picture display operation.

Figure 29 Timing Diagram of VSYNC Interface

VSYNC interface requires taking the minimum speed for RAM writing via the system interface and the frequency of the internal clock into consideration. RAM writing should be performed with higher speed than the result obtained from the calculation shown below. The internal memory writing address counter is reset by VSYNC. So, insure interval time between VSYNC falling and DRAM data writing.

Note:

  1. VSYNC period should always be constant. If not, some degradation of display such as flicker may occur in LCD system.

  2. Display data don't need to be written for every VSYNC period. For example, any system is working under 60Hz frame rate and 30-fps motion picture condition. So being written display data for every other frame would be enough.

Sitronix Confidential The information contained herein is the exclusive property of Sitronix and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of Sitronix.

8.10.2 VSYNC Interface Mode

Figure 30 Operation for Leading Mode of VSYNC Interface

Figure 31 Operation for Lagging Mode of VSYNC Interface

Sitronix Confidential The information contained herein is the exclusive property of Sitronix and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of Sitronix.

Notes:

  1. When RAM writing does not start immediately after the falling edge of VSYNC, the time between the falling edge of VSYNC and the RAM writing start timing must also be considered.

  2. The minimum DRAM write speed must be satisfied and the frequency variation must be taken into consideration.

  3. The display frame rate is determined by the VSYNC signal and the period of VSYNC must be longer than the scan period of an

entire display.

  1. When switching from the internal clock operation mode to the VSYNC interface mode or inversely, the switching starts from the next VSYNC cycle, i.e. after completing the display of the frame.

  2. The partial display, vertical scroll, and interlaced scan functions are not available in VSYNC interface mode and set the AM bit to "0" to transfer display data.

8.11 Display Data RAM

8.11.1 Configuration

The display module has an integrated 240x320x18-bit graphic type static RAM. This 1382400-bit memory allows storing on-chip a 240xRGBx320 image with an 18-bpp resolution (262K-color). There will be no abnormal visible effect on the display when there is a simultaneous Panel Read and Interface Read or Write to the same location of the Frame Memory.

Figure 32 Display data RAM organization

8.11.2 Memory to display address mapping

  • Data control command
  • Source output

8.12 Address Control

The address counter sets the addresses of the display data RAM for writing and reading.

Data is written pixel-wise into the RAM matrix of DRIVER. The data for one pixel or two pixels is collected (RGB 6-6-6-bit), according to the data formats. As soon as this pixel-data information is complete the "Write access" is activated on the RAM. The locations of RAM are addressed by the address pointers. The address ranges are X=0 to X=239 (Efh) and Y=0 to Y=319 (13Fh). Addresses outside these ranges are not allowed. Before writing to the RAM, a window must be defined that will be written. The window is programmable via the command registers XS, YS designating the start address and XE, YE designating the end address.

For example the whole display contents will be written, the window is defined by the following values: XS=0 (0h) YS=0 (0h) and XE=239 (Efh), YE=319 (13Fh).

In vertical addressing mode (MV=1), the Y-address increments after each byte, after the last Y-address (Y=YE), Y wraps around to YS and X increments to address the next column. In horizontal addressing mode (V=0), the X-address increments after each byte, after the last X-address (X=XE), X wraps around to XS and Y increments to address the next row. After the every last address (X=XE and Y=YE) the address pointers wrap around to address (X=XS and Y=YS).

For flexibility in handling a wide variety of display architectures, the commands "CASET, RASET and MADCTL", define flags MX and MY, which allows mirroring of the X-address and Y-address. All combinations of flags are allowed. Section 8.12 show the available combinations of writing to the display RAM. When MX, MY and MV will be changed the data bust be rewritten to the display RAM.

ConditionColumn CounterRow Counter
Return toReturn to
When RAMWR/RAMRD command is accepted"Start Column (XS)""Start Row (YS)"
Complete Pixel Read / Write actionIncrement by 1
Return to
No change
The Column counter value is larger than "End Column (XE)""Start Column (XS)"Increment by 1
The Column counter value is larger than "End Column (XE)"Return toReturn to
and the Row counter value is larger than "End Row (YE)""Start Column (XS)""Start Row (YS)"

Display DataMADCTRImage in the HostImage in the Driver
DirectionParameter(MPU)(DDRAM)
MVMXMY
Normal000
Y-Mirror001
X-Mirror010
X-Mirror
Y-Mirror
011
X-Y
Exchange
100
X-Y
Exchange
Y-Mirror
101
X-Y
Exchange
X-Mirror
110
X-Y
Exchange
X-Mirror
Y-Mirror
111

8.13 Normal Display On or Partial Mode On, Vertical Scroll Off

In this mode, contents of the frame memory within an area where column address is 00h to 83h and row address is 00h to

83h is displayed.

To display a dot on leftmost top corner, store the dot data at (column address, row address) = (0,0).

Example1) Normal Display On

Example2) Partial Display On: PSL[15:0] = 0004h, PEL[15:0] = 013Ch, MADCTR (ML)=0

Version 1.0 Page 127 of 317 2017/09

8.14 Vertical Scroll Mode

8.14.1 Rolling scroll

There is just one types of vertical scrolling, which are determined by the commands "Vertical Scrolling Definition" (33h) and "Vertical Scrolling Start Address" (37h).

Figure 34 Rolling Scroll Definition

When Vertical Scrolling Definition Parameters (TFA+VSA+BFA) =320. In this case, 'rolling' scrolling is applied as shown below. All the memory contents will be used.

Example1) Panel size=240 x 320, TFA =3, VSA=315, BFA=2, SSA=4, MADCTR ML=0: Rolling Scroll

Example2) Panel size=132 x 132, TFA =2, VSA=315, BFA=3, SSA=4, MADCTR ML=1: Rolling Scroll

(TFA and BFA are exchanged)

8.14.2 Vertical Scroll Example

There are 2 types of vertical scrolling, which are determined by the commands "Vertical Scrolling Definition" (33h) and "Vertical Scrolling Start Address" (37h).

Case 1: TFA + VSA + BFA<320

N/A. Do not set TFA + VSA + BFA<320. In that case, unexpected picture will be shown.

Case 2: TFA + VSA + BFA=320 (Rolling Scrolling)

Example1) When MADCTR parameter ML="0", TFA=0, VSA=320, BFA=0 and VSCSAD=40.

Example2) When MADCTR parameter ML="1", TFA=10, VSA=310, BFA=0 and VSCSAD=30.

8.15 Tearing Effect

The Tearing Effect output line supplies to the MPU 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 On command. The signal can be used by the MPU to synchronize Frame Memory Writing when displaying video images.

8.15.1 Tearing effect line modes

Mode 1, the Tearing Effect Output signal consists of V-Blanking Information only:

tvdh= The LCD display is not updated from the Frame Memory tvdl= The LCD display is updated from the Frame Memory (except Invisible Line – see above)

Mode 2, the Tearing Effect Output signal consists of V-Blanking and H-Blanking Information, there is one V-sync and 320 H-sync pulses per field.

thdh= The LCD display is not updated from the Frame Memory

thdl= The LCD display is updated from the Frame Memory (except Invisible Line – see above)

Note: During Sleep In Mode, the Tearing Output Pin is active Low.

Version 1.0 Page 132 of 317 2017/09

8.15.2 Tearign effect line timings

The Tearing Effect signal is described below:

SymbolParameterminmaxunitdescription

The signal's rise and fall times (tf, tr) are stipulated to be equal to or less than 15ns.

The Tearing Effect Output Line is fed back to the MPU and should be used as shown below to avoid Tearing Effect:

Data write to Frame Memory is now synchronized to the Panel Scan. It should be written during the vertical sync pulse of the Tearing Effect Output Line. This ensures that data is always written ahead of the panel scan and each Panel Frame refresh has a complete new image:

ST7789VW

The MPU to Frame Memory write begins just after Panel Read has commenced i.e. after one horizontal sync pulse of the Tearing Effect Output Line. This allows time for the image to download behind the Panel Read pointer and finishing download during the subsequent Frame before the Read Pointer "catches" the MPU to Frame memory write position.

8.16 Power ON/OFF Sequence

VDDI and VDD can be applied in any order.

VDD and VDDI can be power down in any order.

During power off, if LCD is in the Sleep Out mode, VDD 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 VDD can be powered down minimum 0msec after RESX has been released.

CSX can be applied at any timing or can be permanently grounded. RESX has priority over CSX.

Note 1: There will be no damage to the display module if the power sequences are not met.

Note 2: There will be no abnormal visible effects on the display panel during the Power On/Off Sequences.

Note 3: There will be no abnormal visible effects on the display between end of Power On Sequence and before receiving Sleep Out command. Also between receiving Sleep In command and Power Off Sequence.

Note 4: If RESX line is not held stable by host during Power On Sequence as defined in the sequence below, then it will be necessary to apply a Hardware Reset (RESX) after Host Power On Sequence is complete to ensure correct operation. Otherwise function is not guaranteed.

The power on/off sequence is illustrated below

Version 1.0 Page 136 of 317 2017/09

8.16.1 Uncontrolled Power Off

The uncontrolled power-off means a situation which removed a battery without the controlled power off sequence. It will neither damage the module or the host interface.

If uncontrolled power-off happened, the display will go blank and there will not any visible effect on the display (blank display) and remains blank until "Power On Sequence" powers it up.

8.17 Power Level Definition

8.17.1 Power Level

6 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.

  1. Partial Mode On, Idle Mode Off, Sleep Out.

In this mode part of the display is used with maximum 262,144 colors.

  1. Normal Mode On (full display), Idle Mode On, Sleep Out.

In this mode, the full display area is used but with 8 colors.

  1. Partial Mode On, Idle Mode On, Sleep Out.

In this mode, part of the display is used but with 8 colors.

  1. Sleep In Mode

In this mode, the DC: DC converter, internal oscillator and panel driver circuit are stopped. Only the MCU interface and memory works with VDDI power supply. Contents of the memory are safe.

Note: Transition between modes 1-5 is controllable by MCU commands. Mode 6 is entered only when both Power supplies are removed.

ST7789VW

8.18 Power Flow Chart

8.19 Gamma Correction

ST7789VW incorporate the gamma correction function to display 262,244 colors for the LCD panel. The gamma correction is performed with 3 groups of registers, which are gradient adjustment, contrast adjustment and fine- adjustment registers for positive and negative polarities, and RGB can be adjusted individually.

Figure 35 Gray scale Voltage Generation (Positive)

Version 1.0 Page 140 of 317 2017/09

Figure 36 Relationship between Source Output and VCOM

Percentage adjustment:

J0P[1:0], J1P[1:0], J0N[1:0], J1N[1:0] these register are used to adjust the voltage level of interpolation point. The following table is the detail description.

J0P[1:0]/J0N[1:0]:

00h01h02h03h
VP3/VN350%56%50%60%
VP5/VN550%44%50%42%
VP7/VN786%71%80%66%
VP8/VN871%57%63%49%
VP9/VN957%40%49%34%
VP10/VN1043%29%34%23%
VP11/VN1129%17%20%14%
VP12/VN1214%6%9%6%

J1P[1:0]/J1N[1:0]:

00h01h02h03h
VP51/VN5186%86%86%89%
VP52/VN5271%71%77%80%
VP53/VN5357%60%63%69%
VP54/VN5443%46%46%51%
VP55/VN5529%34%31%37%
VP56/VN5614%17%14%20%
VP58/VN5850%56%47%47%
VP60/VN6050%50%50%53%

Table 18 voltage level percentage adjustment description

Source voltage of positive gamma level

Gamma levelRelated RegisterFormula
VP0V0P[3:0](VAP-VBP)*(129R-V0P[3:0]R)/129R+VBP
VP1V1P[5:0](VAP-VBP)*(128R-V1P[5:0]R)/129R+VBP
VP2V2P[5:0](VAP-VBP)*(128R-V2P[5:0]R)/129R+VBP
VP3J0P[1:0](VP2-VP4)*J0P[1:0]+VP4
VP4V4P[4:0](VP2-VP20)*(57R-V4P[4:0])/60R+VP20
VP5J0P[1:0](VP4-VP6)*J0P[1:0]+VP6
VP6V6P[4:0](VP2-VP20)*(47R-V6P[4:0])/60R+VP20
VP7J0P[1:0](VP6-VP13)*J0P[1:0]+VP13
VP8J0P[1:0](VP6-VP13)*J0P[1:0]+VP13
VP9J0P[1:0](VP6-VP13)*J0P[1:0]+VP13
VP10J0P[1:0](VP6-VP13)*J0P[1:0]+VP13
VP11J0P[1:0](VP6-VP13)*J0P[1:0]+VP13
VP12J0P[1:0](VP6-VP13)*J0P[1:0]+VP13
VP13V13P[3:0](VP2-VP20)*(21R-V13P[3:0])/60R+VP20
VP14--(VP13-VP20)/(20-13)*(20-14)+VP20
VP15--(VP13-VP20)/(20-13)*(20-15)+VP20
VP16--(VP13-VP20)/(20-13)*(20-16)+VP20
VP17--(VP13-VP20)/(20-13)*(20-17)+VP20
VP18--(VP13-VP20)/(20-13)*(20-18)+VP20
VP19--(VP13-VP20)/(20-13)*(20-19)+VP20
VP20V20P[6:0](VAP-VBP)*(128R-V20P[6:0]R)/129R+VBP
VP21--(VP20-VP27)/(27-20)*(27-21)+VP27
VP22--(VP20-VP27)/(27-20)*(27-22)+VP27
VP23--(VP20-VP27)/(27-20)*(27-23)+VP27
VP24--(VP20-VP27)/(27-20)*(27-24)+VP27
VP25--(VP20-VP27)/(27-20)*(27-25)+VP27
VP26--(VP20-VP27)/(27-20)*(27-26)+VP27
VP27V27P[2:0](VP20-VP43)*(20R-V27P[2:0])/25R+VP43
VP28--(VP27-VP36)/(36-27)*(36-28)+VP36
VP29--(VP27-VP36)/(36-27)*(36-29)+VP36
VP30--(VP27-VP36)/(36-27)*(36-30)+VP36
VP31--(VP27-VP36)/(36-27)*(36-31)+VP36
VP32--(VP27-VP36)/(36-27)*(36-32)+VP36
VP33--(VP27-VP36)/(36-27)*(36-33)+VP36
VP34--(VP27-VP36)/(36-27)*(36-34)+VP36
VP35--(VP27-VP36)/(36-27)*(36-35)+VP36
VP36V36P[2:0](VP20-VP43)*(11R-V36P[2:0])/25R+VP43
VP37--(VP36-VP43)/(43-36)*(43-37)+VP43
VP38--(VP36-VP43)/(43-36)*(43-38)+VP43
VP39--(VP36-VP43)/(43-36)*(43-39)+VP43
VP40--(VP36-VP43)/(43-36)*(43-40)+VP43
VP41--(VP36-VP43)/(43-36)*(43-41)+VP43
VP42--(VP36-VP43)/(43-36)*(43-42)+VP43
VP43V43P[6:0](VAP-VBP)*(128R-V43P[6:0]R)/129R+VBP
VP44--(VP43-VP50)/(50-43)*(50-44)+VP50
VP45--(VP43-VP50)/(50-43)*(50-45)+VP50
VP46--(VP43-VP50)/(50-43)*(50-46)+VP50
VP47--(VP43-VP50)/(50-43)*(50-47)+VP50
VP48--(VP43-VP50)/(50-43)*(50-48)+VP50
VP49--(VP43-VP50)/(50-43)*(50-49)+VP50
VP50V50P[3:0](VP43-VP61)*(54R-V50P[3:0])/60R+VP61
VP51J1P[1:0](V5P0-VP57)*J1P[1:0]+VP57

VP52J1P[1:0](VP50-VP57)*J1P[1:0]+VP57
VP53J1P[1:0](VP50-VP57)*J1P[1:0]+VP57
VP54J1P[1:0](VP50-VP57)*J1P[1:0]+VP57
VP55J1P[1:0](VP50-VP57)*J1P[1:0]+VP57
VP56J1P[1:0](VP50-VP57)*J1P[1:0]+VP57
VP57V57P[4:0](VP43-VP61)*(44R-V57P[4:0])/60R+VP61
VP58J1P[1:0](VP57-VP59)*J1P[1:0]+VP59
VP59V59P[4:0](VP43-VP61)*(34R-V59P[4:0])/60R+VP61
VP60J1P[1:0](VP59-VP61)*J1P[1:0]+VP61
VP61V61P[5:0](VAP-VBP)*(64R-V61P[5:0]R)/129R+VBP
VP62V62P[5:0](VAP-VBP)*(64R-V62P[5:0]R)/129R+VBP
VP63V63P[3:0](VAP-VBP)*(23R-V63P[3:0]R)/129R+VBP

Source voltage of negative gamma level

Gamma levelRelated RegisterFormula
VN0V0N[3:0]VBN-(VBN-VAN)*(129R-V0N[3:0]R)/129R
VN1V1N[5:0]VBN-(VBN-VAN)*(128R-V1N[5:0]R)/129R
VN2V2N[5:0]VBN-(VBN-VAN)*(128R-V2N[5:0]R)/129R
VN3J0N[1:0](VN2-VN4)*J0N[1:0]+VN4
VN4V4N[4:0](VN2-VN20)*(57R-V4N[4:0])/60R+VN20
VN5J0N[1:0](VN4-VN6)*J0N[1:0]+VN6
VN6V6N[4:0](VN2-VN20)*(47R-V6N[4:0])/60R+VN20
VN7J0N[1:0](VN6-VN13)*J0N[1:0]+VN13
VN8J0N[1:0](VN6-VN13)*J0N[1:0]+VN13
VN9J0N[1:0](VN6-VN13)*J0N[1:0]+VN13
VN10J0N[1:0](VN6-VN13)*J0N[1:0]+VN13
VN11J0N[1:0](VN6-VN13)*J0N[1:0]+VN13
VN12J0N[1:0](VN6-VN13)*J0N[1:0]+VN13
VN13V13N[3:0](VN2-VN20)*(21R-V13N[3:0])/60R+VN20
VN14--(VN13-VN20)/(20-13)*(20-14)+VN20
VN15--(VN13-VN20)/(20-13)*(20-15)+VN20
VN16--(VN13-VN20)/(20-13)*(20-16)+VN20
VN17--(VN13-VN20)/(20-13)*(20-17)+VN20
VN18--(VN13-VN20)/(20-13)*(20-18)+VN20
VN19--(VN13-VN20)/(20-13)*(20-19)+VN20
VN20V20N[6:0]VBN-(VBN-VAN)*(128R-V20N[6:0]R)/129R
VN21--(VN20-VN27)/(27-20)*(27-21)+VN27
VN22--(VN20-VN27)/(27-20)*(27-22)+VN27
VN23--(VN20-VN27)/(27-20)*(27-23)+VN27
VN24--(VN20-VN27)/(27-20)*(27-24)+VN27
VN25--(VN20-VN27)/(27-20)*(27-25)+VN27
VN26--(VN20-VN27)/(27-20)*(27-26)+VN27
VN27V27N[2:0](VN20-VN43)*(20R-V27N[2:0])/25R+VN43
VN28--(VN27-VN36)/(36-27)*(36-28)+VN36
VN29--(VN27-VN36)/(36-27)*(36-29)+VN36
VN30--(VN27-VN36)/(36-27)*(36-30)+VN36
VN31--(VN27-VN36)/(36-27)*(36-31)+VN36
VN32--(VN27-VN36)/(36-27)*(36-32)+VN36
VN33--(VN27-VN36)/(36-27)*(36-33)+VN36
VN34--(VN27-VN36)/(36-27)*(36-34)+VN36
VN35--(VN27-VN36)/(36-27)*(36-35)+VN36
VN36V36N[2:0](VN20-VN43)*(11R-V36N[2:0])/25R+VN43
VN37--(VN36-VN43)/(43-36)*(43-37)+VN43

Version 1.0 Page 143 of 317 2017/09

VN38--(VN36-VN43)/(43-36)*(43-38)+VN43
VN39--(VN36-VN43)/(43-36)*(43-39)+VN43
VN40--(VN36-VN43)/(43-36)*(43-40)+VN43
VN41--(VN36-VN43)/(43-36)*(43-41)+VN43
VN42--(VN36-VN43)/(43-36)*(43-42)+VN43
VN43V43N[6:0]VBN-(VBN-VAN)*(128R-V43N[6:0]R)/129R
VN44--(VN43-VN50)/(50-43)*(50-44)+VN50
VN45--(VN43-VN50)/(50-43)*(50-45)+VN50
VN46--(VN43-VN50)/(50-43)*(50-46)+VN50
VN47--(VN43-VN50)/(50-43)*(50-47)+VN50
VN48--(VN43-VN50)/(50-43)*(50-48)+VN50
VN49--(VN43-VN50)/(50-43)*(50-49)+VN50
VN50V50N[3:0](VN43-VN61)*(54R-V50N[3:0])/60R+VN61
VN51J1N[1:0](V5N0-VN57)*J1N[1:0]+VN57
VN52J1N[1:0](VN50-VN57)*J1N[1:0]+VN57
VN53J1N[1:0](VN50-VN57)*J1N[1:0]+VN57
VN54J1N[1:0](VN50-VN57)*J1N[1:0]+VN57
VN55J1N[1:0](VN50-VN57)*J1N[1:0]+VN57
VN56J1N[1:0](VN50-VN57)*J1N[1:0]+VN57
VN57V57N[4:0](VN43-VN61)*(44R-V57N[4:0])/60R+VN61
VN58J1N[1:0](VN57-VN59)*J1N[1:0]+VN59
VN59V59N[4:0](VN43-VN61)*(34R-V59N[4:0])/60R+VN61
VN60J1N[1:0](VN59-VN61)*J1N[1:0]+VN61
VN61V61N[5:0]VBN-(VBN-VAN)*(64R-V61N[5:0]R)/129R
VN62V62N[5:0]VBN-(VBN-VAN)*(64R-V62N[5:0]R)/129R
VN63V63N[3:0]VBN-(VBN-VAN)*(23R-V63N[3:0]R)/129R

8.20 Gray voltage generator for digital gamma correction

ST7789VW digital gamma function can implement the RGB gamma correction independently. ST7789VW utilizes look-up table of digital gamma to change ram data, and then display the changed data from source driver. The following diagram shows the data flow of digital gamma.

Figure 37 Block diagram of digital gamma

There are 2 registers and each register has 64 bytes to set R, G, B gamma independently. When bit DGMEN be set to 1, R and B gamma will be mapped via look-up table of digital gamma to gray level voltage.

8.21 Display Dimming

8.21.1 General Description

A dimming function (how fast to change the brightness from old to new level and what are brightness levels during the change) is used when changing from one brightness level to another. This dimming function curve is the same in increment and decrement. The basic idea is described below.

Dimming function can be enable and disable. See "Write CTRL Display (53h)" (bit DD) for more information.

8.21.2 Dimming Requirement

Dimming function in the display module should be implemented so that 400-600ms is used for the transition between the original brightness value and the target brightness value. The transferring time steps between these two brightness values are equal making the transition linear.

The dimming function is working similarly in both upward and downward directions.

An upward example is illustrate below

Sitronix Confidential The information contained herein is the exclusive property of Sitronix and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of Sitronix.

8.21.3 Definition of brightness transition time

Shorter transition time than 500ms.

There is some stable time between transitions. Below drawing is for transition time: 400ms.

Longer transition time than 500ms There is no any stable time between transitions. Below drawing is for transition time: 600ms.

Sitronix Confidential The information contained herein is the exclusive property of Sitronix and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of Sitronix.

8.22 Content Adaptive Brightness Control (CABC)

8.22.1 Definition of CABC

A Content Adaptive Brightness Control function can be used to reduce the power consumption of the luminance source. Content adaptation means that content gray level scale can be increased while simultaneously lowering brightness of the backlight to achieve same perceived brightness. The adjusted gray level scale and thus the power consumption reduction

Definition of Modes and target power reduction ratio:

  • Off mode: Content Adaptive Brightness Control functionality is totally off.
  • UI [User interface] image mode: Optimized for UI image. It is kept image quality as much as possible. Target power consumption reduction ratio: 10% or less.
  • Still picture mode: Optimized for still picture. Some image quality degradation would be acceptable. Target power consumption reduction ratio: more than 30%.
  • Moving image mode: Optimized for moving image. It is focused on the biggest power reduction with image quality degradation. Target power consumption reduction ratio: more than 30%.

Note 1: Updating partial area of the image data should be supported by CABC functionality. Note 2: Processing power consumption of CABC should be minimized. Note 3: Customer need program OTP GAMMA when using CABC.

The transition time for dimming function is illustrated below.

Content Adaptive Brightness Control

Display brightness is changed, according to the image contents. The following graph mentions the case of displaying three different images.

  • Image A: -20% brightness reduction
  • Image B: -30% brightness reduction
  • Image C: -30% brightness reduction

Transition time from the previous image to the current displayed image is "transition time A".

Manual brightness setting and Dimming function

Combine Display brightness

Green line in the following graph is for the output brightness of display. It is combined with both display brightness, which are defined in the above graphs.

Maximum transition time is transition time A+B. Display brightness

Brightness level calculates with the following formula.


  • Case 1
  • Case 2
  • Case 3

Transition time from the current brightness to target brightness is A+B in the worst case.

8.22.2 Minimum brightness setting of CABC function

CABC function is automatically reduced backlight brightness based on image contents. In the case of the combination with the LABC or manual brightness setting, display brightness is too dark. It must affect to image quality degradation. CABC minimum brightness setting is to avoid too much brightness reduction. When CABC is active, CABC can not reduce the display brightness to less than CABC minimum brightness setting. If CABC algorithm works without any abnormal visual effect, image processing function can operate even when the brightness can not be changed.

This function does not affect to the other function, manual brightness setting. Manual brightness can be set the display brightness to less than CABC minimum brightness. Smooth transition and dimming function can be worked as normal.

When display brightness is turned off (BCTRL=0 of "9.1.39 Write CTRL Display (53h)"), CABC minimum brightness setting is ignored. "9.1.44 Read CABC minimum brightness (5Fh)" always read the setting value of "9.1.43 Write CABC minimum brightness (5Eh)".

WRCABC (55h)FunctionRDCABCMB (5Fh)Image

Brightness level calculates with the following formula.

Display Output Brightness = Manual brightness setting * CABC brightness ratio

Below drawing is for the explanation of the CABC minimum brightness setting.

Sitronix Confidential The information contained herein is the exclusive property of Sitronix and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of Sitronix.

CABC minimum brightness value = 51 (33h: 20% display brightness)

Sitronix Confidential The information contained herein is the exclusive property of Sitronix and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of Sitronix.

9 COMMAND

9.1 System Function Command Table 1

InstructionD/CX WRX RDXD17-8D7D6D5D4D3D2D1D0HexFunction
NOP01-00000000(00h)No operation
SWRESET01-00000001(01h)Software reset
01-00000100(04h)Read display ID
11---------Dummy read
RDDID11-ID17ID16ID15ID14ID13ID12ID11ID10ID1 read
11-ID27ID26ID25ID24ID23ID22ID21ID20ID2 read
11-ID37ID36ID35ID34ID33ID32ID31ID30ID3 read
01-00001001(09h)Read display
status
11---------Dummy read
RDDST11-BSTONMYMXMVMLRGBMHST24-
11-ST23IFPF2IFPF1IFPF0IDMONPTLON SLOUT NORON-
11-ST15ST14INVONST12ST11DISONTEONGCS2-
11-GCS1GCS0TEMST4ST3ST2ST1ST0-
01-00001010(0Ah)Read display
power
RDDPM11---------Dummy read
11-BSTONIDMONPTLON SLPOUT NORON DISON00
01-00001011(0Bh)Read display
RDD11---------Dummy read
MADCTL11-MYMXMVMLRGBMH00-
RDD01-00001100(0Ch)Read display
pixel
COLMOD11---------Dummy read
11-0D6D5D40D2D1D0-
RDDIM01-00001101(0Dh)Read display
image
11---------Dummy read
11-VSSON0INVON00GC2GC1GC0-
RDDSM01-00001110(0Eh)Read display
signal
11---------Dummy read

InstructionD/CX WRX RDXD17-8D7D6D5D4D3D2D1D0HexFunction
11-TEONTEM000000-
Read display
01-00001111(0Fh)self-diagnostic
RDDSDRresult
11---------Dummy read
11-D7D6000000-
SLPIN01-00010000(10h)Sleep in
SLPOUT01-00010001(11h)Sleep out
PTLON01-00010010(12h)Partial mode on
NORON01-00010011(13h)Partial off
(Normal)
INVOFF01-00100000(20h)Display inversion
off
INVON01-00100001(21h)Display inversion
on
GAMSET01-00100001(26h)Display inversion
11-0000GC3GC2GC1GC0on
DISPOFF01-00101000(28h)Display off
DISPON01-00101001(29h)Display on
01-00101010(2Ah)Column address
set
CASET11-XS15XS14XS13XS12XS11XS10XS9XS8X address start:
11XS7XS6XS5XS4XS3XS2XS1XS00
X ≦ ≦
XS
11XE15XE14XE13XE12XE11XE10XE9XE8X address start:
11XE7XE6XE5XE4XE3XE2XE1XE0S
X ≦ ≦
XE
01-00101011(2Bh)Row address set
11-YS15YS14YS13YS12YS11YS10YS9YS8Y address start:
RASET11YS7YS6YS5YS4YS3YS2YS1YS00
Y ≦ ≦
YS
11YE15YE14YE13YE12YE11YE10YE9YE8Y address start:
11YE7YE6YE5YE4YE3YE2YE1YE0S
Y ≦ ≦
YE
01-00101100(2Ch)Memory write
11D1[17:8]D1[7]D1[6]D1[5]D1[4]D1[3]D1[2]D1[1]D1[0]
RAMWR11Dx[17:8]Dx[7]Dx[6]Dx[5]Dx[4]Dx[3]Dx[2]Dx[1]Dx[0]Write data
11Dn[17:8]Dn[7]Dn[6]Dn[5]Dn[4]Dn[3]Dn[2]Dn[1]Dn[0]
RAMRD01-00101110(2Eh)Memory read

Version 1.0 Page 157 of 317 2017/09

InstructionD/CX WRX RDXD17-8D7D6D5D4D3D2D1D0HexFunction
11---------Dummy read
11D1[17:8]D1[7]D1[6]D1[5]D1[4]D1[3]D1[2]D1[1]D1[0]
11Dx[17:8]Dx[7]Dx[6]Dx[5]Dx[4]Dx[3]Dx[2]Dx[1]Dx[0]Read data
11Dn[17:8]Dn[7]Dn[6]Dn[5]Dn[4]Dn[3]Dn[2]Dn[1]Dn[0]
01-00110000(30h)Partial sart/end
address set
11-PSL15PSL14PSL13PSL12PSL11PSL10PSL9PSL8Partial start
PTLAR11-PSL7PSL6PSL5PSL4PSL3PSL2PSL1PSL0address: (0,
1,2, P)
11-PEL15PEL14PEL13PEL12PEL11PEL10PEL9PEL8Partial end
11-PEL7PEL6PEL5PEL4PEL3PEL2PEL1PEL0address (0, 1,2,
3, , P)
01-00110011(33h)Vertical scrolling
definition
11-TFA15TFA14TFA13TFA12TFA11TFA10TFA9TFA8
VSCRDEF11-TFA7TFA6TFA5TFA4TFA3TFA2TFA1TFA0
11-VSA15VSA14VSA13VSA12VSA11VSA10VSA9VSA8
11-VSA7VSA6VSA5VSA4VSA3VSA2VSA1VSA0
11-BFA15BFA14BFA13BFA12BFA11BFA10BFA9BFA8
11-BFA7BFA6BFA5BFA4BFA3BFA2BFA1BFA0Tearing effect
TEOFF01-00110100(34h)line off
Tearing effect
TEON01-00110101(35h)line on
11--------TEMMemory data
MADCTL01-00110110(36h)access control
11-MYMXMVMLRGB000-
Vertical scrolling
01-00110111(37h)start address
VSCRSADD11-VSP15VSP14VSP13VSP12VSP11VSP10VSP9VSP8
11-VSP7VSP6VSP5VSP4VSP3VSP2VSP1VSP0
IDMOFF01-00111000(38h)Idle mode off
IDMON01-00111001(39h)Idle mode on

InstructionD/CX WRX RDXD17-8D7D6D5D4D3D2D1D0HexFunction
COLMOD01-00111010(3Ah)Interface pixel
format
11-0D6D5D40D2D1D0Interface format
01-00111100(3Ch)Memory write
continue
RAMWRC11D1[17:8]D1[7]D1[6]D1[5]D1[4]D1[3]D1[2]D1[1]D1[0]
11Dx[17:8]Dx[7]Dx[6]Dx[5]Dx[4]Dx[3]Dx[2]Dx[1]Dx[0]Write data
11Dn[17:8]Dn[7]Dn[6]Dn[5]Dn[4]Dn[3]Dn[2]Dn[1]Dn[0]
01-00111110(3Eh)Memory read
continue
11---------Dummy Read
RAMRDC11D1[17:8]D1[7]D1[6]D1[5]D1[4]D1[3]D1[2]D1[1]D1[0]
11Dx[17:8]Dx[7]Dx[6]Dx[5]Dx[4]Dx[3]Dx[2]Dx[1]Dx[0]
11Dn[17:8]Dn[7]Dn[6]Dn[5]Dn[4]Dn[3]Dn[2]Dn[1]Dn[0]
01-01000100(44h)Set tear scanline
TESCAN11-N15N14N13N12N11N10N9N8
11-N7N6N5N4N3N2N1N0
01-01000101(45h)Get scanline
11---------Dummy Read
RDTESCAN11-------N9N8
11-N7N6N5N4N3N2N1N0
01-01010001(51h)Write display
WRDISBV11-DBV7DBV6DBV5DBV4DBV3DBV2DBV1DBV0brightness
01-01010010(52h)Read display
brightness value
RDDISBV11---------Dummy read
11-DBV7DBV6DBV5DBV4DBV3DBV2DBV1DBV0
WRCTRLD01-01010011(53h)Write CTRL
display
11-00BCTRL0DDBL00
RDCTRLD01-01010100(54h)Read CTRL
value dsiplay
11---------Dummy read
11-00BCTRL0DDBL00
InstructionD/CX WRX RDXD17-8D7D6D5D4D3D2D1D0HexFunction
WRCACE01-01010101(55h)Write content
adaptive
brightness
control and Color
enhancemnet
11-CECTRL0CE1CE000C1C0
RDCABC01-01010110(56h)Read content
adaptive
brightness
control
11---------Dummy read
11-0CECTRL0000C1C0
WRCABCMB01-01011110(5Eh)Write CABC
minimum
brightness
11-CMB7CMB6CMB5CMB4CMB3CMB2CMB1CMB0
RDCABCMB01-01011111(5Fh)Read CABC
minimum
brightness
11---------Dummy read
11-CMB7CMB6CMB5CMB4CMB3CMB2CMB1CMB0
RDABCSDR01-01101000(68h)Read Automatic
Brightness
Control
Self-Diagnostic
Result
11---------Dummy read
11-D7D6000000-
01-11011010(DAh)Read ID1
RDID111---------Dummy read
11-ID17ID16ID15ID14ID13ID12ID11ID10Read parameter
01-11011011(DBh)Read ID2
RDID211---------Dummy read
11-ID27ID26ID25ID24ID23ID22ID21ID20Read parameter
RDID301-11011100(DCh)Read ID3

Version 1.0 Page 160 of 317 2017/09

InstructionD/CX WRX RDXD17-8D7D6D5D4D3D2D1D0HexFunction
11---------Dummy read
11ID37ID36ID35ID34ID33ID32ID31ID30Read parameter

Table 19 System Function Command List

"-": Don't care

9.1.1 NOP (00h)

00HNOP (No Operation)
Inst / ParaD/CXWRXRDXD17-8D7D6D5
NOP01-000
ParameterNo Parameter-
DescriptionThis command is empty command.
Restriction
Register
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Normal Mode On, Idle Mode On, Sleep Out
Partial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Status
Sleep In
DefaultStatus
Power On Sequence
S/W Reset
H/W Reset
Flow Chart

9.1.2 SWRESET (01h): Software Reset

  • Inst / Para
  • SWRESET
  • Parameter
  • Description
  • Restriction
  • Default

9.1.3 RDDID (04h): Read Display ID

04HRDDID (Read Display ID)
Inst / ParaD/CXWRXRDXD17-8D7D6D5
RDDID01-000
st parameter
1
11----
nd parameter
2
11-ID17ID16ID15
rd parameter
3
11-ID27ID26ID25
th parameter
4
11-ID37ID36ID35
Description-This read byte returns 24-bit display identification information.
-The 1st parameter is dummy data
-The 2nd parameter (ID17 to ID10): LCD module's manufacturer ID.
-The 3rd parameter (ID26 to ID20): LCD module/driver version ID
-The 4th parameter (ID37 to UD30): LCD module/driver ID.
-Commands RDID1/2/3(Dah, DBh, DCh) read data correspond to the parameters 2,3,4 of the command 04h,
respectively.
"-" 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
DefaultStatus
Power On Sequence
S/W Reset
H/W Reset

9.1.4 RDDST (09h): Read Display Status

09HRDDST (Read Display Status)
Inst / ParaD/CXWRX
RDDST0
1st parameter11
2nd parameter11
3rd parameter11
4th parameter11
5th parameter11
DescriptionBit
BSTON
MY
MX
MV
Scan Address Order (ML)ML
RGB
MH
ST24
ST23
IFPF2
IFPF1
IFPF0
IDMON
Partial Mode On/OffPTLON
SLPOUTSleep In/Out'1' = Out, "0" = In
NORON'1' = Normal Display,
Display Normal Mode On/Off'0' = Partial Display
ST15Vertical Scrolling Status (Not Used)
ST14Horizontal Scroll Status (Not Used)'0'
INVONInversion Status'1' = On, "0" = Off
ST12All Pixels On (Not Used)'0'
ST11All Pixels Off (Not Used)'0'
DISONDisplay On/Off'1' = On, "0" = Off
TEONTearing effect line on/off'1' = On, "0" = Off
GCSEL2"000" = GC0
GCSEL1"001" = GC1
Gamma Curve Selection"010" = GC2
GCSEL0"011" = GC3
TEMTearing effect line mode'0' = mode1, '1' = mode2
ST4For Future Use'0'
ST3For Future Use'0'
ST2For Future Use'0'
ST1For Future Use'0'
ST0
"-" Don't care
For Future Use'0'
Restriction
Status
Normal Mode On, Idle Mode Off, Sleep Out
Normal Mode On, Idle Mode On, Sleep Out
RegisterPartial Mode On, Idle Mode Off, Sleep Out
availabilityPartial Mode On, Idle Mode On, Sleep Out
Sleep InYes
StatusDefault Value (ST31 to ST0)
ST[31-24]
DefaultPower On Sequence0000-0000
S/W Reset0xxx-xx00
H/W Reset0000-0000

RDDPM (Read Display Power Mode)
0AH
Inst / ParaD/CX
RDDPM0
st parameter
1
1
nd parameter
2
1
Bit
BSTON
IDMON
PTLON
DescriptionSLPOUT
NORON
DISON
Display on/off
D1
D0
"-" Don't care
Restriction
Register
availability

9.1.5 RDDPM (0Ah): Read Display Power Mode

0BHRDDMADCTL (Read Display MADCTL)
Inst / ParaD/CXWRX
RDDMADCTL0
st parameter
1
11
nd parameter
2
11
Bit
MY
MX
MV
ML
Description
RGB
MH
D1
D0
"-" Don't care
Restriction
Register
availability

9.1.6 RDDMADCTL (0Bh): Read Display MADCTL

StatusDefault Value (D7 to D0)
DefaultPower On Sequence0000-0000 (00h)
S/W ResetNo change
H/W Reset0000-0000 (00h)
Flow Chart
0CHRDDCOLMOD (Read Display Pixel Format)
Inst / ParaD/CX
RDDCOLMOD0
st parameter
1
1
nd parameter
2
1
D6
'101' = 16 bit/pixel
Description'110' = 18 bit/pixel
D4
"-" Don't care
Restriction
Register
availability
Default
H/W Reset
0000-0110 (18 bit/pixel)

9.1.7 RDDCOLMOD (0Ch): Read Display Pixel Format

0DHRDDIM (Read Display Image Mode)
Inst / ParaD/CX
RDDIM0
st parameter
1
1
nd parameter
2
1
Description
"-" Don't care
Restriction
Register
availability
Status
Normal Mode On, Idle Mode Off, Sleep Out
Normal Mode On, Idle Mode On, Sleep Out
Partial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Sleep In
DefaultStatus
Power On Sequence
S/W Reset

Version 1.0 Page 176 of 317 2017/09

0EHRDDSM (Read Display Signal Status)
Inst / ParaD/CX
RDDSM0
st parameter
1
1
nd parameter
2
1
This command indicates the current status of the display as described in the table below:
Description
Restriction
Status
Availability
Register
availability
Default

9.1.9 RDDSM (0Eh): Read Display Signal Mode

09HRDDSDR (Read Display Self-Diagnostic Result)
RDX
D17-8
D7
D6
D5
D4
D3
D2
D1
D0

1
-
0
0
0
0
1
1
1
1
1

-
-
-
-
-
-
-
-
-
-
1

-
D7
D6
0
0
0
0
0
0
-
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
Inst / ParaD/CXWRX
RDDSDR0
st parameter
1
1
nd parameter
2
1
DescriptionThis command indicates the current status of the display self-diagnostic result after sleep out command as described
below:
-D7: Register loading detection
-D6: Functionality detection
"-" Don't care
Restriction
Register
availability
DefaultStatus
Power On Sequence
S/W Reset
H/W Reset

9.1.10 RDDSDR (0Fh): Read Display Self-Diagnostic Result

9.1.11 SLPIN (10h): Sleep in

10HSLPIN (Sleep In)
Inst / ParaD/CXWRX
SLPIN0
parameter-This command causes the LCD module to enter the minimum power consumption mode.No Parameter
Description-In this mode the DC/DC converter is stopped, internal oscillator is stopped, and panel scanning is stopped.
"-" Don't care
-This command has no effect when module is already in sleep in mode. Sleep in mode can only be left by the sleep out
command (11h).
Restriction-It will be necessary to wait 5msec before sending any new commands to a display module following this command to
allow time for the supply voltages and clock circuits to stabilize.
-It will be necessary to wait 120msec after sending sleep out command (when in sleep in mode) before sending an sleep
in command.
Status
Register
availability
Status
Default

9.1.12 SLPOUT (11h): Sleep Out

11HSLPOUT (Sleep Out)
Inst / ParaD/CXWRXRDX
SLPOUT01
parameterNo Parameter
Description-This command turn off sleep mode.
Restriction-This command has no effect when module is already in sleep out mode. Sleep out mode can only be left by the sleep in
command (10h).
-It will be necessary to wait 5msec before sending any new commands to a display module following this command to
allow time for the supply voltages and clock circuits to stabilize.
-It will be necessary to wait 120msec after sending sleep out command (when in sleep in mode) before sending an sleep
in command.
-The display module runs the self-diagnostic functions after this command is received.
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
DefaultStatus
Power On Sequence
S/W Reset
H/W Reset

12HPTLON (Partial Display Mode On)
WRX
RDX
D17-8
D7
D6
D5
D4
D3
D2
D1
D0

1
-
0
0
0
1
0
0
1
0
No Parameter
"-" Don't care
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Inst / ParaD/CX
PTLON0
parameter-This command turns on Partial mode. The partial mode window is described by the Partial Area command (30h)
Description-To leave Partial mode, the Normal Display Mode On command (13h) should be written.
RestrictionThis command has no effect when partial mode is active.
Register
availability
Default
Flow ChartSee Partial Area (30h)

9.1.13 PTLON (12h): Partial Display Mode On

9.1.14 NORON (13h): Normal Display Mode On

20HINVOFF (Display Inversion Off)D0
HEX
0
(20h)
Inst / ParaD/CXWRXRDXD17-8D7D6D5D4D3D2
INVOFF01-001000
parameterNo Parameter
-This command is used to recover from display inversion mode.
"-" Don't care
(Example)
DescriptionMemory
Display
Top-Lef
t
(0,0)
RestrictionThis command has no effect when module is already in inversion off mode.
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
Sleep InDefault ValueYes
DefaultDisplay inversion off
Partial Mode On, Idle Mode On, Sleep Out
Status
Power On Sequence
S/W Reset
H/W Reset
Display inversion offDisplay inversion offYes

9.1.15 INVOFF (20h): Display Inversion Off

21HINVON (Display Inversion On)
Inst / ParaD/CXWRXRDXD17-8D7D6D5D4
INVON01-0010
parameterNo Parameter
-This command is used to recover from display inversion mode.
"-" Don't care
(Example)
Memory
Display
DescriptionTop-Left
(0,0)
RestrictionThis command has no effect when module is already in inversion on mode.Normal Mode On, Idle Mode Off, Sleep OutStatusAvailability
RegisterNormal Mode On, Idle Mode On, Sleep Out
availabilityPartial Mode On, Idle Mode Off, Sleep Out
Status
Sleep InPartial Mode On, Idle Mode On, Sleep Out
Yes
Default Value
DefaultPower On Sequence
S/W Reset
H/W Reset
Display inversion off
Display inversion off
Display inversion off

9.1.16 INVON (21h): Display Inversion On

9.1.17 GAMSET (26h): Gamma Set

26HGAMSET (Gamma Set)
Inst / ParaD/CXWRX
GAMSET0
parameter1
-This command is used to select the desired Gamma curve for the current display. A maximum of 4
curves can be selected. The curve is selected by setting the appropriate bit in the parameter as
described in the Table.
GC [7:0]
1.
Description
01h
02h
04h
08h
Note: All other values are undefined.
RestrictionValues of GC[7:0] not shown in table above are invalid and will not change the current selected
Gamma curve until valid value is received.
Status
Availability
Register availability
Status
DefaultPower On Sequence
S/W Reset

9.1.18 DISPOFF (28h): Display Off

28HDISPOFF (Display Off)
Inst / ParaD/CX
DISPOFF0
parameterNo 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.
- There will be no abnormal visible effect on the display.
- Exit from this command by Display On (29h)
(Example)
Memory
Display
Description
Restriction
Register
availability
DefaultStatus
Default Value
Power On Sequence
Display off
S/W Reset
Display off
H/W Reset
Display off

9.1.19 DISPON (29h): Display On

29HDISPON (Display On)
Inst / ParaD/CXWRX
DISPON0
parameterNo 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.
- This command does not change any other status.
Description(Example)
RestrictionThis command has no effect when module is already in display on mode.
Register
availability
DefaultStatus
Default Value
Power On Sequence
Display off
S/W Reset
Display off
H/W Reset
Display off

9.1.20 CASET (2Ah): Column Address Set

2AHCASET (Column Address Set)
Inst / Para
CASET0
st parameter
1
1
nd parameter
2
1
rd parameter
3
1
th parameter
4
1
2.
Description
-The value of XS [7:0] and XE [7:0] are referred when RAMWR command comes.
-Each value represents one column line in the Frame Memory.
XS[7:0]
XE[7:0]
RestrictionXS [15:0] always must be equal to or less than XE [15:0]
When XS [15:0] or XE [15:0] is greater than maximum address like below, data of out of range will
be ignored.
(Parameter range: 0 < XS [15:0] < XE [15:0] < 239 (00Efh)): MV="0")
(Parameter range: 0 < XS [15:0] < XE [15:0] < 319 (013Fh)): MV="1")
Register availability
DefaultStatus
Default Value
Power On Sequence
XS[15:0]=0x00
XS[15:0]=0x00
S/W Reset
H/W Reset
XS[15:0]=0x00

9.1.21 RASET (2Bh): Row Address Set

2BHRASET (Row Address Set)
Inst / Para
RASET0
st parameter
1
1
nd parameter
2
1
rd parameter
3
1
th parameter
4
1
3.
Description
-This command is used to defined area of frame memory where MCU can access.
-The value of YS [15:0] and YE [15:0] are referred when RAMWR command comes.
-Each value represents one page line in the Frame Memory.
YS[15:0]
YE[15:0]
RestrictionYS [15:0] always must be equal to or less than YE [15:0]
When YS [15:0] or YE [15:0] is greater than maximum address like below, data of out of range will
be ignored.
(Parameter range: 0 < YS [15:0] < YE [15:0] < 319 (013fh)): MV="0")
(Parameter range: 0 < YS [15:0] < YE [15:0] < 239 (00EFh)): MV="1")
Register availability
Status
DefaultH/W Reset
YS[15:0]=0000h
YE[15:0]=013Fh

9.1.22 RAMWR (2Ch): Memory Write

2CHRAMWR (Memory Write)
Inst / ParaD/CX
RAMWR0
st parameter
1
1
1
N parameter1
Description-This command is used to transfer data from MCU to frame memory.
-When this command is accepted, the column register and the page register are reset to the start column/start
page positions.
-The start column/start page positions are different in accordance with MADCTL setting.
-Sending any other command can stop frame write.
Restriction
Register availability
Default

9.1.23 RAMRD (2Eh): Memory Read

2EHRAMRD (Memory Read)
Inst / ParaD/CX
RAMRD0
st parameter
1
1
nd parameter
2
1
1
1



(N+1)th parameter1
Description-This command is used to transfer data from frame memory to MCU.
-When this command is accepted, the column register and the row register are reset to the Start Column/Start
Row positions.
-The Start Column/Start Row positions are different in accordance with MADCTL setting.
-Then D[17:0] is read back from the frame memory and the column register and the row register incremented
-Frame Read can be cancelled by sending any other command.
-The data color coding is fixed to 18-bit in reading function. Please see section 9.8 "Data color coding" for color
coding (18-bit cases), when there is used 8, 9, 16 and 18-bit data lines for image data.
Note1: The Command 3Ah should be set to 66h when reading pixel data from frame memory.
Restriction
Register availabilityStatus
Normal Mode On, Idle Mode Off, Sleep Out
Normal Mode On, Idle Mode On, Sleep Out
Partial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Sleep In
DefaultStatus
Default Value
Power On Sequence
Contents of memory is set randomly
S/W Reset
Contents of memory is not cleared
H/W Reset
Contents of memory is not cleared

9.1.24 PTLAR (30h): Partial Area

  • -If End Row > Start Row, when MADCTL ML='0'
    Start row
    Non-display area
    PSL [15:0]
    Description
    Partial display area
    PEL [15:0]
    Non-display area
    End row
    -If End Row < Start Row, when MADCTL ML='0'
    End row
    Partial display area
    PEL [15:0]
    Non-display
    area
    PSL [15:0]
    Start row
    Partial display area

Version 1.0 Page 206 of 317 2017/09

-If End Row = Start Row then the Partial Area will be one row deep.
Restriction
Register
availability
Status
Normal Mode On, Idle Mode Off, Sleep Out
Normal Mode On, Idle Mode On, Sleep Out
Partial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Sleep In
DefaultStatus
Power On Sequence
S/W Reset
H/W Reset
Flow Chart

9.1.25 VSCRDEF (33h): Vertical Scrolling Definition

33H(Vertical Scrolling Definition)
Inst / ParaD/CX
VSCRDEF0
st
1
1
parameter
nd
2
1
parameter
rd
3
1
parameter
th
4
1
parameter
th
5
1
parameter
th
6
1
parameter
-This command just defines the Vertical Scrolling Area of the display and not performs vertical scroll
-When MADCTL MV=0
Display).
Description
RestrictionThe condition is TFA+VSA+BFA = 320, otherwise Scrolling mode is undefined.

  • Register
    availability
  • Default

34HTEOFF (Tearing Effect Line OFF)
Inst / ParaD/CXWRX
TEOFF0
parameterNo Parameter
Description-This command is used to turn OFF (Active Low) the Tearing Effect output signal from the TE signal line.
RestrictionThis command has no effect when tearing effect output is already off
Register
availability
Status
Normal Mode On, Idle Mode Off, Sleep Out
Normal Mode On, Idle Mode On, Sleep Out
Partial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Sleep In
DefaultStatus
Power On Sequence
S/W Reset
H/W Reset

9.1.26 TEOFF (34h): Tearing Effect Line OFF

9.1.27 TEON (35h): Tearing Effect Line On

35HTEON (Tearing Effect Line On)
Inst / ParaD/CX
TEON0
parameter1
Description-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 ML.
-The Tearing Effect Line On has one parameter, which describes the mode of the Tearing Effect Output Line:
-When TEM ='0': The Tearing Effect output line consists of V-Blanking information
only
Tvdl
Tvdh
Vertical time scale
-When TEM ='1': The Tearing Effect output Line consists of both V-Blanking and H-Blanking information
Tvdl
Tvdh
Vertical time scale
Restriction
Register
availability
Default

36HMADCTL (Memory Data Access Control)
Inst / ParaD/CXWRX
MADCTL0
parameter1
-This command defines read/ write scanning direction of frame memory.
Bit
D7
D6
D5
D4
D3
"0" = Left to Right (When MADCTL D6="0").
"1" = Right to Left (When MADCTL D6="1").
D2
Display Data Latch Order
-Bit Assignment
Bit D7- Page Address Order
"1" = Bottom to Top (When MADCTL D7="1").
DescriptionBit D5- Page/Column Order
"0" = Normal Mode (When MADCTL D5="0").
"1" = Reverse Mode (When MADCTL D5="1")
Note: Bits D7 to D5, alse refer to section 8.12 Address Control
Bit D4- Line Address Order
"0" = LCD Refresh Top to Bottom (When MADCTL D4="0")
"1" = LCD Refresh Bottom to Top (When MADCTL D4="1")
Bit D3- RGB/BGR Order
"0" = LCD Refresh Left to Right (When MADCTL D2="0")
"1" = LCD Refresh Right to Left (When MADCTL D2="1")

9.1.28 MADCTL (36h): Memory Data Access Control

Version 1.0 Page 216 of 317 2017/09

availabilityAvailability
Yes
Yes
Yes
Yes
Yes
StatusDefault Value
DefaultPower On Sequence0000h
S/W ResetNo change
H/W ResetStatus
Normal Mode On, Idle Mode Off, Sleep Out
Normal Mode On, Idle Mode On, Sleep Out
Partial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Sleep In
0000h
Legend
Command
MADCTL
Parameter
Display
Action
1st parameter
B[7:0]
Mode
Sequential
transter
Flow Chart
37HVSCSAD (Vertical Scroll Start Address of RAM)
Inst / ParaD/CX WRX RDX D17-8D7D6D5D4
VSCSAD01-0011
ST parameter
1
11-VSP15VSP14VSP13VSP12
ND parameter
2
1
-This command is used together with Vertical Scrolling Definition (33h).
-These two commands describe the scrolling area and the scrolling mode.

will be written as the first line after the last line of the Top Fixed Area on the display as illustrated below:
When ML=0
Example:
When Top Fixed Area = Bottom Fixed Area = 00, vertical Scrolling Area = 320 and VSP = '3'
1-VSP7VSP6VSP5VSP4
-The Vertical Scrolling Start Address command has one parameter which describes which line in the Frame Memory
DescriptionExample:
When Top Fixed Area = Bottom Fixed Area = 00, vertical Scrolling Area = 320 and VSP = '3'
When ML=1
NOTE: When new Pointer position and Picture Data are sent, the result on the display will happen at the next Panel
Scan to avoid tearing effect.VSP refers to the Frame Memory line PointerSince the value of the vertical scrolling start address is absolute (with reference to the frame memory), it must not
Restrictionthe panel)enter the fixed area (defined by Vertical Scrolling Definition (33h)- otherwise undesirable image will be displayed on
Register

9.1.29 VSCSAD (37h): Vertical Scroll Start Address of RAM

Version 1.0 Page 218 of 317 2017/09

availabilityStatusAvailability
Normal Mode On, Idle Mode Off, Sleep OutYes
Normal Mode On, Idle Mode On, Sleep OutYes
Partial Mode On, Idle Mode Off, Sleep OutYes
Partial Mode On, Idle Mode On, Sleep OutYes
Sleep InYes
StatusDefault Value
DefaultPower On Sequence0000h
S/W Reset0000h
H/W Reset0000h
Flow ChartSee Vertical Scrolling Definition (33h) description

9.1.30 IDMOFF (38h): Idle Mode Off

38HIDMOFF (Idle Mode Off)
Inst / ParaD/CX
IDMOFF0
parameter
-This command is used to recover from Idle mode on.
Description-In the idle off mode,
1. LCD can display 4096, 65k or 262k colors.
2. Normal frame frequency is applied.
Restriction
Register
availability
Default

9.1.31 IDMON (39h): Idle mode on

39HIDMON (Idle Mode On)
Inst / ParaD/CX
IDMON0
parameterNo Parameter
Description
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

3AHCOLMOD (Interface Pixel Format)
Inst / ParaD/CX WRX RDX D17-8D7D6D5
COLMOD01-001
st Parameter
1
1
1

st parameter:
Bit
1
D7
D6
D5
-0
MCU interface. The formats are shown in the table:
D6
Description
-
D5
RGB interface color format
DescriptionNote1: 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 memory, but 3Ah should be
re-set to 66h when reading pixel data from frame memory.
D4
D3
D2
D1
D0
-Control interface color format
RestrictionStatusNormal Mode On, Idle Mode Off, Sleep Out
RegisterNormal Mode On, Idle Mode On, Sleep Out
availabilityStatusSleep InPartial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Default Value
DefaultS/W Reset
H/W Reset
Power On Sequence18bit/pixel
No change
18bit/pixel
Flow Chart

9.1.32 COLMOD (3Ah): Interface Pixel Format

9.1.33 WRMEMC (3Ch): Write Memory Continue

3CHWRMEMC (Write Memory Continue)
Inst / Para
WRMEMC0
ST parameter
1
1
1
th parameter
N
1
-If MV=0:
Data is written continuing from the pixel location after the write range of the previous memory write or write memory
Description
continue. The page register is then incremented and pixels are written to the frame memory until the page register
equals the end page (YE) value. The page register is then reset to YS and the column register is incremented. Pixels
are written to the frame memory until the column register equals the end column (XE) value and the page register
(XE-XS+1)*(YE-YS+1) the extra pixels are ignored.
Restriction
Register
availability

9.1.34 RDMEMC (3Eh): Read Memory Continue

3EHRDMEMC (Read Memory Continue)
Inst / Para
RDMEMC0
ST parameter
1
1
nd parameter
2
1
1
th parameter
N
1
Description
Restriction
Register
availability
Default

44HSTE (Set Tear ScanLine )
Inst / ParaD/CXWRX
STE0
st parameter
1
1
nd parameter
2
1
-This command turns on the display module's Tearing Effect output signal on the TE signal line when the display
Descriptionmodule reaches line N. The TE signal is not affected by changing MV.
-The tearing effect line on has one parameter that describes the tearing effect output line mode.
-The tearing effect output line consist of V-blanking information only.
Vertical time scale
This command takes affect on the frame following the current frame. Therefore, if the tear effect (TE) output is already
on, the TE output shall continue to operate as programmed by the previous tearing effect line on or set tear scanline
Tvdl
Tvdh
Note that set tear scanline with N=0 is equivalent to tearing effect line on with TEM=0.
The tearing effect output line shall be active low when the display module is in sleep mode
Restrictioncommand until the end of the frameStatus
Register
availability
Status
Default
S/W Reset
H/W Reset

9.1.35 STE (44h): Set Tear Scanline

9.1.36 GSCAN (45h): Get Scanline

45HGSCAN (Get ScanLine )
Inst / ParaD/CXWRX
GSCAN0
st parameter
1
11
nd parameter
2
11
rd parameter
3
11
Descriptionis denoted as Line 0.
Restriction-
Register
availability
DefaultStatus
H/W Reset

51HWRDISBV (Write Display Brightness)
Inst / ParaD/CXWRXRDXD17-8D7D6D5
WRDISBV01-010
Parameter11-DBV7DBV6DBV5
Description-This command is used to adjust the brightness value of the display.
relationship is defined on the display module specification.
Restriction
Register
availability
Status
Normal Mode On, Idle Mode Off, Sleep Out
Normal Mode On, Idle Mode On, Sleep Out
Partial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Sleep In
DefaultStatus
S/W Reset
H/W Reset
Power On SequenceDefault Value
0000h
0000h
0000h

9.1.37 WRDISBV (51h): Write Display Brightness

52HRDDISBV (Read Display Brightness Value )
Inst / ParaD/CXWRXRDXD17-8D7D6D5
RDDISBV01-010
st parameter
1
11----
nd parameter
2
11-DBV7DBV6DBV5
Description
Restriction-
Register
availability
-This command returns the brightness value of the display.
-It should be checked what the relationship between this returned value and output brightness of the display. This
relationship is defined on the display module specification is.
-In principle the relationship is that 00h value means the lowest brightness and FFh value means the highest brightness.
-DBV[7:0] is reset when display is in sleep in mode.
-DBV[7:0] is '0' when bit BCTRL of write CTRL display command (53h) is '0'
-DBV[7:0] IS manual set brightness specified with write CTRL display command (53h) when bit BCTRL is '1'
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 Value
Power On Sequence
0000h
S/W Reset
0000h
H/W Reset
Default0000h

9.1.38 RDDISBV (52h): Read Display Brightness Value

53HWRCTRLD (Write CTRL Display )
Inst / ParaD/CX
WRCTRLD0
Parameter1
-BCTRL: Brightness Control Block On/Off, This bit is always used to switch brightness for display.
DD = 0: Display Dimming is off.
DescriptionDD = 1: Display Dimming is on.
-BL: Backlight Control On/Off
0 = Off (Completely turn off backlight circuit. Control lines must be low.)
1 = On
selected.
Restriction
Register
availability
Default

9.1.39 WRCTRLD (53h): Write CTRL Display

54HRDCTRLD (Read CTRL value Display )
Inst / ParaD/CX
RDCTRLD0
st parameter
1
1
nd parameter
2
1
Description0 = Off
1 = On
DD = 0
DD = 1
0 = Off
1 = On
Restriction-
Register
availability
Default

9.1.40 RDCTRLD (54h): Read CTRL Value Display

55HWRCACE (Write Content Adaptive Brightness Control and Color Enhancement)
Inst / ParaD/CX
WRCACE0
Parameter1
-This command is used to set parameters for image content based adaptive brightness control functionality and Color
Enhancement function.
-There is possible to used 4 different modes for content adaptive image functionality, which are defined on a table
below.
Description
'-': Don't care
Restriction
Register
availability
Default

56HRDCABC (Read Content Adaptive Brightness Control )
Inst / ParaD/CXWRXRDXD17-8D7D6D5
RDCABC01-010
st parameter
1
11----
nd parameter
2
1
-This command is used to read the settings for image content based adaptive brightness control functionality.
-There is possible to used 4 different modes for content adaptive image functionality, which are defined on a table
below.
1-000
Description'-': Don't careC1
0
0
0
1
1
C0
1
1
User Interface Mode
0
Function
Off
Still Picture
Moving Image
Restriction-Status
Normal Mode On, Idle Mode Off, Sleep Out
RegisterNormal Mode On, Idle Mode On, Sleep Out
availabilityStatusPartial Mode On, Idle Mode Off, Sleep OutSleep InPartial Mode On, Idle Mode On, Sleep Out
Yes
Default Value
DefaultS/W Reset
H/W Reset
Power On Sequence0000h
0000h
0000h

5EHWRCABCMB (Write CABC Minimum Brightness )
Inst / ParaD/CXWRXRDXD17-8D7D6D5D4D3
WRCABCMB01-01011
Parameter1
-This command is used to set the minimum brightness value of the display for CABC function.
1-CMB7CMB6CMB5CMB4CMB3
Descriptionfor CABC.
'-': Don't care
RestrictionNormal Mode On, Idle Mode Off, Sleep OutStatusYes
RegisterNormal Mode On, Idle Mode On, Sleep OutYes
availabilityStatusPartial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Sleep InDefault ValueYesYes
Yes
DefaultS/W Reset
H/W Reset
Power On Sequence0000h
0000h
0000h

9.1.43 WRCABCMB (5Eh): Write CABC Minimum Brightness

  • 5FH
  • Inst / Para
  • RDCABCMB
  • st parameter
    1
  • nd parameter
    2
  • Description
  • Restriction
  • Register
    availability
  • Default
  • Flow Chart

Version 1.0 Page 247 of 317 2017/09

68HRDABCSDR (Read Automatic Brightness Control Self-Diagnostic Result)
Inst / ParaD/CXWRXRDXD17-8D7D6D5D4
RDABCSDR01-0110
st parameter
1
11-----
nd parameter
2
11-D7D600
DescriptionThis command indicates the current status of the display self-diagnostic results for automatic brightness control after
sleep out -command as described below:
-D7: Register loading detection
-D6: Functionality detection
"-" 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
DefaultStatus
S/W Reset
H/W Reset
Power On SequenceDefault Value
00h
00h
00h

9.1.45 RDABCSDR (68h): Read Automatic Brightness Control Self-Diagnostic Result

9.1.46 RDID1 (DAh): Read ID1

DAHRDID1 (Read ID1)
Inst / ParaD/CX
RDID10
st parameter
1
1
nd parameter
2
1
Description
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
Flow Chart

9.1.47 RDID2 (DBh): Read ID2

DBHRDID2 (Read ID2)
Inst / ParaD/CX
RDID20
st parameter
1
1
nd parameter
2
1
Description'-': Don't care.
Restriction-
Register
availability
Default
Flow Chart

9.1.48 RDID3 (DCh): Read ID3

DCHRDID3 (Read ID3)
Inst / ParaD/CX
RDID30
st parameter
1
1
nd parameter
2
1
DescriptionThis read byte identifies the LCD module/driver.
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
Flow Chart

9.2 System Function Command Table 2

InstructionD/CX WRX RDX D17-8D7D6D5D4D3D2D1D0HexFunction
01-10110000(B0h)
RAMCTRL11-000RM00DM1DM0RAM
11-11EPF1EPF0ENDIANRIMMDT1MDT0Control
01-10110001(B1h)
RGBCTRL11-WORCM1RCM00VSPLHSPLDPLEPLRGB
11-0VBP6VBP5VBP4VBP3VBP2VBP1VBP0Control
11-000HBP4HBP3HBP2HBP1HBP0
01-10110010(B2h)
11-0BPA6BPA5BPA4BPA3BPA2BPA1BPA0
11-0FPA6FPA5FPA4FPA3FPA2FPA1FPA0Porch
PORCTRL11-0000000PSENcontrol
11BPB3BPB2BPB1BPB0FPB3FPB2FPB1FPB0
11BPC3BPC2BPC1BPC0FPC3FPC2FPC1FPC0
01-10110011(B3h)
FRCTRL111-000FRSEN00DIV1DIV0Frame
11-NLB2NLB1NLB0RTNB4RTNB3RTNB2RTNB1RTNB0Rate
Control 1
11-NLC2NLC1NLC0RTNC4RTNC3RTNC2RTNC1RTNC0
01-10110101(B5h)Partial
PARCTRL11-NDL00PTGISCISC3ISC2ISC1ISC0control
01-10110111(B7h)Gate
GCTRL11-0VGHS2VGHS1VGHS00VGLS2VGLS1VGLS0control
01-10111000(B8h)
11-00101010Gate on
GTADJ11-00101011timing
11-00GTA5GTA4GTA3GTA2GTA1GTA0adjustment
11-GOFR3GOFR2GOFR1GOFR0GOF3GOF2GOF1GOF0
01-10111010(BAh)Digital
DGMEN11-00000DGMEN00Gamma
Enable
01-10111011(BBh)VCOM
VCOMS11-00VCOMS5VCOMS4VCOMS3VCOMS2VCOMS1VCOMS0Setting
01-10111100(BCh)Power
POWSAVE11-111011NSISsaving
mode

Version 1.0 Page 253 of 317 2017/09

InstructionD/CX WRX RDX D17-8D7D6D5D4D3D2D1D0HexFunction
01-10111101(BDh) Display off
DLPOFFSAVE11-1111111DOFSAVEpower
save
01-11000000(C0h)LCM
LCMCTRL11-0XMYXBGRXINVXMXXMHXMVXGSControl
01-11000001(C1h)
11-ID17ID16ID15ID14ID13ID12ID11ID10
IDSET11-ID27ID26ID25ID24ID23ID22ID21ID20ID Setting
11-ID37ID36ID35ID34ID33ID32ID31ID30
01-11000010(C2h)VDV and
VDVVRHEN11-0000000CMDENVRH
11-11111111Command
Enable
VRHS0111000011(C3h)VRH Set
1100VRHS5VRHS4VRHS3VRHS2VRHS1VRHS0
VDVSET01-11000100(C4h)VDV
11-00VDVS5VDVS4VDVS3VDVS2VDVS1VDVS0Setting
VCMOFSET01-11000101(C5h)VCOM
11-00VCMOFS5VCMOFS4VCMOFS3VCMOFS2VCMOFS1VCMOFS0Offset Set
FRCTR20111000110(C6h) FR Control
11NLA2NLA1NLA0RTNA4RTNA3RTNA2RTNA1RTNA02
CABCCTRL01-11000111(C7h)CABC
11-0000LEDONREVDPOFPWMPWMFIXPWMPOLControl
01-11001000(C8h)Register
REGSEL1value
11-00001000selection1
01-11001010(CAh)Register
REGSEL211-00001111value
selection2
01-11001100(CCh)PWM
PWMFRSELFrequency
11-00CS2CS1CS0CLK2CLK1CLK0Selection
01-11010000(D0h)Power
PWCTRL111-10100100Control 1
11-AVDD1AVDD0AVCL1AVCL000VDS1VDS0

Version 1.0 Page 254 of 317 2017/09

InstructionD/CX WRX RDX D17-8D7D6D5D4D3D2D1D0HexFunction
01-11010010(D2h)Enable
VAPVANEN11-01001100VAP/VAN
signal
output
01-11011111(DFh)
11-01011010(5Ah)
CMD2EN11-01101001(69h)Command
2 Enable
11-00000010(02h)
11-0000000EN
01-11100000(E0h)
11-V63P3V63P2V63P1V63P0V0P3V0P2V0P1V0P0
11-00V1P5V1P4V1P3V1P2V1P1V1P0
11-00V2P5V2P4V2P3V2P2V2P1V2P0Positive
Voltage
Gamma
Control
11-000V4P4V4P3V4P2V4P1V4P0
11-000V6P4V6P3V6P2V6P1V6P0
11-00J0P1J0P0V13P3V13P2V13P1V13P0
PVGAMCTRL11-0V20P6V20P5V20P4V20P3V20P2V20P1V20P0
11-0V36P2V36P1V36P00V27P2V27P1V27P0
11-0V43P6V43P5V43P4V43P3V43P2V43P1V43P0
11-00J1P1J1P0V50P3V50P2V50P1V50P0
11-000V57P4V57P3V57P2V57P1V57P0
11-000V59P4V59P3V59P2V59P1V59P0
11-00V61P5V61P4V61P3V61P2V61P1V61P0
11-00V62P5V62P4V62P3V62P2V62P1V62P0
01-11100001(E1h)
11-V63N3V63N2V63N1V63N0V0N3V0N2V0N1V0N0Negative
11-00V1N5V1N4V1N3V1N2V1N1V1N0Voltage
NVGAMCTRL11-00V2N5V2N4V2N3V2N2V2N1V2N0Gamma
11-000V4N4V4N3V4N2V4N1V4N0Control
11-000V6N4V6N3V6N2V6N1V6N0
InstructionD/CX WRX RDX D17-8D7D6D5D4D3D2D1D0HexFunction
11-00J0N1J0N0V13N3V13N2V13N1V13N0
110V20N6V20N5V20N4V20N3V20N2V20N1V20N0
110V36N2V36N1V36N00V27N2V27N1V27N0
110V43N6V43N5V43N4V43N3V43N2V43N1V43N0
1100J1N1J1N0V50N3V50N2V50N1V50N0
11000V57N4V57N3V57N2V57N1V57N0
11000V59N4V59N3V59N2V59N1V59N0
1100V61N5V61N4V61N3V61N2V61N1V61N0
1100V62N5V62N4V62N3V62N2V62N1V62N0
DGMLUTR0
1
1
1
1
1
1
1
1








1
1
1
1
1
1
1
1
1
-
-
-
-
-
-
-
-
-
11
DGM_LUT_R00[7:0]
DGM_LUT_R01[7:0]


DGM_LUT_R62[7:0]
DGM_LUT_R63[7:0]
100
DGM_LUT_R30[7:0]
DGM_LUT_R31[7:0]
010(E2h)Gamma
Look-up
Table for
0
1
1
1



1
1
1
1
-
-
-
-
11100
DGM_LUT_B00[7:0]
DGM_LUT_B01[7:0]
011(E3h)Digital
Gamma
DGMLUTB1
1
1
1
1




1
1
1
1
1
-
-
-
-
-
DGM_LUT_B30[7:0]
DGM_LUT_B31[7:0]

DGM_LUT_B62[7:0]
DGM_LUT_B63[7:0]
Look-up
Table for
Blue
01-11100100(E4h)Gate
GATECTRL11-00NL5NL4NL3NL2NL1NL0control
InstructionD/CX WRX RDX D17-8D7D6D5D4D3D2D1D0HexFunction
11-00SCN5SCN4SCN3SCN2SCN1SCN0
11-000TMG0SM0GS
SPI2EN01-11100111(E7h)SPI2
11-000SPI2EN000SPIRDenable
01-11101000(E8h)Power
PWCTRL211-10SBCLK1SBCLK000STP14CK1 STP14CK0Control 2
01-11101001(E9h)
11-000SEQ4SEQ3SEQ2SEQ1SEQ0Equalize
EQCTRL11-000SPRET4SPRET3SPRET2SPRET1SPRET0Time
Control
11-0000GEQ3GEQ2GEQ1GEQ0
PROMCTRL01-11101100(ECh)Program
11-00000001Control
01-11111010(FAh)
11-01011010Program
PROMEN11-01101001Mode
11-11101110Enable
11-00000PROMEN00
01-11111100(FCh)
NVMSET11-ADD7ADD6ADD5ADD4ADD3ADD2ADD1ADD0NVM
Setting
11-D7D6D5D4D3D2D1D0
01-11111110(FEh)Program
Action
PROMACT11-00011001
11-10100101

9.2.1 RAMCTRL (B0h): RAM Control

B0HRAMCTR (RAM Control)
Inst / ParaD/CX
RAMCTRL0
st Parameter
1
1
nd Parameter
2
1
DescriptionDM[1:0]
00h
01h
10h
11h
ENDIAN :
0
1

Version 1.0 Page 259 of 317 2017/09

Normal Mode On, Idle Mode Off, Sleep OutYes
StatusNormal Mode On, Idle Mode On, Sleep Out
Partial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Sleep In
Default ValueYes
Yes
Yes
DefaultPower On Sequence
S/W Reset
H/W Reset
00h/F0h
00h/F0h
00h/F0h

9.2.2 RGBCTRL (B1h): RGB Interface Control

B1HRGBCTRL (RGB Interface Control)
Inst / ParaD/CX
RGBCTRL0
st parameter
1
1
nd parameter
2
1
rd parameter
3
1
WO
0
1
RCM[1:0]
00
01
10
11
DescriptionVSPL : Sets the signal polarity of the VSYNC pin.
VSPL="0", Low active
VSPL="1", High active
HSPL : Sets the signal polarity of the HSYNC pin.
HSPL="0", Low active
HSPL="1", High active
DPL : Sets the signal polarity of the DOTCLK pin.
DPL = "0" The data is input on the positive edge of DOTCLK
DPL = "1" The data is input on the negative edge of DOTCLK
EPL : Sets the signal polarity of the ENABLE pin.
EPL = "0" The data DB17-0 is written when ENABLE = "1". Disable data write operation when
ENABLE = "0".
EPL = "1" The data DB17-0 is written when ENABLE = "0". Disable data write operation when
ENABLE = "1".
VBP[6:0]: RGB interface Vsync back porch setting. Minimum setting is 0x02.
HBP[4:0]: RGB interface Hsync back porch setting. Please refer to the section 8.9.3 for

StatusAvailability
Normal Mode On, Idle Mode Off, Sleep OutYes
Normal Mode On, Idle Mode On, Sleep OutYes
Partial Mode On, Idle Mode Off, Sleep OutYes
Partial Mode On, Idle Mode On, Sleep OutYes
Sleep InYes
StatusDefault Value
DefaultPower On Sequence40h/02h/14h
S/W Reset40h/02h/14h
H/W Reset40h/02h/14h

9.2.3 PORCTRL (B2h): Porch Setting

B2HPORCTRL (Porch Setting)
Inst / ParaD/CX
PORCTRL0
st parameter
1
1
nd parameter
2
1
rd parameter
3
1
th parameter
4
1
th parameter
5
1
BPA[6:0]: Back porch setting in normal mode. The minimum setting is 0x01.
FPA[6:0]: Front porch setting in normal mode. The minimum setting is 0x01.
PSEN: Enable separate porch control.
PSEN
Description0
1
Enable separate porch control
BPB[3:0]: Back porch setting in idle mode. The minimum setting is 0x01.
FPB[3:0]: Front porch setting in idle mode. The minimum setting is 0x01.
BPC[3:0]: Back porch setting in partial mode. The minimum setting is 0x01.
FPC[3:0]: Front porch setting in partial mode. The minimum setting is 0x01.
Register
Availability
Default

9.2.4 FRCTRL1 (B3h): Frame Rate Control 1 (In partial mode/ idle colors)

Inst / Para
D/CX
WRX
RDX
D17-8
D7
D6
D5
D4
D3
D2
D1
D0
HEX
FRCTRL1
0

1
-
1
0
1
1
0
0
1
1
(B3h)
st parameter
1
1

1
-
0
0
0
FRSEN
0
0
DIV1
DIV0
nd parameter
2
1

1
-
NLB2
NLB1
NLB0
RTNB4
RTNB3
RTNB2
RTNB1
RTNB0
rd parameter
3
1

1
-
NLC2
NLC1
NLC0
RTNC4
RTNC3
RTNC2
RTNC1
RTNC0
FRSEN: Enable separate frame rate control.
When FRSEN=0, Frame rate of idle and partial mode are determined by C6h
When FRSEN=1, Frame rate of idle and partial mode are determined by B3h
FRSEN
Mode
0
Disable separate FR control
1
Enable separate FR control
DIV[1:0]: Frame rate divided control
DIV[1:0]
Mode
00
Divide by 1
01
Divide by 2
10
Divide by 4
11
Divide by 8
NLB[2:0]: Inversion selection in idle mode.
Description
0x00: dot inversion.
0x07: column inversion.
RTNB[4:0]: Frame rate control in idle mode.
RTNB[4:0]
FR in idle mode (Hz)
RTNB[4:0]
FR in idle mode (Hz)
00h
119
10h
58
01h
111
11h
57
02h
105
12h
55
03h
99
13h
53
04h
94
14h
52
05h
90
15h
50
06h
86
16h
49
07h
82
17h
48
08h
78
18h
46
09h
75
19h
45
B3HFRCTRL1 (Frame rate control 1)
0Ah721Ah44
0Bh691Bh43
0Ch671Ch42
0Dh641Dh41
0Eh621Eh40
Note:
1. If FRSEN=1, Frame rate in idle mode=10MHz/(320+(FPB[3:0]+BPB[3:0])4)(250+RTNB[4:0]*16).
2. FPB[6:0] and BPB[6:0] are in command B2h
3. In this frame rate table, FPB[3:0]=03h, BPB[3:0]=03h
0Fh
NLC[2:0]: Inversion setting in partial mode.
0x00: dot inversion.
0x07: column inversion.
Status60
Normal Mode On, Idle Mode Off, Sleep Out
1Fh
RTNC[4:0]: Frame rate control in partial mode. This setting is equal to RTNB.
39
Availability
Yes
RegisterNormal Mode On, Idle Mode On, Sleep OutYes
AvailabilityStatusSleep InPartial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Default Value
Yes
Yes
Yes
DefaultPower On Sequence
S/W Reset
H/W Reset
00h/0Fh/0Fh
00h/0Fh/0Fh
00h/0Fh/0Fh

9.2.5 PARCTRL (B5h): Partial Control

B5HPARCTRL (Partial Control)
Inst / ParaD/CX
PARCTRL0
Parameter1
DescriptionISC[3:0]
00h
01h
02h
03h
0Fh
Note:
Register
Availability
Default

9.2.6 GCTRL (B7h): Gate Control

B7HGCTRL (Gate Control)
Inst / ParaD/CX
GCTRL0
Parameter1
VGHS[2:0]: VGH Setting.
00h
01h
02h
03h
04h
05h
06h
07h
Description
00h
01h
02h
03h
04h
05h
06h
07h
Register
Availability
StatusDefault Value
DefaultPower On Sequence35h
S/W Reset35h
H/W Reset35h

Version 1.0 Page 269 of 317 2017/09

  • Register
    Availability
  • Default

BAHDGMEN (Digital Gamma Enable)
Inst / ParaD/CX
DGMEN0
Parameter1
DGMEN:
Description"0": disable digital gamma.
Register
Availability
Default

9.2.8 DGMEN (BAh): Digital Gamma Enable

9.2.9 VCOMS (BBh): VCOM Setting

BBHVCOMS (VCOM Setting)
Inst / ParaD/CXWRXRDX
VCOMS01
Parameter1
VCOMS[5:0]:
1
Description
1Dh0.8253Dh1.625
1Eh0.853Eh1.65
1Fh
Normal Mode On, Idle Mode Off, Sleep Out
Normal Mode On, Idle Mode On, Sleep Out
0.875
Status
3Fh1.675
Availability
Yes
Yes
Register
Availability
StatusPartial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Sleep In
Default Value
Yes
Yes
Yes
DefaultS/W Reset
H/W Reset
Power On Sequence20h
20h
20h
BCHPOWSAVE (Power Saving Mode)
Inst / ParaD/CX
POWSAVE0
Parameter1
NS: Power save for normal mode.
DescriptionWhen NS=0, power consumption in normal mode will be saved.
IS: Power save for Idle mode.
Register
Availability
Default

9.2.10 POWSAVE(BCh): Power Saving Mode

BDHDLPOFFSAVE (Display off power save)
Inst / ParaD/CXWRXRDXD17-8D7D6D5
DLPOFFSAVE01-101
Parameter1
DOFSAVE: Power save for display off mode.
1-111
DescriptionStatus
Availability
Normal Mode On, Idle Mode On, Sleep OutNormal Mode On, Idle Mode Off, Sleep Out
Register
Availability
StatusPartial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Default Value
DefaultS/W Reset
H/W Reset
Power On SequenceFFh
FFh
FFh

9.2.11 DLPOFFSAVE (BDh): Display off power save

9.2.12 LCMCTRL (C0h): LCM Control

C0HLCMCTRL (LCM Control)
Inst / ParaD/CXWRX
LCMCTRL0
st parameter
1
1
XMY: XOR MY setting in command 36h.
XBGR: XOR RGB setting in command 36h.
XREV: XOR inverse setting in command 21h
DescriptionXMH: this bit can reverse source output order and only support for RGB interface without RAM
mode
XMV: XOR MV setting in command 36h
XMX: XOR MX setting in command 36h.
Normal Mode On, Idle Mode Off, Sleep Out
Register
Availability
Status
Default

9.2.13 IDSET (C1h): ID Code Setting

C1HIDSET (ID Code Setting)
Inst / ParaD/CXWRXRDXD17-8D7D6D5
IDSET01-110
Parameter 1st11-ID17ID16ID15
Parameter 2nd11-ID27ID26ID25
Parameter 3rd1
ID1[7:0]: ID1 Setting.
1-ID37ID36ID35
DescriptionID2[7:0]: ID2 Setting.
ID3[7:0]: ID3 Setting.
AvailabilityStatusStatus
Normal Mode On, Idle Mode Off, Sleep Out
Normal Mode On, Idle Mode On, Sleep Out
Partial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep InDefault Value
DefaultS/W ResetPower On Sequence85h/85h/52h
85h/85h/52h
RegisterH/W Reset85h/85h/52h
C2HVDVVRHEN (VDV and VRH Command Enable)
Inst / ParaD/CXWRXRDXD17-8D7D6D5D4D3
VDVVRHEN01-11000
st Parameter
1
11-00000
nd Parameter
2
11-11111
DescriptionCMDEN: VDV and VRH command write enable.
CMDEN="0": VDV and VRH register value comes from NVM.
CMDEN="1", VDV and VRH register value comes from command write.
Register
Availability
Status
Normal Mode On, Idle Mode Off, Sleep Out
Normal Mode On, Idle Mode On, Sleep Out
Partial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Sleep In
Availability
Yes
Yes
Yes
Yes
Yes
DefaultStatusS/W Reset
H/W Reset
Power On SequenceDefault Value
01h/FFh
01h/FFh
01h/FFh

9.2.14 VDVVRHEN (C2h): VDV and VRH Command Enable

9.2.15 VRHS (C3h): VRH Set

C3HVRHS (VRH Set)
Inst / ParaD/CX
VRHS0
st Parameter
1
1
Description
05h

ST7789VW
06h-3.85+( vcom+vcom offset-vdv)1Bh-4.9+( vcom+vcom offset-vdv)
07h-3.9+( vcom+vcom offset-vdv)1Ch-4.95+( vcom+vcom offset-vdv)
08h-3.95+( vcom+vcom offset-vdv)1Dh-5+( vcom+vcom offset-vdv)
09h-4+( vcom+vcom offset-vdv)1Eh-5.05+( vcom+vcom offset-vdv)
0Ah-4.05+( vcom+vcom offset-vdv)1Fh-5.1+( vcom+vcom offset-vdv)
0Bh-4.1+( vcom+vcom offset-vdv)20h-5.15+( vcom+vcom offset-vdv)
0Ch-4.15+( vcom+vcom offset-vdv)21h-5.2+( vcom+vcom offset-vdv)
0Dh-4.2+( vcom+vcom offset-vdv)22h-5.25+( vcom+vcom offset-vdv)
0Eh-4.25+( vcom+vcom offset-vdv)23h-5.3+( vcom+vcom offset-vdv)
0Fh-4.3+( vcom+vcom offset-vdv)24h-5.35+( vcom+vcom offset-vdv)
10h-4.35+( vcom+vcom offset-vdv)25h-5.4+( vcom+vcom offset-vdv)
11h-4.4+( vcom+vcom offset-vdv)26h-5.45+( vcom+vcom offset-vdv)
12h-4.45+( vcom+vcom offset-vdv)27h-5.5+( vcom+vcom offset-vdv)
13h-4.5+( vcom+vcom offset-vdv)28h~3FhReserved
14h-4.55+( vcom+vcom offset-vdv)----
Register
Availability
StatusStatus
Normal Mode On, Idle Mode Off, Sleep Out
Normal Mode On, Idle Mode On, Sleep Out
Partial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Sleep In
Default ValueAvailability
Yes
Yes
Yes
Yes
Yes
DefaultS/W Reset
H/W Reset
Power On Sequence0Bh
0Bh
0Bh

9.2.16 VDVS (C4h): VDV Set

C4HVDVS (VDV Set)
Inst / ParaD/CX
VDVS0
st Parameter
1
1
Description

1Dh-0.0753Dh0.725
1Eh-0.053Eh0.75
1Fh
Normal Mode On, Idle Mode Off, Sleep Out
Normal Mode On, Idle Mode On, Sleep Out
-0.025
Status
3Fh0.775
Availability
Yes
Yes
Register
Availability
StatusPartial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Sleep In
Default Value
Yes
Yes
Yes
DefaultPower On Sequence20h
S/W Reset
H/W Reset
20h20h

9.2.17 VCMOFSET (C5h): VCOM Offset Set

C5HVCMOFSET (VCOM Offset Set)
Inst / ParaD/CX
VCMOFSET0
st Parameter
1
1
Description
1Dh-0.0753Dh0.725
1Eh-0.053Eh0.75
1Fh
Normal Mode On, Idle Mode Off, Sleep Out
Normal Mode On, Idle Mode On, Sleep Out
Status-0.0253Fh
Availability
0.775
Register
Availability
StatusSleep InPartial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Default Value
Yes
Yes
DefaultPower On Sequence
S/W Reset
H/W Reset
20h
20h
20h
  • C6H
  • Inst / Para
  • FRCTRL2
  • st Parameter
    1
  • Description
  • Register
  • Availability

Sleep InYes
StatusDefault Value
DefaultPower On Sequence0Fh
S/W Reset0Fh
H/W Reset0Fh

9.2.19 CABCCTRL (C7h): CABC Control

C7HCABCCTRL (CABC Control)
Inst / ParaD/CX
CABCCTRL0
st Parameter
1
1
LEDONREV: Reverse the status of LED_ON:
"0": keep the status of LED_ON.
"1": reverse the status of LED_ON.
DPOFPWM: initial state control of LEDPWM.
Description"1": The initial state of LEDPWM is high.
"1": fix LEDPWM in "ON" status.
PWMPOL: LEDPWM polarity control.
"0": polarity high.
Register
Availability
Default

9.2.20 REGSEL1 (C8h): Register Value Selection 1

C8HREGSEL1 (Register Value Selection 1)
Inst / ParaD/CX
REGSEL10
Parameter1
DescriptionReserved for testing
Register
Availability
Default

9.2.21 REGSEL2 (CAh): Register Value Selection 2

CAHREGSEL2 (Register Value Selection 2)
Inst / ParaD/CX
REGSEL20
Parameter1
DescriptionReserved for testing
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
DefaultStatus
Power On Sequence
S/W Reset
H/W Reset
CCHPWMFRSEL (PWM Frequency Selection)
Inst / ParaD/CX
PWMFRSEL0
st Parameter
1
1
CS[2:0]
CLK[2:0]
00h
01h
02h
Description03h
04h
05h
06h
07h
Register
AvailabilityPartial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Default

9.2.22 PWMFRSEL (CCh): PWM Frequency Selection

9.2.23 PWCTRL1 (D0h): Power Control 1

D0HPWCTRL (Power Control)
Inst / ParaD/CX
PWCTRL0
st Parameter
1
1
nd Parameter
2
1
00h
01h
02h
03h
Description
00h
01h
02h
03h
VDS[1:0]:
00h
01h
02h
03h
Register
Availability
StatusDefault Value
DefaultPower On SequenceA4h/A1h
S/W ResetA4h/A1h
H/W ResetA4h/A1h
D/CXWRXRDXD17-8D7D6D5D4D3D2D1D0HEX
01-11010010(D2h)
11
-
0
1
0
0
1
1
0
Enable VAP/VAN signal outputStatus
S/W Reset
H/W Reset
00h
00h
00h
Power On Sequence
Yes
Default Value
Status
Sleep In
Normal Mode On, Idle Mode Off, Sleep Out
Normal Mode On, Idle Mode On, Sleep Out
Partial Mode On, Idle Mode Off, Sleep Out
Partial Mode On, Idle Mode On, Sleep Out
Availability
Yes
Yes
Yes
Yes
VAPVANEN (Enable VAP/VAN signal output)0

9.2.24 VAPVANEN (D2h): Enable VAP/VAN signal output

9.2.25 CMD2EN (DFh): Command 2 Enable

DFHCMD2EN (Command 2 Enable)
Inst / ParaD/CX
CMD2EN0
st Parameter
1
1
nd Parameter
2
1
rd Parameter
3
1
th Parameter
4
1
EN:
Description"0": Commands in Command table 2 cannot be executed when EXTC level is "Low".
Register
Availability
Default

9.2.26 PVGAMCTRL (E0h): Positive Voltage Gamma Control

E0HPVGAMCTRL (Positive Voltage Gamma Control)
Inst / ParaD/CXWRXRDXD17-8D7D6D5
PVGAMCTRL01-111
st Parameter
1
11-V63P3V63P2V63P1
nd Parameter
2
11-00V1P5
rd Parameter
3
11-00V2P5
th Parameter
4
11-000
th Parameter
5
11-000
th Parameter
6
11-00J0P1
th Parameter
7
11-0V20P6V20P5
th Parameter
8
11-0V36P2V36P1
th Parameter
9
11-0V43P6V43P5
10th Parameter11-00J1P1
11th Parameter11-000
12th Parameter11-000
13th Parameter11-00V61P5
14th Parameter1
VP0[3:0]
VP1[5:0]
VP2[5:0]
VP4[4:0]
VP6[4:0]

Please refer to 8.19.
Default value:
1-0
Value(hex)
0
2C
2E
15
10
0V62P5
DescriptionVP62[5:0]VP13[3:0]
VP20[6:0]
VP27[2:0]
VP36[2:0]
VP43[6:0]
VP50[3:0]
VP57[4:0]
VP59[4:0]
VP61[5:0]
9
48
3
3
53
B
19
18
20
25
VP63[3:0]7
JP0[1:0]
JP1[1:0]
Register
Availability
DefaultStatus
Power On Sequence
S/W Reset
H/W Reset

9.2.27 NVGAMCTRL (E1h): Negative Voltage Gamma Control

E1HNVGAMCTRL (Negative Voltage Gamma Control)
Inst / ParaD/CXWRXRDXD17-8D7D6D5D4
NVGAMCTRL01-1110
st Parameter
1
11-V63N3V63N2V63N1V63N0
nd Parameter
2
11-00V1N5V1N4
rd Parameter
3
11-00V2N5V2N4
th Parameter
4
11-000V4N4
th Parameter
5
11-000V6N4
th Parameter
6
11-00J0N1J0N0
th Parameter
7
11-0V20N6V20N5V20N4
th Parameter
8
11-0V36N2V36N1V36N0
th Parameter
9
11-0V43N6V43N5V43N4
10th Parameter11-00J1N1J1N0
11th Parameter11-000V57N4
12th Parameter11-000V59N4
13th Parameter11-00V61N5V61N4
14th Parameter1
VN0[3:0]
VN1[5:0]
VN2[5:0]
VN4[4:0]
VN6[4:0]

Please refer to 8.19.
Default value:
1-0
Value(hex)
0
2C
2E
15
10
0V62N5V62N4
DescriptionVN13[3:0]
VN62[5:0]
VN20[6:0]
VN27[2:0]
VN36[2:0]
VN43[6:0]
VN50[3:0]
VN57[4:0]
VN59[4:0]
VN61[5:0]
9
48
3
3
53
B
19
18
20
25
VN63[3:0]7
JN0[1:0]0
JN1[1:0]0
Status
Register
Availability
Sleep In
DefaultStatus
Power On SequenceRefer to description
S/W Reset
H/W ResetRefer to description

9.2.28 DGMLUTR (E2h): Digital Gamma Look-up Table for Red

  • 32th Parameter
    1

    1
    -
    DGM_LUT_R31[7:0]
  • 1

    1
    -

  • 63th Parameter
    1

    1
    -
    DGM_LUT_R62[7:0]
  • 64th Parameter
    1

    1
    -
    DGM_LUT_R63[7:0]
  • Please refer to 8.20.
  • Default value:
  • Value(hex)
  • DGM_LUT_R00[7:0]
    00h
  • DGM_LUT_R01[7:0]
    04h
  • Description

  • DGM_LUT_R30[7:0]
    78h
  • DGM_LUT_R31[7:0]
    7Ch

  • DGM_LUT_R62[7:0]
    F8h
  • DGM_LUT_R63[7:0]
    FCh
  • Status
    Availability
  • Normal Mode On, Idle Mode Off, Sleep Out
    Yes
  • Normal Mode On, Idle Mode On, Sleep Out
    Yes
  • Register
    Partial Mode On, Idle Mode Off, Sleep Out
    Yes
    Availability
  • Partial Mode On, Idle Mode On, Sleep Out
    Yes
  • Sleep In
    Yes
  • Status
    Default Value
  • Default
    Power On Sequence
    Refer to description

Version 1.0 Page 299 of 317 2017/09

H/W ResetRefer to description

9.2.29 DGMLUTB (E3h): Digital Gamma Look-up Table for Blue

E3HDGMLUTB (Digital Gamma Look-up Table for Blue)
Inst / ParaD/CX
DGMLUTB0
st Parameter
1
1
nd Parameter
2
1
1
31th Parameter1
32th Parameter1
1
63th Parameter1
64th Parameter1
Description
Register
Availability
Default

H/W ResetRefer to description

9.2.30 GATECTRL (E4h): Gate Control

E4HGATECTRL (Gate Control)
Inst / ParaD/CX
GATECTRL0
st Parameter
1
1
nd Parameter
2
1
rd Parameter
3
1
NL[5:0]
0x00
0x01
0x02
0x27
0x00
Description0x01
0x27
TMG: Gate mirror selection
TMG="0", local mirror as the number of gate line setting is not 320.
TMG="1", full mirror as the number of gate line setting is 320.
SM: Gate interlace mode selection
GS: Gate scan direction
Register
Availability
StatusDefault Value
DefaultPower On Sequence27h/00h/10h
S/W Reset27h/00h/10h
H/W Reset27h/00h/10h

9.2.31 SPI2EN (E7h): SPI2 Enable

E7HSPI2EN (SPI2 Enable)
Inst / ParaD/CX
SPI2EN0
Parameter1
SPI2EN: 2 data lane enable control.
"0": disable 2 data lane mode.
"1": enable 2 data lane mode
SPIRD: SPI read enable for command table 2
Description"0": commands in command table 2 can not be read in serial interface
"1": commands in command table 2 can be read in serial interface.
Note:
Register
Availability
Default

9.2.32 PWCTRL2 (E8h): Power Control 2

E8HPWCTRL2 (Power Control 2)
Inst / ParaD/CX
PWCTRL20
Parameter1
00h
01h
02h
03h
Description
00h
01h
02h
03h
Register
Availability
Default

9.2.33 EQCTRL (E9h): Equalize time control

E9HEQCTRL (Equalize time Control)
Inst / ParaD/CX
EQCTRL0
st Parameter
1
1
nd Parameter
2
1
rd Parameter
3
1
Source equalize time: SEQ[4:0]*400ns, SEQ[4:0]=0x01~0x1f
Description
Source equalize time: SPRET[4:0]43*1period of dotclk, SPRET[4:0]=0x01~0x1f
GEQ[3:0]: Gate Equalize Time
Register
Availability
StatusDefault Value
DefaultPower On Sequence11h/11h/08h
S/W Reset11h/11h/08h
H/W Reset11h/11h/08h

ECHPROMCTRL (Program Mode Control)
Inst / ParaD/CXWRXRDXD17-8D7D6D5
PROMCTRL01-111
Parameter11-000
DescriptionWhen program mode enable, this command need be set.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Normal Mode On, Idle Mode On, Sleep Out
Register
Availability
Partial Mode On, Idle Mode On, Sleep Out
Status
Partial Mode On, Idle Mode Off, Sleep Out
Sleep In
YesDefault Value
DefaultPower On Sequence
00h
S/W Reset
H/W Reset
00h
00h

9.2.34 PROMCTRL (ECh): Program Mode Control

9.2.35 PROMEN (FAh): Program Mode Enable

FAHPROMEN (Program Mode Enable)
Inst / ParaD/CX
PROMEN0
st Parameter
1
1
nd Parameter
2
1
rd Parameter
3
1
th Parameter
4
1
Description
"1": Program mode enable
Normal Mode On, Idle Mode On, Sleep Out
Yes
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Register
Availability
Default

9.2.36 NVMSET (FCh): NVM Setting

FCHNVMSET (NVM Setting)
Inst / ParaD/CX
NVMSET0
st Parameter
1
1
nd Parameter
2
1
Description
Register
Availability
Default

9.2.37 PROMACT (FEh): Program action

FEHPROMACT (Program action)
Inst / ParaD/CXWRX
PROMACT0
st Parameter
1
1
nd Parameter
2
1
DescriptionWhen program mode enable, this command need be set.
Register
Availability
Status
Default
H/W Reset

10 APPLICATION

10.1 Configuration of Power Supply Circuit

Version 1.0 Page 313 of 317 2017/09

10.2 Voltage Generation

The following is the ST7789VW analog voltage pattern diagram:

Figure 38 Power Booster Level

10.3 Relationship about source voltage

The relationship about source voltage is shown as below:

Figure 39 Relationship about source voltage

Note: if VDV=0V, VBP=VBN=VCOM+VCOM OFFSET.

10.4 Applied Voltage to the TFT panel

Figure 40 Voltage Output to TFT LCD Panel

11 REVISION HISTORY

VersionDateDescription
V1.02017/09First issue

Sitronix Confidential The information contained herein is the exclusive property of Sitronix and shall not be distributed, reproduced, or disclosed in whole or in part without prior written permission of Sitronix.

Related Variants

The following components are covered by the same datasheet.

Part NumberManufacturerPackage
ST7789VWPart number not specified
Data on this page is extracted from publicly available manufacturer datasheets using automated tools including AI. It may contain errors or omissions. Always verify specifications against the official manufacturer datasheet before making design or purchasing decisions. See our Terms of Service. Rights holders can submit a takedown request.

Get structured datasheet data via API

Get started free