English
Language : 

STE2004S Datasheet, PDF (37/79 Pages) STMicroelectronics – 102 x 65 single-chip LCD controller/driver
STE2004S
Bus interfaces
Throughout SDOUT can be read the driver I2C slave address or the status byte. The
command sequence that allows to read I2C slave address or the status byte is shown in
Figure 39. and Figure 40..
If the R bit is set to logic 0 and D/C=0, the I2C slave address is read. If the R bit is set to logic
1 and D/C=0, the the I2C slave address is read. SDOUT is in high impedance in steady state
and during data write.
It is possible to short circuit SDOUT and SDIN and read the I2C address or status byte
without any additional line.
Figure 38. 3-lines serial interface protocol in writing mode
WRITE MODE
1 Control Byte
DATA Byte 0 Control Byte
DATA Byte
Co
COMMAND WORD
Co LAST
CONTROL BYTE
N> 0 BYTE
MSB........LSB
C
o
R
D/
CW
0
0
HHH
E [1][0]
CONTROL BYTE
Control Byte
00
DATA Byte
DATA Byte
LAST
CONTROL BYTE
Control Byte
01
N> 0 BYTE
MSB........LSB
DATA Byte
DATA Byte
LAST
CONTROL BYTE
N> 0 BYTE
MSB........LSB
TRANSFERRED
ONLY COMMANDS
DATA Byte = Command if D/C=0
DATA Byte = DDRAM Data if D/C=1
TRANSFERRED
ONLY DDRAM DATA
LR0002
Figure 39. 3-lines SPI interface protocol in reading mode
CS
SCLK
SDIN
SDOUT
DB7 DB6 DB5 DB4 DB3
Co=1 D/C=0 R/W=1
"Command" "Read"
High-Z
DB2
DB1
DB0
Don't
Care
DB7
Don't
Care
DB6
Don't
Care
DB5
Don't
Care
DB4
Don't
Care
DB3
Don't
Care
DB2
Don't
Care
DB1
Don't
Care
DB0
High-Z
ID-Number
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
STATUS BYTE
Command Write
DATA Read
High-Z
High-Z
LR0077
37/79