
1997
Dec
16
40
Philips
Semiconductors
Product
specication
LCD
controller/driver
PCF2104x
Table 8
8-bit operation, 2-line display example; using internal reset
STEP
INSTRUCTION
DISPLAY
OPERATION
1
Power supply on (PCF2104x is initialized by the internal
reset function).
Initialized. No display appears.
2
Function set:
RS = 0; R/W = 0; DB7 = 0; DB6 = 0; DB5 = 1; DB4 = 1;
DB3 = 1; DB2 = 0; DB1 = 0; DB0 = 0
Sets to 8-bit operation, selects 2
× 24 display
3
Display on/off control:
RS = 0; R/W = 0; DB7 = 0; DB6 = 0; DB5 = 0; DB4 = 0;
DB3 = 1; DB2 = 1; DB1 = 1; DB0 = 0
_
Turns on display and cursor. Entire display is blank after
initialization.
4
Entry mode set:
RS = 0; R/W = 0; DB7 = 0; DB6 = 0; DB5 = 0; DB4 = 0;
DB3 = 0; DB2 = 1; DB1 = 1; DB0 = 0
_
Sets mode to increment the address by 1 and to shift the
cursor to the right at the time of write to the CG/DDRAM.
Display is not shifted.
5
Write data to CGRAM/DDRAM:
RS = 1; R/W = 0; DB7 = 0; DB6 = 1; DB5 = 0; DB4 = 1;
DB3 = 0; DB2 = 0; DB1 = 0; DB0 = 0
P_
Writes ‘P’. The DDRAM has already been selected by
initialization at power-on. The cursor is incremented by 1
and shifted to the right.
6
|
7
Write data to CGRAM/DDRAM:
RS = 1; R/W = 0; DB7 = 0; DB6 = 1; DB5 = 0; DB4 = 1;
DB3 = 0; DB2 = 0; DB1 = 1; DB0 = 1
PHILIPS_
Writes ‘S’.
8
Set DDRAM address:
RS = 0; R/W = 0; DB7 = 1; DB6 = 1; DB5 = 0; DB4 = 0;
DB3 = 0; DB2 = 0; DB1 = 0; DB0 = 0
PHILIPS
Sets DDRAM address to position the cursor at the head of
the 2nd line.
_
9
Write data to CGRAM/ DDRAM:
RS = 1; R/W = 0; DB7 = 0; DB6 = 1; DB5 = 0; DB4 = 0;
DB3 = 1; DB2 = 1; DB1 = 0; DB0 = 1
PHILIPS
Writes ‘M’.
M_
10
|
11
Write data to CGRAM/ DDRAM:
RS = 1; R/W = 0; DB7 = 0; DB6 = 1; DB5 = 0; DB4 = 0;
DB3 = 1; DB2 = 1; DB1 = 1; DB0 = 1
PHILIPS
Writes ‘O’.
MICROCO_
12
Write data to CGRAM/ DDRAM:
RS = 0; R/W = 0; DB7 = 0; DB6 = 0; DB5 = 0; DB4 = 0;
DB3 = 0; DB2 = 1; DB1 = 1; DB0 = 1
PHILIPS
Sets mode for display shift at the time of write.
MICROCO_