SITRONIX ST7687A

ST7687A
128RGB x 128 dot 65K Color with Frame Memory
Single-Chip CSTN Controller/Driver
Datasheet
Version 1.0
2009/12
Sitronix Technology Corp. reserves the right to change the contents in this
document without prior notice.
ST7687A
LIST OF CONTENT
LIST OF CONTENT ........................................................................................2
LIST OF FIGURES..........................................................................................6
LIST OF TABLES ...........................................................................................7
1 INTRODUCTION .......................................................................................8
2 FEATURES ...............................................................................................9
3 PAD ARRANGEMENT (COG).................................................................10
4 PAD CENTER COORDINATES............................................................... 11
5 BLOCK DIAGRAM..................................................................................21
6 PIN DESCRIPTION .................................................................................22
7
6.1
6.2
Power Supply.................................................................................................... 22
LCD Power Supply Pins.................................................................................... 23
6.3
6.4
6.5
System Control ................................................................................................. 24
Microprocessor Interface .................................................................................. 25
LCD Driver Outputs........................................................................................... 27
FUNCTIONAL DESCRIPTION ................................................................29
7.1
7.2
7.3
7.4
Microprocessor Interface .................................................................................. 29
Selecting Parallel / Serial Interface ................................................................... 30
7.2.1
8-bit or 16-bit Parallel Interface ................................................................................... 30
7.2.2
8- and 9-bit Serial Interface .......................................................................................... 32
7.2.3
8-bit and 9-bit Serial Interface Data Color Coding..................................................... 35
Access to DDRAM and Internal Registers ........................................................ 36
Display Data RAM (DDRAM) ............................................................................ 37
7.4.1
DDRAM........................................................................................................................... 37
7.4.2
Address Control............................................................................................................ 37
7.4.3
I/O Buffer Circuit ........................................................................................................... 40
7.4.4
Scroll Address Circuit .................................................................................................. 40
7.4.5
Display data Latch Circuit ............................................................................................ 40
7.4.6
Normal Display On or Partial Mode On, Vertical Scroll Off ...................................... 40
7.4.7
Vertical Scroll/Rolling Scroll ........................................................................................ 41
7.4.7.1
Rolling Scroll ................................................................................................................ 41
7.4.7.2
Vertical Scroll Example ............................................................................................... 42
7.4.8
7.5
7.6
Ver. 1.0
Tearing Effect Output Line ........................................................................................... 44
7.4.8.1
Tearing Effect Line Modes .......................................................................................... 44
7.4.8.2
Tearing Effect Line Timing .......................................................................................... 45
Gray-Scale Display ........................................................................................... 46
Oscillation circuit............................................................................................... 46
2/191
2009/12
ST7687A
7.7
7.8
7.9
Display Timing Generator Circuit ...................................................................... 47
POWER LEVEL DEFINITION........................................................................... 48
7.8.1
Power ON/OFF SEQUENCE ......................................................................................... 48
7.8.2
Power Levels ................................................................................................................. 49
Liquid Crystal Driver Power Circuit ................................................................... 50
7.9.1
7.10
8
Voltage Regulator Circuits ........................................................................................... 50
7.9.1.1
Set V0 (Temperatue = 24℃
℃)......................................................................................... 50
7.9.1.2
Set V0 With Temperature Compensation................................................................... 52
7.9.1.3
V0 fine tuning ............................................................................................................... 54
7.9.2
Voltage Follower Circuits ............................................................................................. 54
7.9.3
PROM Setting Flow....................................................................................................... 54
Frequency Temperature Gradient Compensation Coefficient ........................... 55
INSTRUCTIONS......................................................................................56
8.1
Ver. 1.0
Instruction Table................................................................................................ 56
8.1.1
NOP (00h)....................................................................................................................... 61
8.1.2
SWRESET: Software Reset (01h)................................................................................. 62
8.1.3
RDDST: Read Display Status (09h).............................................................................. 63
8.1.4
RDDPM: Read Display Power Mode (0Ah) ................................................................. 65
8.1.5
RDDMADCTR: Read Display MADCTR (0Bh)............................................................. 67
8.1.6
RDDCOLMOD: Read Display Pixel Format (0Ch) ...................................................... 69
8.1.7
RDDIM: Read Display Image Mode (0Dh) ................................................................... 71
8.1.8
RDDSM: Read Display Signal Mode (0Eh).................................................................. 73
8.1.9
SLPIN: Sleep In (10h).................................................................................................... 75
8.1.10
SLPOUT: Sleep Out (11h) ............................................................................................. 76
8.1.11
PTLON: Partial Display Mode On (12h)....................................................................... 78
8.1.12
NORON: Normal Display Mode On (13h) .................................................................... 79
8.1.13
INVOFF: Display Inversion Off (20h)........................................................................... 80
8.1.14
INVON: Display Inversion On (21h)............................................................................. 81
8.1.15
APOFF: All Pixels Off (22h) (Only for Test Purposes)............................................... 83
8.1.16
APON: All Pixels On (23h) (Only for Test Purposes) ................................................. 85
8.1.17
WRCNTR: Write Contrast (25h) ................................................................................... 87
8.1.18
DISPOFF: Display Off (28h) ......................................................................................... 88
8.1.19
DISPON: Display On (29h)............................................................................................ 90
8.1.20
CASET: Column Address Set (2Ah) ............................................................................ 92
8.1.21
RASET: Row Address Set (2Bh) .................................................................................. 94
8.1.22
RAMWR: Memory Write (2Ch)...................................................................................... 96
8.1.23
RAMRD: Memory Read (2EH) ...................................................................................... 98
8.1.24
PTLAR: Partial Area (30h) .......................................................................................... 100
3/191
2009/12
ST7687A
Ver. 1.0
8.1.25
SCRLAR: Scroll Area (33h) ........................................................................................ 103
8.1.26
TEOFF: Tearing Effect Line OFF (34h) ...................................................................... 106
8.1.27
TEON: Tearing Effect Line ON (35h) ......................................................................... 107
8.1.28
MADCTR: Memory Data Access Control (36h)......................................................... 109
8.1.29
VSCSAD: Vertical Scroll Start Address of RAM (37h) ............................................. 111
8.1.30
IDMOFF: Idle Mode Off (38h)...................................................................................... 113
8.1.31
IDMON: Idle Mode On (39h)........................................................................................ 114
8.1.32
COLMOD: Interface Pixel Format (3Ah).................................................................... 116
8.1.33
RDID: Read ID Value (DAh) ........................................................................................ 118
8.1.34
DutySet: Display Duty setting (B0H)......................................................................... 119
8.1.35
FirstCom: First Com. Page address (B1H) ............................................................... 121
8.1.36
OscDiv: FOSC Divider (B3H)...................................................................................... 123
8.1.37
NLInvSet: N-Line control (B5H) ................................................................................. 124
8.1.38
ComScanDir: Com/Seg Scan Direction for glass layout (B7H).............................. 125
8.1.39
RMWIN: Read Modify Write control in (B8H)............................................................ 126
8.1.40
RMWOUT: Read Modify Write control out (B9H)...................................................... 127
8.1.41
DispCompStep: Display Compensation Step (BDH) ............................................... 128
8.1.42
VopSet: Vop set (C0H) ................................................................................................ 129
8.1.43
VopOfsetInc: Vop Increase 1 (C1H) ........................................................................... 130
8.1.44
VopOfsetDec: Vop Decrease 1 (C2H) ........................................................................ 131
8.1.45
BiasSel: Bias Selection (C3H) ................................................................................... 133
8.1.46
BstPmpXSel: Booster Setting (C4H)......................................................................... 135
8.1.47
VgSorcSel: Vg source control (CBH)........................................................................ 137
8.1.48
IDSet: ID setting (CCH) ............................................................................................... 138
8.1.49
NASET: Analog circuit setting (D0H)......................................................................... 139
8.1.50
AutoLoadSet: PROM data auto re-load control (D7H)............................................. 140
8.1.51
EPCTIN: Control PROM WR/RD (E0H) ...................................................................... 141
8.1.52
EPCOUT: PROM control out (E1H) ............................................................................ 142
8.1.53
EPWR: Write to PROM (E2H) ..................................................................................... 143
8.1.54
EPRD: Read from PROM (E3H).................................................................................. 144
8.1.55
PROMSEL: SEL PROM (E4H)..................................................................................... 145
8.1.56
ROMSET: Programmable rom setting (E5H) ............................................................ 146
8.1.57
FRMSEL: Frame Freq. in Temperature range (F0H) ................................................ 147
8.1.58
FRM8SEL: Frame Freq. in Temperature range (idle-8 color) (F1H)........................ 150
8.1.59
TMPRNG: Temp. range set for Frame Freq. Adj. (F2H) ........................................... 152
8.1.60
TMPHYS: Temp. Hysteresis Set for Frame Freq. Adj. (F3H) ................................... 154
8.1.61
TEMPSEL: Temperature Gradient Compensation Coefficient Set (F4H) .............. 156
8.1.62
THYS: Temperature detection threshold (F7H)........................................................ 159
4/191
2009/12
ST7687A
8.1.63
9
Frame Set: Frame PWM Set (F9H)............................................................................. 160
SPECIFICATIONS.................................................................................162
9.1
9.2
10
Absolute Maximum Ratings ............................................................................ 162
DC Characteristics.......................................................................................... 163
9.2.1
Basic Characteristics ................................................................................................. 163
9.2.2
Current Consumption (Bare die) ............................................................................... 164
TIMING CHARACTERISTICS.........................................................165
10.1
Parallel Interface Characteristics bus (8080-series MCU) .............................. 165
10.2
10.3
10.4
Parallel Interface Characteristics bus (6800-series MCU) .............................. 167
Serial Interface Characteristics (4-pin Serial).................................................. 168
Serial Interface Characteristics (3-pin Serial).................................................. 169
11
12
13
RESET TIMING...............................................................................170
THE MPU INTERFACE (REFERENCE EXAMPLES) .....................171
APPLICATION NOTE .....................................................................173
13.1
Schematic Suggestion .................................................................................... 173
13.1.1
80-8bit parallel interlace Mode................................................................................... 173
13.1.2
80-16bit parallel interlace Mode................................................................................. 174
13.1.3
68-8bit parallel interlace Mode................................................................................... 175
13.1.4
68-16bit parallel interlace Mode................................................................................. 176
13.1.5
3-line serial interlace Mode ........................................................................................ 177
13.1.6
4-line serial interlace Mode ........................................................................................ 178
13.1.7
80-8bit parallel interlace Mode while typical Vddi=3V/3.3V .................................... 179
13.1.8
4-line serial interlace Mode while typical Vddi=3V/3.3V ......................................... 180
13.2
13.3
13.4
13.5
13.6
13.7
Power on flow and sequence:......................................................................... 181
Power off flow and sequence.......................................................................... 182
PROM Burning Flow: ...................................................................................... 183
Software coding flow:...................................................................................... 184
Timing sequence of each power level in initial and program flow: .................. 188
Suggestion circuit: .......................................................................................... 189
13.8
ESD Protection: .............................................................................................. 190
14
Ver. 1.0
REVISION HISTORY ......................................................................191
5/191
2009/12
ST7687A
LIST OF FIGURES
Figure 1 Parallel Data Transfer Example Chart ................................................................................................ 31
Figure 2 Write / Read Operation between MPU and ST7687A......................................................................... 36
Figure 3 Frame Data Write Direction According to the MADCTR parameters (MV, MX and MY)..................... 39
Figure 4 Rolling Scroll Definition ....................................................................................................................... 41
Figure 5 AC characteristics of Tearing Effect Signal......................................................................................... 45
Figure 6 2-frame AC Driving Waveform (Duty Ratio: 1/128) ............................................................................. 47
Figure 7 N-Line Inversion Driving Waveform (N=10, Duty Ratio=1/128) .......................................................... 47
Figure 8 DC/DC Booster Block Diagram ........................................................................................................... 50
Figure 9 Relationship of V0 and Temperature Compensation........................................................................... 52
Figure 10 V0 value control for different modules by loading PROM offset ....................................................... 54
Figure 11 Relationship of Frequency and Temperature Compensation ............................................................ 55
Ver. 1.0
6/191
2009/12
ST7687A
LIST OF TABLES
Table 1 Parallel / Serial Interface Mode............................................................................................................. 30
Table 2 Parallel Data Transfer ........................................................................................................................... 30
Table 3 Fixed Constant Value For V0 Setting.................................................................................................... 51
Ver. 1.0
7/191
2009/12
ST7687A
1
INTRODUCTION
The ST7687A is a driver & controller LSI for 65K color graphic dot-matrix liquid crystal display systems. It
generates 384 Segment and 128 Common driver circuits. This chip is connected directly to a microprocessor,
accepts Serial Peripheral Interface (SPI) or 8-bit/16-bit parallel display data and stores in an on-chip display
data RAM. It performs display data RAM read/write operation with no external operating clock to minimize
power consumption. In addition, because it contains power supply circuits necessary to drive liquid crystal, it is
possible to make a display system with the fewest components
Ver. 1.0
8/191
2009/12
ST7687A
2
FEATURES
Driver Output Circuits
-
Applicable Duty Ratios
-
Various partial display
-
Partial window moving & data scrolling
Gray-Scale Display
-
4FRC & 31 PWM function circuit to display 64 gray-scale display
-
Support 8 color mode (Idle mode)
On-Chip Display Data RAM
-
384 segment outputs / 128 common outputs
Capacity: 128 x 128 x 16 =262,144 bits
Color Support By Interface
-
4k colors (RGB)=(444) mode
-
65K colors (RGB)=(565) mode
Microprocessor Interface
-
8/16-bit parallel bi-directional interface with 6800-series or 8080-series
-
4-line serial interface
-
3-line (9-bits) serial interface
On-chip Low Power Analog Circuit
-
On-chip oscillator circuit
-
Voltage converter (x5~x8) with internal capacitors.
-
Extremely Few Outsider Components.
-
On-chip Voltage Regulator
-
On-chip electronic contrast control function
-
Voltage follower (LCD bias: 1/7~1/12)
Operating Voltage Range
-
Supply Digital Voltage VDDI(VDD): 1.65 to 3.3V
-
Supply Analog Voltage VDDA(VDD2, VDD3, VDD4, VDD5): 2.4 to 3.3V
-
LCD driving voltage (VOP = V0 - VSS): Max: 18V
LCD Driving Voltage
-
Contrast Adjustment Value is stored in the Built-In PROM (Programable ROM) for better display
quality.
LCD Driving Setting Suggestion
-
VOP = 14V, BIAS=1/9. (VDD=2.8V)
Package Type
-
Ver. 1.0
Application for COG
9/191
2009/12
ST7687A
3
PAD ARRANGEMENT (COG)
Chip Size :
11586 um x 686 um
Bump Pitch :
149 COM27
……
135 VSS
134 Vgin
127 Vgin
126 Vgs
125 Vgout
124 Vgout
123 XV0in
122 XV0in
121 XV0in
120 XV0in
119 XV0s
199 COM127
200 DUMMY
118 XV0out
117 XV0out
116 V0out
115 V0out
114 V0s
212 DUMMY
213 SEG0
113 V0in
112 V0in
111 V0in
110 V0in
109 Vm
104 Vm
103 VSS2
94 VSS2
93 VDD2
86 VDD2
85 VDD5
80 VDD5
79 VDD4
78 VDD4
77 VDD3
76 VDD3
75 VREF
74 VSS4
73 VSS4
72 VSS4
71 VSS2
62 VSS2
61 VSS
60 VSS
59 VSS
58 VSS
PAD 136~148, 149~212, 213~596, 597~660 661~673 pitch=22um (min,
com/seg)
PAD 212~213, 596~597 pitch=110.88um ( com/seg)
PAD 1~7, 10~13, 32~38, 41~57, 59~135 pitch=80um (I/O)
PAD 14~29, pitch=120um(I/O)
PAD 8~9, 30~31, 39~40, pitch=49um(I/O)
PAD 7~8, 9~10, 31~32, 38~39, 40~41, pitch=64.5um(I/O)
PAD 57~58, 58~59=75.5um(I/O)
PAD 13~14, pitch=100um(I/O)
PAD 29~30, pitch=84.5um(I/O)
Bump Size :
PAD 136~673
PAD 14~29
Bump width=10.5um (min, com/seg)
Bump width=105um(I/O)
Bump space=11.5um (min, com/seg)
Bump space=15um(I/O)
Bump length=166.7um(min, com/seg)
Bump length=59um(I/O)
Bump area=1750.35um^2(com/seg)
Bump area=6195um^2
PAD 58
PAD 8~9, 30~31, 39~40
Bump width=56um(I/O)
Bump width=34um(I/O)
Bump space=15um(I/O)
Bump space=15um(I/O)
Bump length=59um(I/O)
Bump length=59um(I/O)
Bump area=3304um^2
Bump area=2006um^2
57 VSS
56 VSS1
55 VSS1
X
Y
(0,0)
54 VD1out
53 VD1out
52 VD1in
51 VD1in
50 VD1in
49 VD1in
48 VDD
47 VDD
46 VDD
45 VDD
44 TCAP
43 TE
42 /EXT
41 /CS
40 VDD
39 VSS
38 IF3
37 IF2
36 IF1
35 /RST
34 A0
33 RW_WR
32 E_RD
31 VDD
30 VSS
29 D15
PAD 1~7, 10~13, 32~38, 41~57, 59~135
Bump width=65um(I/O)
Bump space=15um(I/O)
Bump length=59um(I/O)
Bump area=3185um^2
ST7687A-G4 (Bump Height: 15 um, Hardness: 55HV)
ST7687A-G4-1 (Bump Height: 12 um, Hardness: 90HV)
28 D14
27 D13
Chip Thickness: 300 um
26 D12
25 D11
24 D10
23 D9
22 D8
Alignment mark
The center of alignment mark: see bellow Table
21 D7
20 D6
19 D5
18 D4
17 D3
16 D2
596 SEG383
15 D1
597 DUMMY
14 D0
13 RW_WR
12 VDD
11 A0
10 INTVD1
9 VDD
8 VSS
7 CLS
6 CL
609 DUMMY
610 COM126
5 VPP
4 VPP
3 VPP
2 VPP
1 VSS
……
660 COM26
Ver. 1.0
10/191
2009/12
ST7687A
4
PAD CENTER COORDINATES
PAD
NAME
X
Y
PAD
NAME
X
Y
1
VSS
-5582.5
-257.5
36
IF1
-2266.5
-257.5
2
VPP
-5502.5
-257.5
37
IF2
-2186.5
-257.5
3
VPP
-5422.5
-257.5
38
IF3
-2106.5
-257.5
4
VPP
-5342.5
-257.5
39
VSS
-2042
-257.5
5
VPP
-5262.5
-257.5
40
VDD
-1993
-257.5
6
CL
-5182.5
-257.5
41
/CS
-1928.5
-257.5
7
CLS
-5102.5
-257.5
42
/EXT
-1848.5
-257.5
8
VSS
-5038
-257.5
43
TE
-1768.5
-257.5
9
VDD
-4989
-257.5
44
TCAP
-1688.5
-257.5
10
INTVD1
-4924.5
-257.5
45
VDD
-1608.5
-257.5
11
A0
-4844.5
-257.5
46
VDD
-1528.5
-257.5
12
VDD
-4764.5
-257.5
47
VDD
-1448.5
-257.5
13
RW_WR
-4684.5
-257.5
48
VDD
-1368.5
-257.5
14
D0
-4584.5
-257.5
49
VD1in
-1288.5
-257.5
15
D1
-4464.5
-257.5
50
VD1in
-1208.5
-257.5
16
D2
-4344.5
-257.5
51
VD1in
-1128.5
-257.5
17
D3
-4224.5
-257.5
52
VD1in
-1048.5
-257.5
18
D4
-4104.5
-257.5
53
VD1out
-968.5
-257.5
19
D5
-3984.5
-257.5
54
VD1out
-888.5
-257.5
20
D6
-3864.5
-257.5
55
VSS1
-808.5
-257.5
21
D7
-3744.5
-257.5
56
VSS1
-728.5
-257.5
22
D8
-3624.5
-257.5
57
VSS
-648.5
-257.5
23
D9
-3504.5
-257.5
58
VSS
-573
-257.5
24
D10
-3384.5
-257.5
59
VSS
-497.5
-257.5
25
D11
-3264.5
-257.5
60
VSS
-417.5
-257.5
26
D12
-3144.5
-257.5
61
VSS
-337.5
-257.5
27
D13
-3024.5
-257.5
62
VSS2
-257.5
-257.5
28
D14
-2904.5
-257.5
63
VSS2
-177.5
-257.5
29
D15
-2784.5
-257.5
64
VSS2
-97.5
-257.5
30
VSS
-2700
-257.5
65
VSS2
-17.5
-257.5
31
VDD
-2651
-257.5
66
VSS2
62.5
-257.5
32
E_RD
-2586.5
-257.5
67
VSS2
142.5
-257.5
33
RW_WR
-2506.5
-257.5
68
VSS2
222.5
-257.5
34
A0
-2426.5
-257.5
69
VSS2
302.5
-257.5
35
/RST
-2346.5
-257.5
70
VSS2
382.5
-257.5
Ver. 1.0
11/191
2009/12
ST7687A
PAD
NAME
X
Y
PAD
NAME
X
Y
71
VSS2
462.5
-257.5
107
Vm
3342.5
-257.5
72
VSS4
542.5
-257.5
108
Vm
3422.5
-257.5
73
VSS4
622.5
-257.5
109
Vm
3502.5
-257.5
74
VSS4
702.5
-257.5
110
V0in
3582.5
-257.5
75
VREF
782.5
-257.5
111
V0in
3662.5
-257.5
76
VDD3
862.5
-257.5
112
V0in
3742.5
-257.5
77
VDD3
942.5
-257.5
113
V0in
3822.5
-257.5
78
VDD4
1022.5
-257.5
114
V0s
3902.5
-257.5
79
VDD4
1102.5
-257.5
115
V0out
3982.5
-257.5
80
VDD5
1182.5
-257.5
116
V0out
4062.5
-257.5
81
VDD5
1262.5
-257.5
117
XV0out
4142.5
-257.5
82
VDD5
1342.5
-257.5
118
XV0out
4222.5
-257.5
83
VDD5
1422.5
-257.5
119
XV0s
4302.5
-257.5
84
VDD5
1502.5
-257.5
120
XV0in
4382.5
-257.5
85
VDD5
1582.5
-257.5
121
XV0in
4462.5
-257.5
86
VDD2
1662.5
-257.5
122
XV0in
4542.5
-257.5
87
VDD2
1742.5
-257.5
123
XV0in
4622.5
-257.5
88
VDD2
1822.5
-257.5
124
Vgout
4702.5
-257.5
89
VDD2
1902.5
-257.5
125
Vgout
4782.5
-257.5
90
VDD2
1982.5
-257.5
126
Vgs
4862.5
-257.5
91
VDD2
2062.5
-257.5
127
Vgin
4942.5
-257.5
92
VDD2
2142.5
-257.5
128
Vgin
5022.5
-257.5
93
VDD2
2222.5
-257.5
129
Vgin
5102.5
-257.5
94
VSS2
2302.5
-257.5
130
Vgin
5182.5
-257.5
95
VSS2
2382.5
-257.5
131
Vgin
5262.5
-257.5
96
VSS2
2462.5
-257.5
132
Vgin
5342.5
-257.5
97
VSS2
2542.5
-257.5
133
Vgin
5422.5
-257.5
98
VSS2
2622.5
-257.5
134
Vgin
5502.5
-257.5
99
VSS2
2702.5
-257.5
135
VSS
5582.5
-257.5
100
VSS2
2782.5
-257.5
136
COM1
5642.23
-189.26
101
VSS2
2862.5
-257.5
137
COM3
5642.23
-167.26
102
VSS2
2942.5
-257.5
138
COM5
5642.23
-145.26
103
VSS2
3022.5
-257.5
139
COM7
5642.23
-123.26
104
Vm
3102.5
-257.5
140
COM9
5642.23
-101.26
105
Vm
3182.5
-257.5
141
COM11
5642.23
-79.26
106
Vm
3262.5
-257.5
142
COM13
5642.23
-57.26
Ver. 1.0
12/191
2009/12
ST7687A
PAD
NAME
X
Y
PAD
NAME
X
Y
143
COM15
5642.23
-35.26
179
COM87
5049.88
203.83
144
COM17
5642.23
-13.26
180
COM89
5027.88
203.83
145
COM19
5642.23
8.74
181
COM91
5005.88
203.83
146
COM21
5642.23
30.74
182
COM93
4983.88
203.83
147
COM23
5642.23
52.74
183
COM95
4961.88
203.83
148
COM25
5642.23
74.74
184
COM97
4939.88
203.83
149
COM27
5709.88
203.83
185
COM99
4917.88
203.83
150
COM29
5687.88
203.83
186
COM101
4895.88
203.83
151
COM31
5665.88
203.83
187
COM103
4873.88
203.83
152
COM33
5643.88
203.83
188
COM105
4851.88
203.83
153
COM35
5621.88
203.83
189
COM107
4829.88
203.83
154
COM37
5599.88
203.83
190
COM109
4807.88
203.83
155
COM39
5577.88
203.83
191
COM111
4785.88
203.83
156
COM41
5555.88
203.83
192
COM113
4763.88
203.83
157
COM43
5533.88
203.83
193
COM115
4741.88
203.83
158
COM45
5511.88
203.83
194
COM117
4719.88
203.83
159
COM47
5489.88
203.83
195
COM119
4697.88
203.83
160
COM49
5467.88
203.83
196
COM121
4675.88
203.83
161
COM51
5445.88
203.83
197
COM123
4653.88
203.83
162
COM53
5423.88
203.83
198
COM125
4631.88
203.83
163
COM55
5401.88
203.83
199
COM127
4609.88
203.83
164
COM57
5379.88
203.83
200
DUMMY
4587.88
203.83
165
COM59
5357.88
203.83
201
DUMMY
4565.88
203.83
166
COM61
5335.88
203.83
202
DUMMY
4543.88
203.83
167
COM63
5313.88
203.83
203
DUMMY
4521.88
203.83
168
COM65
5291.88
203.83
204
DUMMY
4499.88
203.83
169
COM67
5269.88
203.83
205
DUMMY
4477.88
203.83
170
COM69
5247.88
203.83
206
DUMMY
4455.88
203.83
171
COM71
5225.88
203.83
207
DUMMY
4433.88
203.83
172
COM73
5203.88
203.83
208
DUMMY
4411.88
203.83
173
COM75
5181.88
203.83
209
DUMMY
4389.88
203.83
174
COM77
5159.88
203.83
210
DUMMY
4367.88
203.83
175
COM79
5137.88
203.83
211
DUMMY
4345.88
203.83
176
COM81
5115.88
203.83
212
DUMMY
4323.88
203.83
177
COM83
5093.88
203.83
213
SEG0
4213
203.83
178
COM85
5071.88
203.83
214
SEG1
4191
203.83
Ver. 1.0
13/191
2009/12
ST7687A
PAD
NAME
X
Y
PAD
NAME
X
Y
215
SEG2
4169
203.83
251
SEG38
3377
203.83
216
SEG3
4147
203.83
252
SEG39
3355
203.83
217
SEG4
4125
203.83
253
SEG40
3333
203.83
218
SEG5
4103
203.83
254
SEG41
3311
203.83
219
SEG6
4081
203.83
255
SEG42
3289
203.83
220
SEG7
4059
203.83
256
SEG43
3267
203.83
221
SEG8
4037
203.83
257
SEG44
3245
203.83
222
SEG9
4015
203.83
258
SEG45
3223
203.83
223
SEG10
3993
203.83
259
SEG46
3201
203.83
224
SEG11
3971
203.83
260
SEG47
3179
203.83
225
SEG12
3949
203.83
261
SEG48
3157
203.83
226
SEG13
3927
203.83
262
SEG49
3135
203.83
227
SEG14
3905
203.83
263
SEG50
3113
203.83
228
SEG15
3883
203.83
264
SEG51
3091
203.83
229
SEG16
3861
203.83
265
SEG52
3069
203.83
230
SEG17
3839
203.83
266
SEG53
3047
203.83
231
SEG18
3817
203.83
267
SEG54
3025
203.83
232
SEG19
3795
203.83
268
SEG55
3003
203.83
233
SEG20
3773
203.83
269
SEG56
2981
203.83
234
SEG21
3751
203.83
270
SEG57
2959
203.83
235
SEG22
3729
203.83
271
SEG58
2937
203.83
236
SEG23
3707
203.83
272
SEG59
2915
203.83
237
SEG24
3685
203.83
273
SEG60
2893
203.83
238
SEG25
3663
203.83
274
SEG61
2871
203.83
239
SEG26
3641
203.83
275
SEG62
2849
203.83
240
SEG27
3619
203.83
276
SEG63
2827
203.83
241
SEG28
3597
203.83
277
SEG64
2805
203.83
242
SEG29
3575
203.83
278
SEG65
2783
203.83
243
SEG30
3553
203.83
279
SEG66
2761
203.83
244
SEG31
3531
203.83
280
SEG67
2739
203.83
245
SEG32
3509
203.83
281
SEG68
2717
203.83
246
SEG33
3487
203.83
282
SEG69
2695
203.83
247
SEG34
3465
203.83
283
SEG70
2673
203.83
248
SEG35
3443
203.83
284
SEG71
2651
203.83
249
SEG36
3421
203.83
285
SEG72
2629
203.83
250
SEG37
3399
203.83
286
SEG73
2607
203.83
Ver. 1.0
14/191
2009/12
ST7687A
PAD
NAME
X
Y
PAD
NAME
X
Y
287
SEG74
2585
203.83
323
SEG110
1793
203.83
288
SEG75
2563
203.83
324
SEG111
1771
203.83
289
SEG76
2541
203.83
325
SEG112
1749
203.83
290
SEG77
2519
203.83
326
SEG113
1727
203.83
291
SEG78
2497
203.83
327
SEG114
1705
203.83
292
SEG79
2475
203.83
328
SEG115
1683
203.83
293
SEG80
2453
203.83
329
SEG116
1661
203.83
294
SEG81
2431
203.83
330
SEG117
1639
203.83
295
SEG82
2409
203.83
331
SEG118
1617
203.83
296
SEG83
2387
203.83
332
SEG119
1595
203.83
297
SEG84
2365
203.83
333
SEG120
1573
203.83
298
SEG85
2343
203.83
334
SEG121
1551
203.83
299
SEG86
2321
203.83
335
SEG122
1529
203.83
300
SEG87
2299
203.83
336
SEG123
1507
203.83
301
SEG88
2277
203.83
337
SEG124
1485
203.83
302
SEG89
2255
203.83
338
SEG125
1463
203.83
303
SEG90
2233
203.83
339
SEG126
1441
203.83
304
SEG91
2211
203.83
340
SEG127
1419
203.83
305
SEG92
2189
203.83
341
SEG128
1397
203.83
306
SEG93
2167
203.83
342
SEG129
1375
203.83
307
SEG94
2145
203.83
343
SEG130
1353
203.83
308
SEG95
2123
203.83
344
SEG131
1331
203.83
309
SEG96
2101
203.83
345
SEG132
1309
203.83
310
SEG97
2079
203.83
346
SEG133
1287
203.83
311
SEG98
2057
203.83
347
SEG134
1265
203.83
312
SEG99
2035
203.83
348
SEG135
1243
203.83
313
SEG100
2013
203.83
349
SEG136
1221
203.83
314
SEG101
1991
203.83
350
SEG137
1199
203.83
315
SEG102
1969
203.83
351
SEG138
1177
203.83
316
SEG103
1947
203.83
352
SEG139
1155
203.83
317
SEG104
1925
203.83
353
SEG140
1133
203.83
318
SEG105
1903
203.83
354
SEG141
1111
203.83
319
SEG106
1881
203.83
355
SEG142
1089
203.83
320
SEG107
1859
203.83
356
SEG143
1067
203.83
321
SEG108
1837
203.83
357
SEG144
1045
203.83
322
SEG109
1815
203.83
358
SEG145
1023
203.83
Ver. 1.0
15/191
2009/12
ST7687A
PAD
NAME
X
Y
PAD
NAME
X
Y
359
SEG146
1001
203.83
395
SEG182
209
203.83
360
SEG147
979
203.83
396
SEG183
187
203.83
361
SEG148
957
203.83
397
SEG184
165
203.83
362
SEG149
935
203.83
398
SEG185
143
203.83
363
SEG150
913
203.83
399
SEG186
121
203.83
364
SEG151
891
203.83
400
SEG187
99
203.83
365
SEG152
869
203.83
401
SEG188
77
203.83
366
SEG153
847
203.83
402
SEG189
55
203.83
367
SEG154
825
203.83
403
SEG190
33
203.83
368
SEG155
803
203.83
404
SEG191
11
203.83
369
SEG156
781
203.83
405
SEG192
-11
203.83
370
SEG157
759
203.83
406
SEG193
-33
203.83
371
SEG158
737
203.83
407
SEG194
-55
203.83
372
SEG159
715
203.83
408
SEG195
-77
203.83
373
SEG160
693
203.83
409
SEG196
-99
203.83
374
SEG161
671
203.83
410
SEG197
-121
203.83
375
SEG162
649
203.83
411
SEG198
-143
203.83
376
SEG163
627
203.83
412
SEG199
-165
203.83
377
SEG164
605
203.83
413
SEG200
-187
203.83
378
SEG165
583
203.83
414
SEG201
-209
203.83
379
SEG166
561
203.83
415
SEG202
-231
203.83
380
SEG167
539
203.83
416
SEG203
-253
203.83
381
SEG168
517
203.83
417
SEG204
-275
203.83
382
SEG169
495
203.83
418
SEG205
-297
203.83
383
SEG170
473
203.83
419
SEG206
-319
203.83
384
SEG171
451
203.83
420
SEG207
-341
203.83
385
SEG172
429
203.83
421
SEG208
-363
203.83
386
SEG173
407
203.83
422
SEG209
-385
203.83
387
SEG174
385
203.83
423
SEG210
-407
203.83
388
SEG175
363
203.83
424
SEG211
-429
203.83
389
SEG176
341
203.83
425
SEG212
-451
203.83
390
SEG177
319
203.83
426
SEG213
-473
203.83
391
SEG178
297
203.83
427
SEG214
-495
203.83
392
SEG179
275
203.83
428
SEG215
-517
203.83
393
SEG180
253
203.83
429
SEG216
-539
203.83
394
SEG181
231
203.83
430
SEG217
-561
203.83
Ver. 1.0
16/191
2009/12
ST7687A
PAD
NAME
X
Y
PAD
NAME
X
Y
431
SEG218
-583
203.83
467
SEG254
-1375
203.83
432
SEG219
-605
203.83
468
SEG255
-1397
203.83
433
SEG220
-627
203.83
469
SEG256
-1419
203.83
434
SEG221
-649
203.83
470
SEG257
-1441
203.83
435
SEG222
-671
203.83
471
SEG258
-1463
203.83
436
SEG223
-693
203.83
472
SEG259
-1485
203.83
437
SEG224
-715
203.83
473
SEG260
-1507
203.83
438
SEG225
-737
203.83
474
SEG261
-1529
203.83
439
SEG226
-759
203.83
475
SEG262
-1551
203.83
440
SEG227
-781
203.83
476
SEG263
-1573
203.83
441
SEG228
-803
203.83
477
SEG264
-1595
203.83
442
SEG229
-825
203.83
478
SEG265
-1617
203.83
443
SEG230
-847
203.83
479
SEG266
-1639
203.83
444
SEG231
-869
203.83
480
SEG267
-1661
203.83
445
SEG232
-891
203.83
481
SEG268
-1683
203.83
446
SEG233
-913
203.83
482
SEG269
-1705
203.83
447
SEG234
-935
203.83
483
SEG270
-1727
203.83
448
SEG235
-957
203.83
484
SEG271
-1749
203.83
449
SEG236
-979
203.83
485
SEG272
-1771
203.83
450
SEG237
-1001
203.83
486
SEG273
-1793
203.83
451
SEG238
-1023
203.83
487
SEG274
-1815
203.83
452
SEG239
-1045
203.83
488
SEG275
-1837
203.83
453
SEG240
-1067
203.83
489
SEG276
-1859
203.83
454
SEG241
-1089
203.83
490
SEG277
-1881
203.83
455
SEG242
-1111
203.83
491
SEG278
-1903
203.83
456
SEG243
-1133
203.83
492
SEG279
-1925
203.83
457
SEG244
-1155
203.83
493
SEG280
-1947
203.83
458
SEG245
-1177
203.83
494
SEG281
-1969
203.83
459
SEG246
-1199
203.83
495
SEG282
-1991
203.83
460
SEG247
-1221
203.83
496
SEG283
-2013
203.83
461
SEG248
-1243
203.83
497
SEG284
-2035
203.83
462
SEG249
-1265
203.83
498
SEG285
-2057
203.83
463
SEG250
-1287
203.83
499
SEG286
-2079
203.83
464
SEG251
-1309
203.83
500
SEG287
-2101
203.83
465
SEG252
-1331
203.83
501
SEG288
-2123
203.83
466
SEG253
-1353
203.83
502
SEG289
-2145
203.83
Ver. 1.0
17/191
2009/12
ST7687A
PAD
NAME
X
Y
PAD
NAME
X
Y
503
SEG290
-2167
203.83
539
SEG326
-2959
203.83
504
SEG291
-2189
203.83
540
SEG327
-2981
203.83
505
SEG292
-2211
203.83
541
SEG328
-3003
203.83
506
SEG293
-2233
203.83
542
SEG329
-3025
203.83
507
SEG294
-2255
203.83
543
SEG330
-3047
203.83
508
SEG295
-2277
203.83
544
SEG331
-3069
203.83
509
SEG296
-2299
203.83
545
SEG332
-3091
203.83
510
SEG297
-2321
203.83
546
SEG333
-3113
203.83
511
SEG298
-2343
203.83
547
SEG334
-3135
203.83
512
SEG299
-2365
203.83
548
SEG335
-3157
203.83
513
SEG300
-2387
203.83
549
SEG336
-3179
203.83
514
SEG301
-2409
203.83
550
SEG337
-3201
203.83
515
SEG302
-2431
203.83
551
SEG338
-3223
203.83
516
SEG303
-2453
203.83
552
SEG339
-3245
203.83
517
SEG304
-2475
203.83
553
SEG340
-3267
203.83
518
SEG305
-2497
203.83
554
SEG341
-3289
203.83
519
SEG306
-2519
203.83
555
SEG342
-3311
203.83
520
SEG307
-2541
203.83
556
SEG343
-3333
203.83
521
SEG308
-2563
203.83
557
SEG344
-3355
203.83
522
SEG309
-2585
203.83
558
SEG345
-3377
203.83
523
SEG310
-2607
203.83
559
SEG346
-3399
203.83
524
SEG311
-2629
203.83
560
SEG347
-3421
203.83
525
SEG312
-2651
203.83
561
SEG348
-3443
203.83
526
SEG313
-2673
203.83
562
SEG349
-3465
203.83
527
SEG314
-2695
203.83
563
SEG350
-3487
203.83
528
SEG315
-2717
203.83
564
SEG351
-3509
203.83
529
SEG316
-2739
203.83
565
SEG352
-3531
203.83
530
SEG317
-2761
203.83
566
SEG353
-3553
203.83
531
SEG318
-2783
203.83
567
SEG354
-3575
203.83
532
SEG319
-2805
203.83
568
SEG355
-3597
203.83
533
SEG320
-2827
203.83
569
SEG356
-3619
203.83
534
SEG321
-2849
203.83
570
SEG357
-3641
203.83
535
SEG322
-2871
203.83
571
SEG358
-3663
203.83
536
SEG323
-2893
203.83
572
SEG359
-3685
203.83
537
SEG324
-2915
203.83
573
SEG360
-3707
203.83
538
SEG325
-2937
203.83
574
SEG361
-3729
203.83
Ver. 1.0
18/191
2009/12
ST7687A
PAD
NAME
X
Y
PAD
NAME
X
Y
575
SEG362
-3751
203.83
611
COM124
-4631.88
203.83
576
SEG363
-3773
203.83
612
COM122
-4653.88
203.83
577
SEG364
-3795
203.83
613
COM120
-4675.88
203.83
578
SEG365
-3817
203.83
614
COM118
-4697.88
203.83
579
SEG366
-3839
203.83
615
COM116
-4719.88
203.83
580
SEG367
-3861
203.83
616
COM114
-4741.88
203.83
581
SEG368
-3883
203.83
617
COM112
-4763.88
203.83
582
SEG369
-3905
203.83
618
COM110
-4785.88
203.83
583
SEG370
-3927
203.83
619
COM108
-4807.88
203.83
584
SEG371
-3949
203.83
620
COM106
-4829.88
203.83
585
SEG372
-3971
203.83
621
COM104
-4851.88
203.83
586
SEG373
-3993
203.83
622
COM102
-4873.88
203.83
587
SEG374
-4015
203.83
623
COM100
-4895.88
203.83
588
SEG375
-4037
203.83
624
COM98
-4917.88
203.83
589
SEG376
-4059
203.83
625
COM96
-4939.88
203.83
590
SEG377
-4081
203.83
626
COM94
-4961.88
203.83
591
SEG378
-4103
203.83
627
COM92
-4983.88
203.83
592
SEG379
-4125
203.83
628
COM90
-5005.88
203.83
593
SEG380
-4147
203.83
629
COM88
-5027.88
203.83
594
SEG381
-4169
203.83
630
COM86
-5049.88
203.83
595
SEG382
-4191
203.83
631
COM84
-5071.88
203.83
596
SEG383
-4213
203.83
632
COM82
-5093.88
203.83
597
DUMMY
-4323.88
203.83
633
COM80
-5115.88
203.83
598
DUMMY
-4345.88
203.83
634
COM78
-5137.88
203.83
599
DUMMY
-4367.88
203.83
635
COM76
-5159.88
203.83
600
DUMMY
-4389.88
203.83
636
COM74
-5181.88
203.83
601
DUMMY
-4411.88
203.83
637
COM72
-5203.88
203.83
602
DUMMY
-4433.88
203.83
638
COM70
-5225.88
203.83
603
DUMMY
-4455.88
203.83
639
COM68
-5247.88
203.83
604
DUMMY
-4477.88
203.83
640
COM66
-5269.88
203.83
605
DUMMY
-4499.88
203.83
641
COM64
-5291.88
203.83
606
DUMMY
-4521.88
203.83
642
COM62
-5313.88
203.83
607
DUMMY
-4543.88
203.83
643
COM60
-5335.88
203.83
608
DUMMY
-4565.88
203.83
644
COM58
-5357.88
203.83
609
DUMMY
-4587.88
203.83
645
COM56
-5379.88
203.83
610
COM126
-4609.88
203.83
646
COM54
-5401.88
203.83
Ver. 1.0
19/191
2009/12
ST7687A
PAD
NAME
X
Y
647
COM52
-5423.88
203.83
648
COM50
-5445.88
203.83
649
COM48
-5467.88
203.83
650
COM46
-5489.88
203.83
651
COM44
-5511.88
203.83
652
COM42
-5533.88
203.83
653
COM40
-5555.88
203.83
654
COM38
-5577.88
203.83
655
COM36
-5599.88
203.83
656
COM34
-5621.88
203.83
657
COM32
-5643.88
203.83
658
COM30
-5665.88
203.83
659
COM28
-5687.88
203.83
660
COM26
-5709.88
203.83
661
COM24
-5642.23
74.74
662
COM22
-5642.23
52.74
663
COM20
-5642.23
30.74
664
COM18
-5642.23
8.74
665
COM16
-5642.23
-13.26
666
COM14
-5642.23
-35.26
667
COM12
-5642.23
-57.26
668
COM10
-5642.23
-79.26
669
COM8
-5642.23 -101.26
670
COM6
-5642.23 -123.26
671
COM4
-5642.23 -145.26
672
COM2
-5642.23 -167.26
673
COM0
-5642.23 -189.26
Ver. 1.0
LMARK1
-5717.5
-267.5
LMARK2
5717.5
-267.5
20/191
2009/12
ST7687A
BLOCK DIAGRAM
5
TCAP
D0 to D15
TE
E_RD
RW_WR
A0
/CS
/RST
/EXT
INTVD1
IF3
IF2
IF1
2009/12
21/191
Ver. 1.0
ST7687A
6
PIN DESCRIPTION
6.1
Power Supply
Name
I/O
VDD
Supply
Power supply for logic circuit.
VDD2
Supply
Power supply for Booster circuit.
VDD3
Supply
Power supply for LCD.
VDD4
Supply
Power supply for LCD.
VDD5
Supply
Power supply for LCD.
VSS
Supply
Ground for logic circuit. Ground system should be connected together.
VSS1
Supply
Ground for OSC circuit. Ground system should be connected together.
VSS2
Supply
Ground for Booster circuit. Ground system should be connected together.
VSS4
Supply
Ground for LCD. Ground system should be connected together.
Ver. 1.0
Description
22/191
2009/12
ST7687A
6.2
LCD Power Supply Pins
Name
Description
I/O
Positive LCD driver supply voltages.
V0OUT
V0IN
V0OUT is the output voltage of V0 generated by ST7687A.
I/O
V0S
V0IN is the input pin of power supply to generate V0 voltage for LCD.
V0S is the input pin of power supply to sense the V0 voltage.
V0OUT 、V0IN & V0S should be connected together by FPC.
Negative LCD driver supply voltages.
XV0OUT
XV0IN
XV0OUT is the output voltage of XV0 generated by ST7687A.
I/O
XV0S
XV0IN is the input pin of power supply to generate XV0 voltage for LCD.
XV0S is the input pin of power supply to sense the XV0 voltage.
XV0OUT 、XV0IN & XV0S should be connected together by FPC.
Bias LCD driver supply voltages.
VgOUT is the output voltage of Vg generated by ST7687A.
VgIN is the input pin of power supply to generate Vg voltage for LCD.
VgS is the input pin of power supply to sense the Vg voltage.
VgOUT 、VgIN & VgS should be connected together by FPC.
Vm is the I/O pin of LCD bias supply voltage.
VgOUT
VgIN
VgS
Voltages should have the following relationship;
I/O
V0 > Vg > Vm > VSS > XV0.
VDDA-0.7V>Vm>0.9V , 2 x VDDA-0.6V≧Vg>1.8V
Vm
When the internal power circuit is active, these voltages are generated as following table
according to the state of LCD bias.
LCD bias
Vg
Vm
1/N bias
(2/N) x V0
(1/N) x V0
NOTE: N = 7 to 12
Voltage regulator for digital circuit.
VD1out
VD1in
VD1out is voltage output from regulator circuit.
I/O
VD1in is voltage input to digital circuit.
VD1in and VD1out should be connected together by FPC.
Note: Refer to INTVD1 description
Ver. 1.0
23/191
2009/12
ST7687A
6.3
System Control
Name
I/O
Description
CLS
I
CL
I/O
Reserved for testing only. Leave this pin open.
VREF
O
Reference voltage output for monitor only. Left it opened.
TCAP
I/O
Test pin. Left it opens.
VPP
I
Reserved for testing only.
Please fix this pin to VDD.
When writing PROM, it needs outer power supply voltage 6.5~6.75V (>8mA) input to write
successfully.
Typical
Tolerance
Level of INTVD1
VDDI
1.8V
INTVD1
I
VSS
1.65V~2.9V
2.8V
3.0V
2.9V~3.3V
3.3V
Ver. 1.0
Capacitor of VD1 to
24/191
VSS
Unnecessary
VSS
Unnecessary
VDD
necessary
VDD
necessary
2009/12
ST7687A
6.4
Microprocessor Interface
Name
I/O
/RST
I
Description
Reset input pin
When /RST is “L”, initialization is executed.
Parallel / Serial data input select input
IF[3:1]
I
IF3
IF2
IF1
MPU interface type
H
H
H
80 series 16-bit parallel
H
H
L
80 series 8-bit parallel
H
L
H
68 series 16-bit parallel
H
L
L
68 series 8-bit parallel
L
H
H
8-bit serial (4 line)
L
H
L
9-bit serial (3 line)
Note:
Refer to Table 1 for detail interface connections.
Chip select input pins
/CS
I
Data / Instruction I/O is enabled only when /CS is "L". When chip select is non-active,
D0 to D15 become high impedance.
Register select input pin
In parallel interface:
A0
I
A0 = "H": D0 to D15 or SI are display data
A0 = "L": D0 to D15 or SI are control Command
In 3-line/4-line interface:
This pad will be used for SCL function.
RW_WR pin is only used in parallel interface.
MPU type
RW_WR
Description
Read / Write control input pin
6800-series
RW_WR
RW
I
Write status: RW = “L”.
Read status: RW = “H”.
Write enable clock input pin
8080-series
/WR
The data on D0 to D15 are latched at the
rising edge of the /WR signal.
When in the serial interface, connect it to VDDI.
Ver. 1.0
25/191
2009/12
ST7687A
E_RD pin is only used in parallel interface.
MPU Type
E_RD
Description
Enable clock pin:
Write status: The data on D0 to D15 are
6800-series
E_RD
E
latched at the falling edge of the E signal.
Read status: The data on D0 to D15 are
I
latched at the rising edge of the E signal.
Read enable clock input pin
8080-series
/RD
The data on D0 to D15 are latched at the
falling edge of the /WR signal.
When in the serial interface, connect it to VDDI.
They connect to the standard 8/16-bit MPU bus via the 8/16bit bi-directional bus.
When the following interface is selected and the /CS pin is high, the following pins
become high impedance.
1. In 8-bit parallel: D15-D8 pins are in the state of high impedance should connect to
D15 to D0
I/O
VDDI
2. In 3-line/4-line interface D0 pad will be used for SI function
3. In 4-line interface D1 pad will be used for A0 function
4. In Serial interface: unused pins are in the state of high impedance should connect
to VDDI.
SI
I
SI is used to input serial data when the serial interface is selected.(3 line and 4 line)
It is used by “D0” pad, See Table 1.
SCL is used to input serial clock when the serial interface is selected.
SCL
I
The data is converted in the rising edge. (3 line and 4 line)
It is used by “A0” pad, See Table 1.
TE
O
Tearing effect output.
PROM burn-in control Pin.
/EXT
I
There is a pull-high resistor between /EXT &VDD in ST7687A.
When burning PROM, please add an external VSS on /EXT. (needs external power
supply voltage VPP=6.5V)
NOTE:
1.
Microprocessor interface pins should not be floating in any operation mode.
2.
Unused pin should connect to VDDI (Supply Digital Voltage).
Ver. 1.0
26/191
2009/12
ST7687A
6.5
LCD Driver Outputs
Name
I/O
Description
LCD segment driver outputs
The display data and the M signal control the output voltage of segment driver.
Display data
SEG0
to
O
SEG383
M (Internal)
Segment driver output voltage
Normal display
Reverse display
H
H
Vg
VSS
H
L
VSS
Vg
L
H
VSS
Vg
L
L
Vg
VSS
VSS
VSS
Sleep-In mode
LCD common driver outputs
The internal scanning data and M signal control the output voltage of common driver.
COM0
to
O
COM127
Scan data
M (Internal)
Common driver output voltage
H
H
XV0
H
L
V0
L
H
Vm
L
L
Vm
Sleep-In mode
DUMMY
Ver. 1.0
-
VSS
It’s reserved for test, do not connect ITO or any other electrical-conducted material with
it.
27/191
2009/12
ST7687A
Driving Waveform
ST7687A I/O PIN ITO Resister Limitation
Pin Name
ITO Resister
VDD, VDD2~VDD5, VSS,VSS1,VSS2,VSS4,SI(in parallel interface is D0), VD1in, VD1out
<100Ω
V0IN, V0OUT, V0S ,XV0IN, XV0OUT ,XV0S , VgIN, VgOUT ,VgS ,Vm
<300Ω
VPP
<50Ω
A0, E_RD, RW_WR, /CS, D0(in parellel interface),D1, …D15, (SCL), TE, INTVD1
<1KΩ
/RST
<10KΩ
IF[3:1], CLS, /EXT
<1KΩ
TCAP, CL, VREF
Floating
NOTE:
1. Make sure that the ITO resistance of COM0 ~ COM127 is equal, and so is it of SEG0 ~ SEG383.
These limitations include the bottleneck of ITO layout.
2. ITO layout suggestion is shown as below:
Ver. 1.0
28/191
2009/12
ST7687A
7
7.1
FUNCTIONAL DESCRIPTION
Microprocessor Interface
Chip Select Input
/CS pin is chip selection. The ST7687A is active when /CS=L. In serial interface mode, the internal shift
register and the counter are reset when /CS=H.
Ver. 1.0
29/191
2009/12
ST7687A
7.2
Selecting Parallel / Serial Interface
ST7687A has four types of interfaces with an MPU, which are two serial and two parallel interfaces. These
parallel or serial interfaces are determined by IF pin as shown in Table 1.
I/F Mode
Pin Assignment
IF
IF3
IF2
H
H
H
H
H
H
I/F Description
/CS
A0
E_RD
RW_WR
Used Data Bus
D1
D0
80 serial 16-bit parallel
/CS
A0
/RD
/WR
D15~D2
D1
D0
L
80 serial 8-bit parallel
/CS
A0
/RD
/WR
D7~D2
D1
D0
L
H
68 serial 16-bit parallel
/CS
A0
E
R/W
D15~D2
D1
D0
H
L
L
68 serial 8-bit parallel
/CS
A0
E
R/W
D7~D2
D1
D0
L
H
H
8-bit SPI mode (4 line)
/CS
SCL
--
--
--
A0
SI
L
H
L
9-bit SPI mode (3 line)
/CS
SCL
--
--
--
--
SI
1
Table 1 Parallel / Serial Interface Mode
7.2.1
8-bit or 16-bit Parallel Interface
The ST7687A identifies the type of the data bus signals according to the combination of A0, /RD (E) and
/WR (R/W) signals, as shown in Table 2.
Common
6800-series
8080-series
Description
A0
R/W
E
/WR
/RD
H
H
↑
H
↓
Display data read out
H
H
↑
H
↓
Register status read
L
L
↓
↑
H
Instruction write
H
L
↓
↑
H
Display data write
Table 2 Parallel Data Transfer
Ver. 1.0
30/191
2009/12
ST7687A
Figure 1 Parallel Data Transfer Example Chart
Relation between Data Bus and Gradation Data
ST7687A offers 4096, 65K color display. When using 4096, 65K color display; you can specify color for
each of R, G, and B using the palette function. Use the command for switching between these modes.
(1) 4096-color display
(1-1) Type A 4096 color display
1. 8-bit mode
D7, D6, D5, D4, D3, D2, D1, D0: RRRRGGGG
1st-write
D7, D6, D5, D4, D3, D2, D1, D0: BBBBRRRR
2nd-write
D7, D6, D5, D4, D3, D2, D1, D0: GGGGBBBB
3rd-write
There are 3 write operations for 2 pixel data.
1st pixel data is written in the display data RAM when 2nd –write operation finishes, and 2nd pixel data is
written in the display data RAM when 3rd–write operation finishes.
2. 16-bit mode
D15, D14, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0: RRRRGGGGBBBBXXXX
1st-write
There is only 1 write operation for 1 pixel data.
1 pixel data is written in the display data RAM when 1st –write operation finishes. “X” are ignored dummy bits.
(1-2) Type B 4096 color display
1. 8-bit mode
D7, D6, D5, D4, D3, D2, D1, D0: XXXXRRRR
D7, D6, D5, D4, D3, D2, D1, D0: GGGGBBBB
1st-write
2nd-write
There are 2 write operations for 1 pixel data.
1st pixel data is written in the display data RAM when 2nd –write operation finishes. “X” are ignored dummy
Ver. 1.0
31/191
2009/12
ST7687A
bits.
2. 16-bit mode
D15, D14, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0: XXXXRRRRGGGGBBBB
1st-write
There is only 1 write operation for 1 pixel data.
1 pixel data is written in the display data RAM when 1st –write operation finishes. “X” are ignored dummy bits.
(2) 65K color input mode
1. 8-bit mode
D7, D6, D5, D4, D3, D2, D1, D0: RRRRRGGG
1st-write
D7, D6, D5, D4, D3, D2, D1, D0: GGGBBBBB
2nd-write
There are 2 write operations for 1 pixel data.
1st pixel data is written in the display data RAM when 2nd –write operation finishes.
2. 16-bit mode
D15, D14, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0: RRRRRGGGGGGBBBBB
1st-write
There is only 1 write operation for 1 pixel data.
1 pixel data is written in the display data RAM when 1st –write operation finishes.
7.2.2
8- and 9-bit Serial Interface
The 8-bit serial interface uses four pins /CS, SI, SCL, and A0 to write in commands and data. Meanwhile,
the 9-bit serial interface uses three pins /CS, SI and SCL for the same purpose.
Data read is not available in the serial interface. Data must write to IC with 8 bits for each time. The relation
between gray-scale data and data bus in the serial input is the same as that in the 8-bit parallel interface mode
at every gradation.
(1) 8-bit serial interface (4-line)
th
When entering data (parameters): A0= HIGH at the rising edge of the 8 SCL.
th
When entering command: A0= LOW at the rising edge of the 8 SCL
Ver. 1.0
32/191
2009/12
ST7687A
When entering reading command:
(2) 9-bit serial interface (3-line)
st
When entering data (parameters): SI= HIGH at the rising edge of the 1 SCL.
st
When entering command: SI= LOW at the rising edge of the 1 SCL.
When entering reading command:
Ver. 1.0
33/191
2009/12
ST7687A
If /CS is set to HIGH while the 8 bits from D7 to D0 are entered, the data concerned is invalidated. Before
entering succeeding sets of data, you must correctly input the data concerned again.
In order to avoid data transfer error due to incoming noise, it is recommended to set /CS at HIGH on byte
basis to initialize the serial-to-parallel conversion counter and the register.
Ver. 1.0
34/191
2009/12
ST7687A
7.2.3
8-bit and 9-bit Serial Interface Data Color Coding
(1) 8-bit serial interface (4-line)
R 5-bit, G 6-bit, B 5-bit, 65,536 colors
There is 1 pixel ( = 3 sub-pixels ) per 2 byte.
(2) 9-bit serial interface (3-line)
R 5-bit, G 6-bit, B 5-bit, 65,536 colors
There is 1 pixel ( = 3 sub-pixels ) per 2 byte.
Ver. 1.0
35/191
2009/12
ST7687A
7.3
Access to DDRAM and Internal Registers
ST7687A realizes high-speed data transfer because the access from MPU is a sort of pipeline processing
done via the bus holder attached to the internal, requiring the cycle time alone without needing the wait time.
For example, when MPU writes data to the DDRAM, the data is once held by the bus holder and then written to
the DDRAM before the succeeding write cycle is started. When MPU reads data from the DDRAM, the first
read cycle is dummy and the bus holder holds the data read in the dummy cycle, and then it read from the bus
holder to the system bus in the succeeding read cycle. Figure 2 illustrates these relations.
In 80-series interface mode:
MPU signal
Read
Operation
A0
/WR
/RD
DATA
N
Dummy
D (N )
D (N +1)
Internal signals
/WR
/RD
INTERNAL LATCH
ADDRESS COUNTER
N
D (N )
D (N )
D (N +1)
D (N +2)
D (N +1)
D (N +2)
D (N +3)
Figure 2 Write / Read Operation between MPU and ST7687A
Ver. 1.0
36/191
2009/12
ST7687A
7.4
Display Data RAM (DDRAM)
7.4.1
DDRAM
It is 128 X 128 X 16 bits capacity RAM prepared for storing dot data. Refer to the following memory map
for the RAM configuration.
Memory Map
RGB alignment
Data control command
Column
(MADCTR) MX=0
(MADCTR) MX=1
Color
0
1
127
127
126
0
R
G
B
R
G
B
R
G
B
0
1
2
3
4
5
381
382
383
Data
Page
(MADCTR)
(MADCTR)
MY=0
MY=1
0
127
1
126
2
125
3
124
4
123
5
122
6
121
7
120
:
:
120
7
121
6
122
5
123
4
124
3
125
2
126
1
127
0
SEGout
You can change position of R and B with MADCTR command.
7.4.2
Address Control
The address counter sets the addresses of the display data RAM for writing.
Data is written pixel into the RAM matrix of ST7687A. The data for one pixel or two pixels is collected
(RGB 5-6-5-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=127 (7Fh) and Y=0 to Y=127 (7Fh). Addresses outside these ranges are not allowed.
Ver. 1.0
37/191
2009/12
ST7687A
Before writing to the RAM, a window must be defined into which 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=127 (7Fh), YE=127 (7Fh).
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
(MV=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 “MADCTR”, define flags MV, MX and MY, which allows mirroring of the
X-address and Y-address. All combinations of flags are allowed. Figure 3 show the available combinations of
writing to the display RAM. When MX, MY and MV will be changed the data must be rewritten to the display
RAM.
For each image condition, the controls for the column and row counters apply as below:
Condition
Column Counter
When RAMWR command is accepted
Row Counter
Return to “Start
Return to “Start
Column (XS)”
Row (YS)”
Complete Pixel Read / Write action
Increment by 1
No change
The Column counter value is larger than “End Column (XE)”
Return to “Start
Increment by 1
Column (XS)”
The Column counter value is larger than “End Column (XE)”
Return to “Start
Return to “Start
and the Row counter value is larger than “End Row (YE)”
Column (XS)”
Row (YS)”
Ver. 1.0
38/191
2009/12
ST7687A
Display
MADCTR
Data
Parameter
Direction
MV
MX
MY
Normal
0
0
0
Y-Mirror
0
0
1
X-Mirror
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
X-Mirror
Y-Mirror
X-Y
Exchange
Image in the Host
Image in the Driver
(MPU)
(DDRAM)
X-Y
Exchange
Y-Mirror
X-Y
Exchange
X-Mirror
X-Y
Exchange
X-Mirror
Y-Mirror
Figure 3 Frame Data Write Direction According to the MADCTR parameters (MV, MX and MY)
Ver. 1.0
39/191
2009/12
ST7687A
7.4.3
I/O Buffer Circuit
It is the bi-directional buffer used when MPU reads or writes the DDRAM. Since MPU’s read or write of
DDRAM is performed independently from data output to the display data latch circuit, asynchronous access to
the DDRAM when the LCD is turned on does not cause troubles such as flicking of the display images.
7.4.4
Scroll Address Circuit
The circuit associates lines on DDRAM with COM output. ST7687A processes signals for the liquid crystal
display on 1-line basis. Thus, when specifying a specific area in the area scroll display or partial display, you
must designate it in line.
7.4.5
Display data Latch Circuit
This circuit is used to temporarily hold display data to be output from the DDRAM to the SEG decoder
circuit. Since display normal/inverse and display on/off commands are used to control data in the latch circuit
alone, they do not modify data in the DDRAM.
7.4.6
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 7Fh and row
address is 00h to 7Fh 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
Ver. 1.0
40/191
2009/12
ST7687A
Example2) Partial Display On: PSL[6:0] = 04h, PEL[6:0] = 7Ch, MADCTR (ML)=0
7.4.7
7.4.7.1
Vertical Scroll/Rolling Scroll
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 4 Rolling Scroll Definition
When Vertical Scrolling Definition Parameters (TFA+VSA+BFA) =128. In this case, ‘rolling’ scrolling is
applied as shown below. All the memory contents will be used.
Example1) Panel size=128 x 128, TFA =3, VSA=123, BFA=2, SSA=4, MADCTR ML=0: Rolling Scroll
Ver. 1.0
41/191
2009/12
ST7687A
Example2) Panel size=128 x 128, TFA =3, VSA=123, BFA=2, SSA=4, MADCTR ML=1: Rolling Scroll
(TFA and BFA are exchanged)
7.4.7.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<128
N/A. Do not set TFA + VSA + BFA<128. In that case, unexpected picture will be shown.
Case 2: TFA + VSA + BFA=128 (Rolling Scrolling)
Example1) When MADCTR parameter ML=”0”, TFA=0, VSA=128, BFA=0 and VSCSAD=40.
Ver. 1.0
42/191
2009/12
ST7687A
2
1
1
2
2
1
1
2
Ver. 1.0
43/191
3
2
1
1
1
2
3
3
2
1
3
2
Example2) When MADCTR parameter ML=”1”, TFA=10, VSA=118, BFA=0 and VSCSAD=30.
2009/12
ST7687A
7.4.8
Tearing Effect Output Line
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 signal can be used by the MPU to
synchronize Frame Memory Writing when displaying video images.
7.4.8.1
Tearing Effect Line Modes
Mode 1, the Tearing Effect Output signal consists of V-Sync (tVHD) information. It starts at 111th line
signal and ends at the 128th line signal. There is one high pulse during each frame.
Mode 2, the Tearing Effect Output signal consists of both H-Sync (tHDH) and V-Sync (tVDH) information.
TE pin outputs tHDH pulse on each COM scan signal. During 111th ~ 128th line signal, it output a high pulse
which equals: 1 tHDH + 1 tVDH.
Note: During Sleep In Mode, the Tearing Effect Output Pin is active Low.
Ver. 1.0
44/191
2009/12
ST7687A
7.4.8.2
Tearing Effect Line Timing
The Tearing Effect signal is described below:
Figure 5 AC characteristics of Tearing Effect Signal
Idle Mode Off (Frame Rate = 77Hz, Nline=0x00)
Symbol
Parameter
Min
Typ
Max
Unit
tVDL
Vertical Timing Low Duration
--
11.11
--
ms
tVDH
Vertical Timing High Duration
1
1.82
--
ms
tHDL
Horizontal Timing Low Duration
-
92
--
us
tHDH
Horizontal Timing High Duration
3
6
--
us
Description
Mode1
Mode2
Note: The signal’s rise and fall time (tf, tr) are stipulated to be equal to or less than 15ns.
Ver. 1.0
45/191
2009/12
ST7687A
7.5
Gray-Scale Display
ST7687A incorporates a 4FRC & 31 PWM function circuit to display a 64 gray-scale display.
7.6
Oscillation circuit
ST7687A is built-in an oscillator circuit. It provides internal clock without external resistor. This oscillator
signal is used in the voltage converter and display timing generation circuit.
Ver. 1.0
46/191
2009/12
ST7687A
7.7
Display Timing Generator Circuit
This circuit generates some signals to be used for displaying LCD. The display clock, which is generated
by oscillation clock, generates the clock for the line counter and the signal for the display data latch. The line
address of on-chip RAM is generated in synchronization with the display clock and the display data latch circuit
latches the 128-pixels display data in synchronization with the display clock. The display data, which is read to
the LCD driver, is completely independent of the access to the display data RAM from the microprocessor. The
display clock generates an LCD AC signal (M), which enables the LCD driver to make an AC drive waveform,
and also generates an internal common timing signal and start signal to the common driver. The frame signal
or the line signal changes the M by setting internal instruction. Driving waveform and internal timing signal are
shown in Figure 6.
Figure 6 2-frame AC Driving Waveform (Duty Ratio: 1/128)
126 127 0 1
2
3
4
5
6
7
8 9
119
10 11
127
125
121 123
126
0
120 122 124
1
2
3 4
Fosc
FR(Internal)
M(Internal)
COM0
COM10
SEGn
Figure 7 N-Line Inversion Driving Waveform (N=10, Duty Ratio=1/128)
Ver. 1.0
47/191
2009/12
ST7687A
7.8
POWER LEVEL DEFINITION
7.8.1
Power ON/OFF SEQUENCE
NOTE: VDDI=VDD; VDDA=VDD2, VDD3, VDD4, VDD5
During power off, if LCD is in the Sleep Out mode, VDDA and VDDI must be powered down minimum
120msec after /RST has been released.
During power off, if LCD is in the Sleep In mode, VDDI or VDDA can be powered down minimum 0msec after
/RST has been released.
/CS can be applied at any timing or can be permanently grounded. /RST has priority over /CS.
If /RST line is not held stable by host during Power On Sequence as defined in Sections case1 and case2,
then it will be necessary to apply a Hardware Reset (/RST) after Host Power On Sequence is complete to
ensure correct operation. Otherwise function is not guaranteed.
The power on/off sequence is illustrated below:
/RST line is held High or Unstable by Host at Power On
If /RST line is held High or unstable by the host during Power On, then a Hardware Reset must be applied
after both VDDA and VDDI have been applied – otherwise correct functionality is not guaranteed. There is no
timing restriction upon this hardware reset.
Note: Unless otherwise specified, timings herein show cross point at 50% of signal/power level.
Ver. 1.0
48/191
2009/12
ST7687A
7.8.2
Power Levels
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 65K colors.
2. Partial Mode On, Idle Mode Off, Sleep Out:
In this mode part of the display is used with maximum 65K colors.
3. Normal Mode On (full display), Idle Mode On, Sleep Out:
In this mode, the full display area is used but with 8 colors.
4. Partial Mode On, Idle Mode On, Sleep Out:
In this mode, part of the display is used but with 8 colors.
5. 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 Digital VDD power supply. Contents of the memory are safe.
6. Power Off Mode:
In this mode, both Analog VDD and Digital VDDI are removed.
Note: Transition between modes 1-5 is controllable by MCU commands. Mode 6 is entered only when both Power supplies are removed.
Ver. 1.0
49/191
2009/12
ST7687A
7.9
Liquid Crystal Driver Power Circuit
The Power Supply circuits generate the voltage levels necessary to drive liquid crystal driver circuits with
low power consumption and the fewest components. There are voltage converter circuits, voltage regulator
circuits, and voltage follower circuits. They are controlled by power control instruction. For details, refers to
"Instruction Description". Figure 8 shows the referenced combinations in using Power Supply circuits.
IC Internal
IC External
Booster 1
( x8 )
V0
Vg
Booster 2
( x2 )
1.0uF/25V
Non-Polar
VDD2
VSS2
VSS2
1.0uF/16V
Non-Polar
Booster 3
( -x8 )
XV0
Figure 8 DC/DC Booster Block Diagram
7.9.1
Voltage Regulator Circuits
There is a built-in voltage regulator circuits in ST7687A for generating V0. After internal voltage is
regulated by voltage regulator circuit, V0 is generated. Detail explanation of V0 set is listed below:
7.9.1.1
Set V0 (Temperatue = 24℃
℃)
V0=a+{Vop[8:0]+Vop-offset[6:0]+(EV[6:0]-3Fh)}xb (V)
Example:
Vop[8:0]=011010010
Vop-offset[6:0]=0000000
EV[6:0]=0111111
V0=3.6 + { 210 + 0 + (63-63) } x 0.04 =12 (V)
a is a fixed constant value (see Table 3).
b is a fixed constant value (see Table 3).
Vop [8:0] is the programmed VOP value. The programming range for Vop [8:0] is 0 to 410 (19Ahex).
The range of contrast is 128 steps for fine tuning VOP.
Ver. 1.0
50/191
2009/12
ST7687A
SYMBOL
VALUE
UNIT
a
3.60
V
b
0.04
V
Table 3 Fixed Constant For V0 Setting
V0 restriction:
Because Vg should larger than 1.8V, ST7687A V0 value should be higher than 1.8 x Bias / 2 (V) and
lower than 18V. V0 value outside the available range is undefined. Users has to ensure while selecting the
temperature compensation that under all conditions and including all tolerances that the V0 voltage remains in
the range.
Bias
Min
Max
1/7
6.3
18.00
1/8
7.2
18.00
1/9
8.1
18.00
1/10
9
18.00
1/11
9.9
18.00
1/12
10.8
18.00
inhibit V0 Range
Available V0 Range
1/12
1/11
Bias
1/10
1/9
1/8
1/7
0
2
4
6
8
10
12
14
16
18
20
V0(Voltage)
Ver. 1.0
51/191
2009/12
ST7687A
7.9.1.2
Set V0 With Temperature Compensation
There are 16-line slope in each temperature steps and customer can select one line slope of temperature
o
compensation coefficiency for each temperature step. Each temperature step is 8 C. Please see Figure 9 as
below.
Figure 9 Relationship of V0 and Temperature Compensation
In command TEMPSEL (see section 8.1.62) each MTx, where x=0, 1, 2,…, E, F, has a value between 0
and 15. MTx = 0 results in 0V increment on V0, MTx = 1 results in Mx=5mV increment, …, MTx = 15 results in
Mx=15x5mV=75mV increment. Note that each MTx individually corresponds to a temperature interval; The
relations between Mx and V0 quantity due to temperature V0(T) are described in the equations shown as
follows:
Temperature range
Equation V0(V) at temperature=T℃
℃
-40℃ ℃ T < -32℃
V0(T) = V0(T24)+ (-32-T).M0 +( M1 + M2 + M3 + M4 + M5 + M6 + M7).8
-32℃ ℃ T < -24℃
V0(T) = V0(T24)+ (-24-T).M1 +( M2 + M3 + M4 + M5 + M6 + M7).8
-24℃ ℃ T < -16℃
V0(T) = V0(T24)+ (-16-T).M2 +( M3 + M4 + M5 + M6 + M7).8
-16℃ ℃ T < -8℃
V0(T) = V0(T24)+ (-8-T).M3 +( M4 + M5 + M6 + M7).8
-8℃ ℃ T < 0℃
V0(T) = V0(T24)+ (0-T).M4 +( M5 + M6 + M7).8
0℃ ℃ T < 8℃
V0(T) = V0(T24)+ (8-T).M5 +( M6 + M7).8
8℃ ℃ T < 16℃
V0(T) = V0(T24)+ (16-T).M6 + M7.8
16℃ ℃ T < 24℃
V0(T) = V0(T24)+ (24-T).M7
24℃ ℃ T < 32℃
V0(T) = V0(T24)-(T-24).M8
32℃ ℃ T < 40℃
V0(T) = V0(T24)-(T-32).M9-M8.8
40℃ ℃ T < 48℃
V0(T) = V0(T24)-(T-40).M10-(M9 + M8 ).8
48℃ ℃ T < 56℃
V0(T) = V0(T24)-(T-48).M11-(M10 + M9 + M8 ).8
56℃ ℃ T < 64℃
V0(T) = V0(T24)-(T-56).M12-(M11 + M10 + M9 + M8 ).8
Ver. 1.0
52/191
2009/12
ST7687A
64℃ ℃ T < 72℃
V0(T) = V0(T24)-(T-64).M13-(M12 + M11 + M10 + M9 + M8 ).8
72℃ ℃ T < 80℃
V0(T) = V0(T24)-(T-72).M14-(M13 + M12 + M11 + M10 + M9 + M8 ).8
80℃ ℃ T < 88℃
V0(T) = V0(T24)-(T-80).M15-( M14 + M13 + M12 + M11 + M10 + M9 + M8 ).8
Note:
Please make sure to avoid any kind of heating source closing to ST7687A such as back light, to prevent Vop is not anticipatve because of
temperature compensate circuit worked.
Ver. 1.0
53/191
2009/12
ST7687A
7.9.1.3
V0 fine tuning
ST7687A has 2 commands for fine tuning V0. These commands are VopOfsetInc (see section 8.1.43)
and VopOfsetDec (see section 8.1.44). When writing VopOfsetInc into IC for each time, V0 would increase
40mV; when writing VopOfsetDec into IC for each time, V0 would decrease 40mV.
Example:
Vop [8:0] = 011010010
EV [6:0] = 0111111
VopOfsetInc x2
→ V0=3.6 + {210 + (63-63)} x 0.04 + 0.04x2 =12.08 (V)
7.9.2
Voltage Follower Circuits
There is a build-in voltage follower circuits in ST7687A for generating Vg and Vm. These voltages are
decided by bias ratio selection circuitry which is set by users with software to control 1/7 to 1/12 bias ratios to
match the optimum display performance of LCD panel. Bias driving rule is listed below:
LCD bias
Vg
Vm
1/N bias
(2/N) x V0
(1/N) x V0
N=7 to 12
7.9.3
PROM Setting Flow
ST7687A provides the Write and Read function to write the electronic control value and built-in resistance
ratio into built-in PROM, and then read them from it. Using the Write and Read functions, you can store these
values appropriate to each LCD panel. This function is very convenient for user in setting from some different
panel’s voltage. But using this function must attention the setting procedure. Please see the following diagram.
Figure 10 V0 value control for different modules by loading PROM offset
Note1: This setting flow is used for LCM assembler.
Note2: PROM shouldn’t be written without preceding loading correctly from PROM in order to avoid some errors during IC operation.
Note3: When writing value to PROM, the voltage of VPP must be 6.5V~6.75V; the current of Ivpp must be more than 8mA.
Note4: If the PROM is exposed to a high temperature for hours, data in the memory cell may probably be lost before the data retention
guarantee period. To retain data in the memory cell, keep the memory cell below 90℃. The data retention guarantee period is specified
including the retention period.
Ver. 1.0
54/191
2009/12
ST7687A
7.10
Frequency Temperature Gradient Compensation Coefficient
ST7687A will auto-switch frame rate on different temperature such as Figure 11. TA, TB and TC are
frame rate switching temperatures which can be defined by customer with command TMPRNG (see section
8.1.60). FA, FB, FC and FD are switched frame rate which also can be defined by customer with command
FRMSEL (see section 8.1.62). The frame rate range is from 38.8Hz to 194Hz.
When the temperature is in increasing state, frame rate changes to the higher step at TA/TB/TC+TH (℃).
When the temperature is in decreasing state, frame rate changes to the lower step at TA/TB/TC. For example:
TC=10℃ and TH=5℃, FC switches to FD at 15℃ but FD switches to FC at 10℃. Please take Figure 11 for
reference.
Figure 11 Relationship of Frequency and Temperature Compensation
Ver. 1.0
55/191
2009/12
ST7687A
8
INSTRUCTIONS
8.1
Instruction Table
Command Table
Hex Command A0
/RD /WR D7
D6
D5
D4
D3
D2
D1
D0
Function
Ref
(00h)
NOP
0
1
0
0
0
0
0
0
0
0
0
No Operation
8.1.1
(01h)
SWRESET
0
1
0
0
0
0
0
0
0
0
1
Software reset
8.1.2
(09h)
RDDST
0
1
0
0
0
0
0
1
0
0
1
Read Display Status
8.1.3
-
1
0
1
-
-
-
-
-
-
-
-
Dummy read
-
1
0
1
ST31 ST30 ST29 ST28 ST27 ST26 ST25 ST24
(D31-D24)
-
1
0
1
ST23 ST22 ST21 ST20 ST19 ST18 ST17 ST16
(D23-D16)
-
1
0
1
ST15 ST14 ST13 ST12 ST11 ST10
ST9
ST8
(D15-D8)
-
1
0
1
ST7
ST6
ST5
ST4
ST3
ST2
ST1
ST0
(D7-D0)
0
1
0
0
0
0
0
1
0
1
0
Read Display Power Mode
-
1
0
1
-
-
-
-
-
-
-
-
Dummy read
-
1
0
1
D7
D6
D5
D4
D3
D2
0
0
-
0
1
0
0
0
0
0
1
0
1
1
Read Display MADCTR
-
1
0
1
-
-
-
-
-
-
-
-
Dummy read
-
1
0
1
D7
D6
D5
D4
D3
0
0
0
-
0
1
0
0
0
0
0
1
1
0
0
Read Display Pixel Format
-
1
0
1
-
-
-
-
-
-
-
-
Dummy read
-
1
0
1
0
0
0
0
0
D2
D1
D0
-
0
1
0
0
0
0
0
1
1
0
1
Read Display Image Mode
-
1
0
1
-
-
-
-
-
-
-
-
Dummy read
-
1
0
1
D7
0
D5
D4
D3
0
0
0
-
0
1
0
0
0
0
0
1
1
1
0
Read Display signal Mode
-
1
0
1
-
-
-
-
-
-
-
-
Dummy read
-
1
0
1
D7
D6
0
0
0
0
0
0
-
(0Ah)
RDDPM
(0Bh) RDDMADCTR
(0Ch) RDDCOLMOD
(0Dh)
(0Eh)
RDDIM
RDDSM
8.1.4
8.1.5
8.1.6
8.1.7
8.1.8
(10h)
SLPIN
0
1
0
0
0
0
1
0
0
0
0
Sleep in & booster off
8.1.9
(11h)
SLPOUT
0
1
0
0
0
0
1
0
0
0
1
Sleep out & booster on
8.1.10
(12h)
PTLON
0
1
0
0
0
0
1
0
0
1
0
Partial mode on
8.1.11
(13h)
NORON
0
1
0
0
0
0
1
0
0
1
1
Partial off (Normal)
8.1.12
(20h)
INVOFF
0
1
0
0
0
1
0
0
0
0
0
(21h)
INVON
0
1
0
0
0
1
0
0
0
0
1
(22h)
APOFF
0
1
0
0
0
1
0
0
0
1
0
Display inversion off (normal) 8.1.13
Display inversion on
8.1.14
All pixel off (Only for test
8.1.15
purpose)
Ver. 1.0
56/191
2009/12
ST7687A
Command Table
Hex Command A0
/RD /WR D7
D6
D5
D4
D3
D2
D1
D0
0
1
0
0
0
1
1
Function
Ref
All pixel on (Only for test
(23h)
APON
0
1
0
0
8.1.16
purpose)
(25h)
WRCNTR
-
0
1
0
0
0
1
0
0
1
0
1
Write contrast
1
1
0
0
EV6
EV5
EV4
EV3
EV2
EV1
EV0
EV = 0 to 127
8.1.17
(28h)
DISPOFF
0
1
0
0
0
1
0
1
0
0
0
Display off
8.1.18
(29h)
DISPON
0
1
0
0
0
1
0
1
0
0
1
Display on
8.1.19
(2Ah)
CASET
0
1
0
0
0
1
0
1
0
1
0
Column address set
8.1.20
1
1
0
0
XS6
XS5
XS4
XS3
XS2
XS1
XS0
X_ADR start: 0℃XS℃7Fh
1
1
0
0
XE6
XE5
XE4
XE3
XE2
XE1
XE0
X_ADR end: XS℃XE ℃7Fh
0
1
0
0
0
1
0
1
0
1
1
Row address set
1
1
0
0
YS6
YS5
YS4
YS3
YS2
YS1
YS0
Y_ADR start: 0℃YS℃7Fh
1
1
0
0
YE6
YE5
YE4
YE3
YE2
YE1
YE0
Y_ADR end: YS℃YE℃7Fh
0
1
0
0
0
1
0
1
1
0
0
Memory write
1
1
0
D7
D6
D5
D4
D3
D2
D1
D0
Write data
0
1
0
0
0
1
0
1
1
1
0
Memory Read
1
0
1
-
-
-
-
-
-
-
-
Dummy read
1
0
1
D7
D6
D5
D4
D3
D2
D1
D0
0
1
0
0
0
1
1
0
0
0
0
(2Bh)
(2Ch)
(2Eh)
RASET
RAMWR
RAMRD
8.1.21
8.1.22
8.1.23
Partial start/end address
(30h)
PTLAR
8.1.24
setting
-
1
1
0
0
PS6
PS5
PS4
PS3
PS2
PS1
PS0
Start address (0~127)
-
1
1
0
0
PE6
PE5
PE4
PE3
PE2
PE1
PE0
End address (0~127)
0
1
0
0
0
1
1
0
0
1
1
Scroll Area
-
1
1
0
0
TFA6 TFA5 TFA4 TFA3 TFA2 TFA1 TFA0
TFA=0~128
-
1
1
0
0
VSA6 VSA5 VSA4 VSA3 VSA2 VSA1 VSA0
VSA=0~128
-
1
1
0
0
BFA6 BFA5 BFA4 BFA3 BFA2 BFA1 BFA0
BFA=0~128
(33h)
SCRLAR
(34h)
TEOFF
0
1
0
0
0
1
1
0
1
0
0
(35h)
TEON
0
1
0
0
0
1
1
0
1
0
1
1
1
0
-
-
-
-
-
-
-
M
0
1
0
0
0
1
1
0
1
1
0
1
1
0
MY
MX
MV
ML
RGB
-
-
-
0
1
0
0
0
1
1
0
1
1
1
1
1
0
0
(36h)
MADCTR
(37h)
VSCSAD
SSA6 SSA5 SSA4 SSA3 SSA2 SSA1 SSA0
8.1.25
Tearing effect line off
8.1.26
Tearing effect mode set & on 8.1.27
“0”: mode1, “1”: mode2
Memory data access control 8.1.28
Scroll start address of RAM 8.1.29
SSA = 0~128
(38h)
IDMOFF
0
1
0
0
0
1
1
1
0
0
0
Idle mode off
8.1.30
(39h)
IDMON
0
1
0
0
0
1
1
1
0
0
1
Idle mode on
8.1.31
(3Ah)
COLMOD
0
1
0
0
0
1
1
1
0
1
0
Interface pixel format
8.1.32
Ver. 1.0
57/191
2009/12
ST7687A
Command Table
Hex Command A0
-
/RD /WR D7
D6
D5
D4
D3
D2
D1
D0
Function
Ref
1
1
0
-
-
-
-
-
P2
P1
P0
Interface format
0
1
0
1
1
0
1
1
0
1
0
Read ID
-
1
0
1
-
-
-
-
-
-
-
-
Dummy read
-
1
0
1
0
0
0
0
ID3
ID2
ID1
ID0
(D3-D0)
0
1
0
1
0
1
1
0
0
0
0
Display Duty setting
8.1.34
1
1
0
Du7
Du6
Du5
Du4
Du3
Du2
Du1
Du0
0
1
0
1
0
1
1
0
0
0
1
First Com. Page address
8.1.35
1
1
0
-
F6
F5
F4
F3
F2
F1
F0
0
1
0
1
0
1
1
0
0
1
1
FOSC divider
8.1.36
1
1
0
-
-
-
-
-
-
0
1
0
1
0
1
1
0
1
0
1
N-line control
8.1.37
1
1
0
M
0
0
N4
N3
N2
N1
N0
0
1
0
1
0
1
1
0
1
1
1
(DAh)
(B0h)
(B1h)
(B3h)
(B5h)
RDID
DutySet
FirstCom
OscDiv
NLInvSet
8.1.33
CLD1 CLD0
Com/Seg Scan Direction for
(B7h) ComScanDir
8.1.38
Glass layout
1
1
0
0
SMX
0
0
SBGR
0
0
0
(B8h)
RmwIn
0
1
0
1
0
1
1
1
0
0
0
read modify write control IN 8.1.39
(B9h)
RmwOut
0
1
0
1
0
1
1
1
0
0
1
read modify write control Out 8.1.40
0
1
0
1
0
1
1
1
1
0
1
Display Compensation Step 8.1.41
1
1
0
0
0
0
0
0
0
1
0
1
1
0
0
0
1
1
0
1
1
0
-
-
-
-
-
-
-
Vop8
VopOfsetInc
0
1
0
1
1
0
0
0
0
0
(C2h) VopOfsetDec
0
1
0
1
1
0
0
0
0
(C3h)
0
1
0
1
1
0
0
0
0
1
1
0
-
-
-
-
-
0
1
0
1
1
0
0
0
1
1
0
-
-
-
-
-
0
1
0
1
1
0
0
1
0
1
1
1
1
0
-
-
-
-
-
-
-
2BT0
0
1
0
1
1
0
0
1
1
0
0
1
1
0
0
0
0
0
ID3
ID2
ID1
ID0
0
1
0
1
1
0
1
0
0
0
0
1
1
0
0
0
0
1
1
1
0
1
(BDh) DispCompStep1
(C0h)
(C1h)
VopSet
BiasSel
(C4h) BstBmpXSel
(CBh)
(CCh)
(D0h)
VgSorcSel
IDSet
ANASET
Ver. 1.0
Step2 Step1 Step0
0
0
0
Vop setting
8.1.42
1
+40mv/setp
8.1.43
1
0
-40mv/setp
8.1.44
1
1
Bias selection
8.1.45
Booster setting
8.1.46
Vop7 Vop6 Vop5 Vop4 Vop3 Vop2 Vop1 Vop0
58/191
Bias2 Bias1 Bias0
1
0
0
BST2 BST 1 BST0
FV3 with Booster x2 control 8.1.47
ID setting
8.1.48
Analog circuit setting
8.1.49
2009/12
ST7687A
Command Table
Hex Command A0
/RD /WR D7
D6
D5
D4
D3
D2
D1
D0
1
0
0
0
1
1
1
Function
Ref
PROM data auto re-load
(D7h) AutoLoadSet
0
1
0
1
8.1.50
control
(E0h)
EPCTIN
1
1
0
1
0
-
ARD
1
1
1
1
0
1
0
1
1
1
0
0
0
0
0
1
1
0
0
0
0
WR/RD
0
0
0
0
PROM control in
8.1.51
(E1h)
EPCOUT
0
1
0
1
1
1
0
0
0
0
1
PROM control out
8.1.52
(E2h)
EPWR
0
1
0
1
1
1
0
0
0
1
0
Write to PROM
8.1.53
(E3h)
EPRD
0
1
0
1
1
1
0
0
0
1
1
Read from PROM
8.1.54
(E4h)
PROMSEL
0
1
0
1
1
1
0
0
1
0
0
Select PROM
8.1.55
1
1
0
MS1
MS0
0
1
1
1
0
1
0
1
0
1
1
1
0
0
1
0
1
Programmable rom setting
8.1.56
1
1
0
0
0
0
0
1
1
1
1
0
1
0
1
0
1
1
1
1
0
1
1
1
0
0
0
0
0
0
1
0
1
1
1
1
(E5h)
ROMSET
(ECh) DispCompStep2
Display Compensation Step 8.1.57
Step3 Step2 Step1 Step0
Frame Freq. in Temp range
(F0h)
FRMSEL
0
0
0
0
8.1.58
A,B,C and D
1
1
0
-
-
-
DIVA
FA3
FA2
FA1
FA0
1
1
0
-
-
-
DIVB
FB3
FB2
FB1
FB0
1
1
0
-
-
-
DIVC FC3
FC2
FC1
FC0
1
1
0
-
-
-
DIVD FD3
FD2
FD1
FD0
0
1
0
1
1
1
0
0
1
Frame Freq. in Temp. range
(F1h)
FRM8SEL
1
0
8.1.59
A,B,C and D (idle)
(F2h)
(F3h)
(F4h)
TMPRNG
TMPHYS
TEMPSEL
Ver. 1.0
1
1
0
-
-
-
F8A4 F8A3 F8A2 F8A1 F8A0
1
1
0
-
-
-
F8B4 F8B3 F8B2 F8B1 F8B0
1
1
0
-
-
-
F8C4 F8C3 F8C2 F8C1 F8C0
1
1
0
-
-
-
F8D4 F8D3 F8D2 F8D1 F8D0
0
1
0
1
1
1
1
0
0
1
0
1
1
0
-
TA6
TA5
TA4
TA3
TA2
TA1
TA0
1
1
0
-
TB6
TB5
TB4
TB3
TB2
TB1
TB0
1
1
0
-
TC6
TC5
TC4
TC3
TC2
TC1
TC0
0
1
0
1
1
1
1
0
0
1
1
1
1
0
-
-
-
-
TH3
TH2
TH1
TH0
0
1
0
1
1
1
1
0
1
0
0
1
1
0
MT13 MT12 MT11 MT10 MT03 MT02 MT01 MT00
1
1
0
MT33 MT32 MT31 MT30 MT23 MT22 MT21 MT20
59/191
Temp. range A,B and C
8.1.60
Hysteresis value set
8.1.61
TEMPSEL
8.1.62
2009/12
ST7687A
Command Table
Hex Command A0
/RD /WR D7
D6
D5
D4
D3
D2
D1
D0
1
1
0
MT53 MT52 MT51 MT50 MT43 MT42 MT41 MT40
1
1
0
MT73 MT72 MT71 MT70 MT63 MT62 MT61 MT60
1
1
0
MT93 MT92 MT91 MT90 MT83 MT82 MT81 MT80
1
1
0
MTB3 MTB2 MTB1 MTB0 MTA3 MTA2 MTA1 MTA0
1
1
0
MTD3 MTD2 MTD1 MTD0 MTC3 MTC2 MTC1 MTC0
1
1
0
MTF3 MTF2 MTF1 MTF0 MTE3 MTE2 MTE1 MTE0
0
1
0
Function
Ref
Temperature detection
(F7h)
THYS
1
1
1
1
0
1
1
1
8.1.63
threshold
(F9h)
Frame Set
1
1
0
-
0
1
0
1
1
1
1
1
0
0
1
1
1
0
-
-
-
P14
P13
P12
P11
P10
1
1
0
-
-
-
P24
P23
P22
P21
P20
:
:
:
:
:
:
:
:
:
:
:
1
1
0
-
-
-
P154 P153 P152 P151 P150
1
1
0
-
-
-
P164 P163 P162 P161 P160
THYS6 THYS5 THYS4 THYS3 THYS2 THYS1 THYS0
Set Frame RGB value
8.1.64
Note:
During Sleep In mode, these commands are updated immediately.
Read status (09H), Read Display Power Mode (0AH), Read Display MADCTR (0BH), Read Display Pixel Format (0CH), Read Display
Image Mode (0DH), Read Display Signal Mode (0EH) of these commands is updated immediately both in Sleep In mode and Sleep Out
mode
Ver. 1.0
60/191
2009/12
ST7687A
8.1.1
NOP (00h)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
NOP
0
1
0
0
0
0
0
0
0
0
0
(00h)
This command is an empty command. It does not have effect on the display
module.
Description
However it can be used to terminate RAM data write or read as described in
RAMWR(Memory Write), RAMRD (Memory Read) and parameter write
commands.
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Flow Chart
Ver. 1.0
Default Value
Power On Sequence
N/A
S/W Reset
N/A
H/W Reset
N/A
-
61/191
2009/12
ST7687A
8.1.2
SWRESET: Software Reset (01h)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
SWRESET
0
1
0
0
0
0
0
0
0
0
1
(01h)
When the Software Reset command is written, it causes a software reset. It
resets the commands and parameters to their S/W Reset default values and all
Description
segment & common outputs are set to Vm (display off: blank display). (See
default tables in each command description)
Note: The Frame Memory contents are not affected by this command.
It will be necessary to wait 5msec before sending new command following
software reset. The display module loads all display suppliers’ factory default
Restriction
values to the registers during 5msec. If Software Reset is applied during Sleep
Out mode, it will be necessary to wait 120msec before sending Sleep Out
command.
Software Reset command cannot be sent during Sleep Out sequence.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value
Power On Sequence
N/A
S/W Reset
N/A
H/W Reset
N/A
Flow Chart
Ver. 1.0
62/191
2009/12
ST7687A
8.1.3
RDDST: Read Display Status (09h)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
RDDST
0
1
0
0
0
0
0
1
0
0
1
(09h)
Dummy Read
1
0
1
-
-
-
-
-
-
-
-
-
2nd parameter
1
0
1
ST31 ST30 ST29 ST28 ST27 ST26 ST25 ST24
-
3rd parameter
1
0
1
ST23 ST22 ST21 ST20 ST19 ST18 ST17 ST16
-
4th parameter
1
0
1
ST15 ST14 ST13 ST12 ST11 ST10 ST9
ST8
-
5th parameter
1
0
1
ST7
ST0
-
ST6
ST5
ST4
ST3
ST2
ST1
This command indicates the current status of the display as described in the table below:
Bit
Description
Ver. 1.0
Description
ST31
ST30
ST29
Booster Voltage Status
Row Address Order (MY)
Column Address Order (MX)
ST28
Row/Column Order (MV)
ST27
ST26
ST25
ST24
ST23
ST22
ST21
ST20
ST19
ST18
ST17
ST16
ST15
ST14
ST13
ST12
ST11
ST10
ST9
ST8
ST7
ST6
ST5
ST4
ST3
ST2
ST1
Scan Address Order (ML)
RGB/BGR Order (RGB)
Not Used
Not Used
Not Used
Value
“1”=Booster on, “0”=off
“1”=Decrement, “0”=Increment
“1”=Decrement, “0”=Increment
“1”= Row/column exchange (MV=1)
“0”= Normal (MV=0)
Interface Color Pixel Format
Definition
“1”=Decrement, “0”=Increment
“1”=BGR, “0”=RGB
“0”
“0”
“0”
“011”=12 bit / pixel (type A)
“100”=12 bit / pixel (type B)
“101”=16-bit / pixel
Idle Mode On/Off
Partial Mode On/Off
Sleep In/Out
Display Normal Mode On/Off
Vertical Scrolling Status
Not Used
Inversion Status
All Pixels On
All Pixels Off
Display On/Off
Tearing effect line on/off
Not Used
Not Used
Not Used
Tearing effect line mode
Not Used
Not Used
Not Used
Not Used
“1” = On, “0” = Off
“1” = On, “0” = Off
“1” = Out, “0” = In
“1” = Normal Display, “0” = Partial
“1” = Scroll on, “0” = Scroll off
“0”
“1” = On, “0” = Off
“1” = all pixal on, “0” = normal display
“1” = all pixal off, “0” = normal display
“1” = On, “0” = Off
“1” = On, “0” = Off
“0”
“0”
“0”
“0” = mode1, “1” = mode2
“0”
“0”
“0”
“0”
63/191
2009/12
ST7687A
ST0
Not Used
“0”
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value (ST[31:0])
Power On Sequence
0000 0000_0101 0001_0000 0000_0000 0000
S/W Reset
0xxx xx00_0xxx 0001_0000 0000_0000 0000
H/W Reset
0000 0000_0101 0001_0000 0000_0000 0000
Serial I/F Mode
Parallel I/F Mode
Read 09h
Read 09h
Dummy
Clock
Dummy
Read
Legend
Command
Send 2nd
parameter
Send 2nd
parameter
Parameter
Flow Chart
Display
Send 3rd
parameter
Send 3rd
parameter
Action
Send 4th
parameter
Send 4th
parameter
Send 5th
parameter
Ver. 1.0
Send 5th
parameter
64/191
Mode
Sequential
transter
2009/12
ST7687A
8.1.4
RDDPM: Read Display Power Mode (0Ah)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
RDDPM
0
1
0
0
0
0
0
1
0
1
0
(0Ah)
Dummy Read
1
0
1
-
-
-
-
-
-
-
-
-
2nd parameter
1
0
1
D7
D6
D5
D4
D3
D2
0
0
-
This command indicates the current status of the display as described in the table below:
Bit
Description
D7
D6
D5
D4
D3
D2
D1
D0
Description
Value
Booster Voltage Status
Idle Mode On/Off
Partial Mode On/Off
Sleep In/Out
Display Normal Mode On/Off
Display On/Off
Not Used
Not Used
“1”=Booster on, “0”=Booster off
“1” = Idle Mode On, “0” = Idle Mode Off
“1” = Partial Mode On, “0” = Partial
“1” = Sleep Out, “0” = Sleep In
“1” = Normal Display, “0” = Partial
“1” = Display On, “0” = Display Off
“0”
“0”
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value (D[7:0])
Power On Sequence
00001000b (08h)
S/W Reset
00001000b (08h)
H/W Reset
00001000b (08h)
65/191
2009/12
ST7687A
Flow Chart
Ver. 1.0
66/191
2009/12
ST7687A
8.1.5
RDDMADCTR: Read Display MADCTR (0Bh)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
RDDMADCTR
0
1
0
0
0
0
0
1
0
1
1
(0Bh)
Dummy Read
1
0
1
-
-
-
-
-
-
-
-
-
2nd parameter
1
0
1
D7
D6
D5
D4
D3
0
0
0
-
This command indicates the current status of the display as described in the table below:
Bit
Description
Description
Value
D7
D6
Row Address Order (MY)
Column Address Order (MX)
D5
Row/Column Order (MV)
“1”=Decrement, “0”=Increment
“1”=Decrement, “0”=Increment
“1”= Row/column exchange (MV=1)
“0”= Normal (MV=0)
D4
D3
D2
D1
D0
Scan Address Order (ML)
RGB/BGR Order (RGB)
Not Used
Not Used
Not Used
“1”=Decrement, “0”=Increment
“1”=BGR, “0”=RGB
“0”
“0”
“0”
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value (D[7:0])
Power On Sequence
00h
S/W Reset
No change
H/W Reset
00h
67/191
2009/12
ST7687A
Flow Chart
Ver. 1.0
68/191
2009/12
ST7687A
8.1.6
RDDCOLMOD: Read Display Pixel Format (0Ch)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
RDDCOLMOD
0
1
0
0
0
0
0
1
1
0
0
(0Ch)
Dummy Read
1
0
1
-
-
-
-
-
-
-
-
-
2nd parameter
1
0
1
0
0
0
0
0
D2
D1
D0
-
This command indicates the current status of the display as described in the table below:
Bit
Description
D7
D6
D5
D4
D3
D2
D1
D0
Description
Value
“0” (Not Used)
“0” (Not Used)
“0” (Not Used)
“0” (Not Used)
“0”
RGB Interface Color Format
“011”=12 bit/pixel (type A)
“100”=12 bit/pixel (type B)
“101”=16 bit/pixel
Control Interface Color Format
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value (D[2:0])
Power On Sequence
16 bit/pixel
S/W Reset
No change
H/W Reset
16 bit/pixel
69/191
2009/12
ST7687A
Flow Chart
Ver. 1.0
70/191
2009/12
ST7687A
8.1.7
RDDIM: Read Display Image Mode (0Dh)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
RDDIM
0
1
0
0
0
0
0
1
1
0
1
(0Dh)
Dummy Read
1
0
1
-
-
-
-
-
-
-
-
-
2nd parameter
1
0
1
D7
0
D5
D4
D3
0
0
0
-
This command indicates the current status of the display as described in the table below:
Bit
Description
Description
D7
Vertical Scrolling On/Off
D6
D5
D4
D3
D2
D1
D0
Not Used
Inversion On/Off
All Pixels On
All Pixels Off
Value
“1” = Vertical scrolling is On,
“0” = Vertical scrolling is Off,
“0”
“1” = Inversion is On, “0” = Inversion is
“1” = All Pixels On, “0” = Normal Mode
“1” = All Pixels Off, “0” = Normal Mode
“0”
“0”
“0”
Not Used
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value (D[7:0])
Power On Sequence
00h
S/W Reset
00h
H/W Reset
00h
71/191
2009/12
ST7687A
Flow Chart
Ver. 1.0
72/191
2009/12
ST7687A
8.1.8
RDDSM: Read Display Signal Mode (0Eh)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
RDDSM
0
1
0
0
0
0
0
1
1
1
0
(0Eh)
Dummy Read
1
0
1
-
-
-
-
-
-
-
-
-
2nd parameter
1
0
1
D7
D6
0
0
0
0
0
0
-
This command indicates the current status of the display as described in the table below:
Bit
Description
D7
D6
D5
D4
D3
D2
D1
D0
Description
Value
Tearing Effect Line On/Off
Tearing effect line mode
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
“1” = On, “0” = Off
“0” = mode1, “1” = mode2
“0”
“0”
“0”
“0”
“0”
“0”
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value (D[7:0])
Power On Sequence
00h
S/W Reset
00h
H/W Reset
00h
73/191
2009/12
ST7687A
Flow Chart
Ver. 1.0
74/191
2009/12
ST7687A
8.1.9
SLPIN: Sleep In (10h)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
SLPIN
0
1
0
0
0
0
1
0
0
0
0
(10h)
This command causes the LCD module to enter the minimum power consumption mode.
Description
In this mode e.g. the DC/DC converter, Internal oscillator, and panel scanning are all
stopped.
MCU interface and memory are still working and the memory keeps its contents.
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 next command, this is 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 Sleep In command can be sent.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value
Power On Sequence
Sleep in mode
S/W Reset
Sleep in mode
H/W Reset
Sleep in mode
Flow Chart
Ver. 1.0
75/191
2009/12
ST7687A
8.1.10
SLPOUT: Sleep Out (11h)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
SLPOUT
0
1
0
0
0
0
1
0
0
0
1
(11h)
Description
This command turns off sleep mode. In this mode e.g. the DC/DC converter is enabled,
Internal oscillator is started, and panel scanning is started.
1. 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).
2. It will be necessary to wait 5msec before sending next command; this is to allow time for
the supply voltages and clock circuits to stabilize.
Restriction
3. The display module loads all display supplier’s factory default values to the registers
during this 5msec and there cannot be any abnormal visual effect on the display image if
factory default and register values are same when this load is done and when the display
module is already Sleep Out –mode.
4. There is the 250ms no display period if the state is exited from sleep in mode.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value
Power On Sequence
Sleep in mode
S/W Reset
Sleep in mode
H/W Reset
Sleep in mode
76/191
2009/12
ST7687A
Flow Chart
Ver. 1.0
77/191
2009/12
ST7687A
8.1.11
PTLON: Partial Display Mode On (12h)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
PTLON
0
1
0
0
0
0
1
0
0
1
0
(12h)
This command turns on Partial mode. The partial mode window is described by the Partial
Area command (30H)
Description
Exit from PTLON by Normal Display Mode On command (13H)
There is no abnormal visual effect during mode change between Normal mode On <->
Partial mode On.
Restriction
This command has no effect when Partial mode is active.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Flow Chart
Ver. 1.0
Default Value
Power On Sequence
Partial mode off
S/W Reset
Partial mode off
H/W Reset
Partial mode off
See Partial Area (30h)
78/191
2009/12
ST7687A
8.1.12
NORON: Normal Display Mode On (13h)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
NORON
0
1
0
0
0
0
1
0
0
1
1
(13h)
This command returns the display to normal mode.
Normal display mode on means Partial mode off, Scroll mode Off.
Description
Exit from NORON by the Partial mode On command (12h)
There is no abnormal visual effect during mode change between Normal mode On <->
Partial mode On.
Restriction
This command has no effect when Normal Display mode is active.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Flow Chart
Ver. 1.0
Default Value
Power On Sequence
Normal Mode On
S/W Reset
Normal Mode On
H/W Reset
Normal Mode On
See Partial Area and Vertical Scrolling Definition Descriptions for details of when to use this
command
79/191
2009/12
ST7687A
8.1.13
INVOFF: Display Inversion Off (20h)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
INVOFF
0
1
0
0
0
1
0
0
0
0
0
(20h)
This command is used to recover from display inversion mode.
This command makes no change of contents of frame memory.
This command does not change any other status.
Description
Restriction
This command has no effect when module is already inversion off mode.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value
Power On Sequence
Display Inversion off
S/W Reset
Display Inversion off
H/W Reset
Display Inversion off
Display
Inversion On
Mode
Flow Chart
INVOFF
Display
Inversion Off
Mode
Ver. 1.0
80/191
2009/12
ST7687A
8.1.14
INVON: Display Inversion On (21h)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
INVON
0
1
0
0
0
1
0
0
0
0
1
(21h)
This command is used to enter into display inversion mode
This command makes no change of contents of frame memory.
This command does not change any other status.
To exit from Display Inversion On, the Display Inversion Off command (20h) should be
written.
Description
Restriction
This command has no effect when module is already Inversion On mode.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value
Power On Sequence
Display Inversion off
S/W Reset
Display Inversion off
H/W Reset
Display Inversion off
81/191
2009/12
ST7687A
Display
Inversion Off
Mode
Flow Chart
INVON
Display
Inversion On
Mode
Ver. 1.0
82/191
2009/12
ST7687A
8.1.15
APOFF: All Pixels Off (22h) (Only for Test Purposes)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
APOFF
0
1
0
0
0
1
0
0
0
1
0
(22h)
This command is only used for test purpose e.g. pixel response time (on/off)
measurements on the passive matrix display. Therefore, it is possible that this command is
not used for final product software.
All driver outputs become “Low” data state and display becomes black.
This command makes no change of contents of display memory.
This command does not change any other status.
Exit commands are “All Pixels On”, “Normal Display Mode On” and “Partial Display On”.
Description
The display is showing the contents of the frame memory after “Normal Display Mode On”
and “Partial Display On” commands.
Restriction
This command has no effect when module is already All Pixel Off mode.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Default
Ver. 1.0
Status
Default Value
Power On Sequence
All pixel off mode disable
S/W Reset
All pixel off mode disable
H/W Reset
All pixel off mode disable
83/191
2009/12
ST7687A
Flow Chart
Ver. 1.0
84/191
2009/12
ST7687A
8.1.16
APON: All Pixels On (23h) (Only for Test Purposes)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
APON
0
1
0
0
0
1
0
0
0
1
1
(23h)
This command is only used for test purpose e.g. pixel response time (on/off)
measurements on the passive matrix display. Therefore, it is possible that this command is
not used for final product software.
All driver outputs become “High” data state and display becomes white.
This command makes no change of contents of display memory.
This command does not change any other status.
Exit commands are “All Pixels On”, “Normal Display Mode On” and “Partial Display On”.
Description
The display is showing the contents of the frame memory after “Normal Display Mode On”
and “Partial Display On” commands.
Restriction
This command has no effect when module is already All Pixel On mode.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value
Power On Sequence
All pixel on mode disable
S/W Reset
All pixel on mode disable
H/W Reset
All pixel on mode disable
85/191
2009/12
ST7687A
Flow Chart
Ver. 1.0
86/191
2009/12
ST7687A
8.1.17
WRCNTR: Write Contrast (25h)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
WRCNTR
0
1
0
0
0
1
0
0
1
0
1
(25h)
Parameter
1
1
0
0
EV6
EV5
EV4
EV3
EV2
EV1
EV0
-
This command is used to fine tuning the contrast of the display. Parameter range is
Description
00~7Fh. The contrast is not linear but the contrast adjustment is linear. Luminance is
increasing from 00h to 7Fh. 00h is presenting dark end and 7Fh is presenting bright end.
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value
Power On Sequence
3Fh
S/W Reset
3Fh
H/W Reset
3Fh
Legend
Command
WRCNTR
Parameter
Display
Flow Chart
EV[7:0]
Action
Mode
New
Contrast
Value
Loaded
Ver. 1.0
87/191
Sequential
transter
2009/12
ST7687A
8.1.18
DISPOFF: Display Off (28h)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
DISPOFF
0
1
0
0
0
1
0
1
0
0
0
(28h)
This command is used to enter into DISPLAY OFF mode. In this mode, the output from
Frame Memory disables 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.
Description
Restriction
Exit from this command by Display On (29h)
This command has no effect when module is already in Display Off mode.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value
Power On Sequence
Display off
S/W Reset
Display off
H/W Reset
Display off
88/191
2009/12
ST7687A
Display On
Mode
Flow Chart
DISPOFF
Display Off
Mode
Ver. 1.0
89/191
2009/12
ST7687A
8.1.19
DISPON: Display On (29h)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
DISPON
0
1
0
0
0
1
0
1
0
0
1
(29h)
Turn on the display screen according to the current display data RAM content and the
display timing and setting.
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.
Description
Restriction
This command does not change any other status.
This command has no effect when module is already in Display On mode.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value
Power On Sequence
Display off
S/W Reset
Display off
H/W Reset
Display off
90/191
2009/12
ST7687A
Display Off
Mode
Flow Chart
DISPON
Display On
Mode
Ver. 1.0
91/191
2009/12
ST7687A
8.1.20
CASET: Column Address Set (2Ah)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
CASET
0
1
0
0
0
1
0
1
0
1
0
(2Ah)
1st Parameter
1
1
0
0
XS6
XS5
XS4
XS3
XS2
XS1
XS0
-
2nd Parameter
1
1
0
0
XE6
XE5
XE4
XE3
XE2
XE1
XE0
-
This command is used to define area of frame memory where MCU can access.
This command makes no change on the other driver status.
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.
Description
Restriction
XS [6:0] always must be equal to or less than XE [6:0]
When XS [6:0] or XE [6:0] is greater than 7Fh, data of out of range will be ignored.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value
XS [6:0]
XE [6:0]
Power On Sequence
00h
7Fh
S/W Reset
00h
7Fh
H/W Reset
00h
7Fh
92/191
2009/12
ST7687A
CASET
1st parameter
XS[6:0]
2nd parameter
XE[6:0]
Legend
PASET
Flow Chart
1st parameter
YS[6:0]
2nd parameter
YE[6:0]
Command
Parameter
Display
RAMWR
Action
Image Data
D1[7:0],D2[7:0]
…….Dn[7:0]
Mode
Sequential
transter
Any Command
Ver. 1.0
93/191
2009/12
ST7687A
8.1.21
RASET: Row Address Set (2Bh)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
RASET
0
1
0
0
0
1
0
1
0
1
1
(2Bh)
1st Parameter
1
1
0
0
YS6
YS5
YS4
YS3
YS2
YS1
YS0
-
2nd Parameter
1
1
0
0
YE6
YE5
YE4
YE3
YE2
YE1
YE0
-
This command is used to define area of frame memory where MCU can access.
This command makes no change on the other driver status.
The value of YS [6:0] and YE [6:0] are referred when RAMWR command comes.
Each value represents one column line in the Frame Memory.
Description
Restriction
YS [6:0] always must be equal to or less than YE [6:0]
When YS [6:0] or YE [6:0] is greater than 7Fh, data of out of range will be ignored.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Default Value
Status
Default
Ver. 1.0
XS [6:0]
XE [6:0]
Power On Sequence
00h
7Fh
S/W Reset
00h
7Fh
H/W Reset
00h
7Fh
94/191
2009/12
ST7687A
CASET
1st parameter
XS[6:0]
2nd parameter
XE[6:0]
Legend
Command
Flow Chart
PASET
Parameter
1st parameter
YS[6:0]
2nd parameter
YE[6:0]
Display
Action
RAMWR
Image Data
D1[7:0],D2[7:0]
…….Dn[7:0]
Mode
Sequential
transter
Any Command
Ver. 1.0
95/191
2009/12
ST7687A
8.1.22
RAMWR: Memory Write (2Ch)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
RAMWR
0
1
0
0
0
1
0
1
1
0
0
(2Ch)
Write D1[7:0]
1
1
0
D7
D6
D5
D4
D3
D2
D1
D0
-
:
1
1
0
:
:
:
:
:
:
:
:
-
Write Dn[7:0]
1
1
0
D7
D6
D5
D4
D3
D2
D1
D0
-
This command is used to transfer data MCU to frame memory.
This command makes no change to the other driver status.
When this command is accepted, the column register and the row register are reset to the
Start
Description
Column/Start Row positions.
The Start Column/Start Row positions are different in accordance with MADCTR setting.
Then D[7:0] is stored in frame memory and the column register and the row register
incremented.
Frame Write can be canceled by sending any other command.
Restriction
In all color modes, there is no restriction on length of parameters.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value
Power On Sequence
Contents of memory is set randomly
S/W Reset
Contents of memory is remained
H/W Reset
Contents of memory is remained
96/191
2009/12
ST7687A
Flow Chart
Ver. 1.0
97/191
2009/12
ST7687A
8.1.23
RAMRD: Memory Read (2EH)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
HEX
RAMRD
0
1
0
0
0
1
0
1
1
1
0
(2Eh)
Dummy read
1
0
1
-
-
-
-
-
-
-
-
-
2nd parameter
1
0
1
D17
D16
D15
D14
D13
D12
D11
D10
00H ~ FFH
…
1
0
1
Dx7
Dx6
Dx5
Dx4
Dx3
Dx2
Dx1
Dx0
00H ~ FFH
(N+1)th parameter
1
0
1
Dn7
Dn6
Dn5
Dn4
Dn3
Dn2
Dn1
Dn0
00H ~ FFH
This command is used to transfer data from frame memory to MCU. When this command is
accepted, the column register and the page register are reset to the Start Column/Start Page
Description
positions. The Start Column/Start Page positions are different in accordance with MADCTR
setting. Then D [7:0] is read back from the frame memory and the column register and the
page register incremented. Frame Read can be stopped by sending any other command.
Restriction
In all color modes, the Frame Read is always 16bit so there is no restriction on length of
parameters. Note: Memory Read is only possible via the Parallel Interface.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In or Booster Off
Yes
Status
Default
Ver. 1.0
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
98/191
2009/12
ST7687A
Legend
RAMRD
Command
Parameter
Dummy
Display
Flow Chart
Action
Image Data
D1[7:0],D2[7:0]
……..Dn[7:0]
Mode
Sequential
transter
Any Command
Ver. 1.0
99/191
2009/12
ST7687A
8.1.24
PTLAR: Partial Area (30h)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
PTLAR
0
1
0
0
0
1
1
0
0
0
0
(30h)
1st Parameter
1
1
0
0
PS6
PS5
PS4
PS3
PS2
PS1
PS0
-
2nd Parameter
1
1
0
0
PE6
PE5
PE4
PE3
PE2
PE1
PE0
-
This command defines the partial mode’s display area. There are 2 parameters associated
with this command, the first defines the Start Line (PS) and the second the End Line (PE), as
illustrated in the figures below. PS and PE refer to the Frame Memory Line counter.
If End Line > Start Line when MADCTR ML=0:
Description
If End Line > Start Line when MADCTR ML=1:
If End Line < Start Line when MADCTR ML=0:
Ver. 1.0
100/191
2009/12
ST7687A
* Row1: Frame memory row address 1.
If End Line = Start Line then the Partial Area will be one line deep.
PS[6:0] and PE[6:0] are based on line unit.
Restriction
PS[6:0]=00h, 01h, 02h, 03h, … , 7Fh
PE[6:0]= 00h, 01h, 02h, 03h, … , 7Fh
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Default Value
Status
PS[6:0]
Default
Ver. 1.0
PE[6:0]
Power On Sequence
00h
7Fh
S/W Reset
00h
7Fh
H/W Reset
00h
7Fh
101/191
2009/12
ST7687A
Flow Chart
Ver. 1.0
102/191
2009/12
ST7687A
8.1.25
SCRLAR: Scroll Area (33h)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
SCRLAR
0
1
0
0
0
1
1
0
0
1
1
(33h)
1st parameter
1
1
0
TFA7 TFA6 TFA5 TFA4 TFA3 TFA2 TFA1 TFA0
-
2nd parameter
1
1
0
VSA7 VSA6 VSA5 VSA4 VSA3 VSA2 VSA1 VSA0
-
3rd parameter
1
1
0
BFA7 BFA6 BFA5 BFA4 BFA3 BFA2 BFA1 BFA0
-
This command just defines the Vertical Scrolling Area of the display and not performs vertical
scroll.
When MADCTR ML=0
The 1st parameter TFA [7:0] describes the Top Fixed Area (in No. of lines from Top of the
Frame Memory and Display).
The 2nd parameter VSA [7:0] describes the height of the Vertical Scrolling Area (in No. of lines
of the Frame Memory [not the display] from the Vertical Scrolling Start Address) The first line
appears immediately after the bottom most line of the Top Fixed Area.
The 3rd parameter BFA [7:0] describes the Bottom Fixed Area (in No. of lines from Bottom of
Descriptio
n
Restriction
the Frame Memory and Display).
TFA, VSA and BFA refer to the Frame Memory Line Pointer.
The condition is (TFA+VSA+BFA) = 128, otherwise Scrolling mode is undefined.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Ver. 1.0
103/191
2009/12
ST7687A
Default Value
Status
Default
TFA [7:0]
VSA [7:0]
BFA [7:0]
Power On Sequence
00h
80h
00h
S/W Reset
00h
80h
00h
H/W Reset
00h
80h
00h
Flow Chart
NOTE: The Frame Memory Window size must be defined correctly otherwise undesirable image will be displayed.
Ver. 1.0
104/191
2009/12
ST7687A
Flow Chart
NOTE: Scroll Mode can be exit by both the Normal Display Mode On (13h) and Partial Mode On (12h) commands.
Ver. 1.0
105/191
2009/12
ST7687A
8.1.26
TEOFF: Tearing Effect Line OFF (34h)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
TEOFF
0
1
0
0
0
1
1
0
1
0
0
(34h)
Description
Restriction
This command is used to turn OFF (Active Low) the Tearing Effect output signal from the
TE signal line.
This command has no effect when Tearing Effect output is already OFF.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value
Power On Sequence
Tearing effect off
S/W Reset
Tearing effect off
H/W Reset
Tearing effect off
Flow Chart
Ver. 1.0
106/191
2009/12
ST7687A
8.1.27
TEON: Tearing Effect Line ON (35h)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
TEON
0
1
0
0
0
1
1
0
1
0
1
(35h)
Parameter
1
1
0
-
-
-
-
-
-
-
M
-
This command is used to turn ON the Tearing Effect output signal from the TE signal line.
This output is not affected by changing MADCTR bit ML.
The Tearing Effect Line On has one parameter, which describes the mode of the Tearing
Effect
Output Line. (“-“=Don’t Care).
When M=0:
The Tearing Effect Output Line consists of V-Blanking information only:
Description
When M=1:
The Tearing Effect Output Line consists of both V-Blanking and H-Blanking information:
See section 7.4.8 for more information.
Note: During Sleep In Mode with Tearing Effect Line On, Tearing Effect Output pin will be active Low.
Restriction
This command has no effect when Tearing Effect output is already OFF.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value
Power On Sequence
Tearing effect off & M=0
S/W Reset
Tearing effect off & M=0
H/W Reset
Tearing effect off & M=0
107/191
2009/12
ST7687A
Flow Chart
Ver. 1.0
108/191
2009/12
ST7687A
8.1.28
MADCTR: Memory Data Access Control (36h)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
MADCTR
0
1
0
0
0
1
1
0
1
1
0
(36h)
Parameter
1
1
0
MY
MX
MV
ML
RGB
-
-
-
-
This command defines read/write scanning direction of frame memory.
This command makes no change on the other driver status.
Note: ML affects to Partial Area (30h), Vertical Scrolling Definition (33h), Vertical Scrolling
Start address (37h), Partial On (12h) commands
Bit Assignment
Bit
MY
MX
NAME
DESCRIPTION
ROW ADDRESS ORDER
COLUMN ADDRESS
These 3bits controls MCU to memory write/read
ORDER
direction.
MV
ROW/COLUMN ORDER
ML
LINE ADDRESS ORDER
LCD refresh direction control
Color selector switch control
Description
RGB
0=RGB color filter panel, 1=BGR color filter panel
RGB-BGR ORDER
The contents of the frame memory are not
changed.
Ver. 1.0
109/191
2009/12
ST7687A
Restriction
D2, D1 and D0 of the 1st parameter are set to ‘000’internally.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value
Power On Sequence
MY=0,MX=0,MV=0,ML=0,RGB=0
S/W Reset
Not changed
H/W Reset
MY=0,MX=0,MV=0,ML=0,RGB=0
Legend
Command
Parameter
Display
Flow Chart
Action
Mode
Sequential
transter
Ver. 1.0
110/191
2009/12
ST7687A
8.1.29
VSCSAD: Vertical Scroll Start Address of RAM (37h)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
VSCSAD
0
1
0
0
0
1
1
0
1
1
1
(37h)
Parameter
1
1
0
0
SSA6 SSA5 SSA4 SSA3 SSA2 SSA1 SSA0
-
This command is used together with Vertical Scrolling Definition (33h). These two
commands describe the scrolling area and the scrolling mode.
The Vertical Scrolling Start Address command has one parameter which describes which
line in the Frame Memory will be written as the first line after the last line of the Top Fixed
Area on the display as illustrated below:
This command Start the scrolling.
Exit from V-scrolling mode by commands Partial mode On (12h) or Normal mode On (13h).
When MADCTR ML=0
Example:
When Top Fixed Area=Bottom Fixed Area=00, Vertical Scrolling Area=128 and Vertical
Scrolling Pointer SSA=’3’.
Description
When MADCTR ML=1
Example:
When Top Fixed Area=Bottom Fixed Area=00, Vertical Scrolling Area=128 and Vertical
Scrolling Pointer SSA=’3’.
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.
SSA refers to the Frame Memory line Pointer.
Ver. 1.0
111/191
2009/12
ST7687A
Since the value of the Vertical Scrolling Start Address is absolute (with reference to the
Frame Memory), it must not enter the fixed area (defined by Vertical Scrolling Definition
Restriction
(33h)-otherwise undesirable image will be displayed on the Panel.
SSA [6:0] is based on line unit.
SSA [6:0] = 00h, 01h, 02h, 03h, … , 7Fh
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
No
Partial Mode On, Idle Mode On, Sleep Out
No
Sleep In
Yes
Status
Default
Flow Chart
Ver. 1.0
Default Value (SSA[6:0])
Power On Sequence
00h
S/W Reset
00h
H/W Reset
00h
See Vertical Scrolling Definition (33h) description.
112/191
2009/12
ST7687A
8.1.30
IDMOFF: Idle Mode Off (38h)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
IDMOFF
0
1
0
0
0
1
1
1
0
0
0
(38h)
This command is used to recover from Idle mode on.
There will be no abnormal visible effect on the display mode change transition.
Description
In the idle off mode,
1. LCD can display maximum 65,536 colors.
2. Normal frame frequency is applied.
Restriction
This command has no effect when module is already in idle off mode.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value
Power On Sequence
Idle mode off
S/W Reset
Idle mode off
H/W Reset
Idle mode off
Flow Chart
Ver. 1.0
113/191
2009/12
ST7687A
8.1.31
IDMON: Idle Mode On (39h)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
IDMON
0
1
0
0
0
1
1
1
0
0
1
(39h)
This command is used to enter into Idle mode on.
There will be no abnormal visible effect on the display mode change transition. In the idle on
mode,
1. Color expression is reduced. The primary and the secondary colors using MSB of each
R, G and B in the Frame Memory, 8 color depth data is displayed.
2. 8-Color mode frame frequency is applied.
3. Exit from IDMON by Idle Mode Off (38h) command
Description
“X”: don’t care
Restriction
Color
R4 R3 R2 R1 R0
G5 G4 G3 G2 G1 G0
B4 B3 B2 B1 B0
Black
0XXXX
0XXXXX
0XXXX
Blue
0XXXX
0XXXXX
1XXXX
Red
1XXXX
0XXXXX
0XXXX
Magenta
1XXXX
0XXXXX
1XXXX
Green
0XXXX
1XXXXX
0XXXX
Cyan
0XXXX
1XXXXX
1XXXX
Yellow
1XXXX
1XXXXX
0XXXX
White
1XXXX
1XXXXX
1XXXX
This command has no effect when module is already in idle on mode.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Ver. 1.0
114/191
2009/12
ST7687A
Status
Default
Default Value
Power On Sequence
Idle mode off
S/W Reset
Idle mode off
H/W Reset
Idle mode off
Flow Chart
Ver. 1.0
115/191
2009/12
ST7687A
8.1.32
COLMOD: Interface Pixel Format (3Ah)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
COLMOD
0
1
0
0
0
1
1
1
0
1
0
(3Ah)
Parameter
1
1
0
-
-
-
-
-
P2
P1
P0
-
This command is used to define the format of RGB picture data, which is to be transferred
via the MCU Interface. The formats are shown in the table:
Interface Format
Description
Restriction
P2
P1
P0
Not Defined
0
0
0
Not Defined
0
0
1
Not Defined
0
1
0
12Bit/Pixel (Type A)
0
1
1
12Bit/Pixel (Type B)
1
0
0
16Bit/Pixel
1
0
1
Not Defined
1
1
0
Not Defined
1
1
1
There is no visible effect until the Frame Memory is written to.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value
Power On Sequence
05h (16Bit/Pixel)
S/W Reset
No Change
H/W Reset
05h (16Bit/Pixel)
116/191
2009/12
ST7687A
Flow Chart
Ver. 1.0
117/191
2009/12
ST7687A
8.1.33
RDID: Read ID Value (DAh)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
RDID
0
1
0
1
1
0
1
1
0
1
0
(DAh)
Dummy Read
1
0
1
-
-
-
-
-
-
-
-
-
2nd parameter
1
0
1
0
0
0
0
ID3
ID2
ID1
ID0
-
Description
This read byte returns 8-bit LCD module’s manufacturer ID
D3-D0 (ID3 to ID0): LCD module’s manufacturer ID.
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value
Power On Sequence
00h
S/W Reset
00h
H/W Reset
00h
Flow Chart
Ver. 1.0
118/191
2009/12
ST7687A
8.1.34
DutySet: Display Duty setting (B0H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
DutySet
0
1
0
1
0
1
1
0
0
0
0
(B0h)
Parameter
1
1
0
Du7
Du6
Du5
Du4
Du3
Du2
Du1
Du0
-
This command is used to set display duty. Command set = display duty numbers - 1.
Example:
Command set=
Description
Duty
Du7
Du6
Du5
Du4
Du3
Du2
Du1
Du0
Display duty
numbers-1
1/128 duty
Restriction
0
1
1
1
1
1
1
128-1=127
Display duty must > 4 (1/4 duty)
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
1
Default Value
Power On Sequence
0111111b (7Fh)
S/W Reset
0111111b (7Fh)
H/W Reset
0111111b (7Fh)
(Du[6:0])
Flow Chart
Ver. 1.0
119/191
2009/12
ST7687A
DutySet
Du[7:0]
Ver. 1.0
120/191
2009/12
ST7687A
8.1.35
FirstCom: First Com. Page address (B1H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
FirstCom
0
1
0
1
0
1
1
0
0
0
1
(B1h)
Parameter
1
1
0
0
F6
F5
F4
F3
F2
F1
F0
-
This command defines the first output COM number that mapping to the RAM page
address 0. For detail setting value, please see the table as below.
Description
F6
0
0
0
0
:
1
F5
0
0
0
0
:
1
F4
0
0
0
0
:
1
F3
0
0
1
1
:
1
F2
F1
1
1
F0
0
1
0
1
:
1
Line address
0
1
2
3
:
127
Example:
If FirstCom=8, common 8 would output the data of RAM page address 0.
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value
Power On Sequence
00h
S/W Reset
00h
H/W Reset
00h
121/191
(F[6:0])
2009/12
ST7687A
FirstCom
Flow Chart
F[6:0]
Ver. 1.0
122/191
2009/12
ST7687A
8.1.36
OscDiv: FOSC Divider (B3H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
OscDiv
0
1
0
1
0
1
1
0
0
1
1
(B3h)
Parameter
1
1
0
-
-
-
-
-
-
CLD1 CLD0
-
This command is used to specify the Fosc dividing ratio.
CLD1, CLD0: CL dividing ratio. They are used to change number of dividing stages of
internal clock.
Description
CLD1
CLD0
Fosc dividing ratio
0
0
Not divide
0
1
2 divisions
1
0
4 divisions
1
1
8 divisions
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value
Power On Sequence
00b
S/W Reset
00b
H/W Reset
00b
(CLD[0:1])
OscDiv
Flow Chart
CLD[1:0]
Ver. 1.0
123/191
2009/12
ST7687A
8.1.37
NLInvSet: N-Line control (B5H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
NLInvSet
0
1
0
1
0
1
1
0
1
0
1
(B5h)
Parameter
1
1
0
M
0
0
N4
N3
N2
N1
N0
-
This command is used to set the inverted line number with range of 2 to (duty-1) to improve
display quality. When M=0, inversion occurs in every frame; when M=1, inversion is
Description
independent from frames. If N[4:0] =0, N-line inversion function is disable.
Line inversion numbers=N[4:0] +1.
Example:
If N[4:0]=7, inversion occurs per 8 line.
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Default Value
Status
Default
M
N[4:0]
Power On Sequence
0b
00000b
S/W Reset
0b
00000b
H/W Reset
0b
00000b
NLInvSet
Flow Chart
M
&
N[4:0]
Ver. 1.0
124/191
2009/12
ST7687A
8.1.38
ComScanDir: Com/Seg Scan Direction for glass layout (B7H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
ComScanDir
0
1
0
1
0
1
1
0
1
1
1
(B7h)
Parameter
1
1
0
0
SMX
0
0
SBGR
0
0
0
-
Description
Bit
Function
0
1
SMX
Inverse the MX setting
Keep MX
Inverse MX
SBGR
Inverse the BGR setting
Keep BGR
Inverse BGR
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value
Power On Sequence
40h
S/W Reset
40h
H/W Reset
40h
ComScanDir
Flow Chart
SMX
&
SBGR
Ver. 1.0
125/191
2009/12
ST7687A
8.1.39
RMWIN: Read Modify Write control in (B8H)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
RMWIN
0
1
0
1
0
1
1
1
0
0
0
(B8h)
Description
Read modify write control in.
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value
Power On Sequence
--
S/W Reset
--
H/W Reset
--
126/191
2009/12
ST7687A
8.1.40
RMWOUT: Read Modify Write control out (B9H)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
RMWOUT
0
1
0
1
0
1
1
1
0
0
1
(B9h)
Description
Read modify write control out
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value
Power On Sequence
--
S/W Reset
--
H/W Reset
--
127/191
2009/12
ST7687A
8.1.41
DispCompStep1: Display Compensation Step1 (BDH)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
DispCompStep1
0
1
0
1
0
1
1
1
1
0
1
(BDh)
Parameter
1
1
0
0
0
0
0
0
Description
Step2 Step1 Step0
-
The command is used to program the optimum LCD display quality.
Restriction
Step2
Step1
Step0
STEP
0
0
0
1
0
0
1
2
0
1
0
3
0
1
1
4
1
0
0
5
1
0
1
6
1
1
0
7
1
1
1
8
Register
Status
Availability
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
Status
Ver. 1.0
Default Value
Power On Sequence
04h
S/W Reset
04h
H/W Reset
04h
128/191
2009/12
ST7687A
8.1.42
VopSet: Vop set (C0H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
VopSet
0
1
0
1
1
0
0
0
0
0
0
(C0h)
1 parameter
st
1
1
0
nd
1
1
0
2 parameter
Description
Vop7 Vop6 Vop5 Vop4 Vop3 Vop2 Vop1 Vop0
-
-
-
-
-
-
-
-
Vop8
-
The command is used to program the optimum LCD supply voltage V0.
Please see Section 7.9 for reference.
Restriction
Register
Status
Availability
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
Status
Default Value (Vop=12V)
Vop8
Vop[7:0]
Power On Sequence
0
11010010b (D2h)
S/W Reset
0
11010010b (D2h)
H/W Reset
0
11010010b (D2h)
Flow Chart
Ver. 1.0
129/191
2009/12
ST7687A
8.1.43
VopOfsetInc: Vop Increase 1 (C1H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
VopOfsetInc
0
1
0
1
1
0
0
0
0
0
1
(C1h)
With the VopOfsetInc and VopOfsetDec command the VLCD voltage and therewith the
contrast of the LCD can be adjusted. This command increases the value of Vop offset
Description
register by 1.
If you set the electronic control value to 1111111, the control value is set to 0000000 after
this command has been executed.
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value
Power On Sequence
--
S/W Reset
--
H/W Reset
--
Flow Chart
Ver. 1.0
130/191
2009/12
ST7687A
8.1.44
VopOfsetDec: Vop Decrease 1 (C2H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
VopOfsetDec
0
1
0
1
1
0
0
0
0
1
0
(C2h)
With the VopOfsetInc and VopOfsetDec command the VLCD voltage and therewith the
contrast of the LCD can be adjusted. This command decreases the value of Vop offset
register by 1.
If you set the electronic control value to 0000000, the control value is set to 1111111 after
this command has been executed.
Electronic Control Value
Decimal Equivalent
V0 Offset
0111111
63
+2520 mV
0111110
62
+2480 mV
0111101
61
+2440 mV
…
…
…
0000010
2
+80 mV
0000001
1
+40 mV
0000000
0
0 mV
1111111
-1
-40 mV
1111110
-2
-80 mV
…
…
…
1000010
-62
-2440 mV
1000001
-63
-2480 mV
1000000
-64
-2520 mV
Description
Possible Vop offset [6:0] values
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Ver. 1.0
131/191
2009/12
ST7687A
Status
Default
Default Value
Power On Sequence
--
S/W Reset
--
H/W Reset
--
Flow Chart
Ver. 1.0
132/191
2009/12
ST7687A
8.1.45
BiasSel: Bias Selection (C3H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
BiasSel
0
1
0
1
1
0
0
0
0
1
1
(C3h)
Parameter
1
1
0
-
-
-
-
-
Bias2 Bias1 Bias0
-
Select LCD bias ratio of the voltage required for driving the LCD.
Description
Bais2
Bais1
Bais0
LCD bias
0
0
0
1/12
0
0
1
1/11
0
1
0
1/10
0
1
1
1/9
1
0
0
1/8
1
0
1
1/7
1
1
0
Reserved
1
1
1
Reserved
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
Default Value
Power On Sequence
011b
S/W Reset
011b
H/W Reset
011b
133/191
(Bias[2:0])
2009/12
ST7687A
Flow Chart
Ver. 1.0
134/191
2009/12
ST7687A
8.1.46
BstPmpXSel: Booster Setting (C4H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
BstPmpXSel
0
1
0
1
1
0
0
0
1
0
0
(C4h)
Parameter
1
1
0
-
-
-
-
-
BST2 BST 1 BST0
-
Booster setting
BST2
Description
BST1 BST0
Description
0
0
0
Reserved
0
0
1
Reserved
0
1
0
Reserved
0
1
1
Reserved
1
0
0
x5 boosting circuit
1
0
1
x6 boosting circuit
1
1
0
x7 boosting circuit
1
1
1
x8 boosting circuit
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
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
111b
S/W Reset
111b
H/W Reset
111b
(BST[2:0])
Default
Ver. 1.0
135/191
2009/12
ST7687A
Flow Chart
Ver. 1.0
136/191
2009/12
ST7687A
8.1.47
VgSorcSel: Vg source control (CBH)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
VgSorcSel
0
1
0
1
1
0
0
1
0
1
1
(CBh)
Parameter
1
1
0
-
-
-
-
-
-
-
2BT0
-
Description
2BT0=0: Vg source comes from VDD2 ;
2BT0=1: Vg source comes from 2-times charge pump.
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value (2BT0)
Power On Sequence
1
S/W Reset
1
H/W Reset
1
Legend
Command
Parameter
Display
Flow Chart
Action
Mode
Sequential
transter
Ver. 1.0
137/191
2009/12
ST7687A
8.1.48
IDSet: ID setting (CCH)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
IDSet
0
1
0
1
1
0
0
1
1
0
0
(CCh)
Parameter
1
1
0
0
0
0
0
ID3
ID2
ID1
ID0
-
Description
ID setting for request by customer
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value
Power On Sequence
00h
S/W Reset
00h
H/W Reset
00h
Legend
Command
Parameter
Display
Flow Chart
Action
Mode
Sequential
transter
Ver. 1.0
138/191
2009/12
ST7687A
8.1.49
NASET: Analog circuit setting (D0H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
NASET
0
1
0
1
1
0
1
0
0
0
0
(D0h)
Parameter
1
1
0
-
0
0
1
1
1
0
1
(1Dh)
Description
Analog circuit setting. Such as follower selection, level shifter power mode selection.
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value D[7:0]
Power On Sequence
19H
S/W Reset
19H
H/W Reset
19H
Flow Chart
Ver. 1.0
139/191
2009/12
ST7687A
8.1.50
AutoLoadSet: PROM data auto re-load control (D7H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
AutoLoadSet
0
1
0
1
1
0
1
0
1
1
1
(D7h)
Parameter
1
1
0
1
0
0
ARD
1
1
1
1
-
Description
ARD : PROM auto read enable control, 1: Disable PROM auto read,
0: Enable PROM auto read
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default ValueD[7:0]
Power On Sequence
8FH
S/W Reset
8FH
H/W Reset
8FH
Legend
Command
Parameter
Display
Flow Chart
Action
Mode
Sequential
transter
Ver. 1.0
140/191
2009/12
ST7687A
8.1.51
EPCTIN: Control PROM WR/RD (E0H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
EPCTIN
0
1
0
1
1
1
0
0
0
0
0
(E0h)
Parameter
1
1
0
0
0
0
0
0
0
0
-
Description
WR
/XRD
WR/XRD: when setting “1”, the Write enable of PROM will be opened.
WR/XRD: when setting “0”, the Read enable of PROM will be opened.
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value
Power On Sequence
0
S/W Reset
0
H/W Reset
0
Flow Chart
Ver. 1.0
141/191
2009/12
ST7687A
8.1.52
EPCOUT: PROM control out (E1H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
EPCOUT
0
1
0
1
1
1
0
0
0
0
1
(E1h)
Description
IC exits the PROM control circuit when executing this command.
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value
Power On Sequence
--
S/W Reset
--
H/W Reset
--
PROMSEL
Legend
Command
MS[1:0]
Parameter
EPCTIN
Display
Flow Chart
WR/XRD=1
EPMWR
Action
Mode
Sequential
transter
EPCOUT
Ver. 1.0
142/191
2009/12
ST7687A
8.1.53
EPWR: Write to PROM (E2H)
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
EPWR
0
1
0
1
1
1
0
0
0
1
0
(E2h)
Description
IC actives trigger to start PROM programming when executing this command.
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value
Power On Sequence
--
S/W Reset
--
H/W Reset
--
PROMSEL
MS[1:0]
EPCTIN
Flow Chart
WR/XRD=1
EPWR
EPCOUT
Ver. 1.0
143/191
2009/12
ST7687A
8.1.54
EPRD: Read from PROM (E3H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
EPRD
0
1
0
1
1
1
0
0
0
1
1
(E3h)
Description
IC actives trigger to start PROM data download to circuit when executing this command.
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value
Power On Sequence
--
S/W Reset
--
H/W Reset
--
Flow Chart
Ver. 1.0
144/191
2009/12
ST7687A
8.1.55
PROMSEL: SEL PROM (E4H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
PROMSEL
0
1
0
1
1
1
0
0
1
0
0
(E4h)
Parameter
1
1
0
0
1
1
0
0
0
-
MS1 MS0
This command defines PROM selection control. Please see the table as below:
MS1
MS0
Mode
0
0
Disable
0
1
PROM
Description
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value D[7:0]
Power On Sequence
18h
S/W Reset
18h
H/W Reset
18h
Flow Chart
Ver. 1.0
145/191
2009/12
ST7687A
8.1.56
ROMSET: Programmable rom setting (E5H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
ROMSET
0
1
0
1
1
1
0
0
1
0
1
(E5h)
Parameter
1
1
0
0
0
0
0
1
1
1
1
-
Description
Set the PROM writing timing.
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value D[7:0]
Power On Sequence
0Fh
S/W Reset
0Fh
H/W Reset
0Fh
Flow Chart
Ver. 1.0
146/191
2009/12
ST7687A
8.1.57
DispCompStep2: Display Compensation Step2(ECH)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
DispCompStep2
0
1
0
1
1
1
0
1
1
0
0
(ECh)
Parameter
1
1
0
0
0
0
0
Description
Step3 Step2 Step1 Step0
The command is used to program the optimum LCD display quality.
Restriction
Step3
Step2
Step1
Step0
STEP
0
0
0
0
1
0
0
0
1
2
0
0
1
0
3
0
0
1
1
4
0
1
0
0
5
0
1
0
1
6
0
1
1
0
7
0
1
1
1
8
1
0
0
0
9
1
0
0
1
10
1
0
1
0
11
1
0
1
1
12
1
1
0
0
13
1
1
0
1
14
1
1
1
0
15
1
1
1
1
16
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Ver. 1.0
-
Default Value
Power On Sequence
04h
S/W Reset
04h
H/W Reset
04h
147/191
2009/12
ST7687A
8.1.58
FRMSEL: Frame Freq. in Temperature range (F0H)
NOTE: “-“ Don’t care
Command
A0
RD
WR
D7
D6
D5
D4
D3
D2
D1
D0
HEX
FRMSEL
0
1
0
1
1
1
1
0
0
0
0
(F0H)
st
1
1
0
-
-
-
DIVA
FA3
FA2
FA1
FA0
Range A
nd
1
1
0
-
-
-
DIVB
FB3
FB2
FB1
FB0
Range B
rd
1
1
0
-
-
-
DIVC
FC3
FC2
FC1
FC0
Range C
th
1
1
0
-
-
-
DIVD
FD3
FD2
FD1
FD0
Range D
1 parameter
2 parameter
3 parameter
4 parameter
Select Frame Freq. in normal display mode.
st
1 parameter : Frame freq. value set in temperature range -40℃ to TA
nd
2 parameter : Frame freq. value set in temperature P range TA to TB
rd
3 parameter : Frame freq. value set in temperature range TB to TC
th
4 parameter : Frame freq. value set in temperature range TC to 87℃
For command setting to frame rate value look-up-table, please see the following table:
DIVx
Description
1
1
0
Fx[3:0]
Frame Rate (Hz)
Fx[3:0]
Frame Rate (Hz)
0
77.6
0
38.8
1
77.6
1
38.8
2
77.6
2
38.8
3
77.6
3
38.8
4
77.6
4
38.8
5
97
5
48.5
6
97
6
48.5
7
97
7
48.5
8
97
8
48.5
9
97
9
48.5
A
129.3
A
64.6
B
129.3
B
64.6
C
129.3
C
64.6
D
129.3
D
64.6
E
129.3
E
64.6
F
194
F
97
The frame rate shown as above is when duty setting is 128.
Restriction
When duty setting is not 128:
Frame rate=default frame rate x (129/(duty setting+1))
Ver. 1.0
148/191
2009/12
ST7687A
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Default Value
Status
Default
FA[4:0]
FB[4:0]
FC[4:0]
FD[4:0]
Power On Sequence
06h
0Bh
0Dh
12h
S/W Reset
06h
0Bh
0Dh
12h
H/W Reset
06h
0Bh
0Dh
12h
Legend
Command
Parameter
Display
Flow Chart
Action
Mode
Sequential
transter
Ver. 1.0
149/191
2009/12
ST7687A
8.1.59
FRM8SEL: Frame Freq. in Temperature range (idle-8 color) (F1H)
NOTE: “-“ Don’t care
Command
A0
RD
WR
D7
D6
D5
D4
D3
D2
D1
D0
HEX
0
1
0
1
1
1
1
0
0
0
1
(F1h)
st
1
1
0
-
-
-
F8A4 F8A3 F8A2 F8A1 F8A0
Range A
nd
1
1
0
-
-
-
F8B4 F8B3 F8B2 F8B1 F8B0
Range B
rd
1
1
0
-
-
-
F8C4 F8C3 F8C2 F8C1 F8C0 Range C
th
1
1
0
-
-
-
F8D4 F8D3 F8D2 F8D1 F8D0 Range D
FRM8SEL
1 parameter
2 parameter
3 parameter
4 parameter
Select Frame Freq. in normal display mode.(idle;8 color mode)
st
1 parameter : Frame freq. value set in TEMP range -40℃ to TA
Description
nd
2 parameter : Frame freq. value set in TEMP range TA to TB
rd
3 parameter : Frame freq. value set in TEMP range TB to TC
th
4 parameter : Frame freq. value set in TEMP range TC to 87℃
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Default Value
Status
Default
Ver. 1.0
FA[4:0]
FB[4:0]
FC[4:0]
FD[4:0]
Power On Sequence
06h
0Bh
0Dh
12h
S/W Reset
06h
0Bh
0Dh
12h
H/W Reset
06h
0Bh
0Dh
12h
150/191
2009/12
ST7687A
Flow Chart
Ver. 1.0
151/191
2009/12
ST7687A
8.1.60
TMPRNG: Temp. range set for Frame Freq. Adj. (F2H)
NOTE: “-“ Don’t care
Command
A0
RD
WR
D7
D6
D5
D4
D3
D2
D1
D0
HEX
TMPRNG
0
1
0
1
1
1
1
0
0
1
0
(F2h)
st
1
1
0
-
TA6
TA5
TA4
TA3
TA2
TA1
TA0
Range A
nd
1
1
0
-
TB6
TB5
TB4
TB3
TB2
TB1
TB0
Range B
rd
1
1
0
-
TC6
TC5
TC4
TC3
TC2
TC1
TC0
Range C
1 parameter
2 parameter
3 parameter
Temp. range set for automatic frame freq. adj. operation according the current temp. value.
st
1 parameter: Temp. range A value set
nd
2 parameter: Temp. range B value set
Description
rd
3 parameter: Temp. range C value set
TA/TB/TC Temperature(℃) + 40 = TA/TB/TC[6 :0]
Example:
If TA wants to be set at 24℃, TA[6:0]=24+40=64(40h),
Restriction
-40℃℃TA℃TA+TH℃TB℃TB+TH℃TC℃87℃
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Default Value
Status
Default
Ver. 1.0
TA[6:0]
TB[6:0]
TC[6:0]
Power On Sequence
1Eh
28h
32h
S/W Reset
1Eh
28h
32h
H/W Reset
1Eh
28h
32h
152/191
2009/12
ST7687A
Flow Chart
Ver. 1.0
153/191
2009/12
ST7687A
8.1.61
TMPHYS: Temp. Hysteresis Set for Frame Freq. Adj. (F3H)
Command
A0
RD
WR
D7
D6
D5
D4
D3
D2
D1
D0
HEX
TMPHYS
0
1
0
1
1
1
1
0
0
1
1
(F3h)
parameter
1
1
0
-
-
-
-
TH3
TH2
TH1
TH0
-
Temp. hysteresis range set for frame freq. adj.
Parameter TH [3:0] is used to set Temp. hysteresis range.
The relationship between temp. state and temp. range value is shown below.
Description
TEMP Range Value
TEMP Rising State
TEMP Falling State
Freq. changing point A
TA[6:0]+TH[3:0]
TA[6:0]
Freq. changing point B
TB[6:0]+TH[3:0]
TB[6:0]
Freq. changing point C
TC[6:0]+TH[3:0]
TC[6:0]
TH Temperature(℃) – 1 = TH[3:0]
Example:
If TH wants to set 5℃, TH [3:0] =5-1=4.
Restriction
Temp. hysteresis value should be smaller than the gap of temp. range.
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default Value(TH[3:0])
Power On Sequence
02h
S/W Reset
02h
H/W Reset
02h
Default
Ver. 1.0
154/191
2009/12
ST7687A
Flow Chart
Ver. 1.0
155/191
2009/12
ST7687A
8.1.62
TEMPSEL: Temperature Gradient Compensation Coefficient Set (F4H)
NOTE: “-“ Don’t care
Command
TEMPSEL
st
1 parameter
A0 /RD
0
1
1
1
/W
R
0
0
D7
D6
D5
D4
D3
D2
D1
D0
Hex
1
1
1
1
0
1
0
0
(F4h)
MT13 MT12 MT11 MT10 MT03 MT02 MT01 MT00
o
o
o
o
MT1x: (-24 C to -32 C)
MT0x: (-32 C to -40 C)
o
nd
2 parameter
1
1
0
MT33 MT32 MT31 MT30 MT23 MT22 MT21 MT20
1
1
0
MT53 MT52 MT51 MT50 MT43 MT42 MT41 MT40
1
1
0
MT73 MT72 MT71 MT70 MT63 MT62 MT61 MT60
1
1
0
MT93 MT92 MT91 MT90 MT83 MT82 MT81 MT80
1
1
0
MTB3 MTB2 MTB1 MTB0 MTA3 MTA2 MTA1 MTA0
o
MT3x: (-8 C to -16 C)
o
o
rd
3 parameter
o
MT5x: (8 C to 0 C)
o
o
MT4x: (0 C to -8 C)
o
th
4 parameter
th
5 parameter
th
6 parameter
th
7 parameter
th
8 parameter
Ver. 1.0
1
1
1
1
0
0
MTD3 MTD2 MTD1 MTD0 MTC3 MTC2 MTC1 MTC0
MTF3 MTF2 MTF1 MTF0 MTE3 MTE2 MTE1 MTE0
156/191
o
MT2x: (-16 C to -24 C)
o
MT7x: (24 C to16 C)
o
o
MT6x: (16 C to 8 C)
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
MT9x: (40 C to 32 C)
MT8x: (32 C to 24 C)
MTBx: (56 C to 48 C)
MTAx: (48 C to 40 C)
MTDx: (72 C to 64 C)
MTCx: (64 C to 56 C)
MTFx: (87 C to 80 C)
MTEx: (80 C to 72 C)
2009/12
ST7687A
This command defines temperature gradient compensation coefficient. For this command
detail description and opearation, please see section7.10.
MT n 3
MT n 2
MT n 1
MT n 0
Voltage / C
0
0
0
0
0
+5 mv / C
1
0
0
0
1
0 mv / C
2
0
0
1
0
-5 mv / C
3
0
0
1
1
-10 mv / C
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
12
1
1
0
0
-55 mv / C
13
1
1
0
1
-60 mv / C
14
1
1
1
0
-65 mv / C
15
1
1
1
1
-70 mv / C
Description
o
Voltage / C
Restriction
(+/- 3mv
o
o
o
o
o
o
o
Please refer to the specification in absolute maximum ratings for operating voltage range.
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Ver. 1.0
o
tolerance)
Status
Default
o
Parameter n
Default Value (MTn[3:0])
Power On Sequence
--
S/W Reset
--
H/W Reset
--
157/191
2009/12
ST7687A
Legend
Command
Parameter
Display
Flow Chart
Action
Mode
Sequential
transter
NOTE:
The default value of temperature gradient compensation coefficient Set
st
1 parameter
2
nd
0xFF
parameter
0x36
rd
3 parameter
0x04
th
0x00
th
0x00
th
0x42
th
0xC4
th
0x59
4 parameter
5 parameter
6 parameter
7 parameter
8 parameter
Ver. 1.0
158/191
2009/12
ST7687A
8.1.63
THYS: Temperature detection threshold (F7H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
THYS
0
1
0
1
1
1
1
0
1
1
1
(F7h)
Parameter
1
1
0
-
Description
THYS6 THYS5 THYS4 THYS3 THYS2 THYS1 THYS0
-
Temperature detection threshold setting.
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value D[7:0]
Power On Sequence
08h
S/W Reset
08h
H/W Reset
08h
Flow Chart
Ver. 1.0
159/191
2009/12
ST7687A
8.1.64
Frame Set: Frame PWM Set (F9H)
NOTE: “-“ Don’t care
Command
A0
/RD
/WR
D7
D6
D5
D4
D3
D2
D1
D0
Hex
Frame1 Set
0
1
0
1
1
1
1
1
0
0
1
(F9h)
st
parameter
1
1
0
-
-
-
P14
P13
P12
P11
P10
-
nd
parameter
1
1
0
-
-
-
P24
P23
P22
P21
P20
-
:
:
:
:
:
:
:
:
:
:
:
-
1
2
:
th
parameter
1
1
0
-
-
-
P154 P153 P152 P151 P150
-
th
parameter
1
1
0
-
-
-
P164 P163 P162 P161 P160
-
15
16
Description
This command is used to set frame PWM.
Restriction
Status
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Yes
Register
Normal Mode On, Idle Mode On, Sleep Out
Yes
Availability
Partial Mode On, Idle Mode Off, Sleep Out
Yes
Partial Mode On, Idle Mode On, Sleep Out
Yes
Sleep In
Yes
Status
Default
Default Value
Power On Sequence
--
S/W Reset
--
H/W Reset
--
Flow Chart
Ver. 1.0
160/191
2009/12
ST7687A
NOTE:
The default value of RGB level set
RGB level0
00H
RGB level1
01H
RGB level2
02H
RGB level3
04H
RGB level4
06H
RGB level5
07H
RGB level6
09H
RGB level7
0AH
RGB level8
0BH
RGB level9
0CH
RGB level10
0DH
RGB level11
0FH
RGB level12
11H
RGB level13
12H
RGB level14
17H
RGB level15
1AH
All the modulation range of each level for each frame is from 00H to 1FH.
Ver. 1.0
161/191
2009/12
ST7687A
9
SPECIFICATIONS
9.1
Absolute Maximum Ratings
(VSS = 0V)
Item
Symbol
Value
Unit
Supply voltage 1
VDD
- 0.3 ~ + 3.6
V
Supply voltage 2
VDD2,VDD3,VDD4,VDD5
- 0.3 ~ + 3.6
V
Supply voltage 3
VLCD (V0- XV0)
- 0.3 ~ + 18.0
V
Input voltage range
VIN
- 0.3 ~ VDD + 0.3
V
Operating temperature range
TOPR
- 30 ~ + 85
°C
Storage temperature range
TSTG
- 40 ~ + 125
°C
NOTE:
(1). Voltages are all based on VSS = 0V.
(2). Voltage relationship: V0 > Vg > Vm > VSS > XV0 must always be satisfied.
Ver. 1.0
162/191
2009/12
ST7687A
9.2
DC Characteristics
9.2.1
Basic Characteristics
(VSS=0V, Ta = -30 to 85°C)
Parameter
Symbol
Logic Operating voltage
VDDI
Analog Operating
VDDA
voltage
Conditions
Related Pins
MIN
TYP
MAX
-
VDD
1.65
1.8
3.3
2.4
2.8
3.3
-
VDD2,3,4,5
-
-
18.0
Driving voltage input
VLCD
V0 – XV0
V0, XV0
High level input voltage
VIH
-
*1)
0.7VDD
-
VDD
Low level input voltage
VIL
-
*1)
VSS
-
0.3VDD
High level output voltage
VOH
IOH = -1.0mA
0.8VDD
-
VDD
Low level output voltage
VOL
IOL = +1.0mA
VSS
-
0.2VDD
Input leakage current
IIL
VIN = VDD or VSS
-1.0
-
+1.0
-
1
-
Driver on resistance
(SEG)
Driver on resistance
(COM)
RONSEG
RONCOM
Vg = 2.8V,
Ta=25℃
V0 = 14.0V,
Ta=25℃
Unit
V
SI, TE
*1)
S0 to S383
µA
KΩ
C0 to C127
-
0.8
-
-
-
77
-
Ta=25℃,
Frame rate
FR
N-line=0x00,
Duty=128,
Hz
FR=0x12
NOTE:
*1) Applies to IF1, IF2, IF3, /CS, /RST, /WR, /RD, A0(SCL) and D15-D2, D1 (A0) ,D0(SI) pins
Ver. 1.0
163/191
2009/12
ST7687A
9.2.2
Current Consumption (Bare die)
Current consumption
Operation mode
Condition
Typical
Maximum
IDD (mA)
IDD (mA)
0.6
0.9
0.01
0.02
1. 1/2 gray pattern
Normal Mode
2. Vddi=1.8V, Vdda=2.8V
3. Vop=14V, bias=1/9, n-line=0x00,
FR=77Hz, x8 booster, Ta=25℃
Sleep In Mode
Vddi=1.8V, Vdda=2.8V, Ta=25℃
Note: Bare die
Note:
The current consumption is DC characteristic.
Ver. 1.0
164/191
2009/12
ST7687A
10
TIMING CHARACTERISTICS
10.1
Parallel Interface Characteristics bus (8080-series MCU)
A0
/CS
/WR
/RD
TAST
TAHT
TCS
TCSH
TCCLW
Tf
TCCLR
TDST
TCYCR / TCYCW
TCCHW
TCCHR
Tr
TDHT
D[15:0]
(Write)
D[15:0]
(Read)
TODH
TRAT
(VSS=0V, VDDI=1.65~3.3V, VDDA=2.4~3.3V, Ta = 25°C)
Item
Signal
Symbol
Rating
Condition
Units
Min.
Max.
TAHT
0
—
TAST
0
—
TCS
10
—
Chip select hold time
TCSH
10
—
System cycle time (WRITE)
TCYCW
200
—
TCCLW
80
—
/WR H pulse width (WRITE)
TCCHW
90
—
System cycle time (READ)
TCYCR
200
—
/RD L pulse width (READ)
RD (ID) TCCLR
80
—
/RD H pulse width (READ)
TCCHR
80
—
System cycle time (READ)
TCYCR
400
—
200
—
Address hold time
A0
Address setup time
Chip select setup time
/WR L pulse width (WRITE)
/CS
WR
When read ID data
When read from
/RD L pulse width (READ)
RD (FM) TCCLR
/RD H pulse width (READ)
TCCHR
200
—
WRITE data setup time
TDS
15
—
TDH
15
—
WRITE data hold time
D0 to D15
ns
frame memory
READ access time
TRAT
CL=30pF
—
90
READ Output disable time
TODH
CL=30pF
—
80
*1 The input signal rise time and fall time (Tr, Tf) is specified at 15 ns or less. When the system cycle time is extremely fast,
(Tr +Tf) ℃ (TCYC8 – TCCLW – TCCHW) for (Tr + Tf) ℃ (TCYC8 – TCCLR – TCCHR) are specified.
Ver. 1.0
165/191
2009/12
ST7687A
*2 All timing is specified using 20% and 80% of VDD as the reference.
*3 TCCLW and TCCLR are specified as the overlap between /CS being “L” and WR and RD being at the “L” level.
Ver. 1.0
166/191
2009/12
ST7687A
10.2
Parallel Interface Characteristics bus (6800-series MCU)
A0
R/W
/CS
E
TAST
TAHT
TCS
TCSH
TEWHW
Tr
TEWHR
TDST
TCYCR
TCYCW
TEWLW
TEWLR
Tf
TDHT
D[15:0]
(Write)
D[15:0]
(Read)
TODH
TRAT
(VSS=0V, VDDI=1.65~3.3V, VDDA=2.4~3.3V, Ta = 25°C)
Item
Signal
Symbol
Rating
Condition
Units
Min.
Max.
TAHT
0
—
TAST
0
—
TAHT
10
—
TAST
10
—
TCS
10
—
Chip select hold time
TCSH
10
—
System cycle time (WRITE)
TCYCW
200
—
TEWLW
80
—
High pulse width (WRITE)
TEWHW
60
—
System cycle time (READ)
TCYCR
200
—
70
—
80
—
400
—
200
—
Address hold time
A0
Address setup time
Address hold time
R/W
Address setup time
Chip select setup time
Low pulse width (WRITE)
Low pulse width (READ)
/CS
E
E (ID)
TEWLR
High pulse width (READ)
TEWHR
System cycle time (READ)
TCYCR
Low pulse width (READ)
E (FM)
TCCLR
ns
When read ID data
When read from
frame memory
High pulse width (READ)
TCCHR
200
—
WRITE data setup time
TDS
15
—
TDH
15
—
WRITE data hold time
D0 to D15
READ access time
TRAT
CL=30pF
—
90
READ Output disable time
TODH
CL=30pF
—
80
Ver. 1.0
167/191
2009/12
ST7687A
10.3
Serial Interface Characteristics (4-pin Serial)
T SAS
TSAH
A0
/CS
V IH
TCHW
TCSH
TCSS
VIL
TCHW
TSCYCR / TSCYCW
SCL
V HI
VIL
TSHR / T SHW
TSLR / TSLW
TSDS
T SD
H
SI
(DIN)
TOH
T ACC
SI
(DOUT)
(VSS=0V, VDDI=1.65~3.3V, VDDA=2.4~3.3V, Ta = 25°C)
Item
Signal
Symbol
Rating
Condition
Units
Min.
Max.
Serial clock period (write)
TSCYCW
70
—
SCL “H” pulse width (write)
TSHW
35
—
TSLW
35
—
Serial clock period (read)
TSCYCR
150
—
SCL “H” pulse width (read)
TSHR
70
—
SCL “L” pulse width (read)
TSLR
70
—
TSAS
10
—
Address hold time
TSAH
10
—
Data setup time
TSDS
10
—
TSDH
10
—
SCL “L” pulse width (write)
Address setup time
Data hold time
SCL
A0
SI
Data access time
TACC
CL=30pF
—
60
Output disable time
TOH
CL=30pF
—
60
Chip select setup time
TCSS
35
—
TCSH
35
—
TCHW
0
—
Chip select hold time
Chip select “H” pulse width
Ver. 1.0
/CS
168/191
ns
2009/12
ST7687A
10.4
Serial Interface Characteristics (3-pin Serial)
(VSS=0V, VDDI=1.65~3.3V, VDDA=2.4~3.3V, Ta = 25°C)
Item
Signal
Symbol
Rating
Condition
Units
Min.
Max.
Serial clock period (write)
TSCYCW
70
—
SCL “H” pulse width (write)
TSHW
35
—
TSLW
35
—
Serial clock period (read)
TSCYCR
150
—
SCL “H” pulse width (read)
TSHR
70
—
SCL “L” pulse width (read)
TSLR
70
—
Data setup time
TSDS
10
—
TSDH
10
—
SCL “L” pulse width (write)
Data hold time
SCL
SI
Access time
TACC
CL=30pF
—
60
Output disable time
TOH
CL=30pF
—
60
Chip select setup time
TCSS
35
—
TCSH
35
—
TCHW
0
—
Chip select hold time
Chip select “H” pulse width
Ver. 1.0
/CS
169/191
ns
2009/12
ST7687A
11
RESET TIMING
/ RST
TRW
TRT
Display
status
Normal operation
During reset
Initial condition
(Default for H/W reset)
(VSS=0V, Ta = 25°C)
Item
Reset “L” pulse width
Reset time
Ver. 1.0
Signal
Symbol
Rating
Condition
Unit
Min.
Max.
/RST
TRW
-
10
-
us
-
TRT
-
120
-
ms
170/191
2009/12
ST7687A
12
THE MPU INTERFACE (REFERENCE EXAMPLES)
The ST7687A Series can be connected to either 8080 Series MPUs or to 6800 Series MPUs. Moreover,
using the serial interface it is possible to operate the ST7687A series chips with fewer signal lines.
The display area can be enlarged by using multiple ST7687A Series chips. When this is done, the chip
select signal can be used to select the individual Ics to access.
MPU
ST7687A
(1) 8080 Series MPUs
(2) 6800 Series MPUs
V DD
V CC
V DD
A0
A0
/CS
/CS
D0 to D15
E(/RD)
R/W(/WR)
/RST
GND
RESET
IF 1
IF 2
IF 3
D0 to D15
E (/RD )
R/W (/WR )
/RST
V SS
V SS
(3) Using the Serial Interface (4-line interface)
Ver. 1.0
171/191
2009/12
ST7687A
Ver. 1.0
ST7687A
MPU
(4) Using the Serial Interface (3-line interface)
172/191
2009/12
ST7687A
13
13.1
APPLICATION NOTE
Schematic Suggestion
13.1.1
80-8bit parallel interface Mode
Typical VDDI
VDDA
IF[3:1]
CLS
INTVD1
C1
C2
C3
C4
1.8V/2.8V
2.4V℃VDDA℃3.3V
HHL
H (internal OSC)
L
1uF/16V
1uF/25V
1uF/16V
1uF/16V (Optional)
FPC
Interface
FPC
ITO
VPP
(Test point)
A0
WR
D0
D1
D2
D3
D4
D5
D6
D7
RD
/RST
/CS
VDDI
EXT
(Test point)
C4
VSS
VDDA
C3
C2
C1
Ver. 1.0
173/191
VSS
VPP
VPP
VPP
VPP
CL
CLS
VSS
VDD
INTVD1
A0
VDD
RW_WR
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
VSS
VDD
E_RD
RW_WR
A0
/RST
IF1
IF2
IF3
VSS
VDD
/CS
/EXT
TE
TCAP
VDD
VDD
VDD
VDD
VD1in
VD1in
VD1in
VD1in
VD1out
VD1out
VSS1
VSS1
VSS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
VSS
VSS 2
61
62
VSS 2
VSS 4
VSS 4
VSS 4
VREF
VDD3
VDD3
VDD4
VDD4
VDD5
VDD5
VDD5
VDD5
VDD5
VDD5
VDD2
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
VDD2
VSS2
93
94
VSS2
Vm
Vm
Vm
Vm
Vm
Vm
V0in
V0in
V0in
V0in
V0s
V0out
V0out
XV0out
XV0out
XV0s
XV0in
XV0in
XV0in
XV0in
Vgout
Vgout
Vgs
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
VSS
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
660
COM 26
610
609
COM 126
DUMMY
597
DUMMY
596
595
SEG383
SEG382
214
213
SEG1
SEG0
212
DUMMY
200
199
DUMMY
COM 127
149
COM 27
2009/12
ST7687A
13.1.2
80-16bit parallel interlace Mode
Typical VDDI
VDDA
IF[3:1]
CLS
INTVD1
C1
C2
C3
C4
1.8V/2.8V
2.4V℃VDDA℃3.3V
HHH
H (internal OSC)
L
1uF/16V
1uF/25V
1uF/16V
1uF/16V (Optional)
FPC
Interface
FPC
A0
WR
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
ITO
VPP
(Test point)
EXT
(Test point)
RD
/RST
/CS
VDDI
VDDA
C3
C2
C1
174/191
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
VSS
VSS 2
61
62
VSS 2
VSS 4
VSS 4
VSS 4
VREF
VDD3
VDD3
VDD4
VDD4
VDD5
VDD5
VDD5
VDD5
VDD5
VDD5
VDD2
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
VDD2
VSS2
93
94
COM 26
610
609
COM 126
DUMMY
597
DUMMY
596
595
SEG383
SEG382
214
213
SEG1
SEG0
212
DUMMY
200
199
DUMMY
COM 127
149
COM 27
C4
VSS
Ver. 1.0
VSS
VPP
VPP
VPP
VPP
CL
CLS
VSS
VDD
INTVD1
A0
VDD
RW_WR
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
VSS
VDD
E_RD
RW_WR
A0
/RST
IF1
IF2
IF3
VSS
VDD
/CS
/EXT
TE
TCAP
VDD
VDD
VDD
VDD
VD1in
VD1in
VD1in
VD1in
VD1out
VD1out
VSS1
VSS1
VSS
660
VSS2
Vm
Vm
Vm
Vm
Vm
Vm
V0in
V0in
V0in
V0in
V0s
V0out
V0out
XV0out
XV0out
XV0s
XV0in
XV0in
XV0in
XV0in
Vgout
Vgout
Vgs
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
VSS
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
2009/12
ST7687A
13.1.3
68-8bit parallel interlace Mode
FPC
Interface
FPC
ITO
61
62
VSS 2
VSS 4
VSS 4
VSS 4
VREF
VDD3
VDD3
VDD4
VDD4
VDD5
VDD5
VDD5
VDD5
VDD5
VDD5
VDD2
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
VDD2
VSS2
93
94
…
VSS
VSS 2
COM 24
C4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
VSS
…
VDDA
…
C3
C2
C1
148
COM 1
COM 25
175/191
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
Ver. 1.0
VSS2
Vm
Vm
Vm
Vm
Vm
Vm
V0in
V0in
V0in
V0in
V0s
V0out
V0out
XV0out
XV0out
XV0s
XV0in
XV0in
XV0in
XV0in
Vgout
Vgout
Vgs
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
VSS
660
COM 26
610
609
COM 126
DUMMY
597
DUMMY
596
595
SEG383
SEG382
214
213
SEG1
SEG0
212
DUMMY
200
199
DUMMY
COM 127
149
COM 27
Gold bump face up
EXT
(Test point)
VSS
VPP
VPP
VPP
VPP
CL
CLS
VSS
VDD
INTVD1
A0
VDD
RW_WR
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
VSS
VDD
E_RD
RW_WR
A0
/RST
IF1
IF2
IF3
VSS
VDD
/CS
/EXT
TE
TCAP
VDD
VDD
VDD
VDD
VD1in
VD1in
VD1in
VD1in
VD1out
VD1out
VSS1
VSS1
VSS
661
VPP
(Test point)
A0
RW
D0
D1
D2
D3
D4
D5
D6
D7
E
/RST
/CS
VDDI
COM 0
1.8V/2.8V
2.4V℃VDDA℃3.3V
HLL
H (internal OSC)
L
1uF/16V
1uF/25V
1uF/16V
1uF/16V (Optional)
673
Typical VDDI
VDDA
IF[3:1]
CLS
INTVD1
C1
C2
C3
C4
2009/12
ST7687A
13.1.4
68-16bit parallel interlace Mode
Typical VDDI
VDDA
IF[3:1]
CLS
INTVD1
C1
C2
C3
C4
1.8V/2.8V
2.4V℃VDDA℃3.3V
HLH
H (internal OSC)
L
1uF/16V
1uF/25V
1uF/16V
1uF/16V (Optional)
FPC
Interface
FPC
A0
RW
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
ITO
VPP
(Test point)
EXT
(Test point)
E
/RST
/CS
VDDI
VDDA
C3
C2
C1
176/191
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
VSS
VSS 2
61
62
VSS 2
VSS 4
VSS 4
VSS 4
VREF
VDD3
VDD3
VDD4
VDD4
VDD5
VDD5
VDD5
VDD5
VDD5
VDD5
VDD2
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
VDD2
VSS2
93
94
COM 26
610
609
COM 126
DUMMY
597
DUMMY
596
595
SEG383
SEG382
214
213
SEG1
SEG0
212
DUMMY
200
199
DUMMY
COM 127
149
COM 27
C4
VSS
Ver. 1.0
VSS
VPP
VPP
VPP
VPP
CL
CLS
VSS
VDD
INTVD1
A0
VDD
RW_WR
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
VSS
VDD
E_RD
RW_WR
A0
/RST
IF1
IF2
IF3
VSS
VDD
/CS
/EXT
TE
TCAP
VDD
VDD
VDD
VDD
VD1in
VD1in
VD1in
VD1in
VD1out
VD1out
VSS1
VSS1
VSS
660
VSS2
Vm
Vm
Vm
Vm
Vm
Vm
V0in
V0in
V0in
V0in
V0s
V0out
V0out
XV0out
XV0out
XV0s
XV0in
XV0in
XV0in
XV0in
Vgout
Vgout
Vgs
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
VSS
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
2009/12
ST7687A
13.1.5
3-line serial interlace Mode
Typical VDDI
VDDA
IF[3:1]
CLS
INTVD1
C1
C2
C3
C4
1.8V/2.8V
2.4V℃VDDA℃3.3V
LHL
H (internal OSC)
L
1uF/16V
1uF/25V
1uF/16V
1uF/16V (optional)
FPC
Interface
FPC
ITO
VPP
(Test point)
SCL
SI
RST
/CS
EXT
(Test point)
VDDI
C4
VSS
VDDA
C3
C2
C1
Ver. 1.0
177/191
VSS
VPP
VPP
VPP
VPP
CL
CLS
VSS
VDD
INTVD1
A0
VDD
RW_WR
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
VSS
VDD
E_RD
RW_WR
A0
/RST
IF1
IF2
IF3
VSS
VDD
/CS
/EXT
TE
TCAP
VDD
VDD
VDD
VDD
VD1in
VD1in
VD1in
VD1in
VD1out
VD1out
VSS1
VSS1
VSS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
VSS
VSS 2
61
62
VSS 2
VSS 4
VSS 4
VSS 4
VREF
VDD3
VDD3
VDD4
VDD4
VDD5
VDD5
VDD5
VDD5
VDD5
VDD5
VDD2
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
VDD2
VSS2
93
94
VSS2
Vm
Vm
Vm
Vm
Vm
Vm
V0in
V0in
V0in
V0in
V0s
V0out
V0out
XV0out
XV0out
XV0s
XV0in
XV0in
XV0in
XV0in
Vgout
Vgout
Vgs
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
VSS
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
660
COM 26
610
609
COM 126
DUMMY
597
DUMMY
596
595
SEG383
SEG382
214
213
SEG1
SEG0
212
DUMMY
200
199
DUMMY
COM 127
149
COM 27
2009/12
ST7687A
13.1.6
4-line serial interlace Mode
FPC
Interface
FPC
ITO
RST
/CS
VDDI
C4
VSS
VSS 2
61
62
VSS 2
VSS 4
VSS 4
VSS 4
VREF
VDD3
VDD3
VDD4
VDD4
VDD5
VDD5
VDD5
VDD5
VDD5
VDD5
VDD2
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
VDD2
VSS2
93
94
…
VSS
…
VDDA
…
C3
C2
C1
148
COM 1
COM 25
178/191
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
Ver. 1.0
VSS2
Vm
Vm
Vm
Vm
Vm
Vm
V0in
V0in
V0in
V0in
V0s
V0out
V0out
XV0out
XV0out
XV0s
XV0in
XV0in
XV0in
XV0in
Vgout
Vgout
Vgs
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
VSS
660
COM 26
610
609
COM 126
DUMMY
597
DUMMY
596
595
SEG383
SEG382
214
213
SEG1
SEG0
212
DUMMY
200
199
DUMMY
COM 127
149
COM 27
Gold bump face up
EXT
(Test point)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
COM 24
SCL
SI
A0
VSS
VPP
VPP
VPP
VPP
CL
CLS
VSS
VDD
INTVD1
A0
VDD
RW_WR
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
VSS
VDD
E_RD
RW_WR
A0
/RST
IF1
IF2
IF3
VSS
VDD
/CS
/EXT
TE
TCAP
VDD
VDD
VDD
VDD
VD1in
VD1in
VD1in
VD1in
VD1out
VD1out
VSS1
VSS1
VSS
661
VPP
(Test point)
COM 0
1.8V/2.8V
2.4V℃VDDA℃3.3V
LHH
H (internal OSC)
L
1uF/16V
1uF/25V
1uF/16V
1uF/16V (optional)
673
Typical VDDI
VDDA
IF[3:1]
CLS
INTVD1
C1
C2
C3
C4
2009/12
ST7687A
13.1.7
80-8bit parallel interlace Mode while typical Vddi=3V/3.3V
Typical VDDI
VDDA
IF[3:1]
CLS
INTVD1
C1
C2
C3
C4
R1
3V/3.3V
2.4V℃VDDA℃3.3V
HHL
H (internal OSC)
H
1uF/16V
1uF/25V
1uF/16V
1uF/16V
1MΩ
FPC
Interface
A0
WR
D0
D1
D2
D3
D4
D5
D6
D7
RD
/RST
/CS
VDDI
FPC
ITO
VPP
(Test point)
EXT
(Test point)
R1
VSS
VPP
VPP
VPP
VPP
CL
CLS
VSS
VDD
INTVD1
A0
VDD
RW_WR
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
VSS
VDD
E_RD
RW_WR
A0
/RST
IF1
IF2
IF3
VSS
VDD
/CS
/EXT
TE
TCAP
VDD
VDD
VDD
VDD
VD1in
VD1in
VD1in
VD1in
VD1out
VD1out
VSS1
VSS1
VSS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
VSS
VSS 2
61
62
VSS 2
VSS 4
VSS 4
VSS 4
VREF
VDD3
VDD3
VDD4
VDD4
VDD5
VDD5
VDD5
VDD5
VDD5
VDD5
VDD2
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
VDD2
VSS2
93
94
660
COM 26
610
609
COM 126
DUMMY
597
DUMMY
596
595
SEG383
SEG382
214
213
SEG1
SEG0
212
DUMMY
200
199
DUMMY
COM 127
149
COM 27
C4
VSS
VDDA
C3
C2
C1
Ver. 1.0
179/191
VSS2
Vm
Vm
Vm
Vm
Vm
Vm
V0in
V0in
V0in
V0in
V0s
V0out
V0out
XV0out
XV0out
XV0s
XV0in
XV0in
XV0in
XV0in
Vgout
Vgout
Vgs
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
VSS
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
2009/12
ST7687A
13.1.8
4-line serial interlace Mode while typical Vddi=3V/3.3V
FPC
Interface
FPC
ITO
RST
/CS
EXT
(Test point)
R1
C4
VSS
VSS 2
61
62
VSS 2
VSS 4
VSS 4
VSS 4
VREF
VDD3
VDD3
VDD4
VDD4
VDD5
VDD5
VDD5
VDD5
VDD5
VDD5
VDD2
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
VDD2
VSS2
93
94
…
VSS
…
VDDA
…
C3
C2
C1
148
COM 1
COM 25
180/191
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
Ver. 1.0
VSS2
Vm
Vm
Vm
Vm
Vm
Vm
V0in
V0in
V0in
V0in
V0s
V0out
V0out
XV0out
XV0out
XV0s
XV0in
XV0in
XV0in
XV0in
Vgout
Vgout
Vgs
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
Vgin
VSS
660
COM 26
610
609
COM 126
DUMMY
597
DUMMY
596
595
SEG383
SEG382
214
213
SEG1
SEG0
212
DUMMY
200
199
DUMMY
COM 127
149
COM 27
Gold bump face up
VDDI
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
COM 24
SCL
SI
A0
VSS
VPP
VPP
VPP
VPP
CL
CLS
VSS
VDD
INTVD1
A0
VDD
RW_WR
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
VSS
VDD
E_RD
RW_WR
A0
/RST
IF1
IF2
IF3
VSS
VDD
/CS
/EXT
TE
TCAP
VDD
VDD
VDD
VDD
VD1in
VD1in
VD1in
VD1in
VD1out
VD1out
VSS1
VSS1
VSS
661
VPP
(Test point)
COM 0
3V/3.3V
2.4V℃VDDA℃3.3V
LHH
H (internal OSC)
H
1uF/16V
1uF/25V
1uF/16V
1uF/16V
1MΩ
673
Typical VDDI
VDDA
IF[3:1]
CLS
INTVD1
C1
C2
C3
C4
R1
2009/12
ST7687A
13.2
Power on flow and sequence:
Power On
Keeping the /RES Pin = "L" and
waiting for stabilizing the Power
/RES Pin="H" and wait a minute ( tR > 120ms )
Initial LCM
display off
sleep out
Vop setting
booster control
function setting
write DDRAM
Display on
Normal operating
TrTW
TrTW >=0
VDDI
(Digital)
VDDA
(Analog)
tRW
/RES
tRW > 10 us
Internal
State
Power On
Reset
Initial LCM
TrTW
TrTW >=0
VDDI
(Digital)
VDDA
(Analog)
tRW
/RES
tRW > 10 us
Internal
State
Ver. 1.0
Power On
Reset
181/191
Initial LCM
2009/12
ST7687A
13.3
Power off flow and sequence
Normal operating
Keeping /RES pin=”L”
Wait power turning off (tR>120ms)
Turn off power (Vdd & Vdd2)
Power off
tfPW
VDDI
(Digital)
tfPW >=0
VDDA
(Analog)
tpfall
/RES
tR
Internal
State
Reset
Normal operating
tR=120ms
Power Off
Keep the /RES = Low
Note:
1.
When turning VDDA OFF, the falling time should follow the specification:
tPfall ≤ 300msec
2.
If the power off flow cannot meet this specification, it’s recommend to use the resistor shown as blow.
Ver. 1.0
182/191
2009/12
ST7687A
13.4
PROM Burning Flow:
Power on
HW Reset
Delay 120ms
Push into program flow
Initial LCD Module for checking performance
void INITIAL_7687A (void)
Key
P
Show image and
fine tune Vop
void Fine_Tune_Vop(void)
Key
+
/EXT connect to VSS
VPP connect to 6.5V
Adjustment
PROM write
void PROMwrite_7687A (void)
Remove 6.5V from VPP
Remove VSS from /EXT
HW reset
Delay 120ms
Initial LCD Module for checking performance
void INITIAL_7687A (void)
Ver. 1.0
183/191
2009/12
ST7687A
13.5
Software coding flow
void INITIAL_7687A (void)
{
//-----------------------------Disable Auto read ------------------------------------//
Write(COMMAND,0xD7);
// Disable auto read
Write(DATA,0x9F);
//-----------------------------Read Data From PROM------------------------//
Write(COMMAND,0xe0);
// PROM control in
Write(DATA,0x00);
delayms(200);
// Delay 200ms
Write(COMMAND,0xe3);
// Read from PROM
delayms(200);
// Delay 200ms
Write(COMMAND,0xe1);
// PORM control out
//---------------------------------- Sleep OUT ---------------------------------------//
Write(COMMAND, 0x28 );
// Display off
Write(COMMAND, 0x11 );
// Sleep Out
delayms(250);
// Delay 250ms
//--------------------------------Vop Setting------------------------------------------//
Write(COMMAND,0xc0);
//Vop setting
Write(DATA, 0x12);
//Vop = 14.56V
Write(DATA, 0x01);
// base on Module
//--------------------------------Set
Register---------------------------------------//
Write(COMMAND,0xc3);
// Bias selection
Write(DATA,0x04);
// 1/8 Bias
Write(COMMAND,0xc4);
// Booster setting
Write(DATA,0x07);
// Booster X 8
Write(COMMAND,0xcb);
// Vg source control
Write(DATA,0x01);
// Vg from 2xVdda
Write(COMMAND,0x36);
// Memory data access control
Write(DATA,0x80);
//
Write(COMMAND,0xb5);
// N-line Setting
Write(DATA,0x04);
//
Write(COMMAND,0xbd);
// CrossTalk compensation setting
Write(DATA,0x04);
//
Write(COMMAND,0xd0);
// Analog circuit setting
Ver. 1.0
184/191
2009/12
ST7687A
Write(DATA,0x1D);
//
Write(COMMAND,0x25);
// Write Contrast
Write(DATA,0x3F);
//
Write(COMMAND,0x3A);
// Interface Pixel Format
Write(DATA,0x05);
//16bits/pixel
Write(COMMAND,0xb0);
//Display Duty Setting
Write(DATA,0x7F);
// Duty = 128 duty
Write(COMMAND,0x2A);
// Column address setting
Write(DATA,0x00);
// 0~127
Write(DATA,0x7F);
Write(COMMAND,0x2B);
// Row address setting
Write(DATA,0x00);
// 0~127
Write(DATA,0x7F);
void gamma (void);
void TC_setting (void);
Write(COMMAND,0x29);
// Display On
}
//--------------------------------------Set
Gamma------------------------------------------//
void gamma (void)
{
Write(COMMAND,0xf9);
// Set frame RGB value
Write(DATA,0x00);
Write(DATA,0x02);
Write(DATA,0x04);
Write(DATA,0x06);
Write(DATA,0x08);
Write(DATA,0x0A);
Write(DATA,0x0C);
Write(DATA,0x0E);
Write(DATA,0x10);
Write(DATA,0x12);
Write(DATA,0x14);
Write(DATA,0x16);
Write(DATA,0x18);
Write(DATA,0x1A);
Ver. 1.0
185/191
2009/12
ST7687A
Write(DATA,0x1C);
Write(DATA,0x1E);
}
//---------------------------------TC setting--------------------------------------//
void TC_setting (void)
{
Write(COMMAND,0xf4);
//TC setting
Write(DATA,0xff);
Write(DATA,0x49);
Write(DATA,0x23);
Write(DATA,0x02);
Write(DATA,0x00);
Write(DATA,0x42);
Write(DATA,0x75);
Write(DATA,0x87);
}
void Fine_Tune_Vop(void)
{
//------------------------------------- Show Map ----------------------------------------------Show_Image();
//Display a image
//------------------------------------ Display ON ----------------------------------------------Write(COMMAND, 0x29 );
// Display On
//--------------------------------Fine tune Vop offset---------------------------------------Write( COMMAND, 0xc1);
//Fine tuning Vop here by command 0xc1
or
(VopOffsetInc), 0xc2 (VopOffsetDec).
Write( COMMAND, 0xc2);
}
void PROMwrite_7687A (void)
{
//--------------------------------------display off------------------------------------//
Write(COMMAND,0x28);
// Display off
delayms(50);
// Delay 50ms
//--------------------------------------PROM write mode--------------------------------//
Write(COMMAND,0xf0);
Ver. 1.0
// Frame Freq. in Temp range A,B,C and D
186/191
2009/12
ST7687A
Write(DATA, 0x12);
Write(DATA, 0x12);
Write(DATA, 0x12);
Write(DATA, 0x12);
Write(COMMAND,0xe4);
// SELPROM
Write(DATA, 0x58);
Write(COMMAND,0xe5);
// Programmable rom setting
Write(DATA, 0x0F);
Write(COMMAND,0xe0);
//PROM control in
Write(DATA, 0x20);
delayms(100);
//Delay 100ms
Write(COMMAND,0xe2);
// Write to PROM
delayms(250);
//delay 250ms
Write(COMMAND,0xe1);
//PROM control out
}
Note:
#1 If the Vop and display performance is not suitable after burning PROM,the Vop has to fine tune again.
#2 In this section”+” & “-“ key button, please execute Write(COMMAND,0xC1) to increase one step at Vop and execute
Write(COMMAND,0xC2) to decrease one step at Vop, if necessary.
#3 The TC is turn on in burning flow. If LCD module is too dark or bright, it’s an effect of backlight.
Ver. 1.0
187/191
2009/12
ST7687A
13.6
Timing sequence of each power level in initial and program flow:
Note:
#1 VPP pad can have 6.5V only when Vddi and Vdda have power.
#2 Reset signal can not be low level in program period.
Ver. 1.0
188/191
2009/12
ST7687A
13.7
Suggestion circuit:
Note:
#1 In order to accomplish VPP pad have 6.5v only when vddi and vdda have power and /ext pad connect to vss in programming period,
the PROM programming system suggestion is shown above that use relay controlled by mcu to achieve controlling VPP and /ext power
level by software.
Ver. 1.0
189/191
2009/12
ST7687A
13.8
ESD Protection:
For ESD protection of the LCM, here are some recommendations:
1.
RST (Reset pin): Please increase the resistance of this pin.
IC Side
ITO
IF1
R
/RST
A0
2.
ESD Protection Ring: “Shielding Ground” is the first protection of ESD. By connecting
the “Blue” (ITO) ring to the FPC, the protection ring is finished.
Ver. 1.0
190/191
2009/12
ST7687A
14
REVISION HISTORY
ST7687A Serial Specification Revision History
Version
Date
1.0
2009/12
Ver. 1.0
Description
First Issue
191/191
2009/12