17.18-bit operation, 2 × 12 display using internal
reset
17.24-bit operation, 2 × 12 display using internal
reset
17.38-bit operation, 2 × 24 display
17.4I2C operation, 2 × 12 display
17.5Initializing by instruction
18BONDING PAD LOCATIONS
19DEFINITIONS
20LIFE SUPPORT APPLICATIONS
21PURCHASE OF PHILIPS I2C COMPONENTS
1997 Dec 162
Philips SemiconductorsProduct specification
LCD controller/driverPCF2104x
1FEATURES
• 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 intermediate LCD bias voltages
– oscillator requires no external components (external
clock also possible)
• Display data RAM: 80 characters
• Character generator ROM: 240 characters
• Character generator RAM: 16 characters
2
• 4 or 8-bit parallel bus or 2-wire I
C-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− V
: 3.5 to 9 V
LCD
• Low power consumption.
• I2C-bus address: 011101 SA0.
2APPLICATIONS
• Telecom equipment
• Portable instruments
• Point-of-sale terminals.
3GENERAL DESCRIPTION
but does not contain the high voltage generator of that
device.
The PCF2104x is optimized for chip-on-glass applications.
The ‘x’ in ‘PCF2104x’ represents a specific letter code for
a character set in the character generator ROM (CGROM).
Two standard character sets are currently available,
specified by the letters ‘C’ and ‘L’ (see Figs 5 and 6).
Other character sets are available on request.
The PCF2104x 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 a 5 × 8 dot format. All necessary
functions for the display are provided in a single chip,
including on-chip generation of LCD bias voltages which
results in a minimum of external components and lower
system power consumption. To allow partial V
shutdown
DD
the ESD protection system of the SCL and SDA pins does
not use a diode connected to VDD.
The chip contains a character generator and displays
alphanumeric and kana characters. The PCF2104x
interfaces to most microcontrollers via a 4 or 8-bit bus, or
via the 2-wire I2C-bus.
3.1Packages
• PCF2104xU/2; chip with bumps in tray
• PCF2104xU/7; chip with bumps on tape.
For further details see Chapter 18.
3.2Available types
• PCF2104CU/x: character set ‘C’ in CGROM
• PCF2104LU/x: character set ‘L’ in CGROM
• PCF2104NU/x: character set ‘N’ in CGROM.
The PCF2104x integrated circuit is similar to the
PCF2114x (described in the
“PCF2116 family”
data sheet)
4ORDERING INFORMATION
PACKAGE
TYPE NUMBER
NAMEDESCRIPTIONVERSION
PCF2104CU/2−chip with bumps in tray−
PCF2104CU/7−chip with bumps on tape−
PCF2104LU/2−chip with bumps in tray−
PCF2104LU/7−chip with bumps on tape−
PCF2104NU/2−chip with bumps in tray−
PCF2104NU/7−chip with bumps on tape−
1997 Dec 163
Philips SemiconductorsProduct specification
LCD controller/driverPCF2104x
5BLOCK DIAGRAM
handbook, full pagewidth
V
LCD
V
DD
V
SS
T1
111
2
4
101
BIAS
VOLTAGE
GENERATOR
REGISTER (DR)
6
DATA
COLUMN DRIVERS
DATA LATCHES
SHIFT REGISTER
CURSOR + DATA CONTROL
CHARACTER
GENERATOR
RAM
(CGRAM)
16
CHARACTERS
DISPLAY DATA RAM
(DDRAM) 80 CHARACTERS
8
BUSY
FLAG
C1 to C60
80-21
60
60
60
5 x 12-bit
5
5
8
CHARACTER
GENERATOR
ROM
(CGROM)
240
CHARACTERS
7
ADDRESS
COUNTER (AC)
7
INSTRUCTION
DECODER
8
INSTRUCTION
REGISTER (IR)
R1 to R32
5-20
81-96
32
ROW DRIVERS
32
SHIFT REGISTER
32-BIT
PCF2104x
OSCILLATOR
TIMING
GENERATOR
7
DISPLAY
ADDRESS
COUNTER
POWER - ON
RESET
1
OSC
788
4
109-106
DB0 to DB3 DB4 to DB7 E
105-102
4
9810099
R/W
Fig.1 Block diagram.
1997 Dec 164
I/O BUFFER
RS
SCL
97
110
MGC627
SDA3SA0
Philips SemiconductorsProduct specification
LCD controller/driverPCF2104x
6PINNING
SYMBOLFFC PADTYPEDESCRIPTION
OSC1Ioscillator/external clock input
V
DD
SA03II
V
SS
R8 to R55 to 8OLCD row driver outputs
R32 to R299 to12OLCD row driver outputs
R24 to R1713 to 20OLCD row driver outputs
C60 to C121 to 80OLCD column driver outputs
R9 to R1681 to 88OLCD row driver outputs
R25 to R2889 to 92OLCD row driver outputs
R1 to R493 to 96OLCD row driver outputs
SCL97II
E98Idata bus clock input
RS99Iregister select input
W100Iread/write input
R/
T1101Itest pad input
DB7 to DB0102 to 109I/O8-bit bidirectional data bus input/output
SDA110I/OI
V
LCD
2Plogic supply voltage
2
C-bus address pin input
4Pground
2
C-bus serial clock input
2
C-bus serial data input/output
111ILCD supply voltage input
7PIN FUNCTIONS
7.1RS: register select (parallel control)
RS selects 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.2R/
W: read/write (parallel control)
R/W selects either the read (R/W = logic 1) or write
(R/W = logic 0) operation when control is by the parallel
interface. There is an internal pull-up on this pin.
7.3E: data bus clock (parallel control)
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 tied
to logic 0 (V
) when I2C-bus control is used.
SS
7.4DB0 to DB7: data bus (parallel control)
The bidirectional, 3-state data bus transfers data between
the system controller and the PCF2104x. DB7 may be
used as the Busy Flag, signalling that internal operations
are not yet completed. 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
2
when I
C-bus control is used.
7.5C1 to C60: column driver outputs
These pins output the data for pairs of columns.
This arrangement permits optimized chip-on-glass (COG)
layout for 4-line by 12 characters.
7.6R1 to R32: row driver outputs
These pins output the row select waveforms to the left and
right halves of the display.
7.7V
: LCD power supply
LCD
Negative power supply for the liquid crystal display.
1997 Dec 165
Philips SemiconductorsProduct specification
LCD controller/driverPCF2104x
7.8OSC: oscillator
When the on-chip oscillator is used, this pin must be
connected to VDD. An external clock signal, if used, is input
at this pin.
7.9SCL: serial clock line
Input for the I
2
C-bus clock signal.
7.10SDA: serial data line
Input/output for the I
2
C-bus data line.
7.11SA0: address pin
The hardware sub-address line is used to program the
device sub-address for 2 different PCF2104xs on the
2
same I
C-bus.
7.12T1: test pad
Must be connected to V
. Not user accessible.
SS
8FUNCTIONAL DESCRIPTION (see Fig.1)
8.1LCD bias voltage generator
The intermediate bias voltages for the LCD display are
also generated on-chip. This removes the need for an
external resistive bias chain 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 V
depends on the multiplex rate,
OP
the LCD threshold voltage (Vth) and the number of bias
levels. The relationships are given in Table 1.
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.
Table 1 Optimum values for V
MUX
RATE
NUMBER
OF BIAS
LEVELS
VOP/V
OP
DISCRIMINATION
th
Von/V
off
1 : 1653.671.277
1 : 3265.191.196
8.2Oscillator
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.3External clock
If an external clock is to be used, it must be input at
pin OSC. The resulting display frame frequency is given by
f
frame
=1⁄
. A clock signal must always be present,
2304fosc
otherwise the LCD may be frozen in a DC state.
8.4Power-on reset
The Power-on reset block initializes the chip after
power-on or power failure.
8.5Registers
The PCF2104x 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 from, 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.6Busy Flag
The Busy Flag indicates the free/busy status of the
PCF2104x. Logic 1 indicates that the chip is busy and
further instructions will not be accepted. The Busy Flag is
output at pin DB7 when RS = logic 0 and R/
W = logic 1.
Instructions should only be written after checking that the
Busy Flag is at logic 0 or waiting for the required number
of clock cycles.
1997 Dec 166
Philips SemiconductorsProduct specification
LCD controller/driverPCF2104x
8.7Address 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.8Display data RAM (DDRAM)
The DDRAM stores up to 80 characters of display data,
represented by 8-bit character codes. DDRAM locations
not used for storing display data can be used as general
purpose RAM. The basic DDRAM-to-display mapping
scheme is shown in Fig.2. With 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 20, 40, or 60 Hex. Figures 3 and 4 show the
DDRAM-to-display mapping scheme when the display is
shifted.
The address range for a 1-line display is 00 to 4F; for a
2-line display from 00 to 27 (line 1) and 40 to 67 (line 2);
for a 4-line display from 00 to 13, 20 to 33, 40 to 53 and
60 to 73 for lines 1, 2, 3 and 4 respectively. 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 (see Figs 3 and 4).
When data is written to 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.
8.10Character 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 Fig.5). Figure 8 shows the
addressing principle for the CGRAM.
8.11Cursor control circuit
The cursor control circuit generates the cursor (underline
and/or character blink as shown in Fig.9) at the DDRAM
address contained in the Address Counter. When the
Address Counter contains the CGRAM address the cursor
will be inhibited.
8.12Timing generator
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.13LCD row and column drivers
The PCF2104x 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. Figures 10 and 11 show typical waveforms.
In the 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, thereby providing greater
drive capability.
Unused outputs should be left unconnected.
8.9Character generator ROM (CGROM)
The character generator ROM generates 240 character
patterns in 5 × 8 dot format from 8-bit character codes.
Figures 5 and 6 show the character sets currently
available.
Character code bits 0to 3 correspond 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 8
Character pattern column positions correspond to CGRAM data bits 0 to 4; bit 4 being at the left end, as shown in the figure.
CGRAM character patterns are selected when character code bits 4 to 7 are all logic 0. CGRAM data = logic 1 corresponds 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.
th
line will appear in the cursor position.
Fig.8 Relationship between CGRAM addresses, data and display patterns.
1997 Dec 1613
Philips SemiconductorsProduct specification
LCD controller/driverPCF2104x
cursor
5 x 7 dot character fontalternating display
cursor display exampleblink display example
Fig.9 Cursor and blink display examples.
MGA801
1997 Dec 1614
Philips SemiconductorsProduct specification
LCD controller/driverPCF2104x
handbook, full pagewidth
V
DD
V
2
ROW 1
ROW 9
ROW 2
COL 1
COL 2
V /V
34
V
5
V
LCD
V
DD
V
2
V /V
34
V
5
V
LCD
V
DD
V
2
V /V
34
V
5
V
LCD
V
DD
V
2
V /V
34
V
5
V
LCD
V
DD
V
2
V /V
3
V
5
V
LCD
frame n 1frame n
4
state 1 (ON)
state 2 (ON)
1-line display
(1:16)
V
OP
0.25 V
OP
0 V
state 1
0.25 V
OP
V
OP
V
OP
0.25 V
0 V
0.25 V
V
OP
OP
OP
1231612316
state 2
Fig.10 Typical LCD waveforms; 1-line mode.
1997 Dec 1615
MGA802 - 1
Philips SemiconductorsProduct specification
LCD controller/driverPCF2104x
handbook, full pagewidth
ROW 1
ROW 9
ROW 2
COL 1
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
DD
2
3
4
5
LCD
DD
2
3
4
5
LCD
DD
2
3
4
5
LCD
DD
2
3
4
5
LCD
frame n
frame n 1
state 1 (ON)
state 2 (ON)
2-line display
(1:32)
COL 2
state 1
state 2
V
V
V
V
V
V
V
OP
0.15 V
0 V
0.15 V
V
OP
V
OP
0.15 V
0 V
0.15 V
V
OP
DD
2
3
4
5
LCD
OP
OP
OP
OP
1233212 332
Fig.11 Typical LCD waveforms; 2-line mode.
MGA803 - 1
1997 Dec 1616
Philips SemiconductorsProduct specification
LCD controller/driverPCF2104x
8.14Programming of MUX 1 : 16 displays with
PCF2104x
The PCF2104x can be used in the following ways:
• 1-line mode to drive a 2-line display
• 2 × 12 characters with MUX rate 1 : 16, resulting in
better contrast. The internal data flow of the chip is
optimized for this purpose.
handbook, full pagewidth
display position
DDRAM address
display position
DDRAM address
1
00
13
0C
23
0102
1415
0D0E
Fig.12 DDRAM-to-display mapping; no shift (PCF2104x).
4
03
16
0F
Using the ‘Function set’ instruction, M and N are set to 0, 0
(respectively). Figures 12, 13 and 14 show the DDRAM
addresses of the display characters. The second row of
each table corresponds to either the right half of a 1-line
display or to the second line of a 2-line display. Wrap
around of data during display shift or when writing data is
non-standard.
5
04
17
10
67
0506
1819
1112
8
07
20
13
9
08
21
14
1011
090A
2223
1516
12
0B
24
17
MLB899
handbook, full pagewidth
handbook, full pagewidth
display position
DDRAM address
display position
DDRAM address
Fig.13 DDRAM-to-display mapping; right shift (PCF2104x).
display position
DDRAM address
display position
DDRAM address
1
4F
13
0B
1
01
13
0D
23
0001
1415
0C0D
23
0203
1415
0E0F
4
02
16
0E
4
04
16
10
5
03
17
0F
5
05
17
11
67
0405
1819
1011
67
0607
1819
1213
8
06
20
12
8
08
20
14
9
07
21
13
9
09
21
15
1011
0809
2223
1415
1011
0A0B
2223
1617
12
0A
24
16
MLB900
12
0C
24
18
MLB901
Fig.14 DDRAM-to-display mapping; left shift (PCF2104x).
1997 Dec 1617
Loading...
+ 39 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.