pcf2113du/f4 NXP Semiconductors, pcf2113du/f4 Datasheet - Page 48

no-image

pcf2113du/f4

Manufacturer Part Number
pcf2113du/f4
Description
Pcf2113x Lcd Controllers/drivers
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PCF2113DU/F4
Quantity:
1 300
Philips Semiconductors
16.2
The program must set functions prior to a 4-bit operation
(see Table 12). When power is turned on, 8-bit operation
is automatically selected and the PCF2113x attempts to
perform the first write as an 8-bit operation. Since nothing
is connected to DB0 to DB3, a rewrite is then required.
However, since one operation is completed in two
accesses of 4-bit operation, a rewrite is required to set the
functions (see Table 12 step 3). Thus, DB4 to DB7 of the
‘function set’ are written twice.
16.3
Tables 13 and 14 show an example of a 1-line display in
8-bit operation. The PCF2113x functions must be set by
the ‘function set’ instruction prior to display. Since the
DDRAM can store data for 80 characters, the RAM can be
used for advertising displays when combined with display
shift operation. Since the display shift operation changes
display position only and the DDRAM contents remain
unchanged, display data entered first can be displayed
when the ‘return home’ operation is performed.
Table 12 4-bit operation, 1-line display example using internal reset
2001 Dec 19
STEP
LCD controllers/drivers
1
2
3
4
5
6
4-bit operation, 1-line display using internal
reset
8-bit operation, 1-line display using internal
reset
power supply on (PCF2113x is initialized by
the internal reset)
function set
RS
0
function set
0
0
display control
0
0
entry mode set
0
0
‘write data’ to CGRAM/DDRAM
1
1
R/W
0
0
0
0
0
0
0
0
0
INSTRUCTION
DB7
0
0
0
0
1
0
0
0
0
DB6
0
0
0
0
1
0
1
1
0
DB5
1
1
0
0
1
0
1
0
0
DB4
0
0
0
0
0
0
0
1
0
_
_
P_
DISPLAY
48
16.4
For a 2-line display the cursor automatically moves from
the first to the second line after the 40th digit of the first line
has been written. Thus, if there are only 8 characters in the
first line, the DDRAM address must be set after the 8th
character is completed (see Table 15). It should be noted
that both lines of the display are always shifted together;
data does not shift from one line to the other.
16.5
A control byte is required with most commands
(see Table 16).
8-bit operation, 2-line display
I
initialized; no display appears
sets to 4-bit operation; in this instance operation
is handled as 8-bits by initialization and only this
instruction completes with one write
sets to 4-bit operation, selects 1-line display and
V
and resetting is needed
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 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
2
C-bus operation, 1-line display
LCD
= V
0
; 4-bit operation starts from this point
OPERATION
Product specification
PCF2113x

Related parts for pcf2113du/f4