
2001 Dec 19
23
Philips Semiconductors
Product specification
LCD controllers/drivers
PCF2113x
8
INSTRUCTIONS
OnlytwoPCF2113xregisters,theInstructionRegister (IR)
and the Data Register (DR) can be directly controlled by
the microcontroller. Before internal operation, control
information is stored temporarily in these registers, to
allow interfacing to various types of microcontrollers which
operate at different speeds or to allow interface to
peripheral control ICs.
The instruction set for I
2
C-bus commands is given in
Table 4.
The PCF2113x operation is controlled by the instructions
shown in Table 5 together with their execution time.
Details are explained in subsequent sections.
Instructions are of 4 types, those that:
1.
Designate PCF2113x functions such as display
format, data length, etcetera.
2.
Set internal RAM addresses
3.
Perform data transfer with internal RAM
4.
Others.
In normal use, category 3 instructions are used most
frequently. However, automatic incrementing by 1
(or decrementing by 1) of internal RAM addresses after
each data write lessens the microcontroller program load.
The display shift in particular can be performed
concurrently with display data write, enabling the designer
to develop systems in minimum time with maximum
programming efficiency.
During internal operation, no instructions other than the
‘read busy flag’ and ‘read address’ instructions will be
executed. Because the busy flag is set to a logic 1 while an
instruction is being executed, check to ensure it is a logic 0
before sending the next instruction or wait for the
maximum instruction execution time, as given in Table 5.
An instruction sent while the busy flag is logic 1 will not be
executed.
Table 4
Instruction set for I
2
C-bus commands
Note
1.
R/W is set together with the slave address.
CONTROL BYTE
COMMAND BYTE
I
2
C-BUS COMMANDS
Co
RS 0
0
0
0
0
0
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
note 1