Datasheet PCF2103EU-2-F1, PCF2103EU-2-F2 Datasheet (Philips)

Page 1
DATA SH EET
Product specification File under Integrated Circuits, IC12
1998 May 11
INTEGRATED CIRCUITS
PCF2103 family
LCD controllers/drivers
Page 2
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
CONTENTS
1 FEATURES 2 APPLICATIONS 3 GENERAL DESCRIPTION 4 ORDERING INFORMATION 5 BLOCK DIAGRAM 6 PINNING 7 FUNCTIONAL DESCRIPTION
7.1 LCD bias voltage generator
7.2 Oscillator
7.3 External clock
7.4 Power-on reset
7.5 Power-down mode
7.6 Registers
7.7 Busy flag
7.8 Address Counter (AC)
7.9 Display Data RAM (DDRAM)
7.10 Character Generator ROM (CGROM)
7.11 Character Generator RAM (CGRAM)
7.12 Cursor control circuit
7.13 Timing generator
7.14 LCD row and column drivers
7.15 Reset function 8 INSTRUCTIONS
8.1 Clear display
8.2 Return home
8.3 Entry mode set
8.3.1 I/D
8.3.2 S
8.4 Display control (and partial power-down mode)
8.4.1 D
8.4.2 C
8.4.3 B
8.5 Cursor or display shift
8.6 Function set
8.6.1 DL (parallel mode only)
8.6.2 M
8.6.3 H
8.7 Set CGRAM address
8.8 Set DDRAM address
8.9 Read busy flag and address counter
8.10 Write data to CGRAM or DDRAM
8.11 Read data from CGRAM or DDRAM
8.12 Extended function set instructions and features
8.12.1 New instructions
8.12.2 Icon control
8.12.3 IM
8.12.4 IB
8.12.5 Screen configuration
8.12.6 Display configuration
8.12.7 Reducing current consumption 9 INTERFACE TO MICROCONTROLLER
9.1 Parallel interface
9.2 I2C-bus interface
9.2.1 Characteristics of the I2C-bus
9.2.2 I2C-bus protocol
9.2.3 Definitions 10 LIMITING VALUES 11 HANDLING 12 DC CHARACTERISTICS 13 AC CHARACTERISTICS 14 TIMING CHARACTERISTICS 15 APPLICATION INFORMATION
15.1 8-bit operation, 1-line display using internal reset
15.2 4-bit operation, 1-line display using internal reset
15.3 8-bit operation, 2-line display
15.4 I2C-bus operation, 1-line display
16 BONDING PAD LOCATIONS 17 DEFINITIONS 18 LIFE SUPPORT APPLICATIONS 19 PURCHASE OF PHILIPS I2C COMPONENTS
Page 3
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
2 APPLICATIONS
Telecom equipment
Portable instruments
Point-of-sale terminals.
3 GENERAL DESCRIPTION
The PCF2103 family is a low power CMOS LCD controller and driver, designed to drive a dot matrix LCD display of 2 line by 12 or 1 line by 24 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 current consumption. The PCF2103 interfaces to most microcontrollers via a 4 or 8-bit bus or via the 2-wire I
2
C-bus. The chip contains a character generator and displays alphanumeric and kana (Japanese) characters. The letter ‘X’ in PCF2103X characterizes the built-in character set. Various character sets can be manufactured on request.
4 ORDERING INFORMATION
TYPE NUMBER
PACKAGE
NAME DESCRIPTION VERSION
PCF2103EU/2/F2 chip with bumps in tray
1 FEATURES
Single-chip LCD controller/driver
2-line display of up to 12 characters + 120 icons,
or 1-line display of up to 24 characters + 120 icons
5 × 7 character format plus cursor; 5 × 8 for kana (Japanese syllabary) and user defined symbols
Icon mode: reduced current consumption while displaying icons only
(1)
Icon blink function
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, 5 × 8 characters
Character generator RAM: 16, 5 × 8 characters;
3 characters used to drive 120 icons, 6 characters used if icon blink feature is used in application
4 or 8-bit parallel bus and 2-wire I
2
C-bus interface
CMOS compatible
18 row, 60 column outputs
Mux rates 1 : 18 (for normal operation) and 1 : 2
(for icon-only mode)
Uses common 11 code instruction set (extended)
Logic supply voltage range, VDD− VSS= 1.8 to 5.5 V;
chip may be driven with two battery cells
Display supply voltage range, V
LCD
VSS= 2.2 to 6.5 V
Very low current consumption (20 to 120 µA):
– Icon mode: <25 µA – Power-down mode: <2.5 µA.
(1) Icon mode is used to save current. When only icons
are displayed, a much lower operating voltage V
LCD
can be used and the switching frequency of the LCD outputs is reduced. In most applications it is possible to use VDD as V
LCD
.
Page 4
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
5 BLOCK DIAGRAM
Fig.1 Block diagram.
handbook, full pagewidth
MGL259
CURSOR AND DATA CONTROL
SHIFT REGISTER 5 × 12-BIT
DATA LATCHES
COLUMN DRIVERS
60
5
60
CHARACTER GENERATOR
RAM (128 × 5)
(CGRAM)
16 CHARACTERS
CHARACTER GENERATOR
ROM
(CGROM)
240 CHARACTERS
DISPLAY DATA RAM
(DDRAM)
80 CHARACTERS/BYTES
ADDRESS COUNTER
(AC)
INSTRUCTION
DECODER
INSTRUCTION
REGISTER
ROW DRIVERS
SHIFT REGISTER 18-BIT
BIAS
VOLTAGE
GENERATOR
BUSY FLAG
DATA
REGISTER
(DR)
I/O BUFFER
OSCILLATOR
TIMING
GENERATOR
DISPLAY ADDRESS COUNTER
POWER-ON
RESET
V
DD
V
SS
T1
V
LCD
C1 to C60 R1 to R18
OSC
PD
PCF2103
DB0 to DB3/SA0
DB4 to DB7
E
R/W
RS
SCL
SDA
18
18
60
5
7
7
8
8
77
8
8
8
Page 5
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
6 PINNING
Note
1. This is the voltage used for the generation of LCD bias levels.
SYMBOL DIE PAD DESCRIPTION
V
DD
1 supply voltage OSC 2 oscillator/external clock input PD 3 power-down pad input T1 4 test pad (connected to V
SS
)
V
SS
5 ground V
LCD
6V
LCD
input; note 1 R9 to R16 7 to 14 LCD row driver outputs 9 to 16 R18 15 LCD row driver output 18 C60 to C1 16 to 23, 26 to 50,
53 to 77, 80, 81
LCD column driver outputs 60 to 1
R8 to R1 82 to 89 LCD row driver outputs 8 to 1 R17 90 LCD row driver output 17 SCL 91 I
2
C-bus serial clock input
SDA 92 I
2
C-bus serial data input/output E 93 data bus clock input RS 94 register select input R/
W 95 read/write input DB7 96 bit of bi-directional data bus DB6 97 bit of bi-directional data bus DB5 98 bit of bi-directional data bus DB4 99 bit of bi-directional data bus DB3/SA0 100 bit of bi-directional data bus/I
2
C-bus address pin DB2 101 bit of bi-directional data bus DB1 102 bit of bi-directional data bus DB0 103 bit of bi-directional data bus
Page 6
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
Table 1 Pin functions; note 1
Note
1. When the I
2
C-bus is used, the parallel interface pin E must be defined as E = 0. In I2C-bus read mode DB7 to DB0
should be connected to VDD or left open-circuit. a) When the parallel bus is used, pins SCL and SDA must be connected to VSS or VDD; they may not be left
unconnected.
b) If the 4-bit interface is used without reading out from the PCF2103 (i.e. R/W is set permanently to logic 0), the
unused ports DB0 to DB3 can either be set to VSS or VDD instead of leaving them open.
NAME FUNCTION DESCRIPTION
RS register select RS selects the register to be accessed for read and write; there is an internal pull-up
on this pin
RS = 0 selects the instruction register for write and the busy flag and address counter for read
RS = 1 selects the data register for both read and write
R/
W read/write R/W selects either the read (R/W = 1) or write (R/W = 0) operation; there is an
internal pull-up on this pin
E data bus clock pin E is set HIGH to signal the start of a read or write operation; data is clocked in or
out of the chip on the negative edge of the clock
DB7 to DB0 data bus the bi-directional, 3-state data bus transfers data between the system controller and
the PCF2103; 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 DB7 to DB4 are used; DB3 to DB0 must be left open-circuit; there is an internal pull-up on each of the data lines
C1 to C60 column driver
outputs
these pins output the data for columns
R1 to R18 row driver
outputs
these pins output the row select waveforms to the display; R17 and R18 drive the icons
V
LCD
LCD power supply
positive power supply for the liquid crystal display
OSC oscillator when the on-chip oscillator is used this pin must be connected to V
DD
; an external
clock signal, if used, is input at this pin
SCL serial clock line input for the I
2
C-bus clock signal
SDA serial data line I/O for the I
2
C-bus data line
SA0 address pin the hardware sub-address line is used to program the device sub-address for two
different PCF2103s on the same I
2
C-bus
T1 test pad must be connected to V
SS
; not user accessible
PD power-down pad PD selects chip power-down mode; for normal operation PD = 0
Page 7
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
7 FUNCTIONAL DESCRIPTION
7.1 LCD bias voltage generator
The intermediate bias voltages for the LCD display are generated on-chip. This removes the need for an external resistive bias chain and significantly reduces the system current consumption. The optimum value of V
LCD
depends on the multiplex rate, the LCD threshold voltage (Vth) and the number of bias levels and is given by the relationships given in Tables 2 and 3. Using a 5-level bias scheme for 1 : 18 maximum rate allows V
LCD
<5 V for most LCD liquids.
Table 2 Optimum/maximum values for V
OP
(off pixels start darkening; V
off=Vth
)
Table 3 Minimum values for V
OP
(on pixels clearly visible; Von>Vth)
MUX RATE NUMBER OF LEVELS V
on/Vth
VOP/V
th
VOP(typical; for Vth= 1.4 V)
1 : 18 5 1.272 3.7 5.2 V 1 : 2 3 2.236 2.283 3.9 V
MUX RATE NUMBER OF LEVELS V
on/Vth
VOP/V
th
VOP(typical; for Vth= 1.4 V)
1 : 18 5 1.12 3.2 4.6 V 1 : 2 3 1.2 1.5 2.1 V
7.2 Oscillator
The on-chip oscillator provides the clock signal for the display system. No external components are required and pin OSC must be connected to VDD.
7.3 External clock
If an external clock is to be used, it is input at the OSC pin. The resulting display frame frequency is given by
Only in the power-down state is the clock allowed to be stopped (OSC connected to V
SS
), otherwise the LCD is
frozen in a DC state.
7.4 Power-on reset
The on-chip power-on reset block initializes the chip after power-on or power failure. This is a synchronous reset and requires 3 oscillator cycles to be executed. Afterwards, a clear display is initiated.
7.5 Power-down mode
The chip can be put into power-down mode where all static currents are switched off (no internal oscillator, no bias level generation, all LCD outputs are internally connected to V
SS
) when PD = 1.
f
frame
f
osc
3072
------------ -
=
During power-down, the whole chip is being reset and will restart with a clear display after power-down. Therefore, the whole chip has to be initialized after a power-down as after an initial power-up.
7.6 Registers
The PCF2103 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 from 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 instruction register is written to the data register prior to being read by the ‘read data’ instruction.
7.7 Busy flag
The busy flag indicates the internal status of the PCF2103. 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 = 0 and R/
W = 1. Instructions should only be written after checking that the busy flag is logic 0 or waiting for the required number of cycles.
Page 8
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
7.8 Address Counter (AC)
The address counter assigns addresses to the DDRAM and CGRAM for reading and writing and is set by the commands ‘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 (DB6 to DB0) when RS = 0 and R/W=1.
7.9 Display Data RAM (DDRAM)
The DDRAM stores up to 80 characters of display data represented by 8-bit character codes. RAM locations which are not used for storing display data can be used as general purpose RAM. The basic RAM-to-display addressing scheme is shown in Fig.2. With no display shift the characters represented by the codes in the first 24 RAM locations starting at address 00 in line 1 are displayed. Figures 3 and 4 show the display mapping for right and left shift respectively.
When data is written to or read from the DDRAM wrap-around occurs from the end of one line to the start of the next line. When the display is shifted each line wraps around within itself, independently of the others. Thus all lines are shifted and wrapped around together. The address ranges and wrap-around operations for the various modes are shown in Table 4.
7.10 Character Generator ROM (CGROM)
The Character Generator ROM (CGROM) generates 240 character patterns in 5 × 8 dot format from 8-bit character codes. Figure 6 shows the character set that is currently implemented.
7.11 Character Generator RAM (CGRAM)
Up to 16 user defined characters may be stored in the CGRAM. Some CGRAM characters (see Fig.14) are also used to drive icons (6 if icons blink and both icon rows are used in application; 3 if no blink but both icon rows are used in application; 0 if no icons are driven by the icon rows). The CGROM and CGRAM use a common address space, of which the first column is reserved for the CGRAM (see Fig.6). Figure 7 shows the addressing principle for the CGRAM.
7.12 Cursor control circuit
The cursor control circuit generates the cursor (underline and/or cursor blink as shown in Fig.5) at the DDRAM address contained in the address counter. When the address counter contains the CGRAM address the cursor will be inhibited.
7.13 Timing 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.
7.14 LCD row and column drivers
The PCF2103 contains 18 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. R17 and R18 drive the icon rows.
The bias voltages and the timing are selected automatically when the number of lines in the display is selected. Figures 8, 9 and 10 show typical waveforms. Unused outputs should be left unconnected.
Table 4 Address space and wrap-around operation
Notes
1. Moves to next line.
2. Stays within line.
MODE ADDRESS SPACE
READ/WRITE
WRAP-AROUND
(1)
DISPLAY SHIFT
WRAP-AROUND
(2)
1 × 24 00H to 4FH 4FH to 00H 4FH to 00H 2 × 12 00H to 27H; 40H to 67H 27H to 40H; 67H to 00H 27H to 00H; 67H to 40H
Page 9
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
Fig.2 DDRAM-to-display mapping: no shift.
handbook, full pagewidth
00 01 02 03 04 15 16 17 18 19 4C 4D 4E 4F
non-displayed DDRAM addresses
64 65 66 6740 41 42 43 44 49 4A 4B 4C 4D
00 01 02 03 04 09 0A 0B 0C 0D 24 25 26 27
non-displayed DDRAM address
line 1
line 2
MGE991
DDRAM address
2-line display
12345 222324
12345 101112
12345 101112
display position
DDRAM address
1-line display
Fig.3 DDRAM-to-display mapping: right shift.
handbook, halfpage
MGE992
27 00 01 02 03
67 40 41 42 43
08 09 0A
48 49 4A
DDRAM address
line 1
line 2
2-line display
1 2 3 4 5 22 23 24
1 2 3 4 5 10 11 12
1 2 3 4 5 10 11 12
4F 00 01 02 03 14 15 16
display position
DDRAM address
1-line display
Page 10
1998 May 11 10
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
Fig.4 DDRAM-to-display mapping: left shift.
handbook, halfpage
01 04 05
41 42 43 44 45
0A 0B 0C
4A 4B 4C
DDRAM address
line 1
line 2
2-line display
1 2 3 4 5 22 23 24
1 2 3 4 5 10 11 12
1 2 3 4 5 10 11 12
01 04 05
02 03
02 03 16 17 18
display position
DDRAM address
1-line display
MGE993
Fig.5 Cursor and blink display examples.
MGA801
cursor
5 x 7 dot character font alternating display
cursor display example blink display example
Page 11
1998 May 11 11
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
Fig.6 Character set ‘E’ in CGROM.
handbook, full pagewidth
MGD689
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
1
Page 12
1998 May 11 12
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
Fig.7 Relationship between CGRAM addresses and data and display patterns.
Character code bits 0to 3 correspond to CGRAM address bits 3 to 6. CGRAM address bits 0 to 2 designate the 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 position will appear in the cursor position. Character pattern column positions correspond to CGRAM data bits 0 to 4, as shown in Fig.6. As shown in Figs 6 and 7, 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’ command. Bit 6 can be set using the ‘set DDRAM address’ command in
the valid address range or by using the auto-increment feature during CGRAM write. All bits 0 to6 can be read using the ‘read busy flag and address counter’ command; see Table 7.
handbook, full pagewidth
MGE995
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
010 0000
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)
43210
0
000
111 000
0 0010 00 01 000
1
1
1
00
1
1 1
1111
1 1 1
000
1 101
000 111
0 1111 01 00 010
0
1
0
00
0
1 1
0100
1 0 0
000
character code (CGRAM data)
character
pattern
example 1
cursor
position
character
pattern
example 2
Page 13
1998 May 11 13
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
Fig.8 Typical LCD waveforms; character mode.
handbook, full pagewidth
MGE996
state 1 (ON) state 2 (OFF)
frame n + 1 frame n
123 18123 18
ROW 1
V
LCD
V
2
V3/V
4
V
5
V
SS
ROW 9
V
LCD
V
2
V3/V
4
V
5
V
SS
ROW 2
V
LCD
V
2
V3/V
4
V
5
V
SS
COL1
V
LCD
V
2
V3/V
4
V
5
V
SS
COL2
V
LCD
V
2
V3/V
4
V
5
V
SS
0 V
state 1
V
OP
0.5V
OP
0.25V
OP
0.25V
OP
0.5V
OP
V
OP
0 V
state 2
V
OP
0.5V
OP
0.25V
OP
0.25V
OP
0.5V
OP
V
OP
R1 R2 R3 R4 R5 R6 R7 R8
R9
Page 14
1998 May 11 14
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
Fig.9 Mux 1 : 2 LCD waveforms; icon mode.
handbook, full pagewidth
MGE997
frame n + 1 frame n
V
LCD
2/3 1/3
V
SS
V
LCD
2/3 1/3
V
SS
V
LCD
2/3 1/3
V
SS
V
LCD
2/3 1/3
V
SS
V
LCD
2/3 1/3
V
SS
V
LCD
2/3 1/3
V
SS
V
LCD
2/3 1/3
V
SS
COL 4
OFF/OFF
COL 3
ON/ON
COL 2
OFF
/ON
COL 1
ON/OFF
ROW 1 to 16
ROW 18
ROW 17
only icons are driven (MUX 1 : 2)
Page 15
1998 May 11 15
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
Fig.10 Mux1:2 LCD waveforms; icon mode.
V
ON(rms)
= 0.745 VOP.
V
OFF(rms)
= 0.333 VOP.
D
V
ON
V
OFF
-------------
2.23==
handbook, full pagewidth
MGE998
frame n + 1 frame n
V
OP
2/3 V
OP
1/3 V
OP
0
1/3 V
OP
2/3 V
OP
V
OP
V
OP
2/3 V
OP
1/3 V
OP
0
1/3 V
OP
2/3 V
OP
V
OP
V
OP
2/3 V
OP
1/3 V
OP
0
1/3 V
OP
2/3 V
OP
V
OP
state 3
COL 1 -
ROW 1 to 16
state 2
COL 2 -
ROW 17
state 1
COL 1 -
ROW 17
state 3 (OFF)
R17 R18 R1-16
V
PIXEL
state 1 (ON) state 2 (OFF)
Page 16
1998 May 11 16
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
7.15 Reset function
The PCF2103 automatically initializes (resets) when power is turned on. The reset executes a ‘clear display’ instruction, requiring 165 oscillator cycles. After the reset the chip has the state shown in Table 5.
Table 5 State after reset
STEP INSTRUCTION RESET STATE (BIT/REGISTER) RESET STATE (DESCRIPTION)
1 clear display 2 entry mode set I/D = 1 +1 (increment)
S = 0 no shift
3 display control D = 0 display off
C = 0 cursor off B = 0 cursor character blink off
4 function set DL = 1 8-bit interface
M = 0 1-line display H = 0 normal instruction set
5 default address pointer to DDRAM; the Busy Flag (BF) indicates the busy state (BF = 1) until initialization
ends; the busy state lasts 2 ms; the chip may also be initialized by software; see Tables 16 and 17 6 icon control IM, IB = 00 icons/icon blink disabled 7 display/screen configuration L, P, Q = 000 default configurations 8I
2
C-bus interface reset
Page 17
1998 May 11 17
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
8 INSTRUCTIONS
Only two PCF2103 registers, the Instruction Register (IR) and the Data Register (DR) can be directly controlled by the microcontroller. Before internal operation, control information is stored temporarily in these registers to allow interface to various types of microcontrollers which operate at different speeds or to allow interface to peripheral control ICs. The format for instructions when I2C-bus control is used is shown in Table 6. The PCF2103 operation is controlled by the instructions given in Table 7 together with their execution time. Details are explained in subsequent sections.
Instructions are of 4 types, those that:
1. Designate PCF2103 functions such as display format, data length, etc.
2. Set internal RAM addresses
3. Perform data transfer with internal RAM
4. Others.
In normal use, instructions that perform data transfer with internal RAM are used most frequently. However, automatic 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 maximum programming efficiency.
During internal operation, no instruction other than the ‘read busy flag and address counter’ instruction will be executed. Because the busy flag is set to logic 1 while an instruction is being executed, the user should verify that the busy flag is at logic 0 before sending the next instruction or wait for the maximum instruction execution time, as given in Table 7. An instruction sent while the busy flag is logic 1 will not be executed.
Table 6 Instruction set for I
2
C-bus commands
Note
1. R/
W is set together with the slave address.
CONTROL BYTE COMMAND BYTE I
2
C-BUS COMMANDS
CoRS000000DB7DB6DB5DB4DB3DB2DB1DB0note 1
Page 18
1998 May 11 18
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
Table 7 Instruction set with parallel bus commands; note 1
INSTRUCTION RS R/
W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 DESCRIPTION
REQUIRED
CLOCK
CYCLES
H=0or1
NOP 0000000000no operation 3 Function set 00001DL0M0Hsets interface Data Length (DL) and number of
display lines (M); extended instruction set control (H)
3
Read busy flag and address counter
0 1 BF AC reads the Busy Flag (BF) indicating internal
operating is being performed and reads address counter contents
0
Read data 1 1 read data reads data from CGRAM or DDRAM 3 Write data 1 0 write data writes data from CGRAM or DDRAM 3
H=0
Clear display 0000000001clears entire display and sets DDRAM address 0
in address counter
165
Return home 0000000010sets DDRAM address 0 in address counter; also
returns shifted display to original position; DDRAM contents remain unchanged
3
Entry mode set 00000001I/DSsets cursor move direction and specifies shift of
display; these operations are performed during data write and read
3
Display control 0000001DCBsets entire display on/off (D), cursor on/off (C) and
blink of cursor position character (B); D = 0 (display off) puts chip into power-down mode
3
Cursor/display shift
000001S/CR/L00moves cursor and shifts display without changing
DDRAM contents
3
Set CGRAM address
0001 A
CG
sets CGRAM address; bit 6 is to be set by the command ‘set DDRAM address’; look at the description of the commands
3
Set DDRAM address
001 A
DD
sets DDRAM address 3
Page 19
1998 May 11 19
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
Note
1. X = don’t care.
H=1
Reserved 0000000001do not use Screen
configuration
000000001Lset screen configuration 3
Display configuration
00000001PQset display configuration 3
Icon control 0000001IMIB0set icon mode (IM), icon blink (IB) 3 Reserved 000001XXXXdo not use Reserved 0001XXXXXXdo not use Reserved 0 0 1 XXXXXXXdo not use
INSTRUCTION RS R/
W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 DESCRIPTION
REQUIRED
CLOCK
CYCLES
Page 20
1998 May 11 20
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
Table 8 Specification of mnemonics used in Table 7
BIT LOGIC 0 LOGIC 1
I/D decrement increment S display freeze display shift D display off display on C cursor off cursor on B cursor character blink off: character at cursor
position does not blink
cursor character blink on: character at cursor
position blinks S/C cursor move display shift R/L left shift right shift DL 4 bits 8 bits H use basic instruction set use extended instruction set L (ignored,
if M = 1)
left/right screen: standard connection (as in PCF2114); 1st 12 characters of 24: columns are from 1 to 60; 2nd 12 characters of 24: columns are from 1 to 60
left/right screen: mirrored connection
(as in PCF2116);
1st 12 characters of 24: columns are from 1 to 60;
2nd 12 characters of 24: columns are from 60 to 1 P column data: left to right (as in PCF2116);
column data is displayed from 1 to 60
column data: right to left;
column data is displayed from 60 to 1 Q row data: top to bottom (as in PCF2116);
row data is displayed from 1 to 16 and icon row data is in 17 and 18
row data: bottom to top;
row data is displayed from 16 to 1 and icon
row data is in 18 and 17 IM character mode; full display icon mode; only icons displayed IB icon blink disabled icon blink enabled M 1-line by 24 display 2-line by 12 display C
0
last control byte; see Table 6 another control byte follows after data/command
Page 21
1998 May 11 21
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
Fig.11 4-bit transfer example.
MGA804
RS
E
DB7
R/W
DB6
DB5
DB4
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
Fig.12 An example of 4-bit data transfer timing sequence.
IR7 and IR3: instruction 7th and 3rd bit. AC3: address counter 3rd bit. D7 and D3: data 7th and 3rd bit.
MGA805
RS
E
internal
DB7
R/W
internal operation
IR7 IR3 AC3 D7 D3
not
busy
AC3
busy
instruction
write
busy flag
check
busy flag
check
instruction
write
Page 22
1998 May 11 22
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
Fig.13 Example of busy flag checking timing sequence.
MGA806
instruction
write
busy flag
check
busy flag
check
busy flag
check
instruction
write
internal operation
RS
E
internal
DB7
R/W
data busy busy
not
busy
data
8.1 Clear display
‘Clear display’ writes character code 20H into all DDRAM addresses (the character pattern for character code 20H must be a blank pattern), sets the DDRAM address counter to logic 0 and returns display to its original position if it was shifted. Thus, the display disappears and the cursor or blink position goes to the left edge of the display. Sets entry mode I/D = 1 (increment mode). S of entry mode does not change.
The instruction ‘clear display’ requires extra execution time. This may be allowed by checking the Busy Flag (BF) or by waiting until the 165 clock cycles have elapsed. The latter must be applied where no read-back options are foreseen, as in some Chip-On-Glass (COG) applications.
8.2 Return home
‘Return home’ sets the DDRAM address counter to logic 0 and returns display to its original position if it was shifted. DDRAM contents do not change. The cursor or blink position goes to the left of the first display line. I/D and S of entry mode do not change.
8.3 Entry mode set
8.3.1 I/D When I/D = 1 (0) the DDRAM or CGRAM address
increments (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 underline and cursor character blink are inhibited when the CGRAM is accessed.
8.3.2 S When S = 1, the entire display shifts either to the right
(I/D = 0) or to the left (I/D = 1) during a DDRAM write. Thus 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 out of the CGRAM. When S = 0 the display does not shift.
Page 23
1998 May 11 23
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
8.4 Display control (and partial power-down mode)
8.4.1 D The display is on when D = 1 and off when D = 0. Display
data in the DDRAM are not affected and can be displayed immediately by setting D to logic 1.
When the display is off (D = 0) the chip is in partial power-down mode:
The LCD outputs are connected to V
SS
Bias generator is turned off. 3 oscillator cycles are required after sending the
‘display off’ instruction to ensure all outputs are at VSS, afterwards OSC can be stopped. If the oscillator is running during partial power-down mode (‘display off’) the chip can still execute instructions. Even lower current consumption is obtained by inhibiting the oscillator (OSC = VSS).
To ensure IDD<2µA the parallel bus pins DB7 to DB0 should be connected to VDD; RS and R/W to VDD or left open-circuit and PD to VDD. Recovery from power-down mode: put PD back to logic 0, if necessary put OSC back to VDD and send a ‘display control’ instruction with D = 1 to enable the display again.
8.4.2 C The cursor is displayed when C = 1 and inhibited when
C = 0. Even if the cursor disappears, the display functions I/D, etc. remain in operation during display data write. The cursor is displayed using 5 dots in the 8th line (see Fig.5).
8.4.3 B The character indicated by the cursor blinks when B = 1.
The cursor character blink is displayed by switching between display characters and all dots on with a period of
approximately 1 s, with The cursor underline and the cursor character blink can be
set to display simultaneously.
8.5 Cursor or 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-line displays, the cursor moves to the next line when it passes the last position (40) 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.
f
BLINK
f
osc
52224
----------------
=
The Address Counter (AC) content does not change if the only action performed is shift display, but increments or decrements with the ‘cursor shift’.
8.6 Function set
8.6.1 DL (
PARALLEL MODE ONLY)
Sets interface data width. Data is sent or received in bytes (DB7 to DB0) when DL = 1 or in two nibbles (DB7 to DB4) when DL = 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 should be left open-circuit (internal pull-ups). Hence in the first ‘function set’ instruction after power-on N and H are set to logic 1. A second ‘function set’ must then be sent (2 nibbles) to set N and H to their required values.
‘Function set’ from the I2C-bus interface sets the DL bit to logic 1.
8.6.2 M Chooses either 1-line by 24 display (M = 0) or 2-line by
12 display (M = 1).
8.6.3 H When H = 0 the chip can be programmed via the standard
11 instruction codes used in the PCF2116 and other LCD controllers.
When H = 1 the extended range of instructions will be used. These are mainly for controlling the display configuration and the icons.
8.7 Set CGRAM address
‘Set CGRAM address’ sets bits 5 to 0 of the CGRAM address A
CG
into the address counter (binary A[5] to A[0]).
Data can then be written to or read from the CGRAM. Attention: the CGRAM address uses the same address
register as the DDRAM address and consists of 7 bits (binary A[6] to A[0]). With the ‘set CGRAM address’ command, only bits 5 down to 0 are set. Bit 6 can be set using the ‘set DDRAM address’ command first, or by using the auto-increment feature during CGRAM write. All bits 6 to 0 can be read using the ‘read busy flag and address counter’ command.
When writing to the lower part of the CGRAM, ensure that bit 6 of the address is not set (e.g. by an earlier DDRAM write or read action).
Page 24
1998 May 11 24
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
8.8 Set DDRAM address
‘Set DDRAM address’ sets the DDRAM address ADD into the address counter (binary A[6] to A[0]). Data can then be written to or read from the DDRAM.
8.9 Read busy flag and address counter
‘Read busy flag and address counter’ reads the Busy Flag (BF) and Address Counter (AC). BF = 1 indicates that an internal operation is in progress. The next instruction will not be executed until BF = 0, so BF should be checked before sending another instruction.
At the same time, the value of the address counter 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.
8.10 Write data to CGRAM or DDRAM
‘Write data’ 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 ‘set CGRAM address’ or ‘set DDRAM address’ command. 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’.
8.11 Read data from CGRAM or DDRAM
‘Read data’ reads binary 8-bit data D[7] to D[0] from the CGRAM or DDRAM.
The most recent ‘set address’ command determines whether the CGRAM or DDRAM is to be read.
The ‘read data’ instruction gates the content of the Data Register (DR) to the bus while pin E is HIGH. After pin E goes LOW again, internal operation increments (or decrements) the AC and stores RAM data corresponding to the new AC into the DR.
It should be noted that there are only three instructions that update the Data Register (DR). These 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 data register content.
8.12 Extended function set instructions and features
8.12.1 N
EW INSTRUCTIONS
H = 1 sets the chip into alternate instruction set mode.
8.12.2 I
CON CONTROL
The PCF2103 can drive up to 120 icons. See Fig.14 for CGRAM to icon mapping.
8.12.3 IM
When IM = 0 the chip is in character mode. In character mode characters and icons are driven (mux 1 : 18).
When IM = 1 the chip is in icon mode. In icon mode only the icons are driven (mux 1 : 2).
8.12.4 IB
Icon blink control is independent of the cursor/character blink function.
When IB = 0 icon blink is disabled. Icon data is stored in CGRAM character 0 to 2 (3 × 8 × 5 = 120 bits for 120 icons).
When IB = 1 icon blink is enabled. In this case each icon is controlled by two bits. Blink consists of two half phases (corresponding to the cursor on and off phases called even and odd phases hereafter).
Icon states for the even phase are stored in CGRAM characters 0 to 2 (3 × 8 × 5 = 120 bits for 120 icons). These bits also define the icon state when the icon blink is not used.
Icon states for the odd phase are stored in CGRAM character 4 to 6 (another 120 bits for the 120 icons). When icon blink is disabled CGRAM characters 4 to 6 may be used as normal CGRAM characters.
Page 25
1998 May 11 25
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
Table 9 Blink effect for icons and cursor character blink
PARAMETER EVEN PHASE ODD PHASE
Cursor underline on off Cursor character blink block (all on) normal (display character) Icons state 1: CGRAM characters 0 to 2 state 2: CGRAM characters 4 to 6
Fig.14 CGRAM-to-icon mapping.
CGRAM data bit = logic 1 turns the icon on, data bit = logic 0 turns the icon off. Data in character codes 0 to 2 define the icon states when icon blink is disabled or during the even phase when icon blink is enabled. Data in character codes 4 to 6 define the icon state during the odd phase when icon blink is enabled (not used for icons when icon blink is disabled).
handbook, full pagewidth
MGG001
116-120 odd (blink) 18/56-60 0 0 0 0 0 1 1 0
icon view
0 1 1 0 0 1 1 0 0 1 1 0
1-5 odd (blink) 17/1-5 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0
116-120 even 18/56-60 0 0 0 0 0 0 1 0 0 0 1 0 1 1 1 1 1 1 0 1
61-65 even 18/1-5 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 1 1 0 0 0
56-60 even 17/56-60 0 0 0 0 0 0 0 1 0 0 0 1 0 1 1 1 1 1 1 1
11-15 even 17/11-15 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 1 1 0
6-10 even 17/6-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0
1-5 even 17/1-5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1
7 6 5 4 3 2 1 0
MSB LSB LSB
MSB MSBLSB
6 5 4 3 2 1 0 4 3 2 1 0
icon no. phase ROW/COL character codes CGRAM address CGRAM data
handbook, full pagewidth
COL 1 to 5
12345
61 62 63 64 65
display:
ROW 17 –
ROW 18 –
block of 5 columns
COL 6 to 10
678910
66 67 68 69 70
COL 56 to 60
56 57 58 59 60
116 117 118 119 120
MGE999
Page 26
1998 May 11 26
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
8.12.5 SCREEN CONFIGURATION The default value for L is logic 0. In the event of L = 0 the
two halves of a split screen are connected in a standard way i.e. column 1/61, 2/62 to 60/120. In the event of L = 1 the two halves of a split screen are connected in a mirrored way i.e. column 1/120, 2/119 to 60/61. This allows single layer PCB or glass layout.
8.12.6 D
ISPLAY CONFIGURATION
The default value for P and Q is logic 0. P = 1 mirrors the column data whereas Q = 1 mirrors the row data.
8.12.7 R
EDUCING CURRENT CONSUMPTION
Reducing current consumption can be achieved by one of the options mentioned in Table 10.
Table 10 Reducing current consumption
ORIGINAL MODE ALTERNATIVE MODE
Character mode icon mode (control bit IM) Display on display off (control bit D)
9 INTERFACE TO MICROCONTROLLER
9.1 Parallel interface
The PCF2103 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 DB7 to DB0. Three further control lines E, RS and R/
W are required; see Table 1.
In 4-bit mode data is transferred in two cycles of 4 bits each using pins DB7 to DB4 for transaction. The higher order bits (corresponding to DB7 to DB4 in 8-bit mode) are sent in the first cycle and the lower order bits (DB3 to DB0 in 8-bit mode) in the second. Data transfer is complete after two 4-bit data transfers. Note that two cycles are also required for the busy flag check. 4-bit operation is selected by instruction. See Figs 11 to 14 for examples of bus protocol.
In 4-bit mode pins DB3 to DB0 must be left open-circuit. They are pulled up to VDD internally.
Page 27
1998 May 11 27
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
9.2 I2C-bus interface
9.2.1 C
HARACTERISTICS OF THE I
2
C-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.
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.
9.2.2 I
2
C-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 PCF2103 read and write cycles is shown in Figs 20 to 21. The slow down feature of the I2C-bus protocol (receiver holds SCL low during internal operations) is not used in the PCF2103.
9.2.3 D
EFINITIONS
Transmitter: the device which sends the data to the bus
Receiver: the device which receives the data from the
bus
Master: the device which initiates a transfer, generates
clock signals and terminates a transfer
Slave: the device addressed by a master
Multi-master: more than one master can attempt to
control the bus at the same time without corrupting the message
Arbitration: procedure to ensure that, if more than one
master simultaneously tries to control the bus, only one is allowed to do so and the message is not corrupted
Synchronization: procedure to synchronize the clock
signals of two or more devices.
Page 28
1998 May 11 28
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
Fig.15 System configuration.
MGA807
SDA
SCL
MASTER
TRANSMITTER/
RECEIVER
MASTER
TRANSMITTER
SLAVE
TRANSMITTER/
RECEIVER
SLAVE
RECEIVER
MASTER
TRANSMITTER/
RECEIVER
Fig.16 Bit transfer.
handbook, full pagewidth
MBC621
data line
stable;
data valid
change
of data
allowed
SDA
SCL
Fig.17 Definition of START and STOP conditions.
handbook, full pagewidth
MBC622
SDA
SCL
P
STOP condition
SDA
SCL
S
START condition
Fig.18 Acknowledgement on the I2C-bus.
handbook, full pagewidth
MBC602
S
START
condition
9821
clock pulse for
acknowledgement
not acknowledge
acknowledge
DATA OUTPUT
BY TRANSMITTER
DATA OUTPUT
BY RECEIVER
SCL FROM
MASTER
Page 29
1998 May 11 29
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
handbook, full pagewidth
MGL250
S A 0
S P
011101
0A
slave address
CONTROL BYTE
A
1
Co
DATA BYTE
A
CONTROL BYTE
A
R/W
0
Co
update
data pointer
1 byte n 0 bytes2n 0 bytes
DATA BYTE
A
acknowledgement
from PCF2103
RS RS
S A
0
011101
0
PCF2103
slave address
R/W
Fig.19 Master transmits to slave receiver; write mode.
Page 30
1998 May 11 30
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
Fig.20 Master reads after setting word address; write word address, set RS; ‘read data’.
(1) Last data byte is a dummy byte (may be omitted).
agewidth
MGG003
S A 0
S
011101
0
A
slave address
CONTROL BYTE
A
1
Co
DATA BYTE
A
CONTROL BYTE
A
R/W
0
Co
Co update
data pointer
update
data pointer
1 byte n 0 bytes
n bytes last byte
2n 0 bytes
DATA BYTE
(1)
A
acknowledgement
S A 0
S
1A DATA BYTE A 1
P
SLAVE
ADDRESS
DATA BYTE
acknowledgement acknowledgement no acknowledgement
R/W
RS RS
Page 31
1998 May 11 31
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
Fig.21 Master reads slave immediately after first byte; read mode (RS previously defined).
book, full pagewidth
MGL251
Co update
data pointer
update
data pointer
n bytes last byte
S A 0
S
1A DATA BYTE A 1
P
SLAVE
ADDRESS
DATA BYTE
acknowledgement
from PCF2103
acknowledgement
from master
no acknowledgement
from master
R/W
Fig.22 I2C-bus timing diagram.
book, full pagewidth
SDA
MGA728
SDA
SCL
t
SU;STA
t
SU;STO
t
HD;STA
t
BUF
t
LOW
t
HD;DAT
t
HIGH
t
r
t
f
t
SU;DAT
Page 32
1998 May 11 32
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
10 LIMITING VALUES
In accordance with the Absolute Maximum Rating System (IEC 134).
11 HANDLING
Inputs and outputs are protected against electrostatic discharge in normal handling. However, to be totally safe, it is desirable to take normal precautions appropriate to handling MOS devices (see
“Handling MOS Devices”
).
SYMBOL PARAMETER MIN. MAX. UNIT
V
DD
supply voltage 0.5 +6.5 V
V
LCD
LCD supply voltage 0.5 +7.5 V
V
I(1)
input voltage on pins OSC, RS, R/W, E and DB7 to DB0 0.5 VDD+ 0.5 V
V
I(2)
input voltage on pins SCL and SDA 0.5 +6.5 V
V
O
output voltage on pins R1 to R18, C1 to C60 and V
LCD
0.5 V
LCD
+ 0.5 V
I
I
DC input current 10 +10 mA
I
O
DC output current 10 +10 mA
I
DD,ISS
and I
LCD
VDD, VSS or V
LCD
current 50 +50 mA
P
tot
total power dissipation 400 mW P/out power dissipation per output 100 mW T
stg
storage temperature 65 +150 °C
Page 33
1998 May 11 33
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
12 DC CHARACTERISTICS
V
DD
= 1.8 to 5.5 V; VSS=0V; V
LCD
= 2.2 to 6.5 V; T
amb
= 40 to +85 °C; unless otherwise specified.
SYMBOL PARAMETER CONDITIONS MIN. TYP. MAX. UNIT Supplies
V
DD
supply voltage 1.8 5.5 V
V
LCD
LCD supply voltage 2.2 6.5 V
I
SS
supply current note 1 60 120 µA
V
DD
=3V; V
LCD
=5V;
notes 1 and 2
45 80 µA
icon mode; V
DD
=3V;
V
LCD
= 2.5 V;
notes 1 and 2
25 45 µA
power-down mode; V
DD
=3V; V
LCD
= 2.5 V; DB7 to DB0, RS and R/W=1; OSC = 0; PD = 1; note 1
26µA
V
POR
power-on reset voltage note 3 1.3 1.6 V
Logic
V
IL
LOW-level input voltage on pins T1, E, RS, R/W, DB7 to DB0 and SA0
0 0.3V
DD
V
V
IH
HIGH-level input voltage on pins T1, E, RS, R/W, DB7 to DB0 and SA0
0.7V
DD
V
DD
V
V
IL(PD)
LOW-level input voltage on pin PD
0 0.2V
DD
V
V
IH(PD)
HIGH-level input voltage on pin PD
0.8V
DD
V
DD
V
V
IL(OSC)
LOW-level input voltage on pin OSC
0 VDD− 1.5 V
V
IH(OSC)
HIGH-input voltage on pin OSC VDD− 0.1 − V
DD
V
I
OL(DB)
LOW-level output current on pins DB7 to DB0
VOL= 0.4 V; VDD= 5 V 1.6 4 mA
I
OH(DB)
HIGH-level output current on pins DB7 to DB0
VOH=4V; VDD=5V −1 −8 mA
I
pu
pull-up current on pins DB7 to DB0
VI=V
SS
0.04 0.12 1 µA
I
L
leakage current on pins OSC, E, RS, R/W, DB7 to DB0 and SA0
VI=VDDor V
SS
1 +1 µA
Page 34
1998 May 11 34
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
Notes
1. LCD outputs are open-circuit; inputs at VDDor VSS; bus inactive.
2. T
amb
=25°C; f
osc
= 200 kHz.
3. Resets all logic when VDD<V
POR
; 3 oscillator clock cycles required.
4. Tested on sample basis.
5. Resistance of output terminals (R1 to R18 and C1 to C60) with a load current of 20 µA; outputs measured one at a time.
6. LCD outputs open-circuit.
I
2
C-bus
SDA AND SCL V
IL
LOW-level input voltage 0 0.3V
DD
V
V
IH
HIGH-level input voltage 0.7V
DD
5.5 V
I
L
input leakage current VI=VDDor V
SS
1 +1 µA
C
i
input capacitance note 4 −−10 pF
I
OL
LOW-level output current pin SDA
VOL= 0.4 V; VDD=5V 3 −−mA
LCD outputs
R
o(ROW)
row output resistance on pins R1 to R18
note 5 10 30 k
R
o(COL)
column output resistance on pins C1 to C60
note 5 15 40 k
V
bias(tol)
bias tolerance on pins R1 to R18 and C1 to C60
note 6 20 130 mV
SYMBOL PARAMETER CONDITIONS MIN. TYP. MAX. UNIT
Page 35
1998 May 11 35
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
13 AC CHARACTERISTICS
V
DD
= 1.8 to 5.5 V; VSS=0V; V
LCD
= 2.2 6.5 V; T
amb
= 40 to +85 °C; unless otherwise specified.
Note
1. All timing values are valid within the operating supply voltage and ambient temperature range and are referenced to V
IL
and VIH with an input voltage swing of VSSto VDD.
SYMBOL PARAMETER CONDITIONS MIN. TYP. MAX. UNIT
f
fr(LCD)
LCD frame frequency (internal clock) VDD= 5.0 V 45 81 147 Hz
f
osc
oscillator frequency (not available at any pin) 140 250 450 kHz
f
osc(ext)
external clock frequency 140 450 kHz
t
OSCST
oscillator start-up time after PD going from logic 1 to logic 0
200 300 µs
Bus timing characteristics: parallel interface; note 1 W
RITE OPERATION (WRITING DATA FROM MICROCONTROLLER TO PCF2103); see Fig.23
T
en(cy)
enable cycle time 500 −−ns
t
W(en)
enable pulse width 220 −−ns
t
su(A)
address set-up time 50 −−ns
t
h(A)
address hold time 25 −−ns
t
su(D)
data set-up time 60 −−ns
t
h(D)
data hold time 25 −−ns READ OPERATION (READING DATA FROM PCF2103 TO MICROCONTROLLER); see Fig.24 T
en(cy)
enable cycle time 500 −−ns t
W(en)
enable pulse width 220 −−ns t
su(A)
address set-up time 50 −−ns t
h(A)
address hold time 25 −−ns t
d(D)
data delay time −−150 ns t
h(D)
data hold time 20 100 ns
Timing characteristics: I
2
C-bus interface; note 1
f
SCL
SCL clock frequency −−400 kHz t
LOW
SCL clock LOW period 1.3 −−µs t
HIGH
SCL clock HIGH period 0.6 −−µs t
SU;DAT
data set-up time 100 −−ns t
HD;DAT
data hold time 0 −−ns t
r
SCL and SDA rise time −−300 ns t
f
SCL and SDA fall time −−300 ns C
B
capacitive bus line load −−400 pF t
SU;STA
set-up time for a repeated START condition 0.6 −−µs t
HD;STA
START condition hold time 0.6 −−µs t
SU;STO
set-up time for STOP condition 0.6 −−µs t
SW
tolerable spike width on bus −−50 ns
Page 36
1998 May 11 36
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
14 TIMING CHARACTERISTICS
Fig.23 Parallel bus write operation sequence; writing data from microcontroller to PCF2103.
handbook, full pagewidth
RS
E
DB0 to DB7
V V
V
V V
V
V
V V
V
V
V
V
T
IH
IL
IH IL
IH
IL
IL
IL
IH
IL
IH IL
V
IL
V
IH
IL
en(cy)
h(D)
t
DATA
VALID
MGL252
R/W
t
su(A)
t
su(D)
t
h(A)
t
h(A)
t
W(en)
Fig.24 Parallel bus read operation sequence; reading data from PCF2103 to microcontroller.
handbook, full pagewidth
RS
R/W
E
DB0 to DB7
V
V
V V
V
V
V
V
V
V
IH IL
IH IL
IH
IL
IH
IL
V
OL
V
OH
IL
T
en(cy)
h(D)
t
t
su(A)
t
h(A)
t
h(A)
t
W(en)
IH
V
OL
V
OH
t
d(D)
V
IH
MGL253
DATA
VALID
Page 37
1998 May 11 37
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
15 APPLICATION INFORMATION
Fig.25 Direct connection to 8-bit microcontroller; 8-bit bus.
handbook, full pagewidth
PCF2103
MGL254
P80CL51
2 × 12 CHARACTER
LCD DISPLAY
PLUS 120 ICONS
16
8
C1 to C60
60
2
RSP20
P21
EP22
DB7 to DB0P17 to P10
R17, R18
R1 to R16
R/W
Fig.26 Direct connection to 8-bit microcontroller; 4-bit bus.
handbook, full pagewidth
PCF2103
MGL255
P80CL51
2 × 12 CHARACTER
LCD DISPLAY
PLUS 120 ICONS
16
4
C1 to C60
60
2
RSP10
P11
EP12
DB7 to DB4P17 to P14
R17, R18
R1 to R16
R/W
Fig.27 Application example using parallel interface.
handbook, full pagewidth
MGL256
PCF2103
2 × 12 CHARACTER
LCD DISPLAY
PLUS 120 ICONS
16
8
C1 to C60
60
2
OSC
RSDB7 to DB0 E
100
nF
100
nF
R17, R18
R1 to R16
V
DD
V
SS
V
DD
V
LCD
V
SS
R/W
V
LCD
Page 38
1998 May 11 38
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
Fig.28 Application using I2C-bus interface.
handbook, full pagewidth
V
DD
V
DD
SCL SDA
MASTER TRANSMITTER
PCF84C81A; P80CL410
PCF2103
2 × 12 CHARACTER
LCD DISPLAY
PLUS 120 ICONS
16
C1 to C60
60
2
OSC
SCL SDA
DB3/SAO
100
nF
100
nF
R17, R18
R1 to R16
V
DD
V
DD
V
LCD
V
SS
V
DD
V
LCD
V
SS
PCF2103
1 × 24 CHARACTER
LCD DISPLAY
PLUS 120 ICONS
16
C1 to C60
60
2
OSC
SCL SDA
DB3/SAO
100
nF
100
nF
R17, R18
R1 to R16
V
SS
V
DD
V
SS
V
DD
V
LCD
V
SS
MGL257
V
LCD
Page 39
1998 May 11 39
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
15.1 4-bit operation, 1-line display using internal reset
The program must set functions prior to 4-bit operation; Table 11 shows an example. When power is turned on, 8-bit operation is automatically selected and the PCF2103 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 11 step 3). Thus, DB4 to DB7 of the ‘function set’ are written twice.
15.2 8-bit operation, 1-line display using internal reset
Table 12 shows an example of a 1-line display in 8-bit operation. The PCF2103 functions must be set by the ‘function set’ instruction prior to display. Since the DDRAM can store data for 80 characters, the RAM can be used for advertising displays when combined with display shift operation.
Since the display shift operation changes display position only and 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 has been written. Thus, if there are only 8 characters in the first line, the DDRAM address must be set after the eighth character is completed (see Table 6). It should be noted that both lines of the display are always shifted together; data does not shift from one line to the other.
15.4 I
2
C-bus operation, 1-line display
A control byte is required with most commands (see Table 15).
Table 11 4-bit operation, 1-line display example; using internal reset
STEP INSTRUCTION DISPLAY OPERATION
1 power supply on (PCF2103 is initialized by
the internal reset circuit)
initialized; no display appears
2 function set
RS R/
W DB7 DB6 DB5 DB4 sets to 4-bit operation; in this instance operation
is handled as 8-bit by initialization and only this instruction completes with one write
000010
3 function set
000010 sets to 4-bit operation, selects 1-line display and
V
LCD=V0
; 4-bit operation starts from this point
and resetting is needed
000000
4 display on/off control
000000_ turns on display and cursor; entire display is
blank after initialization
001110
5 entry mode set
000000_ 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
100101P_ writes ‘P’; the DDRAM has already been selected
by initialization at power-on; the cursor is incremented by 1 and shifted to the right
100000
Page 40
1998 May 11 40
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
Table 12 8-bit operation, 1-line display example; using internal reset (character set ‘A’)
STEP INSTRUCTION DISPLAY OPERATION
1 power supply on (PCF2103 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
0000110000
3 display mode on/off control
0000001110_ turns on display and cursor; entire display is blank after
initialization
4 entry mode set
0000000110_ sets mode to increment the address by 1 and to shift the
cursor to the right at the time of the write to the DD/CGRAM; display is not shifted
5 ‘write data’ to CGRAM/DDRAM
1001010000P_ writes ‘P’; the DDRAM has already been selected by
initialization at power-on; the cursor is incremented by 1 and shifted to the right
6 ‘write data’ to CGRAM/DDRAM
1001001000PH_ writes ‘H’
7to11 |
|
12 ‘write data’ to CGRAM/DDRAM
1001010011PHILIPS_ writes ‘S’
13 entry mode set
0000000111PHILIPS_ sets mode for display shift at the time of write
14 ‘write data’ to CGRAM/DDRAM
1000100000HILIPS _ writes space
15 ‘write data’ to CGRAM/DDRAM
1001001101ILIPS M_ writes‘M’
16 |
| |
Page 41
1998 May 11 41
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
17 ‘write data’ to CGRAM/DDRAM
1001001111MICROKO
writes ‘O’
18 cursor/display shift
0000010000MICROK
O shifts only the cursor position to the left
19 cursor/display shift
0000010000MICROKO shifts only the cursor position to the left
20 ‘write data’ to CGRAM/DDRAM
1001000011ICROK
O writes ‘C’ correction; the display moves to the left
21 cursor/display shift
0000011100MICROKO shifts the display and cursor to the right
22 cursor/display shift
0000010100MICROCO_ shifts only the cursor to theright
23 ‘write data’ to CGRAM/DDRAM
1001001101ICROCOM_ writes‘M’
24 |
| |
25 return home
0000000010
PHILIPS M returns both display and cursor to the original position
(address 0)
STEP INSTRUCTION DISPLAY OPERATION
Page 42
1998 May 11 42
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
Table 13 8-bit operation, 1-line display and icon example; using internal reset (character set ‘A’)
STEP INSTRUCTION DISPLAY OPERATION
1 power supply on (PCF2103 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
0000110000
3 display mode on/off control
0000001110_ turns on display and cursor; entire display is blank after
initialization
4 entry mode set
0000000110_ sets mode to increment the address by 1 and to shift the
cursor to the right at the time of the write to the DD/CGRAM; display is not shifted
5 set CGRAM address
0001000000_ sets the CGRAM address to position of character 0; the
CGRAM is selected
6 ‘write data’ to CGRAM/DDRAM
1000001010_ writes data to CGRAM for icon even phase; icons appear
7 |
|
8 set CGRAM address
0001110000_ sets the CGRAM address to position of character 4; the
CGRAM is selected
9 ‘write data’ to CGRAM/DDRAM
1000001010_ writes data to CGRAM for icon odd phase
10 |
|
11 function set
0000110001 _ sets H= 1
12 icon control
0 0 0 0 0 0 1 0 1 0 _ icons blink
13 function set
0000110001 _ sets H= 0
Page 43
1998 May 11 43
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
14 set DDRAM address
0 0 1 0 0 0 0 0 0 0 sets the DDRAM address to the first position; DDRAM is
selected
15 ‘write data’ to CGRAM/DDRAM
1001010000P_ writes ‘P’; the cursor is incremented by 1 and shifted to
the right
16 ‘write data’ to CGRAM/DDRAM
1001001000PH_ writes ‘H’
17 to 20 |
|
21 return home
0000000010
PHILIPS returns both display and cursor to the original position
(address 0)
STEP INSTRUCTION DISPLAY OPERATION
Page 44
1998 May 11 44
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
Table 14 8-bit operation, 2-line display example; using internal reset
STEP INSTRUCTION DISPLAY OPERATION
1 power supply on (PCF2103 is initialized by the internal reset
function)
initialized; no display appears
2 function set sets to 8-bit operation; selects 2-line display and voltage
generator off
RS R/
W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0000111000
3 display on/off control turns on display and cursor; entire display is blank after
initialization
_
0000001110
4 entry mode set sets mode to increment the address by 1 and to shift the
cursor to the right at the time of write to the CG/DDRAM; display is not shifted
_
0000000110
5 ‘write data’ to CGRAM/DDRAM writes ‘P’; the DDRAM has already been selected by
initialization at power-on; the cursor is incremented by 1 and shifted to the right
P_
1001010000
6to10 |
| |
11 ‘write data’ to CGRAM/DDRAM writes ‘S’
PHILIPS_
1001010011
12 set DDRAM address sets DDRAM address to position the cursor at the head of
the 2nd line
PHILIPS
0011000000_
13 ‘write data’ to CGRAM/ DDRAM writes ‘M’
PHILIPS
1001001101M_
14 to 19 |
| |
Page 45
1998 May 11 45
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
20 ‘write data’ to CGRAM/DDRAM writes ‘O’
PHILIPS
1001001111MICROCO_
21 ‘write data’ to CGRAM/DDRAM sets mode for display shift at the time of write
PHILIPS
0000000111MICROCO_
22 ‘write data’ to CGRAM/DDRAM writes ‘M’; display is shifted to the left; the first and second
lines shift together
HILIPS
1001001101ICROCOM_
23 |
| |
24 return home returns both display and cursor to the original position
(address 0)
PHILIPS
0000000010MICROCOM
STEP INSTRUCTION DISPLAY OPERATION
Page 46
1998 May 11 46
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
Table 15 Example of I
2
C-bus operation; 1-line display (using internal reset, assuming SA0 = VSS; note 1)
STEP INSTRUCTION DISPLAY OPERATION
1I
2
C-bus start initialized; no display appears
2 slave address for write
SA6 SA5 SA4 SA3 SA2 SA1 SA0 R/W Ack during the acknowledge cycle SDA will be pulled-down by the
PCF2103
011101001
3 send a control byte for ‘function set’
Co RS 0 0 0 0 0 0 Ack control byte sets RS for following data bytes
000000001
4 function set
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack selects 1-line display; SCL pulse during acknowledge cycle
starts execution of instruction
001X00001
5 display on/off control _
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack turns on display and cursor; entire display shows character 20H
(blank in ASCII-like character sets)
000011101
6 entry mode set _
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack sets mode to increment the address by 1 and to shift the cursor
to the right at the time of write to the DDRAM or CGRAM; display is not shifted
000001101
7I
2
C-bus start _
for writing data to DDRAM, 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 0 0 0 0 0 0 Ack
010000001
10 ‘write data’ to DDRAM
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack writes ‘P’; the DDRAM has been selected at power-up; the
cursor is incremented by 1 and shifted to the right
010100001P_
Page 47
1998 May 11 47
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
11 ‘write data’ to DDRAM
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack writes ‘H’
010010001PH_
12 to 15 |
| | |
16 ‘write data’ to DDRAM
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack writes ‘S’
010100111PHILIPS_
17 (optional I
2
C-bus stop) I2C-bus start + slave address
for write (as step 8) PHILIPS_
18 control byte
Co RS 0 0 0 0 0 0 Ack
100000001PHILIPS_
19 return home
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack 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)
000000101
PHILIPS
20 I2C-bus start PHILIPS 21 slave address for read
SA6 SA5 SA4 SA3 SA2 SA1 SA0 R/
W Ack during the acknowledge cycle the content of the DR is loaded
into the internal I2C-bus interface to be shifted out; in the previous instruction neither a ‘set address’ nor a ‘read data’ has been performed; therefore the content of the DR was unknown; R/W has to be set to logic 1 while still in I2C-bus write mode
011101011P
HILIPS
22 control byte for read
Co RS 0 0 0 0 0 0 Ack DDRAM content will be read from following instructions
011000001
PHILIPS
STEP INSTRUCTION DISPLAY OPERATION
Page 48
1998 May 11 48
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
Notes
1. X = don’t care.
2. SDA is left at high-impedance by the microcontroller during the read acknowledge.
23 ‘read data’: 8 × SCL +master acknowledge; note 2
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack 8 × SCL; content loaded into interface during previous
acknowledge cycle is shifted out over SDA; MSB is DB7; during master acknowledge content of DDRAM address 01 is loaded into the I2C-bus interface
XXXXXXXX0PH
ILIPS
24 ‘read data’: 8 × SCL +master acknowledge; note 2
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack 8 × SCL; code of letter ‘H’ is read first; during master
acknowledge code of ‘I’ is loaded into the I
2
C-bus interface
010010000PHI
LIPS
25 ‘read data’: 8 × SCL +no master acknowledge; note 2
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Ack no master acknowledge; after the content of the I2C-bus
interface register is shifted out no internal action is performed; no new data is loaded to the interface register, Data Register (DR) is not updated, Address Counter (AC) is not incremented and cursor is not shifted
010010011PHI
LIPS
26 I2C-bus stop PHILIPS
STEP INSTRUCTION DISPLAY OPERATION
Page 49
1998 May 11 49
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
Table 16 Initialization by instruction, 8-bit interface (note 1)
Note
1. X = don’t care.
STEP DESCRIPTION
power-on or unknown state
|
wait 2 ms after V
DD
rises above V
POR
|
RS R/
W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 BF cannot be checked before this instruction
0 0 0 0 1 1 X X X X 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
0 0 0 0 1 1 X X X X 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
0 0 0 0 1 1 X X X X function set (interface is 8 bits long)
| |
BF can be checked after the following instructions; when BF is not checked, the waiting time between instructions is the specified instruction time (see Table 4)
RS R/
W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 function set (interface is 8 bits long); specify the number of display lines 0000110M0H 0 0 0 0 0 0 1 0 0 0 display off 0 0 0 0 0 0 0 0 0 1 clear display 0 0 0 0 0 0 0 1 I/D S entry mode set
|
Initialization ends
Page 50
1998 May 11 50
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
Table 17 Initialization by instruction, 4-bit interface; not applicable for I
2
C-bus operation
STEP DESCRIPTION
Power-on or unknown state
|
Wait 2 ms after V
DD
rises above V
POR
|
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 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 BF is not checked, the waiting time
between instructions is the specified instruction time (see Table 4)
RS R/
W DB7 DB6 DB5 DB4 function set (set interface to 4 bits long) 000010interface is 8 bits long 000010function set (interface is 4 bits long) 0 0 0 M 0 H specify number of display lines 000000 001000display off 000000clear display 000001 000000entry mode set 0001I/DS
|
Initialization ends
Page 51
1998 May 11 51
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
16 BONDING PAD LOCATIONS
Fig.29 Bonding pad locations.
handbook, full pagewidth
MGL258
1105 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
V
DD
OSC
PD
T1
V
SS
R9
V
LCD
R10
R11
R12
R13
R14
R15
R16
R18
C60
C59
C58
C57
C56
C55
C54
C53
C20
C21
C22
C23
C24
C25
C26
C27
C12
C13
C14
C15
C16
C17
C18
C19
C3C4C5C6C7C8C9
C10
C11
26 25
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
C52
C51
C50
C49
C48
C47
C46
C45
C44
C43
C42
C41
C40
C39
C38
C37
C36
C35
C34
C33
C32
C31
C30
C29
C28
53 5254555657585960616263646566676869707172737475767778
80
79
81 82 83 84 85 86 87 88 89 90
91
92
93 94 95 96 97 98
99 100 101 102 103 104
C2 C1 R8 R7 R6 R5 R4 R3 R2 R1
R17
SCL SDA
E
RS
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
C52(dummy)
C28(dummy)
C3(dummy)
C27(dummy)
ROM xxx
PCF2103-2
x
y
0
0
2.99 mm
3.18
mm
R/W
C2(dummy)
DB0(dummy)
V
DD(dummy)
C53(dummy)
Page 52
1998 May 11 52
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
Table 18 Bonding pad locations (dimensions in µm).
All x/y coordinates are referenced to centre of chip (see Fig.29)
SYMBOL PAD X Y
V
DD
(dummy) 105 1228 1414
V
DD
1 1048 1414 OSC 2 958 1414 PD 3 868 1414 T1 4 778 1414 V
SS
5 688 1414 V
LCD
6 516 1414 R9 7 349 1414 R10 8 259 1414 R11 9 169 1414 R12 10 79 1414 R13 11 11 1414 R14 12 101 1414 R15 13 191 1414 R16 14 281 1414 R18 15 371 1414 C60 16 461 1414 C59 17 551 1414 C58 18 641 1414 C57 19 731 1414 C56 20 821 1414 C55 21 911 1414 C54 22 1001 1414 C53 23 1091 1414 C53 (dummy) 24 1181 1414 C52 (dummy) 25 1344 1254 C52 26 1344 1164 C51 27 1344 1074 C50 28 1344 948 C49 29 1344 812 C48 30 1344 722 C47 31 1344 632 C46 32 1344 542 C45 33 1344 452 C44 34 1344 362 C43 35 1344 272 C42 36 1344 182 C41 37 1344 92
C40 38 1344 2 C39 39 1344 88 C38 40 1344 178 C37 41 1344 268 C36 42 1344 358 C35 43 1344 448 C34 44 1344 538 C33 45 1344 628 C32 46 1344 718 C31 47 1344 808 C30 48 1344 898 C29 49 1344 1070 C28 50 1344 1160 C28 (dummy) 51 1344 1250 C27 (dummy) 52 1262 1414 C27 53 1172 1414 C26 54 1082 1414 C25 55 992 1414 C24 56 902 1414 C23 57 805 1414 C22 58 715 1414 C21 59 625 1414 C20 60 535 1414 C19 61 445 1414 C18 62 355 1414 C17 63 265 1414 C16 64 175 1414 C15 65 85 1414 C14 66 5 1414 C13 67 95 1414 C12 68 185 1414 C11 69 275 1414 C10 70 446 1414 C9 71 536 1414 C8 72 626 1414 C7 73 716 1414 C6 74 806 1414 C5 75 896 1414
SYMBOL PAD X Y
Page 53
1998 May 11 53
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
C4 76 986 1414 C3 77 1076 1414 C3 (dummy) 78 1166 1414 C2 (dummy) 79 1344 1303 C2 80 1344 1213 C1 81 1344 1123 R8 82 1344 1033 R7 83 1344 943 R6 84 1344 853 R5 85 1344 763 R4 86 1344 673 R3 87 1344 583 R2 88 1344 493 R1 89 1344 403 R17 90 1344 313 SCL 91 1344 131 SDA 92 1344 9 E931344 195 RS 94 1344 289 RW 95 1344 382 DB7 96 1344 476 DB6 97 1344 572 DB5 98 1344 668 DB4 99 1344 765 DB3 100 1344 861 DB2 101 1344 957 DB1 102 1344 1054 DB0 103 1344 1150 DB0 (dummy) 104 1344 1240 Rec. Pat. C1 1335 1405 Rec. Pat. C2 1335 1405 Rec. Pat. F 1340 1397
SYMBOL PAD X Y
Table 19 Bump specifications
PARAMETER SPECIFICATION UNIT
Bump variant N Type galvanic; pure
aurum
Bump width 60 ±6 µm Bump length 90 ±6 µm Bump height 17.5 ±5 µm Height difference in one
die
<2 µm
Convex deformation <5 µm Pad size; aluminium 80 × 100 µm Passivation opening CBB 46 × 76 µm Wafer thickness 380 ±25 µm Minimum pitch 90 µm
Page 54
1998 May 11 54
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
17 DEFINITIONS
18 LIFE SUPPORT APPLICATIONS
These products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. Philips customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Philips for any damages resulting from such improper use or sale.
19 PURCHASE OF PHILIPS I
2
C COMPONENTS
Data sheet status
Objective specification This data sheet contains target or goal specifications for product development. Preliminary specification This data sheet contains preliminary data; supplementary data may be published later. Product specification This data sheet contains final product specifications.
Limiting values
Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 134). Stress above one or more of the limiting values may cause permanent damage to the device. These are stress ratings only and operation of the device at these or at any other conditions above those given in the Characteristics sections of the specification is not implied. Exposure to limiting values for extended periods may affect device reliability.
Application information
Where application information is given, it is advisory and does not form part of the specification.
Purchase of Philips I
2
C components conveys a license under the Philips’ I2C patent to use the components in the I2C system provided the system conforms to the I2C specification defined by Philips. This specification can be ordered using the code 9398 393 40011.
Page 55
1998 May 11 55
Philips Semiconductors Product specification
LCD controllers/drivers PCF2103 family
NOTES
Page 56
Internet: http://www.semiconductors.philips.com
Philips Semiconductors – a worldwide company
© Philips Electronics N.V. 1998 SCA60 All rights are reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner.
The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license under patent- or other industrial or intellectual property rights.
Middle East: see Italy Netherlands: Postbus 90050, 5600 PB EINDHOVEN, Bldg. VB,
Tel. +31 40 27 82785, Fax. +31 4027 88399 New Zealand: 2 Wagener Place, C.P.O. Box 1041, AUCKLAND,
Tel. +64 9 849 4160, Fax. +64 9 849 7811 Norway: Box 1, Manglerud 0612, OSLO,
Tel. +47 22 74 8000, Fax. +47 22 74 8341
Pakistan: see Singapore Philippines: Philips Semiconductors Philippines Inc.,
106 Valero St. Salcedo Village, P.O. Box 2108 MCC,MAKATI, Metro MANILA, Tel. +63 2 816 6380, Fax. +632 817 3474
Poland: Ul. Lukiska 10, PL 04-123 WARSZAWA, Tel. +48 22 612 2831, Fax.+48 22612 2327
Portugal: see Spain Romania: see Italy Russia: Philips Russia, Ul. Usatcheva 35A, 119048 MOSCOW,
Tel. +7 095 755 6918, Fax.+7 095755 6919 Singapore: Lorong 1, Toa Payoh, SINGAPORE 319762,
Tel. +65 350 2538, Fax. +65 251 6500
Slovakia: see Austria Slovenia: see Italy South Africa: S.A. PHILIPS Pty Ltd., 195-215 Main Road Martindale,
2092 JOHANNESBURG, P.O. Box 7430 Johannesburg 2000, Tel. +27 11 470 5911, Fax.+27 11470 5494
South America: Al. Vicente Pinzon, 173, 6th floor, 04547-130 SÃO PAULO, SP, Brazil, Tel. +55 11 821 2333, Fax.+55 11821 2382
Spain: Balmes 22, 08007 BARCELONA, Tel. +34 93 301 6312, Fax.+34 93301 4107
Sweden: Kottbygatan 7, Akalla, S-16485 STOCKHOLM, Tel. +46 8 5985 2000, Fax. +46 85985 2745
Switzerland: Allmendstrasse 140, CH-8027 ZÜRICH, Tel. +41 1 488 2741 Fax. +41 1 488 3263
Taiwan: Philips Semiconductors, 6F, No. 96, Chien Kuo N. Rd., Sec. 1, TAIPEI, Taiwan Tel. +886 2 2134 2865, Fax. +886 2 2134 2874
Thailand: PHILIPS ELECTRONICS (THAILAND) Ltd., 209/2 Sanpavuth-Bangna Road Prakanong, BANGKOK 10260, Tel. +66 2 745 4090, Fax. +66 2 398 0793
Turkey: Talatpasa Cad. No. 5, 80640 GÜLTEPE/ISTANBUL, Tel. +90 212 279 2770, Fax. +90 212 282 6707
Ukraine: PHILIPS UKRAINE, 4 Patrice Lumumba str., Building B, Floor 7, 252042 KIEV, Tel. +380 44 264 2776, Fax. +38044 268 0461
United Kingdom: Philips Semiconductors Ltd., 276 Bath Road, Hayes, MIDDLESEX UB3 5BX, Tel. +44 181 730 5000, Fax.+44 181754 8421
United States: 811 East Arques Avenue, SUNNYVALE, CA 94088-3409, Tel. +1 800 234 7381
Uruguay: see South America Vietnam: see Singapore Yugoslavia: PHILIPS, Trg N. Pasica 5/v, 11000 BEOGRAD,
Tel. +381 11 625 344, Fax.+38111 635777
For all other countries apply to: Philips Semiconductors, International Marketing & Sales Communications, Building BE-p, P.O. Box 218, 5600 MD EINDHOVEN, The Netherlands, Fax. +31 40 27 24825
Argentina: see South America Australia: 34 Waterloo Road, NORTH RYDE, NSW 2113,
Tel. +61 2 9805 4455, Fax. +61 29805 4466 Austria: Computerstr. 6, A-1101 WIEN, P.O. Box 213, Tel. +43 160 1010,
Fax. +43 160 101 1210 Belarus: Hotel Minsk Business Center, Bld. 3, r. 1211, Volodarski Str. 6,
220050 MINSK, Tel. +375 172 200 733, Fax. +375 172 200773
Belgium: see The Netherlands Brazil: see South America Bulgaria: Philips Bulgaria Ltd., Energoproject, 15th floor,
51 James Bourchier Blvd., 1407 SOFIA, Tel. +359 2 689 211, Fax. +359 2689 102
Canada: PHILIPS SEMICONDUCTORS/COMPONENTS, Tel. +1 800 234 7381
China/Hong Kong: 501 Hong Kong Industrial Technology Centre, 72 Tat Chee Avenue, Kowloon Tong, HONG KONG, Tel. +852 2319 7888, Fax. +8522319 7700
Colombia: see South America Czech Republic: see Austria Denmark: Prags Boulevard 80, PB 1919, DK-2300 COPENHAGEN S,
Tel. +45 32 88 2636, Fax. +45 31 57 0044 Finland: Sinikalliontie 3, FIN-02630 ESPOO,
Tel. +358 9 615800, Fax. +358 9 61580920 France: 51 Rue Carnot, BP317, 92156 SURESNES Cedex,
Tel. +33 1 40 99 6161, Fax. +33 1 4099 6427 Germany: Hammerbrookstraße 69, D-20097 HAMBURG,
Tel. +49 40 23 53 60, Fax. +4940 23536 300 Greece: No. 15, 25th March Street, GR 17778 TAVROS/ATHENS,
Tel. +30 1 4894 339/239, Fax. +30 14814 240
Hungary: see Austria India: Philips INDIA Ltd, Band Box Building, 2nd floor,
254-D, Dr. Annie BesantRoad, Worli, MUMBAI 400 025, Tel. +91 22 493 8541, Fax.+91 22493 0966
Indonesia: PT Philips Development Corporation, Semiconductors Division, Gedung Philips, Jl. Buncit Raya Kav.99-100, JAKARTA 12510, Tel. +62 21 794 0040 ext.2501, Fax. +6221 7940080
Ireland: Newstead, Clonskeagh, DUBLIN 14, Tel. +353 1 7640 000, Fax.+353 17640 200
Israel: RAPAC Electronics, 7 Kehilat Saloniki St, PO Box 18053, TEL AVIV 61180, Tel. +972 3 645 0444, Fax.+972 3649 1007
Italy: PHILIPS SEMICONDUCTORS, Piazza IV Novembre 3, 20124 MILANO, Tel. +39 2 6752 2531, Fax. +39 2 6752 2557
Japan: Philips Bldg 13-37, Kohnan 2-chome, Minato-ku, TOKYO 108-8507, Tel. +81 3 3740 5130, Fax. +81 3 3740 5077
Korea: Philips House, 260-199 Itaewon-dong, Yongsan-ku, SEOUL, Tel. +82 2 709 1412, Fax. +82 2 709 1415
Malaysia: No. 76 Jalan Universiti, 46200 PETALING JAYA, SELANGOR, Tel. +60 3 750 5214, Fax. +60 3 7574880
Mexico: 5900 Gateway East, Suite 200, EL PASO, TEXAS 79905, Tel. +9-5 800 234 7381
Printed in The Netherlands 415106/1200/01/pp56 Date of release: 1998 May 11 Document order number: 9397 750 02649
Loading...