1. General description
The PCF2116 is a low-power CMOS LCD controller and driver, designed to drive a split
screen dot matrix LCD display of 1 or 2 lines by 24 characters or 2 or 4 lines by
12 characters with 5 × 8 dot format. All necessary functions for the display are provided in
a single chip, including on-chip generation of LCD bias voltages, resulting in a minimum of
external components and lower system power consumption. The chip contains a
character generator and displays alphanumeric and kana (Japanese) characters. The
PCF2116 interfaces to most microcontrollers using a 4 or 8-bit bus or via the 2-wire
I2C-bus. To allow partial VDD shutdown the ESD protection system of the SCL and SDA
pins does not use a diode connection to VDD.
The ‘x’ in ‘PCF2116x’ represents a specific letter code for a character set in the character
generator ROM (CGROM). The different character sets currently available are specified
by the letters A, C, and G (see Figure 5, Figure 6 and Figure 7). Other character sets are
availab le on reques t.
Remark: The notation for hexadecimal numbers used in this datasheet is consistent with
NXP house style and uses a suffix ‘h’ following the number e.g. 00h.
2. Features
Single chip LCD controller/driver
1 or 2-line display of up to 24 characters per line, or 2 or 4 lines of up to 12 characters
per line
5 × 7 character format plus cursor; 5 × 8 for kana (Japanese syllabary) and user
defined symbols
On chip:
generation of LCD supply voltage (external supply also possible)
generation of intermediate LCD bias voltages
oscillator requires no external components (external clock also possible)
Display data RAM: 80 characters
Character generator ROM: 240 characters
Character gen erator RAM: 16 chara ct ers
4 or 8-bit parallel bus or 2-wire I2C-bus interface
CMOS/TTL compatible
32 row, 60 column outputs
MUX rates 1:32 and 1:16
Uses common 11 code instruction set
Logic supply voltage range, VDD VSS: 2.5 to 6 V
Display supply voltage range, VDD VLCD: 3.5 to 9 V
PCF2116 family
LCD controller / drivers
Rev. 05.01 — 20 July 2007 Product data sheet
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 2 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Low power consumption
I2C-bus address: 011101 SA0.
3. Applications
Telecom equipment.
Portable instruments.
Point-of-sale terminals.
4. Ordering inf or ma t io n
[1] The letter ‘x’ in the type number represents the letter of the required built-in character set: A, C or G.
Table 1. Ordering information
Type number Package
Name Description Version
PCF2116xU - chip in tray -
PCF2116xU/2 - chip with gold bumps in tray -
PCF2116xU/10 - wafer sawn and delivered on film frame carrier (FFC) -
PCF2116xU/12 - wafer sawn with gold bumps and delivered on film frame carrier (FFC) -
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 3 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
5. Block diagram
Fig 1. Block diagram of the pcf2116 family
SHIFT REGISTER
32-BIT
coa057
VSS
VDD
CHARACTER
GENERATOR
RAM
(CGRAM)
16
CHARACTERS
CHARACTER
GENERATOR
ROM
(CGROM)
240
CHARACTERS
CURSOR + DATA CONTROL
5
5
SHIFT REGISTER
5 × 12-BIT
60
DATA LATCHES
60
COLUMN DRIVERS
6
BIAS
VOLTAGE
GENERATOR
VLCD
GENERATOR
60
32
ROW DRIVERS
8
DISPLAY DATA RAM
(DDRAM) 80 CHARACTERS
32
ADDRESS
COUNTER (AC)
INSTRUCTION
DECODER
INSTRUCTION
REGISTER (IR)
DATA
REGISTER (DR) BUSY
FLAG
78 8
I/O BUFFER
8
7
7
8
V
LCD
DISPLAY
ADDRESS
COUNTER
POWER-ON
RESET
TIMING
GENERATOR
OSCILLATOR
7
OS
C
C1 to C60
R1 to R32
44
DB0 to DB3 DB4 to DB7 E RS
R/W
V0
PCF2116
SCL SDA SA0
T1
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 4 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
6. Pinning information
6.1 Pinning
(1) Pad area 0.0121 mm2
(2) Bonding pad dimensions: 110 × 110 μA
Fig 2. Bonding pad location for PCF2116x
coa058
6.99
mm
5.64 mm
x
PCF2116
y
0
0
C1
R24
R23
R22
R21
R20
R19
R18
R17
R8
R7
R6
R5
R4
R3
R2
R1
C31
C32
C30
C33
C34
C35
C36
C37
C38
C39
C21
C22
C23
C24
C25
C26
C27
C28
C29
C16
C17
C18
C19
C20
C7
C8
C9
C10
C11
C12
C13
C14
C15
C2
C3
C4
C5
C6
SA0
E
R/W
T1
RS
OSC
DB1
DB0
R25
R26
R27
R28
R29
R30
R31
R16
R10
R11
R12
R13
R14
R15
R9
C40
C41
C42
C43
C44
C45
C47
C48
C46
C49
C50
C51
C52
C53
C54
C55
C56
C57
C58
C59
C60
R32
DB7
SCL
DB6
SDA
DB5
DB4
DB3
DB2
V0
VLCD1
VLCD2
VLCD3
VDD2
VDD1
VSS1
VSS2
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 5 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
6.2 Pin description
Table 2. Pad allocation table
Symbol Pad Symbol Pad
OSC 1 C29 to C1 60 to 88
DB1 2 R24 to R17 89 to 96
VDD2 3 R8 to R1 97 to 104
DB0 4 DB7 105
VDD1 5SCL106
SA0 6 DB6 107
E7SDA108
VSS1 8DB5109
R/W 9V
0110
T1 10 VLCD1 111
VSS2 11 DB4 112
RS 12 VLCD2 113
R9 to R16 13 to 20 DB3 114
R25 to R32 21 to 28 VLCD3 115
C60 to C30 29 to 59 DB2 116
Table 3. Bonding pad description
All x/y coordinates represent the position of the centre of each pad with respect to the centre
(x/y = 0) of the chip (see Figure 2).
Symbol Pad X (μm) Y (μm) Description
OSC 1 2445 3300 oscillator/extern al clock inpu t
DB1 2 2211 3300 1 bit of 8 bit bi-directional data bus
VDD2 32034 3300 suppl y voltag e 2
DB0 4 1806 3300 1 bit of 8 bit bi-directional data bus
VDD1 51627 3300 suppl y voltag e 1
SA0 6 1437 3300 I2C-bus address pin
E71245 3300 data bus clock input (parallel control)
VSS1 81056 3300 logic ground 1
R/W 9 867 3300 read/write input (parallel control)
T1 10 672 3300 test pad (connect to VSS)
VSS2 11 486 3300 l ogic ground 2
RS 12 297 3300 register select input (parallel control)
R9 13 77 3300 LCD row driver output 9
R10 14 247 3300 LCD row driver output 10
R11 15 417 3300 LCD row driver output 11
R12 16 587 3300 LCD row driver output 12
R13 17 757 3300 LCD row driver output 13
R14 18 927 3300 LCD row driver output 14
R15 19 1097 3300 LCD row driver output 15
R16 20 1267 3300 LCD row driver output 16
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 6 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
R25 21 1436 3300 LCD row driver output 25
R26 22 1606 3300 LCD row driver output 26
R27 23 1776 3300 LCD row driver output 27
R28 24 1976 3300 LCD row driver output 28
R29 25 2116 3300 LCD row driver output 29
R30 26 2286 3300 LCD row driver output 30
R31 27 2456 3300 LCD row driver output 31
R32 28 2626 3013 LCD row driver output 32
C60 29 2626 2760 LCD column driver output 60
C59 30 2626 2590 LCD column driver output 59
C58 31 2626 2420 LCD column driver output 58
C57 32 2626 2250 LCD column driver output 57
C56 33 2626 2080 LCD column driver output 56
C55 34 2626 1910 LCD column driver output 55
C54 35 2626 1740 LCD column driver output 54
C53 36 2626 1570 LCD column driver output 53
C52 37 2626 1400 LCD column driver output 52
C51 38 2626 1230 LCD column driver output 51
C50 39 2626 1060 LCD column driver output 50
C49 40 2626 890 LCD column driver output 49
C48 41 2626 720 LCD column driver output 48
C47 42 2626 550 LCD column driver output 47
C46 43 2626 380 LCD column driver output 46
C45 44 2626 582 LCD column driver output 45
C44 45 2626 752 LCD column driver output 44
C43 46 2626 922 LCD column driver output 43
C42 47 2626 1092 LCD column driver output 42
C41 48 2626 1262 LCD column driver output 41
C40 49 2626 1432 LCD column driver output 40
C39 50 2626 1602 LCD column driver output 39
C38 51 2626 1772 LCD column driver output 38
C37 52 2626 1942 LCD column driver output 37
C36 53 2626 2112 LCD column driver output 36
C35 54 2626 2282 LCD column driver output 35
C34 55 2626 2452 LCD column driver output 34
C33 56 2626 2622 LCD column driver output 33
C32 57 2626 2792 LCD column driver output 32
C31 58 2626 2962 LCD column driver output 31
C30 59 2626 3132 LCD column driver output 30
Table 3. Bonding pad description …continued
All x/y coordinates represent the position of the centre of each pad with respect to the centre
(x/y = 0) of the chip (see Figure 2).
Symbol Pad X (μm) Y (μm) Description
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 7 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
C29 60 2339 3302 LCD column driver output 29
C28 61 2169 3302 LCD column driver output 28
C27 62 1999 3302 LCD column driver output 27
C26 63 1829 3302 LCD column driver output 26
C25 64 1659 3302 LCD column driver output 25
C24 65 1489 3302 LCD column driver output 24
C23 66 1319 3302 LCD column driver output 23
C22 67 1149 3302 LCD column driver output 22
C21 68 979 3302 LCD column driver output 21
C20 69 809 3302 LCD column driver output 20
C19 70 639 3302 LCD column driver output 19
C18 71 469 3302 LCD column driver output 18
C17 72 299 3302 LCD column driver output 17
C16 73 129 3302 LCD column driver output 16
C15 74 245 3302 LCD column driver output 15
C14 75 415 3302 LCD column driver output 14
C13 76 585 3302 LCD column driver output 13
C12 77 755 3302 LCD column driver output 12
C11 78 925 3302 LCD column driver output 11
C10 79 1095 3302 LCD column driver output 10
C9 80 1265 3302 LCD column driver output 9
C8 81 1435 3302 LCD column driver output 8
C7 82 1605 3302 LCD column driver output 7
C6 83 1775 3302 LCD column driver output 6
C5 84 1945 3302 LCD column driver output 5
C4 85 2115 3302 LCD column driver output 4
C3 86 2285 3302 LCD column driver output 3
C2 87 2455 3302 LCD column driver output 2
C1 88 2625 3015 LCD column driver output 1
R24 89 2625 2846 LCD row driver output 24
R23 90 2625 2676 LCD row driver output 23
R22 91 2625 2506 LCD row driver output 22
R21 92 2625 2336 LCD row driver output 21
R20 93 2625 2166 LCD row driver output 20
R19 94 2625 1996 LCD row driver output 19
R18 95 2625 1826 LCD row driver output 18
R17 96 2625 1656 LCD row driver output 17
R8 97 2625 1487 LCD row driver output 8
R7 98 2625 1317 LCD row driver output 7
Table 3. Bonding pad description …continued
All x/y coordinates represent the position of the centre of each pad with respect to the centre
(x/y = 0) of the chip (see Figure 2).
Symbol Pad X (μm) Y (μm) Description
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 8 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
7. Pin functions
7.1 RS: register select (para llel control)
RS select s the register to be accessed for read and write when the device is controlled by
the parallel interface. RS = logic ‘0’ selects the instruction register for write and the Busy
Flag and Address Counter for read. RS = logic ‘1’ selects the data register for both read
and write. There is an internal pull-up on pin RS.
7.2 R/W: read/write (parallel control)
R/W selects either the read (R/W = logic ‘1’) or wr ite (R/ W = logic ‘0’) operation when
control is by the parallel interface. There is an internal pull-up on this pin.
7.3 E: data bus clock
The E pin is set HIGH to signal the start of a read or write operation when the device is
controlled by the parallel interface. Data is clocked in or out of the chip on the negative
edge of the clock. Note that this pin must be connected to logic ‘0’ (VSS) when the I2C-bus
control is used.
R6 99 2625 1147 LCD row driver output 6
R5 100 2625 977 LCD row driver output 5
R4 101 2625 807 LCD row driver output 4
R3 102 2625 637 LCD row driver output 3
R2 103 2625 467 LCD row driver output 2
R1 104 2625 297 LCD row driver output 1
DB7 105 2625 290 1 bit of 8 bit bi-directional data bus
SCL 106 2625 479 I2C-bus serial cloc k input
DB6 107 2625 716 1 bit of 8 bit bi-directional data bus
SDA 108 2625 976 I2C-bus serial data input/output
DB5 109 2625 1202 1 bit of 8 bit bi-directional data bus
V0110 2625 1388 control input for VLCD
VLCD1 111 2625 1580 LCD supply voltage input/output 1
DB4 112 2625 1808 1 bit of 8 bit bi-directional data bus
VLCD2 113 2625 1985 LCD supply voltage input/output 2
DB3 114 2625 2213 1 bit of 8 bit bi-directional data bus
VLCD3 115 2625 2390 LCD supply voltage input/output 3
DB2 116 2625 2621 1 bit of 8 bit bi-directional data bus
Table 3. Bonding pad description …continued
All x/y coordinates represent the position of the centre of each pad with respect to the centre
(x/y = 0) of the chip (see Figure 2).
Symbol Pad X (μm) Y (μm) Description
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 9 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
7.4 DB0 to DB7: data bus
The bidirectional, 3-state data bus transfers data between the system controller and the
PCF2116. DB7 may be used as the Busy Flag signalling that internal operations are not
yet complet. In 4-bit operations the 4 higher order lines DB4 to DB7 are used; DB0 to DB3
must be left open circuit. There is an internal pull-up on each of the data lines. Note that
these pins must be left open circuit when the I2C-bus control is used.
7.5 C1 to C60: column driver outputs
These pins output the data for pairs of columns.This arrangement permits an optimized
chip-on-glass (COG) design for 4-line, 12 character layouts.
7.6 R1 to R32: row driver output s
These pins output the row select waveforms to the left and right halves of the display.
7.7 VLCD: LCD power supply
Negative power supply for the liquid crystal display.
This may be generated on-chip or supplied externally.
7.8 V0: VLCD control input
The input level at this pin determines the generated VLCD output voltage.
7.9 OSC : osci llator
When the on-chip oscillator is used this pin must be connected to VDD. This pin is the input
for an external clock signal, if used.
7.10 SCL: se rial clock line
Input for the I2C-b us cl oc k si gna l.
7.11 SDA: serial data line
Input/output for the I2C-bus data line.
7.12 SA0: address pin
The hardware sub-address line is used to program the device sub-address for 2 different
PCF2116s on the same I2C-bus.
7.13 T1: test pad
Must be connected to VSS. Not user accessible.
8. Functional description
8.1 LCD supply voltage generator for PCF2116x
The on-chip voltage generator is controlled by bit G of the ‘Function set’ instruction
and V0.
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 10 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
V0 is a high-impedance input and draws no current from the system power supply. Its
range is between VSS and VDD 1 V. When V0 is connected to VDD the generator is
switched off and an external voltage must be supplied to pin VLCD. This can be more
negative than VSS.
When G = logic ‘1’ the generator produces a negative voltage at pin VLCD, controlled by
the input voltage at pin V0. The LCD operating voltage is given by the relationship:
Where:
and
When G = logic ‘0’, the generated output voltage VLCD is equal to V0 (between VSS and
VDD). In this instance:
When VLCD is generated on-chip the VLCD pin must be de-coupled to VDD with a suitable
capacitor . VDD and V0 must be selected to limit the maximum value of VOP to 9 V. Figure 3
and Figure 4 show the two generator control characteristics.
(1) High voltage mode: VOP = 1.8VDD V0
Fig 3. VOP as a function of V0 control characteristics (1)
V
OP
1.8V
DD
V
0
()
=
V
OP
V
DD
V
LCD
()
=
V
LCD
V
0
0.8V
DD
()
=
V
OP
V
DD
V0
=
mga798
9
8
7
6
5
4
3.50123456
9
V
6 = V
DD
V
OP(min)
= 0.8 × V
DD
+1
V
OP(max)
= 1.8 × V
DD
V
0
V
OP
5
4
3
2.5
G = 1
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 11 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
8.2 Character generator ROM (CGROM)
The character generator ROM generates 240 character patterns in 5 ×8 dot format from
8-bit character codes. Figure 5, Figure 6 and Figure 7 show the cha racter sets curren tly
available.
The standard character sets A, C and G are available for the PCF2116x.
(1) Buffer mode: VOP = VDD V0
Fig 4. VOP as a function of V0 control characteristics (2)
mga799
9
8
7
6
5
4
3.50123456
6 = VDD
V0
V
OP
5
4
G = 0
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 12 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Fig 5. Character set ‘A’ in CGROM: PC F2116A
0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
upper
4 bits
lower
6 bits
xxxx 0000
xxxx 0001
xxxx 0010
xxxx 0011
xxxx 0100
xxxx 0101
xxxx 0110
xxxx 0111
xxxx 1000
xxxx 1001
xxxx 1010
xxxx 1011
xxxx 1100
xxxx 1101
xxxx 1110
xxxx 1111 16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 13 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Fig 6. Character set ‘C’ in CGROM: PCF2116C
mlb895
0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
upper
4 bits
lower
4 bits
xxxx 0000
xxxx 0001
xxxx 0010
xxxx 0011
xxxx 0100
xxxx 0101
xxxx 0110
xxxx 0111
xxxx 1000
xxxx 1001
xxxx 1010
xxxx 1011
xxxx 1100
xxxx 1101
xxxx 1110
xxxx 1111 16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
CG
RAM 1
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 14 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Fig 7. Character set ‘G’ in CGROM: PCF2116G
mlb89
6
0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
upper
4 bits
lower
6 bits
xxxx 0000
xxxx 0001
xxxx 0010
xxxx 0011
xxxx 0100
xxxx 0101
xxxx 0110
xxxx 0111
xxxx 1000
xxxx 1001
xxxx 1010
xxxx 1011
xxxx 1100
xxxx 1101
xxxx 1110
xxxx 1111 16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
CG
RAM 1
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 15 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
8.3 LCD bi as voltage generator
The intermediate bias voltages for the LCD display are also generated on-chip. This
removes the need for external bias chain resistors and significantly reduces the system
power consumption. The optimum levels depend on the multiplex rate and are selected
automatically when the number of lines in the display is defined.
The optimum value of VOP depends on the multiplex rate, the LCD threshold voltage (Vth)
and the number of bias levels and is given by the relationships in Table 4. Using a 5-level
bias scheme for 1:16 MUX rate allows VOP < 5 V for most LCD liquids. The effect on the
display contrast is negligible.
8.4 Oscillator
The on-chip oscillator provides the clock signal for the display system. No external
components are required. Pin OSC must be connected to VDD.
8.5 External clock
If an external clock is to be used, it must be input at pin OSC. The resulting display frame
frequency is given by fframe =12304 fosc . A clock signal must always be present, otherwise
the LCD is frozen in a DC state.
8.6 Power-on reset
The power-on reset block initializes the chip after power-on or power failure.
8.7 Registers
The PCF2116 has two 8-bit registers, an Instruction Register (IR) and a Data Register
(DR). The Register Select signal (RS) determines which register will be accessed.
The instruction register stores instruction codes such as ‘Display clear’ and ‘Cursor shift’,
and address information for the Display Data RAM (DDRAM) and Character Generator
RAM (CGRAM). The instruction register can be written to, but not read, by the system
controller.
The data register temporarily stores data to be read from the DDRAM and CGRAM. When
reading, data from the DDRAM or CGRAM corresponding to the address in the Address
Counter is written to the data register prior to being read by the ‘Read data’ instruction.
8.8 Busy flag
The Busy Flag indicates the free/busy status of the PCF2116. Logic ‘1’ indicates that the
chip is busy and further instructions will not be accepted. The Busy Flag is output to pin
DB7 when RS = logic ‘0’ and R/W = logic 1’. Instructions must only be written after
checking that the Busy Flag is logic ‘0’ or waiting for the required number of clock cycles.
Table 4. Optimum values for VOP
MUX rate Number of bias
levels VOP/Vth Discrimination
Von/Voff
1:16 5 3.67 1.277
1:32 6 5.19 1.196
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 16 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
8.9 Address counter (AC)
The Address Counter assigns addresses to the DDRAM and CGRAM for reading and
writing and is set by the instructions ‘Set CGRAM address’ and ‘Set DDRAM address’.
After a read/write operation the Address Counter is automatically incremented or
decremented by 1.The Address Counter contents are output to the bus (DB0 to DB6)
when RS = logic ‘0’ and R/W = logic ‘1’.
8.10 Display data RAM (DDRAM)
The display data RAM stores up to 80 characters of display data represented by 8-bit
character codes. RAM locations not used for storing display data can be used as general
purpose RAM. The basic DDRAM-to-display mapping scheme is shown in Figure 8 and
Figure 9.
Wit h no display shift the characters represented by the codes in the first 12 or 24 RAM
locations starting at address 00 in line 1 are displayed. Subsequent lines display data
starting at addresses 20h, 40h, or 60h. Figure 10, Figure 11, Figure 12 and Figure 13
show the DDRAM-to-display mapping principle when the display is shifted.
Fig 8. DDRAM-to display mapping (1); no shift.
Fig 9. DDRAM-to display mapping (2); no shift.
12345 22 23 24
00 01 02 03 04 15 16 17 18 19 4C 4D 4E 4F
non-displayed DDRAM addresses
D
isplay
P
osition
(
decimal)
D
DRAM
A
ddress
(
hex) 1-line display
64 65 66 67
40 41 42 43 44 55 56 57 58 59
00 01 02 03 04 15 16 17 18 19 24 25 26 27
non-displayed DDRAM address
DDRAM
(hex)
Address
2-line display
line
1
line
2
mla792
123456789101112
non-displayed DDRAM addresses
D
DRAM
A
ddress
(
hex)
4 line display
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13
20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33
40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53
60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73
line
1
line
2
line
3
line
4
mla793
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 17 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
The display address ranges are shown in Table 5.
For 2 and 4-line displays the end address of one line and the start address of the next line
are not consecutive. When the display is shifted each line wraps around independently of
the others (Figure 10, Figure 11, Figure 12 and Figure 13).
When data is written into the DDRAM wrap-around occurs from 4F to 00 in 1-line mode
and from 27 to 40 and 67 to 00 in 2-line mode; from 13 to 20, 33 to 40, 53 to 60 and
73 to 00 in 4-line mode.
Fig 10. DDRAM-to display mapping (1); right shift. Fig 11. DDRAM-to display mapping (2); right shift.
27 00 01 02 03
67 40 41 42 43
14 15 16
54 55 56
D
DRAM
A
ddress
(
hex)
line
1
line
2
2-line display
12345 222324
4F 00 01 02 03 14 15 16
Display
P
osition
(
decimal)
D
DRAM
A
ddress
(
hex) 1-line display
mla802
13 01 02 03 04 05 06 07 08 09 0A
20 21 22 23 24 25 26 27 28 29 2A33
40 41 42 43 44 45 46 47 48 49 4A53
60 61 62 63 64 65 66 67 68 69 6A73
123456789101112
D
DRAM
A
ddress
(
hex)
line
1
line
2
line
3
line
4
4-line display
00
mla803
Fig 12. DDRAM-to display mapping (1); left shift. Fig 13. DDRAM-to display mapping (2); left shift.
12345 222324
0501 02 03 04 16 17 18
41 42 43 44 45 56 57 58
0501 02 03 04 16 17 18
Display
P
osition
(
decimal)
D
DRAM
A
ddress
(
hex)
DDRAM
Address
(hex)
line
1
line
2
1-line display
2-line display mla815
01 02 03 04 05 06 07 08 09 0A 0B 0C
21 22 23 24 25 26 27 28 29 2A 2B 2C
41 42 43 44 45 46 47 48 49 4A 4B 4C
61 62 63 64 65 66 67 68 69 6A 6B 6C
123456789101112
D
DRAM
A
ddress
(
hex)
line
1
line
2
line
3
line
4
4-line display
mla81
6
Table 5. Display address ranges
1-line display 2-line di splay 4-line display
00 to 4F line 1: 00 to 27 line 1: 00 to 13
- line 2: 40 to 67 line 2: 20 to 33
- - line 3: 40 to 53
- - line 4: 60 to 73
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 18 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
8.11 Character generator RAM (CGRAM)
Up to 16 user-defined characters may be stored in the character generator RAM. The
CGROM and CGRAM use a common address space, of which the first column is reserved
for the CGRAM (see Figure 5). Figure 14 shows the addressing principle for the CGRAM.
8.12 Cursor control circuit
The cursor control circuit generates the cursor (underline and/or character blink as shown
in Figure 15) at the DDRAM address contained in the Address Counter. When the
Address Counter contains the CGRAM address the cursor will be inhibited.
Character code bits 0 to 3 cor respond to CGRAM address bits 3 to 6.
CGRAM address bits 0 to 2 designate character pattern line position. The 8th line is the cursor
position and display is performed by logical OR with the cursor. Data in the 8th line will appear
in the cursor position.
Character pattern column positions correspond to CGRAM data bits 0 to 4, as shown in
Figure 14 (bit 4 being at the left end).
As shown in Figure 5 and Figure 14, CGRAM character patterns are selected when character
code bits 4 to 7 are all logic 0. CGRAM data = logic 1 corr esponds to selection for display.
Only bits 0 to 5 of the CGRAM address are set by the ‘Set CGRAM address’ instruction. Bit 6
can be set using the ‘Set DDRAM address’ instruction or by using the auto-increment feature
during CGRAM write. All bits 0 to 6 can be read using the ‘Read busy flag and address’
instruction.
Fig 14. Relationship between CGRAM addresses and data / display patterns
mga800
76543210 6543210 43210
higher
order
bits
lower
order
bits
lower
order
bits
higher
order
bits
lower
order
bits
higher
order
bits
00000000 0000000 0
001 000
010 000
011 0
100 0 00
101 00 0
110 000
111 00000
000 000
001 0 0 0
010 00 00011
100
101 00 00
110 00 00
111 00000
001
00000001 0001
00000010
00001111
00001111
00001111
00001111
0100000
100
101
110
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
111
character codes
(DDRAM data)
CGRAM
address
character patterns
(CGRAM data)
characte
r
pattern
example
1
cursor
position
characte
r
pattern
example
2
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 19 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
8.13 Timing generat or
The timing generator produces the various signals required to drive the internal circuitry.
Internal chip operation is not disturbed by operations on the data buses.
8.14 LCD row and column drivers
The PCF21 16 contains 32 row and 60 column drivers, which connect the appropriate LCD
bias voltages in sequence to the display, in accordance with the data to be displayed. The
bias voltages and the timing are selected automatically when the number of lines in the
display is selected. Figure 16 and Figure 17 show typical waveforms.
In 1-line mode (1:16) the row outputs are driven in pairs: R1/R17, R2/R18 for example.
This allows the output pairs to be connected in parallel, providing greater drive capability.
Unused outputs should be left unconnected.
Fig 15. Cursor and blink display examples
mga80
1
cursor
5 x 7 dot character font alternating display
c
ursor display example blink display example
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 20 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Fig 16. Typical LCD waveforms; 1-line mode
mga802
ROW 1
COL 1
state 1 (ON
)
state 2 (ON
)
0.25 VOP
0 V
s
tate 1
1-line display
(1:16)
frame n 1frame n
ROW 9
ROW 2
COL 2
s
tate 2
123 16123 16
VDD
V2
V5
VLCD
V3/V4
VDD
V2
V5
VLCD
V3/V4
VDD
V2
V5
VLCD
V3/V4
VDD
V2
V5
VLCD
V3/V4
VDD
V2
V5
VLCD
V3/V4
0.25 VOP
0.25 VOP
0 V
0.25 VOP
VOP
VOP
VOP
VOP
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 21 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Fig 17. Typical LCD waveforms; 2-line mode
mga803
VDD
V2
V3
V4
V5
VLCD
VDD
V2
V3
V4
V5
VLCD
VDD
V2
V3
V4
V5
VLCD
VDD
V2
V3
V4
V5
VLCD
VDD
V2
V3
V4
V5
VLCD
ROW 1
COL 1
state 1 (ON
)
state 2 (ON
)
0.15 VOP
0 V
VOP
VOP
VOP
s
tate 1
2-line display
(1:32)
frame n + 1frame n
ROW 9
ROW 2
COL 2
0.15 VOP
0.15 VOP
0 V
0.15 VOP
VOP
s
tate 2
123 32123 32
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 22 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
8.15 Reset function
The PCF2116 automatically initializes (resets) when power is turned on. After reset the
chip has the following state (see Table 6):
9. Instructions
Only two PCF2116 registers, the Instruction Register (IR) and the Data Register (DR) are
directly controlled by the microcontroller. Before internal operation, control information is
stored temporarily in these registers to allow an interface to various types of
microcontrollers which operate at different speeds or to allow an interface to peripheral
control ICs.
PCF2116 opera tio n is con tro ll ed by the inst ruc tio ns shown in Table 8 toge ther with their
execution time.
There are 4 categories of instructions, those that:
designate PCF2116 functions such as display format, data length, etc.
set internal RAM addresses
perform data transfer with internal RAM
others.
In n ormal use, the da ta trans fer in struct ions are used m ost f reque ntly. Howev er , aut omatic
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 maxim um progr am ming efficien cy.
During internal operation no instruction other than ‘Read busy flag and address’ is
executed.
Table 6. State afte r rese t
Step Description
1 displ ay cl ear
2 function set DL = 1 8-bit interface
M, N = 0 1-line display
G = 0 voltage generator;
VLCD = V0
3 display on/off control D = 0 display off
C = 0 cursor off
B = 0 blink off
4 entry mode set I/D = 1 +1 increment
S = 0 no shift
5 Default address pointer to DDRAM. The Busy Flag (BF) indicates the
busy state (BF = logic ‘1’) until initialization ends. The busy state lasts
for 2 ms. The chip can also be initialized by software.
(see Figure 18 and Figure 29).
6I
2C-bus interface reset
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 23 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Because the Busy Flag is set to logic ‘1’ while an instruction is being executed, check to
make sure it is on logic ‘0’ before sending the next instruction or wait for the maximum
instruction execution time, as given in Table 8. An instruction sent while the Busy Flag is
HIGH will not be executed.
Table 7. Command bit identities
Bit 0 1
I/D decrement increment
S display freeze display shift
D d isplay off dis play on
C cursor off cursor on
B character at cursor position does not
blink character at cursor position blinks
S/C cursor move display shift
R/L lef t sh if t right shi f t
DL 4 bits 8 bits
G voltage generator: VLCD = V0 voltage generator;
VLCD = V0 - 0.8VDD
N, (M = 0)
PCF2116x 1 line × 24 characters; MUX 1:16 2 lines ×24 characters; MUX 1:32
N, ( M = 1) reserved 4 lines × 12 characters; MUX 1:32
BF end of internal operat ion internal operati on in pr og res s
Co last control byte, only data bytes to
follow next two bytes are a data byte and
another control byte
xxxxxxxx xxxxxxxxxxx xx xxxxxxxxxx xxxxxxxxxxx xxxxx xxxxxxx x x x xx xxxxxxxxxxx xxxxxxxxxxx xxxxxx xxxxxx xxxxxxxxxxxxx xx xx xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 24 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
[1] In the I2C-bus mode the DL bit is don't care. 8-bit mode is assumed.
[2] In the I2C-bus mode a control byte is required when RS or R/W is changed; control byte: Co, RS, R/W, 0, 0, 0, 0, 0; command byte: DB7 to DB0.
[3] Examp le: fosc = 150 kHz, ; 3 cycles = 20 μs, 165 cycles = 1.1 ms.
Table 8. Instruction s
Instruction RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Description Required
clock cycles
NOP 0000000000No operation. 0
Clear display 0000000001Clears entire display and sets
DDRAM address 0 in Address
Counter.
165
Return Home 0000000010Sets DDRAM address0 in Address
Counter. Also returns shifted
display to original po sition . DDRAM
contents remain unchanged.
3
Entry mode set 00000001I/DSSets cursor move direction and
specifi es shift of disp la y. Thes e
operations are performed during
data write and read.
3
Display control 0000001DCBSets entire display on/off (D),
cursor on/o f f (C) and bl ink of curs or
position character (B).
3
Cursor/display shift000001S/CR/L00Moves cursor and shifts display
without changing DDRAM contents. 3
Function set 00001DLNMG0Sets interface data length (DL),
number of display lines (N, M) and
volt a ge gen erat or cont rol (G).
3
Set CGRAM address0001ACG Sets CGRAM address. 3
Set DDRAM address001ADD Sets DDRAM address. 3
Read busy flag and
address 0 1 BF AC Reads Busy Flag (BF) indicating
internal operation is being
performed and reads Address
Counter con ten t s .
0
Read data 1 1 read data Reads data from CGRAM or
DDRAM. 3
Write data 1 0 write data Writes data to CGRAM or DDRAM. 3
T
CY
1
fOSC
------------ 6.67μ
s
==
xxxxxxxx xxxxxxxxxxx xx xxxxxxxxxx xxxxxxxxxxx xxxxx xxxxxxx x x x xx xxxxxxxxxxx xxxxxxxxxxx xxxxxx xxxxxx xxxxxxxxxxxxx xx xx xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 25 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Fig 18. I2C-bus timing diagram; rise and fall times refer to VIL and VIH
mga811
tHIGH
tr
tLOW
tHD;STA
tBUF
SDA
SCL
tf
t/fSCL
tSU;STO
START
CONDITION
(S)
BIT 7
MSB
(A7)
BIT 6
(A6) BIT 0
LSB
R/W
ACKNOWLEDGE
(A) STOP
CONDITION
(P)
P
ROTOCOL
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 26 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Fig 19. 4-bit transfer example
(1) IR7, IR3: instruction 7th bit, 3rd bit.
(2) AC3: Address counter 3rd bit.
Fig 20. 4-bit transfer timing sequence
mga804
RS
E
D
B7
R
/W
D
B6
D
B5
D
B4
instruction
write busy flag and
address counter read data register
read
IR7 IR3 BF AC3 DR7 DR3
IR6 IR2 AC6 AC2 DR6 DR2
IR5 IR1 AC5 AC1 DR5 DR1
IR4 IR0 AC4 AC0 DR4 DR0
mga80
5
RS
E
i
nternal
DB7
R/W
internal operation
IR7 IR3 AC3 D7 D3
not
busy
AC3
busy
instruction
write busy flag
check busy flag
check instruction
write
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 27 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
9.1 Clear display
‘Clear display’ writes space code 20h into all DDRAM addresses (The character pattern
for character code 20 must be a blank pattern). Sets the DDRAM Address Counter to
logic ‘0’. Returns the display to its original position if it was shifted. So, the display
disappears and the cursor or blink position goes to the left edge of the display
(the first line if 2 or 4 lines are displayed). Sets entry mode I/D = logic ‘1’ (increment
mode). S of entry mode does not change.
The instruction ‘Clear display’ requires extra execution time. This is accommodated by
checking the busy-flag (BF) or waiting for 2 ms. The latter must be applied where no
read-back options are foreseen, as in some chip-on-glass (COG) applications.
9.2 Return home
‘Return home’ sets the DDRAM Address Counter to logic ‘0’ and returns the display to its
original position if it was shifted. The DDRAM contents do not change. The cursor or blink
position goes to the left of the display (the first line if 2 or 4 lines are displayed). I/D and S
of entry mode do not change.
9.3 Entry mode set
9.3.1 I/D
When I/D = logic ‘1’ (or ‘0’) the DDRAM or CGRAM address increments (or decrements)
by 1 when data is written into or read from the DDRAM or CGRAM. The cursor or blink
position moves to the right when incremented and to the left when decremented. The
cursor and blink are inhibited when the CGRAM is accessed.
9.3.2 S
When S = logic ‘1’, the entire display shifts either to the right (I/D = logic ‘0’) or to the left
(I/D = logic ‘1’) during a DDRAM write. So, it looks as if the cursor stands still and the
display moves. The display does not shift when reading from the DDRAM, or when writing
into or reading from the CGRAM. When S = logic ‘0’ the display does not shift.
Fig 21. Busy flag check timing sequence
mga80
6
instruction
write busy flag
check busy flag
check busy flag
check instruction
write
internal operation
RS
E
i
nternal
DB7
R/W
data busy busy not
busy data
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 28 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
9.4 Display on/off control
9.4.1 D
The display is on when D = logic ‘1’ and off when D = logic ‘0’. Display data in the DDRAM
is not affected and can be displayed immediately by setting D to logic ‘1’.
9.4.2 C
The cursor is displayed when C = logic ‘1’ and inhibited when C = logic ‘0’. Even if the
cursor disappears, the display functions e.g. I/D, remain in operation during display data
write. The cursor is displayed using 5 dots in the 8th line (see Figure 15).
9.4.3 B
The character indicated by the cursor blinks when B = logic ‘1’. The blink is displayed by
switching between display characters and all dots on with a period of 1 second when
fosc = 150 kHz (see Figure 15). At other clock frequencies the blink period is equal to
150 kHz/fosc.
The cursor and the blink can be set to display simultaneously.
9.5 Cursor display shift
‘Cursor/display shift’ moves the cursor position or the display to the right or left without
writing or reading display data. This function is used to correct a character or move the
cursor through the display . In 2 or 4-line displays, the cursor moves to the next line when it
passes the last position (40 or 20 decimal) of the line. When the displayed data is shifted
repeatedly all lines shift at the same time; displayed characters do not shift into the next
line.
The Address Counter (AC) content does not change if the only action performed is shift
display, but increments or decrements with the cursor shift.
9.6 Function set
9.6.1 DL (parallel mode only)
Defines interface data width when the parallel data interface is used.
Data is sent or received in bytes (bits DB7 to DB0) when DL = logic ‘1’, or in two 4-bit
nibbles (DB7 to DB4) when DL = logic ‘0’. When 4-bit width is selected, data is transmitted
in two cycles using the parallel bus.
In a 4-bit application DB3 to DB0 are left open (internal pull-ups). Hence in the first
‘Function set’ instruction after power-on, G and H are set to 1. A second ‘Function set’
must then be sent (2 nibbles) to set G and H to their required values.
When using the I2C-bus interface the DL should not previously have been set to 0 using
the parallel interface.
9.6.2 N, M
Sets the number of display lines.
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 29 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
9.6.3 G
Controls the VLCD voltage generator characteristic.
9.7 Set CGRAM address
‘Set CGRAM address’ sets bit 0 to 5 of the CGRAM address (ACG in Table 8 ) into the
Address Counter (binary A[5] to A[0]). Data can then be written to or read from the
CGRAM.
Only bits 0 to 5 of the CGRAM address are set by the ‘Set CGRAM address’ instruction.
Bit 6 can be set using the ‘Set DDRAM address’ instruction or by using the auto-increment
feature during CGRAM write. All bits 0 to 6 can be read using the ‘Read busy flag and
address’ instruction.
9.8 Set DDRAM address
‘Set DDRAM address’ sets the DDRAM address (ADD in Table 8) into the Address
Counter (binary A[6] to A[0]). Data can then be written to or read from the DDRAM.
9.9 Read busy flag and address
‘Read busy flag and address’ reads the Busy Flag (BF). BF = logic 1 indicates that an
internal operation is in progress. The next instruction will not be executed until
BF = logic 0, so BF should be checked before sending another instruction.
At the same time, the value of the Address Counter (AC in Table 8) expressed in binary
A[6] to A[0] is read out. The Address Counter is used by both CGRAM and DDRAM, and
its value is determined by the previous instruction.
9.10 Write data to CGRAM or DDRAM
Writes binary 8-bit data D[7] to D[0] to the CGRAM or the DDRAM.
Whether the CGRAM or DDRAM is to be written into is determined by the previous
specification of the CGRAM or DDRAM address setting.
After writing, the address automatically increments or decrements by 1, in accordance
with the entry mode. Only bits D[4] to D[0] of CGRAM data are valid, bits D[7] to D[5] are
‘don’t care’ CGRAM addresses.
9.11 Read dat a from CGRAM or DDRAM
Reads binary 8-bit data D[7] to D[0] from the CGRAM or DDRAM.
The most recent ‘Set address’ instruction determines whether the CGRAM or DDRAM is
to be read.
Table 9. Hexadecimal address ranges (pcf2116)
Address (h) Function
00 to 4F 1-line by 24
00 to 27 and 40 to 67 2-lines by 24
00 to 13, 20 to 33, 40 to 53 and 60 to 73 4-lines by 12
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 30 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
The ‘Read data’ instruction gates the content of the data register (DR) to the bus while
E = HIGH. After E goes LOW again, internal operation increments (or decrements) the AC
and stores RAM data corresponding to the new AC into the DR.
Remark: the only three instructions which update the data register (DR) are:
‘Set CGRAM address’
‘Set DDRAM address’
‘Read data’ from CGRAM or DDRAM.
Other instructions (e.g. ‘Write data’, ‘Cursor/Display shift’, ‘Clear display’, ‘Return home’)
do not modify the dat a register content.
10. Interface to microcontroller (parallel interface)
The PCF2116 can send data in either two 4-bit operations or one 8-bit operation and can
thus interface to 4-bit or 8-bit microcontrollers.
In 8-bit mode data is transferred as 8-bit bytes using the 8 data lines DB0 to DB7. Three
further control lines E, RS, and R/W are required.
In 4-bit mode data is transferred in two cycles of 4-bits each. The higher order bits
(corresponding to DB4 to DB7 in 8-bit mode) are sent in the first cycle and the lower order
bits (DB0 to DB3 in 8-bit mode) in the second.
Data transfer is complete after two 4-bit data transfers.
It should be noted that two cycles are also required for the Busy Flag check. 4-bit
operation is selected by instruction. See Figure 19, Figure 20 and Figure 21 for ex am p le s
of bus protocol.
In 4-bit mode pins DB3 to DB0 must be left open-circuit. They are pulled up to VDD
internally.
11. Interface to microcontroller (I2C-bus interface)
11.1 Characteristics of the I2C-bus
The I2C-bus is for bidirectional, two-line communication between different ICs or modules.
The two lines are a serial data line (SDA) and a serial clock line (SCL).
Both lines must be connected to a positive supply via a pull-up resistor . Data transfer may
be initiated only when the bus is not busy.
11.2 Bit transfe r
One data bit is transferred during each clock pulse.
The data on the SDA line must remain stable during the HIGH period of the clock pulse as
changes in the data line at this time will be interpreted as a control signal.
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 31 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
11.3 START and STOP conditions
Both data and clock lines remain HIGH when the bus is not busy. A HIGH-to-LOW
transition of the data line, while the clock is HIGH is defined as the START condition (S).
A LOW-to-HIGH transition of the data line while the clock is HIGH is defined as the STOP
condition (P).
11.4 System configuration
A device generating a message is a ‘transmitter’, a device receiving a message is the
‘receiver’. The device that controls the message is the ‘master’ and the devices which are
controlled by the master are the ‘slaves’.
11.5 Acknowledge
The number of data bytes transferred between the START and STOP conditions from
transmitter to receiver is unlimited. Each byte of eight bits is followed by an acknowledge
bit. The acknowledge bit is a HIGH level signal put on the bus by the transmitter during
which time the master generates an extra acknowledge related clock pulse. A slave
receiver which is addressed must generate an acknowledge after the reception of each
byte. Also a master receiver must generate an acknowledge after the reception of each
byte that has been clocked out of the slave transmitter. The device that acknowledges
must pull-down the SDA line during the acknowledge clock pulse, so that the SDA line is
stable LOW during the HIGH period of the acknowledge related clock pulse (set-up and
hold times must be taken into consideration). A master receiver must signal an end of data
to the transmitter by not generating an acknowledge on the last byte that has been
clocked out of the slave. In this event the transmitter must leave the data line HIGH to
enable the master to generate a STOP condition.
11.6 I2C-bus protocol
Before any data is transmitted on the I2C-bus, the device which should respond is
addressed first. The addressing is always carried out with the first byte transmitted after
the start procedure. The I2C-bus configuration for the different PCF2116 READ and
WRITE cycles is shown in Figure 22, Figure 23 and Figure 24.
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 32 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Fig 22. Master transmits to slave receiver; WRITE mode
S
A
0
S011101 0A
slave address
CONTROL BYTE A DATA A DATA A
R/W 2n 0 bytes
acknowledgement
from PCF2116
CONTROL BYTE A
mbh66
8
P
update
data point
er
n 0 bytes1 byte
S
A
0
011101 0
PCF2116
slave address
R/W
1
Co
0
Co
Fig 23. Master reads slave immediately after first byte; READ mode (RS previously
defined)
mga81
0
S
A
0
S1A DATA A 1P
SLAVE
ADDRESS DATA
acknowledgement
from PCF2116
no acknowledgement
from master
R/W n bytes last byte
update
data pointer
acknowledgement
from master
xxxxxxxx xxxxxxxxxxx xx xxxxxxxxxx xxxxxxxxxxx xxxxx xxxxxxx x x x xx xxxxxxxxxxx xxxxxxxxxxx xxxxxx xxxxxx xxxxxxxxxxxxx xx xx xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 33 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
(1) Last data byte is a dummy byte (may be omitted).
Fig 24. Master reads after setting word address; write word address, set RS/RW; READ data
S
A
0
S011101 0A
slave address
CONTROL BYTE A
1
Co
DATA A1 1 CONTROL A
R/W
0
Co 2 bytes2n 0 bytes
DATA(1) A
acknowledgement
from PCF2116
mga809
S
A
0
S1A DATA A 1P
SLAVE
ADDRESS DATA
acknowledgement
from PCF2116 no acknowledgement
from master
R/W n bytes last byte
update
data pointer
Fig 25. Bit transfer
mbc62
1
data line
stable;
data valid
change
of data
allowed
S
DA
S
CL
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 34 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Fig 26. Definition of START and STOP conditions
Fig 27. System configuration
Fig 28. Acknowledgement on the I2C-bus
mbc622
S
DA
S
CL P
STOP condition
SD
A
SC
L
S
START condition
mga807
SDA
S
CL
MASTER
TRANSMITTER/
RECEIVER
MASTER
TRANSMITTER
SLAVE
TRANSMITTER/
RECEIVER
SLAVE
RECEIVER
MASTER
TRANSMITTER/
RECEIVER
mbc60
2
S
START
condition
9821
clock pulse for
acknowledgement
not acknowledge
acknowledge
data output
b
y transmitter
data output
by receiver
SCL from
master
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 35 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
12. Limiting values
12.1 ESD values
ESD protection exceeds 5000 V HBM per JESD22-A114, 200 V MM per
JESD22- A 115 and 1000 V CDM per JESD22 -C101.
Latch-up testing is done to JEDEC standard JESD78 which exceeds 100 mA.
13. Static characteristics
Table 10. Limiting values
In accordance with the Absolute Maximum Rating System (IEC 60134).
Symbol Parameter Conditions Min Max Unit
VDD supply voltage 0.5 8.0 V
VLCD LCD suppl y vol tage VDD 11 VDD V
VI input voltage on each o f the pins O SC, V0, RS, R/W,
E, and DB0 to DB7 VSS 0.5 VDD +0.5 V
VOoutput voltage on each of the pins R1 to R32,
C1 to C60 and VLCD
VLCD 0.5 VDD +0.5 V
IIinput current 10 +10 mA
IOoutput current 10 +10 mA
IDD supply curr ent 50 +50 mA
ISS ground supply current 50 +50 mA
ILCD LCD suppl y curre nt 50 +50 mA
Ptot total power dissipation - 400 mW
POoutput power - 100 mW
Tstg storage temperature 65 +150 °C
CAUTION
Static voltages across the liquid crystal display can build up when the LCD supply voltage
(VLCD) is on while the IC supply voltage (VDD) is off, or vice versa. This may cause unwanted
dis play artifacts. To avoid such artifacts, VLCD and VDD must be applied or removed together.
Table 11. Static characterist ics
VDD = 2.5 to 6.0 V; VSS = 0 V; VLCD = VDD
3.5 V to VDD
9.0 V; TAMB =
40 to +85
°
C; unless otherwise specified.
Symbol Parameter Conditions Min Typ Max Unit
Supplies
VDD supply voltage 2.5 - 6.0 V
VLCD LCD supply voltage VDD 9- V
DD 3.5 V
IDD supply current external VLCD [1]
IDD1 supply current 1 external VLCD [1] -200500μA
IDD2 supply current 2 VDD = 5 V; VOP = 9 V;
fOSC = 150 kHz;
Tamb = 25 °C
[1] -200300μA
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 36 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
IDD3 supply current 3 VDD = 3 V; VOP = 5 V;
fOSC = 150 kHz;
Tamb = 25 °C
[1] -150200μA
IDD4 supply current 4 internal VLCD [1] [2]
[8] - 700 1100 μA
IDD5 supply current 5 VDD = 5 V; VOP = 9 V;
fOSC = 150 kHz;
Tamb = 25 °C
[1] [2]
[8] -600900μA
IDD6 supply current 6 VDD = 3 V; VOP = 5 V;
fOSC = 150 kHz;
Tamb = 25 °C
[1] [2]
[8] -500800μA
ILCD LCD supply current [1] [7] -50100μA
VPOR power on reset supply voltage [3] -1.31.8V
Logic
VIL1 LOW-level input voltage input voltage on pins E, RS,
R/W, DB0 to DB7 and SA0 VSS -0.3 V
DD V
VIH1 HIGH-level input voltage input voltage on pins E, RS ,
R/W, DB0 to DB7 and SA0 0.7 VDD -V
DD V
VIL(OSC) LOW-level input voltage on pin
OSC VSS -V
DD 1.5 V
VIL(V0) LOW-level input voltage on pin V0VSS -V
DD 1.5 V
VIH(OSC) HIGH-level input voltage on pin
OSC VDD
0.1 -V
DD V
VIH(V0) HIGH-level input voltage on pin V 0 V
DD
0.05 -V
DD V
IPU pull-up current pull- up current on pins
DB0 to DB7; VI=V
SS
0.04 0.15 1.0 μA
IOL(DB) LOW-level output current low level output current on p ins
DB0 to DB7; VOL =0.4V;
VDD =5V
1.6 - - mA
IOH(DB) HIGH-level output current high level output current on pins
DB0 to DB7; VOL =0.4V;
VDD =5V
1.0 - - mA
IL1 leakage current VI=V
DD or VSS;
leakage current on pins
OSC, V0,E,RS, R/W, DB0 to
DB7 and SA0
1.0 - +1.0 μA
LCD outputs
Vtol2 output voltage variation LCD supply voltage
(VLCD) tolerance [2] 300 40 +300 mV
Vtol1 output voltage variation bias voltage tolerance
on each pin: R1 - R32
and C1 to C60
[7] 300 40 +300 mV
RROW output resistance output resistance on
each pin: R1 - R32
[6] -1.53.0kΩ
Table 11. Static characterist ics …continued
VDD = 2.5 to 6.0 V; VSS = 0 V; VLCD = VDD
3.5 V to VDD
9.0 V; TAMB =
40 to +85
°
C; unless otherwise specified.
Symbol Parameter Conditions Min Typ Max Unit
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 37 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
[1] LCD outputs are open-circuit; inputs at VDD or VSS; V0=V
DD; bus inactive; internal or external clock with duty cycle 50% (IDD1 only).
[2] LCD outputs are open-circuit; LCD supply voltage generator is on; load current at VLCD = 20 μA.
[3] Resets all logic when VDD <VPOR.
[4] When the voltages are above or below the supply voltages VDD or VSS, an input current may flow; this current must not exceed
±0.5 mA.
[5] Tested on sample basis.
[6] Resistance of output terminals (R1 to R32 and C1 to C60) with load current = 150 μA; VOP =V
DD VLCD = 9 V ; outputs measured one
at a time; (external VLCD).
[7] LCD outputs open-circuit; external VLCD.
[8] Maximum value occurs at 85 °C.
14. Dynamic characteristics
RCOL output resistance output resistance on
each pin: C1 - C60
[6] -3.06.0kΩ
I2C-bus
SDA, SCL
VIL2 LOW-level input voltage [4] VSS -0.3 V
DD V
VIH2 HIGH-level input voltage [4] 0.7 VDD -V
DD V
IL2 leakage current VI=V
DD or VSS;
leakage current on pins SDA
and SCL
1.0 - +1.0 μA
Ciinput capacitance [5] --7 pF
IOL(SDA) LOW level output current on pin
SDA VOL = 0.4 V; VDD =5V 3 - - mA
Table 11. Static characterist ics …continued
VDD = 2.5 to 6.0 V; VSS = 0 V; VLCD = VDD
3.5 V to VDD
9.0 V; TAMB =
40 to +85
°
C; unless otherwise specified.
Symbol Parameter Conditions Min Typ Max Unit
Table 12. Dynamic chara cteri stics
VDD = 2.5 to 6.0 V; VSS = 0 V; VLCD = VDD
3.5 V to VDD
9.0 V; TAMB =
40 to +85
°
C; unless otherwise specified.
Symbol Parameter Conditions Min Typ Max Unit
fosc clock frequency external clock
frequency 90 150 225 kHz
fFR LCD frame frequency internal clock [1] 40 65 100 Hz
Timing characteristics: Parallel interface [1] [2]
Write operation (writing data from microcontroller to PCF2116)
TCY enab le cycle time 500 - - ns
PWEH enab le pu l se width 220 - - ns
tASU address set-up time 50 - - ns
tAH address hold time 25 - - ns
tDSW data set-up time 60 - - ns
tHD data hold time 25 - - ns
Read operation (reading data from PCF2116 to microcontroller)
TCY enab le cycle time 500 - - ns
PWEH enab le pu l se width 220 - - ns
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 38 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
[1] VDD =5V.
[2] All timing values are valid within the operating supply voltage and ambient temperature range and are referenced to VIL and VIH with an
input voltage swing of VSS to VDD.
tASU address set-up time 50 - - ns
tAH address hold time 25 - - ns
tDHD data delay time - - 150 ns
tHD data hold time 20 - 100 ns
Timing characteristics: I2C-bus [2]
fSCL SCL clock frequency - - 100 kHz
tSW tolerable spike pulse width on the I2C-bus - - 100 ns
tBUF bus free time between a STOP and
START 4.7 - - μs
tSU;STA set-up time for a repeated START
condition 4.7 - - μs
tHD;STA START condition hold time 4.0 - - μs
tLOW SCL LOW time 4.7 - - μs
tHIGH SCL HIGH time 4.0 - - μs
trrise time of both SDA and SCL signals - - 1.0 μs
tffall time of both SDA and SCL signals - - 0.3 μs
tSU;DAT data set-up time 250 - - ns
tHD;DAT data hold time 0.0 - - ns
tSU;STO set-up time for STOP condition 4.0 - - μs
Table 12. Dynamic chara cteri stics …continued
VDD = 2.5 to 6.0 V; VSS = 0 V; VLCD = VDD
3.5 V to VDD
9.0 V; TAMB =
40 to +85
°
C; unless otherwise specified.
Symbol Parameter Conditions Min Typ Max Unit
Fig 29. Parallel bus write operation sequence; writing data from microcontroller to
PCF2116
RS
E
D
B0 to DB7
V
IH1
V
IL1
V
IL1
V
IH1
V
IL1
V
IL1
V
V
IH1
V
IL1
V
IH1
V
IL1
V
IH1
V
IL1
T
cy
V
IL1
V
IH1
IL1
t
DSW
t
H
PW
EH
t
AH
t
AH
t
AS
Valid Data
mla79
8
R/W
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 39 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
15. Application information
Fig 30. Parallel bus read operation sequence; reading data from PCF2116 to
microcontroller
RS
R/W
E
D
B0 to DB7
VIH1
VIL1
VIH1
VIL1
VIH1
V
VIH1
VIL1 VIH1 VIL1
VOL1
VOH1
IL1
Tcy
tDHR
PWEH tAH
tAH
tAS
VOL1
VOH1
tDDR
VIH1
mla79
9
Fig 31. Direct connection to 8-bit microcontroller, 8-bit bus
Fig 32. Direct connection to 8-bit microcontroller, 4-bit bus
mga81
2
PCF2116
DB0 to DB7
E
RS
R/W
8
32
R1 to R32
C1 to C60 60
P20
P21
P22
P10 to P17
P80CL51 to
LC
D
mga81
3
PCF2116
DB4 to DB7
E
RS
R/W
4
32
R1 to R32
C1 to C60 60
P10
P11
P12
P14 to P17
P80CL51 to
LC
D
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 40 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Fig 33. Typical application using parallel interface
Fig 34. Application using I2C-bus interface
mga816
V
LCD
V
DD
V
O
V
SS
PCF2116
V
SS
V
DD
100 nF
DB0 to DB7 E RS R/W
2 x 24 CHARACTER
LCD DISPLAY
(SPLIT SCREEN)
16
C1 to C60 60 60
16
OSC
100
nF 100
kΩ
R7 to R16
R25 to R32
R1 to R8
R17 to R24
VLCD
VDD
VO
VSS
PCF2116
VSS
VDD
100 nF
2 x 24 CHARACTER
LCD DISPLAY
(SPLIT SCREEN)
16
C1 to C60 60 60
16
OSC
100
nF 100
kΩ
100
kΩ
mga817_02
VLCD
VDD
VO
VSS
PCF2116
VSS
VDD
100 nF
4 x 12 CHARACTER
LCD DISPLAY
16
C1 to C60 60
OSC
100
nF
R1 to R16
R17 to R24
R1 to R16
SA0
SA0
VSS
VDD
VDD VDD
SCL SDA MICRO CONTROLLER
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 41 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Fig 35. 2 × 24 display layout example (PCF2116x)
Fig 36. Chip-on-glass application
1 316191120
C1 15 31 45 45 31 15 1
C16 30 46 60 60 46 30 16
R8 to R1 R9 to R16
R32 to R25R17 to R24
PCF2116 colum
n
output numbers
PCF2116 colum
n
output numbers
LCD column
numbers
DISPLAY LAYOUT: ROWS
DISPLAY LAYOUT: COLUMNS
2 x 24 character display mga81
4
mga81
8
PCF2116
CHIP-ON-GLASS
4 LINE BY
12 CHARACTER
R1
R8
R
17
R
24
R9
R16
R25
R32
2116
C1
R9 C60
SCL
SDA VLCD
VDD
VSS
V0
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 42 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
15.1 4-bit operation, 1-line display using internal reset
The program must set functions prior to 4-bit operation. Table 13 shows an example.
When power is turned on, 8-bit operation is automatically selected and the PCF2116
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 13 step 3).
So, DB4 to DB7 of the function set are written twice.
Fig 37. 4 × 12 display layout example (PCF2116)
C1 15 46 60
C16 45
R8 to R1 R9 to R16
R32 to R25R17 to R24
DISPLAY LAYOUT: ROWS
DISPLAY LAYOUT: COLUMNS
PCF2116 colum
n
output numbers
PCF2116 colum
n
output numbers
LCD column
numbers
mga81
5
13160
DOT MATRIX LCD
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 43 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
15.2 8-bit operation, 1-line display using internal reset
Table 14 shows an example of a 1-line display in 8-bit operation. The PCF2116 functions
must be set by the ‘Function set’ instruction prior to display. Since the display data RAM
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 the
display position only and DDRAM contents remain unchanged, display data entered first
can be displayed when the Return Home operation is performed.
15.3 8-bit operation, 2-line display
For a 2-line display, the cursor automatically moves from the first to the second line after
the 40th digit of the first line is written. So, if there are only 8 characters in the first line, the
DDRAM address must be set after the eighth character is completed (see Table 15). Note
that both lines of the display are always shifted together; data does not shift from one line
to the other.
15.4 I2C-bus operation, 1-line display
A control byte is required with most instructions (see Table 16).
15.5 Initializi ng by instruction
If the power supply conditions for correctly operating the internal reset circuit are not met,
the PCF2116 must be initialized by instruction. Table 17 and Table 18 show how this may
be performed for 8-bit and 4-bit operation.
Table 13. 4-bit operation, 1-line display example; using internal reset
Step Instruction Display Operation
1 power supply on (PCF2116 is
initialized by the internal reset circuit) Initialized. No display appears.
2 function set
RS R/W DB7 DB6 DB5 DB4 Set s to 4-bit opera tion. In this i nst ance opera tio n
is hand led as 8-bit s by in itializatio n and only th is
instruction completes with one write.
000010
3 function set
0 0 0 0 1 0 Set s t o 4-bit op eration , select s 1- line dis play and
VLCD = V0. 4-bi t op erati on st arts fr om thi s point
and resetting is needed.
000000
4 display on/off control
0 0 0 0 0 0 _ Turns on display and cursor. Entire display is
blank after initialization.
001110
5 en try mo de set
0 0 0 0 0 0 _ 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.
000110
6 write data to CGRAM/DDRAM
1 0 0 1 0 1 P_ Writes ‘P’. The DDRAM has already been
selecte d by initia lization at power-on. The c ursor
is incremented by 1 and shifted to the right.
100000
xxxxxxxx xxxxxxxxxxx xx xxxxxxxxxx xxxxxxxxxxx xxxxx xxxxxxx x x x xx xxxxxxxxxxx xxxxxxxxxxx xxxxxx xxxxxx xxxxxxxxxxxxx xx xx xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 44 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Table 14. 8-bit operation, 1-line display example; using internal reset (character set ‘A’)
Step Instruction Display Operation
1 power supply on (PCF2116 is initialized by the internal reset function) Initialized. No display appears.
2 function set
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Sets to 8-bit operation, selects 1-line display and
VLCD = V0.
0000110000
3 display mode on/off contr ol Turns on di sp lay and cu rsor. Entire display is bla nk af te r
initialization.
0000001110
4 entry mo de set Set s mode to incre ment the addre ss by 1 and to s hift the
cursor to the right at the time of the write to the
DD/CGRAM. Display is not shifted.
0000000110
5 write data to CGRAM/DDRAM Writes ‘P’. The DDRAM has already been selected by
initiali zation at powe r-on. The cursor is in cremented by 1
and shifted to the right.
1001010000P_
6 write data to CGRAM/DDRAM
1001001000PH_ WritesH.
7 |
|
|
8 write data to CGRAM/DDRAM
1001010011PHILIPS_ WritesS.
9 entry mo de set
0000000111PHILIPS_ Sets mode for display shift at the time of write.
10 writ e data to CGRAM/DDRAM
1000100000PHILIPS_ Writes space.
11 write data to CGRAM/DDRAM
1001001101 PHILIPSM_ WritesM.
12 |
|
|
13 writ e data to CGRAM/DDRAM
1001001111MICROKO WritesO.
14 cursor or display shift
0000010000MICROKO Shifts only the cursor position to the left.
xxxxxxxx xxxxxxxxxxx xx xxxxxxxxxx xxxxxxxxxxx xxxxx xxxxxxx x x x xx xxxxxxxxxxx xxxxxxxxxxx xxxxxx xxxxxx xxxxxxxxxxxxx xx xx xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 45 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
15 cursor or display shift
0000010000MICROKO Shifts only the cursor position to the left.
16 writ e data to CGRAM/DDRAM
1001000011ICROCO WritesC correction. The display moves to the left.
17 cursor or display shift
0000011100MICROCO Shifts the display and cursor to the right.
Z18 cursor or display shift
0000010100MICROCO_ Shifts only the cursor to theright.
19 writ e data to CGRAM/DDRAM
1001001101ICROCOM_ WritesM.
20 |
|
|
21 Return Home
0000000010PHILIPS M Returns both display and cursor to the original position
(address 0).
Table 14. 8-bit operation, 1-line display example; using internal reset (character set ‘A’)
Step Instruction Display Operation
xxxxxxxx xxxxxxxxxxx xx xxxxxxxxxx xxxxxxxxxxx xxxxx xxxxxxx x x x xx xxxxxxxxxxx xxxxxxxxxxx xxxxxx xxxxxx xxxxxxxxxxxxx xx xx xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 46 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Table 15. 8-bit operation, 2-line display example; using internal reset
Step Instruction Display Operation
1 power supply on (PCF2116 is initialized by the internal reset function) Initialized. No display appears.
2 function set Set s to 8-bit operati on, se lects 2-li ne displa y and volt age
gener ator off.
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0000111000
3 display on/off control Turns on di splay and cu rso r. Entire di sp lay is bla nk after
initialization.
0000001110
4 entry mo de set _Set s mode to incre ment the addre ss by 1 and to s hift the
cursor t o the right at the time of w rite t o the CG/D DRAM.
Display is not shifted.
0000000110
5 Write data to CGRAM/DDRAM P_ Writes ‘P’. The DDRAM has already been selected by
initiali zation at powe r-on. The cursor is in cremented by 1
and shifted to the right.
1001010000
6 |
|
|
7 write data to CGRAM/DDRAM PHILIPS_ Writes ‘S’.
1001010011
8 set DDRAM address PHILIPS Sets DDRAM address to posi tion the cursor at the head
of the 2nd line.
0011000000_
9 write data to CGRAM/ DDRAM PHILIPS Writes ‘M’.
1001001101M_
10 |
|
|
xxxxxxxx xxxxxxxxxxx xx xxxxxxxxxx xxxxxxxxxxx xxxxx xxxxxxx x x x xx xxxxxxxxxxx xxxxxxxxxxx xxxxxx xxxxxx xxxxxxxxxxxxx xx xx xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 47 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
11 write data to CGRAM/ DDRAM PHILIPS Writes ‘O’.
1001001111MICROCO_
12 writ e data to CGRAM/ DDRAM PHILIPS Sets mode for display shift at the time of write.
0000000111MICROCO_
13 writ e data to CGRAM/ DDRAM PHILIPS Writes ‘M’. Display is shifted to the left. The first and
second lines shift together.
1001001101ICROCOM_
14 |
|
|
15 return Home PHILIPS Returns both display and cursor to the original position
(address 0).
0000000010MICROCOM
Table 15. 8-bit operation, 2-line display example; using internal reset
Step Instruction Display Operation
xxxxxxxx xxxxxxxxxxx xx xxxxxxxxxx xxxxxxxxxxx xxxxx xxxxxxx x x x xx xxxxxxxxxxx xxxxxxxxxxx xxxxxx xxxxxx xxxxxxxxxxxxx xx xx xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 48 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Table 16. Example of I2C-bus operation; 1-line display (using internal reset, assuming SA0 = VSS [1])
Step Instruction Display Operation
1I
2C START Initialized. No display appears.
2 slave address for write During the acknowledge cycle SDA is pulled-down by the
PCF2116.
SA6 SA5 SA4 SA3 SA2 SA1 SA0 R/W Ack
011101001
3 send a control byte for function set Control byte sets RS and R/W for following data bytes.
Co RS R/W Ack
000XXXXX1
4 function set Selects 1-line display and VLCD = V0; SCL pulse during
acknowledge cycle starts execution of instruction.
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack
001X00001
5 display on/off control Turns on display and cursor. Entire display shows character 20h
(blank in ASCII-like character sets).
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack
000011101
6 entry mode set Sets mode to incr ement the ad dress by 1 an d to s hif t the c ursor to
the right at the time of write to the DDRAM or CGRAM. Display is
not shifted.
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack
000001101
7I
2C START Fo r writing data to DDR AM, RS must be set to 1. Therefore a
control byte is needed.
8 slave address for write
SA6 SA5 SA4 SA3 SA2 SA1 SA0 R/W Ack
011101001
9 send a control byte for write data
Co RS R/W Ack
010XXXXX1
10 wri t e data to DDRAM Writes ‘P’. The DDRAM has been selected at power-up.
The cursor is incremented by 1 and shifted to the right.
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack
010100001P_
11 write data to DDRAM Writes ‘H’.
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack
010010001PH_
xxxxxxxx xxxxxxxxxxx xx xxxxxxxxxx xxxxxxxxxxx xxxxx xxxxxxx x x x xx xxxxxxxxxxx xxxxxxxxxxx xxxxxx xxxxxx xxxxxxxxxxxxx xx xx xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 49 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
[1] X = don’t care.
12 to 15 |
|
|
16 write data to DDRAM Writes ‘S’.
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack
010100111PHILIPS_
17 (optional I2C stop) I2C start + slave ad dress for write (as step 8) PHILIPS_
18 control byte
Co RS R/W Ack
100XXXXX1PHILIPS_
19 Return Ho me Sets DDRAM address 0 in Address Counter. (also returns shifted
display to original position. DDRAM contents unchanged). This
instruction does not update the Data Register (DR).
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack
000000101P
HILIPS
20 control byte for read DDRAM content will be read from following instructions.
The R/W has to be set to 1 while still in I2C-write mode
Co RS R/W Ack
011XXXXX1P
HILIPS
21 I2C START PHILIPS
22 slave addre ss for read During the ac knowledge cycle the content of the DR is loaded into
the internal I2C interface to be shifted out. In the previous
instructi on nei ther a ‘Set addres s’ nor a ‘Read data’ has been
performed. Therefore the content of the DR was unknown.
SA6 SA5 SA4 SA3 SA2 SA1 SA0 R/W Ack
011101011PH
ILIPS
23 read data: 8 × SCL + master acknowledge [2] 8×SCL; con tent loaded into interface du ring previous
acknowledge cycle is shifted out over SDA. MSB is DB7. During
master acknowledge content o f DDRAM address 01 is loaded into
the I2C inter face.
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack
XXXXXXXX0PHI
LIPS
24 read data: 8 × SCL + master acknowledge [2] 8×SCL; code of letter ‘H’ is read first. During master
acknowledge code of ‘I’ is loaded into the I2C interface.
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack
010010000PHILIPS
25 read data: 8 × SCL + no master acknowledge [2] No master acknowledge; After the content of the I2C interface
register is shif te d out no i nternal action is perfor med. No ne w dat a
is loaded to the interface register, Data Register (DR) is not
updated, Address Counter (AC) is not incremented and cursor is
not shifted.
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack
010010011PHIL
IPS
26 I2C stop PHILIPS
Table 16. Example of I2C-bus operation; 1-line display (using internal reset, assuming SA0 = VSS [1])
Step Instruction Display Operation
xxxxxxxx xxxxxxxxxxx xx xxxxxxxxxx xxxxxxxxxxx xxxxx xxxxxxx x x x xx xxxxxxxxxxx xxxxxxxxxxx xxxxxx xxxxxx xxxxxxxxxxxxx xx xx xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 50 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
[2] SDA is left at high-impedance by the microcontroller during the READ acknowledge.
[1] X = don’t care.
Table 17. Initialization by instruction, 8 bit interfac e [1]
Step Description
power-on or unknown state
wait 2 ms after VDD rises above VPOR
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 BF cannot be checked before this instruction
000011××××Function set (interface is 8 bits long)
wait 2 ms
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 BF cannot be checked before this instruction
000011××××Function set (interface is 8 bits long)
wait more than 40 μs
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 BF cannot be checked before this instruction
000011××××Function set (interface is 8 bits long)
BF can be checked after the following instructions. When the BF is not
checked the waiting t ime between instructions is the specified instructio n time
(see Table 8).
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Function set (interface is 8 bits long). Specify the number of display lines and
voltage generator characteristics.
000011NMG0
0000001000Display off.
0000000001Clear display.
00000001I/DSEntry mode set.
Initialization ends
xxxxxxxx xxxxxxxxxxx xx xxxxxxxxxx xxxxxxxxxxx xxxxx xxxxxxx x x x xx xxxxxxxxxxx xxxxxxxxxxx xxxxxx xxxxxx xxxxxxxxxxxxx xx xx xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 51 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Table 18. Initialization by instruction, 4 bit interface. Not applicable for I2C-bus operation.
Step Description
power-on or unknown state
wait 2 ms after VDD rises above VPOR
RS R/W DB7 DB6 DB5 DB4 BF cannot be checked before this instruction
000011Function set (interface is 8 bits long)
wait 2 ms
RS R/W DB7 DB6 DB5 DB4 BF cannot be checked before this instruction
000011Function set (interface is 8 bits long)
wait more than 40 μs
RS R/W DB7 DB6 DB5 DB4 BF cannot be checked before this instruction
000011Function set (interface is 8 bits long)
BF can be checked after the following instructions. When the BF is not checked the waiting time
between instructions is the specified instruction time (see Table 8).
RS R/W DB7 DB6 DB5 DB4 Function set (set interface to 4 bits long).
000011Interface is 8 bits long
000010Function set (interface is 4 bits long).
0 0 N M G 0 Specify the number of display lines and voltage generator characteristics.
000000
001000Display off.
000000Clear display.
000001
000000Entry mode set.
0001I/DS
Initialization ends
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 52 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
16. Package outline
Not applicab le .
17. Handling information
Inputs and outputs are protected against electrostatic discharge in normal handling.
However , to be completely safe you must take normal precautions appropriate to handling
MOS devices; see JESD625-A and/or IEC61340-5.
18. Packing information
Table 19. Tray dim ensions (see Figure 38)
Symbol Description Value
A pocket pitch in x direction 5.64 mm
B pocket pitch in y direction 5.64 mm
C pocket width in x direction 4.08 mm
D pocket width in y direction 4.08 mm
E tray width in x direction 50.8 mm
F tray width in y direction 50.8 mm
G cut corner to pocket 1.1 centre 5.66 mm
H cut corner to pocket 1.1 centre 5.66 mm
x number of poc kets, x directi on 8
y number of poc kets, y directi on 8
Fig 38. Tray details
x
y
F
H
001aag783
D
E
A
G
1,1 x,12,1
1,2
1,y x,y
C
B
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 53 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
Fig 39. Tray alignment
001aag782
PC2116-1
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 54 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
19. Revision history
Table 20. Revision history
Document ID Release date Data sheet status Change notice Supersedes
PCF2116_FAM_5.01 <tbd> Product data sheet 20070711 (date) PCF2116_FAM_4
Modifications: Character set ‘A’ in CGROM corrected, Section 8.2.
Packing information added, Section 18
The format of this data sheet has been redesigned to comply with the new identity
guidelines of NXP Semiconductors.
Legal texts have been adapted to the new company name where appropriate.
PCF2116_FAM_4 19970407 Product data sheet PCF2116_3
PCF2116_3 19961025 Product data sheet PCF2116_2
PCF2116_2 19941010 Product data sheet PCF2116A_1
PCF2116A_1 19931215 Product data sheet -
PCF2116_family_05 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05.01 — 20 July 2007 55 of 56
NXP Semiconductors PCF2116 family
LCD controller / drivers
20. Legal information
20.1 Data sheet status
[1] Please consult the most recently issued document before initiating or completing a design.
[2] The term ‘short data sheet’ is explained in section “Definitions”.
[3] The product statu s of device(s) described in this document may have changed since this document was published and may dif fer in ca se of mu ltiple d evices. T he latest pro duct sta tus
information is available on the Internet at URL http://www.nxp.com.
20.2 Definitions
Draft — The document is a draft version only. The content is still under
internal review and subject to formal approval, which may result in
modifications or additions. NXP Se miconductors does not give any
representations or warranties as to the accuracy or completeness of
information included herein and shall have no liability for the consequences of
use of such information.
Short data sheet — A short data sheet is an extract from a full data sheet
with the same product type number(s) and title. A short data sheet is intended
for quick reference only and should not be relied upon to contain detailed and
full information. For detailed and full information see the relevant full data
shee t, which is availa bl e on req ues t via the local NX P Semico nd ucto rs sales
office. In case of any inconsistency or conflict with the short data sheet, the
full data sheet shall prevail.
20.3 Disclaimers
General — Information in this document is believed to be accurate and
reliable. However, NXP Semiconductors does not give any representations or
warranties, expressed or implied, as to the accuracy or completeness of such
information and shall have no liability for the consequences of use of such
information.
Right to make changes — NXP Semiconductors reserves the right to make
changes to information published in this document, including without
limitation specifications and product descriptions, at any time and without
notice. This document supersedes and replaces all information supplied prior
to the publication hereof.
Suitability for use — NXP Semiconductors products are not designed,
authorized or warranted to be suitable for use in medical, military, aircraft,
space or life support equipment , nor in applicati ons where failure or
malfunction of a NXP Semiconductors product can reasonably be expected to
result in personal injury, death or severe property or environmental damage.
NXP Semiconductors accepts no liability for inclusion and/or use of NXP
Semiconductors products in such equipment or applications and therefore
such inclusion and/or use is at the customer’s own risk.
Applications — Applications that are described herein for any of these
products are for illustrative purposes only. NXP Semiconductors makes no
representation or warranty that such applications will be suitable for the
specified use without further testing or modification.
Limit ing valuesStress above one or more limiting values (as defined in
the Absolute Maximum Ratings System of IEC 60134) may cause permanent
damage to the device. Limiting values are stress ratings only and operation of
the device at these or any other conditions above those given in the
Characteristics sections of this document is not implied. Exposure to limiting
values for extended periods may affect device reliability.
Terms and conditions of sale — NXP Semiconductors products are sold
subject to the general terms and conditions of commercial sale, as published
at http://www.nxp.com/profile/terms, including those pertaining to warranty,
intellectual property rights infringement and limitation of liability, unless
explicitly otherwise agreed to in writing by NXP Semiconductors. In case of
any inconsistency or conflict between information in this document and such
terms and conditions, the latter will prevail.
No offer to sell or license — Nothing in this document may be interpreted or
construed as an offer to sell products that is open for acceptance or the grant,
conveyance or implication of any license under any copyrights, patents or
other industrial or intellectual property rights.
20.4 Trademarks
Notice: All referenced brands, product names, service names and trademarks
are the property of their respective owners.
I2C-bus — logo is a trademark of NXP B.V.
21. Contact inf ormat ion
For additional information, please visit: http://www.nxp.com
For sales office addresses, send an email to: salesaddresses@nxp.com
Document status[1][2] Product status[3] Definition
Objective [short] data sheet Development This document contains data from the objective specification for product development.
Preliminary [short] data sheet Qualification This document contains data from the preliminary specification.
Product [short] data sheet Production This document contains the product specification.
NXP Semiconductors PCF2116 family
LCD controller / drivers
© NXP B.V. 2007. All rig h t s reserved.
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: salesaddresses@nxp.com
Date of release: 20 July 2007
Document identifier: PCF2116_family_05
Please be aware that important notices concerning this document and the product(s)
described herein , have been included in section ‘Legal informati on’.
22. Contents
1 General description. . . . . . . . . . . . . . . . . . . . . . 1
2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
3 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
4 Ordering information. . . . . . . . . . . . . . . . . . . . . 2
5 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3
6 Pinning information. . . . . . . . . . . . . . . . . . . . . . 4
6.1 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
6.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 5
7 Pin functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
7.1 RS: register select (parallel control) . . . . . . . . . 8
7.2 R/W: read/write (parallel control) . . . . . . . . . . . 8
7.3 E: data bus clock . . . . . . . . . . . . . . . . . . . . . . . 8
7.4 DB0 to DB7: data bus. . . . . . . . . . . . . . . . . . . . 9
7.5 C1 to C60: column driver outputs. . . . . . . . . . . 9
7.6 R1 to R32: row driver outputs. . . . . . . . . . . . . . 9
7.7 VLCD: LCD power supply . . . . . . . . . . . . . . . . . 9
7.8 V0: VLCD control input . . . . . . . . . . . . . . . . . . . . 9
7.9 O SC: oscillator . . . . . . . . . . . . . . . . . . . . . . . . . 9
7.10 SCL: serial clock line . . . . . . . . . . . . . . . . . . . . 9
7.11 SDA: serial data line. . . . . . . . . . . . . . . . . . . . . 9
7.12 SA0: address pin . . . . . . . . . . . . . . . . . . . . . . . 9
7.13 T1: test pad. . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
8 Functional description . . . . . . . . . . . . . . . . . . . 9
8.1 LCD supply voltage generator for PCF2116x. . 9
8.2 Character generator ROM (CGROM). . . . . . . 11
8.3 LCD bias voltage generator . . . . . . . . . . . . . . 15
8.4 O scillator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
8.5 External clock. . . . . . . . . . . . . . . . . . . . . . . . . 15
8.6 Power-on reset . . . . . . . . . . . . . . . . . . . . . . . . 15
8.7 Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
8.8 Busy flag. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
8.9 Address counter (AC). . . . . . . . . . . . . . . . . . . 16
8.10 Display data RAM (DDRAM) . . . . . . . . . . . . . 16
8.11 Character generator RAM (CGRAM) . . . . . . . 18
8.12 Cursor control circuit. . . . . . . . . . . . . . . . . . . . 18
8.13 Timing generator. . . . . . . . . . . . . . . . . . . . . . . 19
8.14 LCD row and column drivers . . . . . . . . . . . . . 19
8.15 Reset function. . . . . . . . . . . . . . . . . . . . . . . . . 22
9 Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
9.1 Clear display. . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.2 Return home. . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.3 Entry mode set . . . . . . . . . . . . . . . . . . . . . . . . 27
9.3.1 I/D. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.3.2 S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.4 Display on/off control . . . . . . . . . . . . . . . . . . . 28
9.4.1 D. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
9.4.2 C. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
9.4.3 B. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
9.5 Cursor display shift . . . . . . . . . . . . . . . . . . . . 28
9.6 Function set . . . . . . . . . . . . . . . . . . . . . . . . . . 28
9.6.1 DL (parallel mode only) . . . . . . . . . . . . . . . . . 28
9.6.2 N, M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
9.6.3 G . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
9.7 Set CGRAM address . . . . . . . . . . . . . . . . . . . 29
9.8 Set DDRAM address . . . . . . . . . . . . . . . . . . . 29
9.9 Read busy flag and address . . . . . . . . . . . . . 29
9.10 Write data to CGRAM or DDRAM . . . . . . . . . 29
9.11 Read data from CGRAM or DDRAM . . . . . . . 29
10 Interface to microcontroller (parallel
interface) . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
11 Interface to microcontroller (I2C-bus
interface) . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
11.1 Characteristics of the I2C-bus . . . . . . . . . . . . 30
11.2 Bit transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
11.3 START and STOP conditions. . . . . . . . . . . . . 31
11.4 System configuration . . . . . . . . . . . . . . . . . . . 31
11.5 Acknowledge . . . . . . . . . . . . . . . . . . . . . . . . . 31
11.6 I2C-bus protocol. . . . . . . . . . . . . . . . . . . . . . . 31
12 Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 35
12.1 ESD values . . . . . . . . . . . . . . . . . . . . . . . . . . 35
13 Static characteristics . . . . . . . . . . . . . . . . . . . 35
14 Dynamic characteristics. . . . . . . . . . . . . . . . . 37
15 Application information . . . . . . . . . . . . . . . . . 39
15.1 4-bit operation, 1-line display using internal reset
42
15.2 8-bit operation, 1-line display using internal reset
43
15.3 8-bit operation, 2-line display. . . . . . . . . . . . . 43
15.4 I2C-bus operation, 1-line display . . . . . . . . . . 43
15.5 Initializing by instruction. . . . . . . . . . . . . . . . . 43
16 Package outline. . . . . . . . . . . . . . . . . . . . . . . . 52
17 Handling information . . . . . . . . . . . . . . . . . . . 52
18 Packing information . . . . . . . . . . . . . . . . . . . . 52
19 Revision history . . . . . . . . . . . . . . . . . . . . . . . 54
20 Legal information . . . . . . . . . . . . . . . . . . . . . . 55
20.1 Data sheet status. . . . . . . . . . . . . . . . . . . . . . 55
20.2 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
20.3 Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . 55
20.4 Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . 55
21 Contact information . . . . . . . . . . . . . . . . . . . . 55
22 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56