STE2002DIE1 STMicroelectronics, STE2002DIE1 Datasheet - Page 22
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
STE2002DIE1
Manufacturer Part Number
STE2002DIE1
Description
81 x 128 Single Chip LCD Controller/Driver
Manufacturer
STMicroelectronics
Datasheet
1.STE2002DIE1.pdf
(51 pages)
STE2002
the second is a data byte (fig 31). The Co bit is the command MSB and defines if after this command will follow
one data byte and an other command word or if will follow a stream of data (Co = 1 Command word, Co = 0
Stream of data). The D/C bit defines whether the data byte is a command or RAM data (D/C = 1 RAM Data, D/
C = 0 Command).
If Co =1 and D/C = 0 the incoming data byte is decoded as a command, and if Co =1 and D/C =1, the following
data byte will be stored in the data RAM at the location specified by the data pointer.
Every byte of a command word must be acknowledged by all addressed units.
After the last control byte, if D/C is set to a logic 1 the incoming data bytes are stored inside the STE2002 Display
RAM starting at the address specified by the data pointer. The data pointer is automatically updated after every
byte written and in the end points to the last RAM location written.
Every byte must be acknowledged by all addressed units.
Reading Mode.
If the R/W bit is set to logic 1 the chip will output data immediately after the slave address. If the D/C bit sent
during the last write access, is set to a logic 0, the byte read is the status byte.
Figure 31. Communication Protocol
SERIAL INTERFACE
The STE2002 serial Interface is a bidirectional link between the display driver and the application supervisor.
It consists of five lines: two for data signals (SDIN, SOUT), one for clock signals (SCLK), one for the peripheral
enable (SCE) and one for mode selection (SD/C).
The serial interface is active only if the SCE line is set to a logic 0. When SCE line is high the serial peripheral
power consumption is zero. While SCE pin is high the serial interface is kept in reset.
The STE2002 is always a slave on the bus and receive the communication clock on the SCLK pin from the mas-
ter.
Information are exchanged byte-wide. During data transfer, the data line is sampled on the positive SCLK edge.
SD/C line status indicates whether the byte is a command (SD/C =0) or RAM data (SD/C =1);it is read on the
eighth SCLK clock pulse during every byte transfer.
22/51
S
S
WRITE MODE
READ MODE
SLAVE ADDRESS
0 1 1 1 1
0 1 1 1 1
S
A
S
A
1
1
STE2002 ACK
STE2002 ACK
S
A 0 A
S
A 1 A
0
0
R/W
R/W
Co
1 DC Control Byte
COMMAND WORD
STE2002 ACK
MASTER ACK
A
P
DATA Byte
SLAVE ADDRESS
STE2002 ACK
0 1 1 1 1
STE2002
A 0
Co
CONTROL BYTE
DC Control Byte
S
A
1
S
A
0
LAST
W
R
/
STE2002 ACK
A
C
o
D
C
CONTROL BYTE
MSB........LSB
0 0 0 0 0 0 A
DATA Byte
N> 0 BYTE
STE2002 ACK
A P