
2000 Dec 07
19
Philips Semiconductors
Product specification
67
×
101 Grey-scale/ECB colour dot matrix
LCD driver
PCF8820
8
INSTRUCTIONS
The PCF8820 interfaces via the I
2
C-bus. The clock of the
LCD is not required to process instructions.
The data received by the PCF8820 is either instruction
data which defines its operating mode or display data to be
stored in its DDRAM. The type of data is identified by
bit RS. When bit RS = 0, the PCF8820 will respond to the
instructions. When bit RS = 1, the PCF8820 will load the
data into its DDRAM.
There are four types of instruction data whose functions
are listed below:
Define PCF8820 functions, such as display
configuration, etc.
Set DDRAM addresses
Perform data transfers to DDRAM
Other functions.
In normal use, the most frequently used instructions are
those which perform data transfers to the DDRAM.
Address pointer update follows after the data byte has
been written to the DRAM. This reduces the program load
of the microcontroller.
Undefined register locations are not allowed.
The instruction set comprises several command pages.
A command page is selected by setting bits H
0
to H
2
.
The instruction set is given in Table 2.
The bit functions are described in detail in Section 8.1.
Table 2
Instruction set
INSTRUCTION
CONTROL
BITS
(1)
COMMAND BYTE
DESCRIPTION
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Independent command page (H
2
= X, H
1
= X, H
0
= X);
note 2
Write data
Read
temperature
NOP
Default H
2
to H
0
1
0
0
1
D
7
TR
7
D
6
TR
6
D
5
TR
5
D
4
TR
4
D
3
TR
3
D
2
TR
2
D
1
TR
1
D
0
TR
0
writes data to DDRAM
reads sensor temperature
read-out
no operation
jumps to function and RAM
command page
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
Function and RAM command page (H
2
= 0, H
1
= 0, H
0
= 0)
Instruction set
Select function
0
0
0
0
0
0
0
0
0
0
0
1
1
H
2
PD
H
1
V
H
0
0
selects a command page
data order; power-down
control; address mode
selects Y-address of
DDRAM: 0
≤
Y
≤
16
selects X-address of
DDRAM: 0
≤
X
≤
100
DO
Set Yaddress of
DDRAM
Set X address of
DDRAM
0
0
0
1
0
Y
4
Y
3
Y
2
Y
1
Y
0
0
0
1
X
6
X
5
X
4
X
3
X
2
X
1
X
0
Display setting command page (H
2
= 0, H
1
= 0, H
0
= 1)
Display control
External display
control
Bias system
Bias system
1
/
2
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
D
E
PS
selects display mode
mirror X; mirror Y; partial
screen mode
selects bias system
set bias system
1
/
2
for partial
screen mode
MX
MY
0
0
0
0
0
0
0
0
0
1
1
1
0
1
BS
2
0
BS
1
0
BS
0
BS
1
/
2