English
Language : 

STE2007_06 Datasheet, PDF (20/62 Pages) STMicroelectronics – 96 x 68 Single-chip LCD controller/driver
Interface
STE2007
4.2
4-Line SPI
STE2007 4-lines serial interface is a bidirectional link between the display driver and the
host processor.
It consists of four lines:
– SDA Serial Data
– SCL Serial Clock
– !CS Peripheral enable: - Active Low- Enables and Disables the serial interface
– Mode selection (D/!C).
The serial interface is active only if the !CS line is low. If !CS is low after the positive edge of
!RES, the serial interface is ready to receive data after the internal reset time.
4.2.1
MCU TxData mode (write mode)
STE2007 is always a slave device on the communication bus and receive the
communication clock on the SCL pin from the master. Information are exchanged byte-wide.
During data transfer, the data line is sampled by the receiver unit on the SCL rising edge.
D/!C line status set whether the byte is a command (D/!C =0) or a data (D/!C =1); D/!C line is
read on the eighth SCL clock pulse during every byte transfer.
If !CS stays low after the last bit of a command/data byte, the serial interface expects the
MSB of the next data byte on the next SCL positive edge.
If !CS line is forced high in the middle of a data transfer, not complete Data bytes and
Commands bytes are discarded.
A reset pulse on !RES pin interrupts any transmission.
Figure 10. 4-lines SPI commands transfe
!CS
D/!C
SCL
SDA
(input)
SDA Hi-Z
(output)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 D7 D6
COMMAND
COMMAND
COMMAND
D0 D7 D6 D5 D4 D3 D2 D1 D0
COMMAND
LR0189
Figure 11. 4-lines SPI Video data write cycle
!CS
D/!C
SCL
SDA
(input)
SDA Hi-Z
(output)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 D7 D6
COMMAND
DATA to VIDEO RAM
DATA to VIDEO RAM
D0 D7 D6 D5 D4 D3 D2 D1 D0
DATA to VIDEO RAM
LR0190
20/62