English
Language : 

STE2004S Datasheet, PDF (44/79 Pages) STMicroelectronics – 102 x 65 single-chip LCD controller/driver
Instruction set
5
Instruction set
STE2004S
Two different instructions formats are provided:
– With D/C set to LOW : commands are sent to the control circuitry.
– With D/C set to HIGH : the data RAM is addressed.
Two different instruction sets are embedded: the STE2001-like instruction set and the
extended instruction set. To select the STE2001-like instruction set, the EXT pad must be
connected to a logic LOW (connect to GND). To select the extended instruction set, the EXT
pad must be connected to a logic HIGH (connect to VDD1).
The instruction syntax is summarized in Table 8. (basic-set) and Table 9. (extended set).
Table 8. STE2001/2-like instruction set
Instruction
D/C R/W B7 B6 B5 B4 B3 B2 B1 B0
Description
H=0 or H=1
Read command
Function set
Status byte
ID code
Write data
Read I2C address or
0
0
0
0
0
0
0
0
0
0
status byte
(with 3-lines serial and
4-lines SPI only)
Power down
0
0
0
0
1 MX MY PD V H[0] management; entry
mode;
0
1 PD BSY 0
D
E MX MY DO (I2C interface only)
0
1
0
0
1
1
1
1 ID1 ID0
1
0 D7 D6 D5 D4 D3 D2 D1 D0 Writes data to RAM
H=0
Memory blank
0
0
0
0
0
0
0
0
0
1
Starts memory blank
procedure
Scroll
0
0
0
0
0
0
0
0
1
DIR
Scrolls by one row up
or down
VLCD range setting 0
0
0
0
0
0
0
1
0
PRS[ VLDC programming
0] range selection
Display control
Set CP factor
Set RAM Y
Set RAM X
0
0
0
0
0
0
1
D
0
E
Select display
configuration
0
0
0
0
0
1
0
S2
S1
S0
Charge pump
multiplication factor
0
0
0
1
0
0
Y3
Y2
Y1
Y0
Set horizontal (Y)
RAM address
0
0
1
X6
X5
X4
X3
X2
X1
X0
Set vertical (X) RAM
address
44/79