pcf2104 NXP Semiconductors, pcf2104 Datasheet - Page 38

no-image

pcf2104

Manufacturer Part Number
pcf2104
Description
Pcf2104x Lcd Controller/driver
Manufacturer
NXP Semiconductors
Datasheet
Table 7 8-bit operation, 1-line display example; using internal reset (character set ‘A’)
STEP
10
11
12
1
2
3
4
5
6
7
8
9
Power supply on (PCF2104x is initialized by the internal
reset function).
Function set:
RS = 0; R/W = 0; DB7 = 0; DB6 = 0; DB5 = 1; DB4 = 1;
DB3 = 0; DB2 = 0; DB1 = 0; DB0 = 0
Display mode on/off control:
RS = 0; R/W = 0; DB7 = 0; DB6 = 0; DB5 = 0; DB4 = 0;
DB3 = 1; DB2 = 1; DB1 = 1; DB0 = 0
Entry mode set:
RS = 0; R/W = 0; DB7 = 0; DB6 = 0; DB5 = 0; DB4 = 0;
DB3 = 0; DB2 = 1; DB1 = 1; DB0 = 0
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
Write data to CGRAM/DDRAM:
RS = 1; R/W = 0; DB7 = 0; DB6 = 1; DB5 = 1; DB4 = 1;
DB3 = 1; DB2 = 0; DB1 = 0; DB0 = 0
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
Entry mode set:
RS = 0; R/W = 0; DB7 = 0; DB6 = 0; DB5 = 0; DB4 = 0;
DB3 = 0; DB2 = 1; DB1 = 1; DB0 = 1
Write data to CGRAM/DDRAM:
RS = 1; R/W = 0; DB7 = 0; DB6 = 0; DB5 = 1; DB4 = 0;
DB3 = 0; DB2 = 0; DB1 = 0; DB0 = 0
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
INSTRUCTION
_
_
P_
PH_
PHILIPS_
PHILIPS_
HILIPS _
ILIPS
DISPLAY
M_
Initialized. No display appears.
Sets to 8-bit operation, selects 2
Turns on display and cursor. Entire display is blank after
initialization.
Sets mode to increment the address by 1 and to shift the
cursor to the right at the time of the write to the
DD/CGRAM. Display is not shifted.
Writes ‘P’. The DDRAM has already been selected by
initialization at power-on. The cursor is incremented by 1
and shifted to the right.
Writes ‘H’.
Writes ‘S’.
Sets mode for display shift at the time of write.
Writes space.
Writes ‘M’.
OPERATION
12 display.

Related parts for pcf2104