ST7558
9. INSTRUCTION DESCRIPTION
H=”0” or “1”
Reset
This instruction resets initial display line, column address, page address, and common output status select to their initial
status. This instruction cannot initialize the LCD power supply, which is initialized by the RESB pin.
A0
D7
D6
D5
D4
D3
D2
0
D1
1
D0
1
WR(R/W)
0
0
0
0
0
0
0
!!!caution: this instruction cannot be used when using I2C interface
Function Set
A0
D7
0
D6
0
D5
1
D4
0
D3
0
D2
PD
D1
V
D0
H
WR(R/W)
0
0
Flag
Description
All LCD outputs at VSS (display off), bias generator and VLCD generator off, VLCD can be
disconnected, oscillator off (external clock possible), RAM contents not cleared; RAM data
can be written.
PD
V
PD=0:chip is active
PD=1:chip is in power down mode
When V = 0, the horizontal addressing is selected. The data is written into the DDRAM as
shown in Fig13.
When V = 1, the vertical addressing is selected. The data is written into the DDRAM as
shown in Fig12
When H = 0 the commands ‘display control’, ‘set Y address’ and ‘set X address’
can be performed, when H = 1 the others can be executed. The commands ‘write data’
and ‘function set’ can be executed in both cases.
H=0:use basic instruction set
H=1:use extended instruction set
H
Ext. display control
A0
D7
0
D6
0
D5
1
D4
0
D3
1
D2
MX
D1
MY
D0
0
WR(R/W)
0
0
Flag
Description
SEG bi-direction selection
MX
MX=0:normal direction (SEG0ÆSEG101)
MX=1:reverse direction (SEG101ÆSEG0)
COM bi-direction selection
MY
See Pad Center Coordinates at page 3~10 when using this register
!!!Caution:the common output pad should be care.
The normal direction of common and reverse direction of common have different pad location, only one can be
used. On the other hand, you must choose one kind, NORMAL or REVERSE, and these two have different ITO
layout. Moreover, using the NORMAL layout, must set MY=0; using the REVERSE layout ,must set MY=1.
PS. The NORMAL and REVERSE pad location table are at page3 ~ page10
Ver 2.3
28/56
2005/10/05