Philips Semiconductors
(67 + 1) × 102 pixels matrix LCD driver
Product speciï¬cation
PCF8813
17.9 Programming examples
Table 25 Programming example for PCF8813 with serial interface (3-line serial, 3-line SPI or 4-line SPI)
SERIAL BUS BYTE
STEP
D/C DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
1
start
2
000100001
3
000010001
4
010010000
5
000100000
6
000001100
7
000010110
000000000
8
−11100000
−00000111
9
100011111
DISPLAY
OPERATION
SCE is going low
function set: PD = 0, V = 0;
select extended instruction
set (H = 1)
set PRS to higher
programming range
(PRS = 1)
set VPR: VPR* =
(a + 132* × b) = 8.596 V
(required voltage is
dependent on liquid crystal
operating environment)
function set: PD = 0, V = 0;
select normal instruction set
(H = 0)
display control: set normal
mode (D = 1 and E = 0)
set data order: DO = 0
option available in 3-line
SPI for setting display data
length command (7 shown)
data write: Y and X are
initialized to 0 by default, so
they are not set here
10
100000101
MGS405
data write
11
100000111
MGS406
data write
12
100000000
MGS407
data write
13
100011111
MGS407
data write
2004 Mar 05
MGS409
56