ST8009
10. HARDWARE CIRCUIT DESCRIPTION
The LCD Data Bus Interface
There are two kinds of interfaces for LCD data bus.
One is 4-bit parallel data interface and the other is the
serial interface. These two kinds of interfaces are
selected by setting the P/S bit in the “Interface Control
Selection” register, and see detail in the Table 1. D1~D3
on data bus must be fixed to ground when “1” for P/S bit
is selected.
Table 1
P/S
Data Bus Mode
1
Parallel Interface(D0~D3)
0
Serial Interface (D0)
The Command Registers Setting Interface
The command registers for ST8009 is setting by serial
interface, SCLK and SID. The timing of serial interface
is shown in Fig.1 and Fig.2 Both SCLK and SID must
be connected to pull-up resistors.
START AND STOP CONDITIONS
Both SID and SCLK must be kept at high when the bus
is not busy, and if SCLK is high at the falling edge of
SID, ST8009 will enter the “Start Condition” for
beginning to receive command. Otherwise, if SCLK is
high at the rising edge of SID, ST8009 will enter the
“Stop Condition” for finishing command transfer. The
start and stop conditions are illustrated in Fig.3
SCLK
1
2
3
4
5
6
7
8 9 10 11 12 13 14 15 16
SID
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Fig .1 Write command timing diagram
SDI
SCLK
data line
stable;
data valid
change
of data
allowed
Fig .2 Bit transfer
V1.1
SDI
SCLK
S
START con dition
P
STOP con dition
Fig .3 Definition of START and STOP conditions
21/43
2006/11/1