19 UNIVERSAL SERIAL INTERFACE WITH LCD INTERFACE (USIL)
19-26
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
PCLK2
T8 output clock
LPSRDEN
LPRD
LPBSY
(Read trigger)
LPRDIF
USIL_CS (lcdp_cs)
USIL_CK (lcdp_rd)
USIL_DI (lcdp_a0)
LCD_D[7:0]
RD[7:0]
Interrupt
data 1
data n
LPCMD value
Read data 1
Read data n
Data read
(LPWT[3:0] = 0x0, LPST[1:0] = 0x0, LPHD[1:0] = 0x0)
5.5.3 Successive Read Timing Chart (LCD parallel mode)
Figure 19.
START
1
1
END
yes
no
LPBSY = 1?
no
LPRD = 1?
yes
yes
LPRD = 1?
no
Initialize external modules
(PSC, T8)
Software reset
(USILMOD[2:0]
←
0x0)
Set LCD parallel mode
(USILMOD[2:0]
←
0x7)
Clear LCD parallel mode flags
(LPRDIF, LPWRIF
←
1)
Clear read buffer full flag
(LPRDIF
←
1)
Enable successive read
(LPSRDEN
←
1)
Disable successive read
(LPSRDEN
←
0)
Trigger reading
(LPRD
←
1)
Set LCD parallel mode registers
Read data from USIL RD register
Read data from USIL RD register
Read data from USIL RD register
Read data from USIL RD register
LPRDIF = 1?
Read completed?
yes
no
no
yes
5.5.4 Successive Read Flow Chart (LCD parallel mode)
Figure 19.