pcf2104 NXP Semiconductors, pcf2104 Datasheet

no-image

pcf2104

Manufacturer Part Number
pcf2104
Description
Pcf2104x Lcd Controller/driver
Manufacturer
NXP Semiconductors
Datasheet
Product specification
Supersedes data of 1997 Apr 01
File under Integrated Circuits, IC12
DATA SHEET
PCF2104x
LCD controller/driver
INTEGRATED CIRCUITS
1997 Dec 16

Related parts for pcf2104

pcf2104 Summary of contents

Page 1

... DATA SHEET PCF2104x LCD controller/driver Product specification Supersedes data of 1997 Apr 01 File under Integrated Circuits, IC12 INTEGRATED CIRCUITS 1997 Dec 16 ...

Page 2

... TIMING DIAGRAMS 17 APPLICATION INFORMATION 17.1 8-bit operation, 2 reset 17.2 4-bit operation, 2 reset 17.3 8-bit operation 17 operation, 2 17.5 Initializing by instruction 18 BONDING PAD LOCATIONS 19 DEFINITIONS 20 LIFE SUPPORT APPLICATIONS 21 PURCHASE OF PHILIPS I 2 Product specification PCF2104x 2 C-bus 12 display using internal 12 display using internal 24 display 12 display 2 C COMPONENTS ...

Page 3

... 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). 8 for kana Two standard character sets are currently available, specified by the letters ‘ ...

Page 4

... INSTRUCTION FLAG REGISTER (IR I/O BUFFER 4 4 105-102 98 100 RS DB4 to DB7 E R/W Fig.1 Block diagram. 4 Product specification R1 to R32 5-20 81-96 32 ROW DRIVERS 32 SHIFT REGISTER 32-BIT PCF2104x 1 OSCILLATOR TIMING GENERATOR 7 DISPLAY ADDRESS COUNTER POWER - ON RESET 99 97 110 3 MGC627 SCL SDA SA0 PCF2104x OSC ...

Page 5

... I 7.4 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 ...

Page 6

... 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 ...

Page 7

... LCD 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 ...

Page 8

... DDRAM Address (hex Fig.2 DDRAM-to-display mapping; no shift (PCF2104x). 1997 Dec 16 non-displayed DDRAM addresses 1-line display ...

Page 9

... DDRAM-to-display mapping; left shift (PCF2104x). line 1 line 2 line 1 line 2 line 3 line 4 ...

Page 10

... Dec 16 0010 0011 0100 0101 0110 0111 Fig.5 Character set ‘C’ in CGROM; PCF2104C. 10 Product specification 1000 1001 1010 1011 1100 1101 PCF2104x 1110 1111 MLB895 ...

Page 11

... Dec 16 0010 0011 0100 0101 0110 0111 Fig.6 Character set ‘L’ in CGROM; PCF2104L. 11 Product specification 1000 1001 1010 1011 1100 1101 PCF2104x 1110 1111 MGC629 ...

Page 12

... Dec 16 0010 0011 0100 0101 0110 0111 Fig.7 Character set ‘N’ in CGROM; PCF2104N. 12 Product specification 1000 1001 1010 1011 1100 1101 PCF2104x 1110 1111 MGM134 ...

Page 13

... OR with the 13 Product specification PCF2104x character patterns (CGRAM data higher lower order order bits bits character pattern ...

Page 14

... Philips Semiconductors LCD controller/driver dot character font cursor display example 1997 Dec 16 cursor alternating display blink display example Fig.9 Cursor and blink display examples. 14 Product specification PCF2104x MGA801 ...

Page 15

... V LCD state state 0. 1997 Dec 16 frame n frame Fig.10 Typical LCD waveforms; 1-line mode. 15 Product specification PCF2104x state 1 (ON) state 2 (ON) 1-line display (1:16) MGA802 - 1 16 ...

Page 16

... V LCD state state 0. 1997 Dec 16 frame n frame Fig.11 Typical LCD waveforms; 2-line mode. 16 Product specification PCF2104x state 1 (ON) state 2 (ON) 2-line display (1:32) MGA803 - 1 32 ...

Page 17

... Philips Semiconductors LCD controller/driver 8.14 Programming of MUX 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. ...

Page 18

... ICs. The PCF2104x operation is controlled by the instructions shown in Table 3 together with their execution time. Details are explained in subsequent sections. Instructions are of 4 categories, those that: 1 ...

Page 19

Table 3 Instructions (note 1) INSTRUCTION RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 NOP Clear display Return home Entry mode set ...

Page 20

... IR0 AC4 busy flag and address counter read write Fig.15 4-bit transfer example. 20 Product specification LOGIC 1 24 characters; MUX characters; MUX AC3 DR7 DR3 AC2 DR6 DR2 AC1 DR5 DR1 AC0 DR4 DR0 data register read MGA804 PCF2104x ...

Page 21

... Fig.17 Example of Busy Flag check timing sequence. 21 Product specification not AC3 D7 D3 busy busy flag instruction check write MGA805 not data busy busy flag instruction check write PCF2104x MGA806 ...

Page 22

... In a 4-bit application DB3 to DB0 are left open (internal pull-ups). Hence in the first function set instruction after power-on G and H are set second function set must then be sent (2 nibbles) to set G and H to their required values. 22 Product specification PCF2104x . osc ) 2 C-bus ...

Page 23

... FUNCTION register content. 10 INTERFACE TO MICROCONTROLLER (PARALLEL INTERFACE) The PCF2104x 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 the 8-bit mode data is transferred as 8-bit bytes using the 8 data lines DB0 to DB7. Three further control lines E, RS, and R/W are required ...

Page 24

... Before any data is transmitted on the I which should respond is addressed first. The addressing is always carried out with the first byte transmitted after the start procedure. The I PCF2104x READ and WRITE cycles is illustrated in Figs 22, 23 and 24. data line change stable; of data ...

Page 25

... S Fig.19 Definition of START and STOP conditions. SLAVE SLAVE TRANSMITTER/ RECEIVER RECEIVER Fig.20 System configuration START condition Fig.21 Acknowledgement on the I 25 Product specification PCF2104x SDA SCL P STOP condition MBC622 MASTER MASTER TRANSMITTER/ TRANSMITTER RECEIVER MGA807 not acknowledge acknowledge 8 9 clock pulse for ...

Page 26

... PCF2104x CONTROL BYTE A 0 slave address 2n 0 bytes R Fig.22 Master transmits to slave receiver; WRITE mode. DATA A 0 CONTROL BYTE A DATA 1 byte MGC617 PCF2104x slave address R bytes ...

Page 27

... ADDRESS (1) Last data byte is a dummy byte (may be omitted). Fig.23 Master reads after setting word address; write word address, set RS/RW; READ data. DATA CONTROL bytes Co acknowledgement from PCF2104x no acknowledgement DATA A DATA 0 n bytes last byte R/W update ...

Page 28

... Philips Semiconductors LCD controller/driver handbook, full pagewidth SLAVE S ADDRESS Fig.24 Master reads slave immediately after first byte; READ mode (RS previously defined). 1997 Dec 16 acknowledgement acknowledgement from PCF2104x from master DATA bytes R/W 28 Product specification PCF2104x no acknowledgement from master ...

Page 29

START BIT 7 PROTOCOL CONDITION MSB (S) (A7) SDA t BUF t LOW t r SCL t HD;STA t HIGH 2 Fig.25 I C-bus timing diagram; rise and fall times refer to V BIT 0 BIT 6 ACKNOWLEDGE LSB (A6) ...

Page 30

... Product specification MIN. MAX. 0 0.5 LCD DD 10 +10 10 +10 50 +50 400 100 65 +150 MIN. TYP. 2 200 = 9 V; 200 150 OP 50 1.3 PCF2104x UNIT MAX. UNIT 6 3 500 A 300 A 200 A 100 A 1.8 V ...

Page 31

... 0.1 DD 0. input current may flow; this current must SS = 150 load OP PCF2104x MAX. UNIT ...

Page 32

... 1997 Dec 3 amb PARAMETER CONDITIONS note 1 PCF2104 PCF2104 X TO MICROCONTROLLER Product specification PCF2104x = unless otherwise specified. MIN. TYP 100 90 150 225 ) X 500 220 500 220 50 ...

Page 33

... Philips Semiconductors LCD controller/driver 16 TIMING DIAGRAMS handbook, full pagewidth RS R/W E DB0 to DB7 Fig.26 Parallel bus write operation sequence; writing data from microcontroller to PCF2104x. handbook, full pagewidth RS R/W E DB0 to DB7 Fig.27 Parallel bus read operation sequence; reading data from PCF2104x to microcontroller. 1997 Dec 16 ...

Page 34

... R17 to R24 OSC 16 PCF2104x C1 to C60 V SS DB0 to DB7 E RS R/W Fig.30 Typical application using parallel interface. 34 Product specification R32 to LCD C60 MGC620 R32 to LCD C60 MGC621 CHARACTER LCD DISPLAY (SPLIT SCREEN MGC624 PCF2104x ...

Page 35

... V DD OSC 100 nF PCF2104x SA0 V SS PCF84C81 2 Fig.31 Application using I C-bus interface. 35 Product specification R16 CHARACTER R17 to R24 LCD DISPLAY 16 (SPLIT SCREEN C60 R1 to R16 CHARACTER LCD DISPLAY C60 MGC625 PCF2104x ...

Page 36

... A control byte is required with most instructions (see Table 9). 17.5 Initializing by instruction If the power supply conditions for correctly operating the internal reset circuit are not met, the PCF2104x must be initialized by instruction. Tables 10 and 11 show how this may be performed for 8-bit and 4-bit operation. 36 Product specification ...

Page 37

... Philips Semiconductors LCD controller/driver Table 6 4-bit operation, 1-line display example; using internal reset STEP INSTRUCTION 1 Power supply on (PCF2104x is initialized by the internal reset circuit). 2 Function set R DB7 = 0; DB6 = 0; DB5 = 1; DB4 = 0 3 Function set R DB7 = 0; DB6 = 0; DB5 = 1; DB4 = R DB7 = 0; DB6 = 0; ...

Page 38

... Table 7 8-bit operation, 1-line display example; using internal reset (character set ‘A’) STEP INSTRUCTION 1 Power supply on (PCF2104x is initialized by the internal reset function). 2 Function set R DB7 = 0; DB6 = 0; DB5 = 1; DB4 = 1; DB3 = 0; DB2 = 0; DB1 = 0; DB0 = 0 3 Display mode on/off control R DB7 = 0; DB6 = 0; DB5 = 0; DB4 = 0; ...

Page 39

STEP INSTRUCTION 13 Write data to CGRAM/DDRAM R DB7 = 0; DB6 = 1; DB5 = 0; DB4 = 0; DB3 = 1; DB2 = 1; DB1 = 1; DB0 = 1 14 Cursor or ...

Page 40

... Table 8 8-bit operation, 2-line display example; using internal reset STEP INSTRUCTION 1 Power supply on (PCF2104x is initialized by the internal reset function). 2 Function set R DB7 = 0; DB6 = 0; DB5 = 1; DB4 = 1; DB3 = 1; DB2 = 0; DB1 = 0; DB0 = 0 3 Display on/off control R DB7 = 0; DB6 = 0; DB5 = 0; DB4 = 0; DB3 = 1; DB2 = 1; DB1 = 1; DB0 = 0 ...

Page 41

STEP INSTRUCTION 13 Write data to CGRAM/ DDRAM R DB7 = 0; DB6 = 1; DB5 = 0; DB4 = 0; DB3 = 1; DB2 = 1; DB1 = 0; DB0 = ...

Page 42

... SS DISPLAY OPERATION Initialized. No display appears. During the acknowledge cycle SDA will be pulled-down by the PCF2104x. Control byte sets RS and R/W for following data bytes. Selects 1-line display; SCL pulse during acknowledge cycle starts execution of instruction. _ Turns on display and cursor. Entire display shows character Hex 20 (blank in ASCII-like character sets) ...

Page 43

STEP I C-BUS BYTE (optional I C-bus stop) I C-bus start + slave address for write (as step 8) 18 Control byte R Ack = 1 19 Return ...

Page 44

Table 10 Initialization by instruction, 8-bit interface (note 1) STEP Power-on or unknown state Wait 2 ms after V rises above V DD POR R DB7 = 0; DB6 = 0; DB5 = 1; DB4 ...

Page 45

Table 11 Initialization by instruction, 4-bit interface. Not applicable for I STEP Power-on or unknown state Wait 2 ms after V rises above V DD POR R DB7 = 0; DB6 = 0; DB5 = ...

Page 46

... C1 1 C16 R17 to R24 1997 Dec 16 DISPLAY LAYOUT: COLUMNS DOT MATRIX LCD DISPLAY LAYOUT: ROWS Fig.32 Example display layout (PCF2104x). 46 Product specification PCF2104x column 60 output numbers LCD column 60 numbers PCF2104x column 45 output numbers R9 to R16 ...

Page 47

... Philips Semiconductors LCD controller/driver handbook, full pagewidth COLUMN LAYOUT Fig.33 Display example (PCF2104x); 2 lines by 12 characters. 1997 Dec 16 display glass dot matrix ROW LAYOUT lines by 12 characters display 47 Product specification PCF2104x MLB898 ...

Page 48

... Philips Semiconductors LCD controller/driver handbook, full pagewidth R1 R8 R17 R24 1997 Dec 16 PCF2104x CHIP-ON-GLASS 4 LINE BY 12 CHARACTER C1 2104 R9 C60 MGC626 SCL V SS SDA LCD Fig.34 Chip-on-glass application. 48 Product specification PCF2104x R9 R16 R25 R32 ...

Page 49

... Fig.35 Bonding pad locations Product specification PCF2104x C23 58 C24 57 C25 56 C26 55 C27 54 C28 53 C29 52 C30 51 C31 50 C32 49 C33 48 C34 47 ...

Page 50

... C16 2445 C15 2285 C14 2125 C13 1965 C12 C11 1805 1645 C10 1485 C9 1325 C8 1165 C7 1005 C6 845 C5 50 Product specification PCF2104x PAD 2350 685 40 2350 525 41 2350 365 42 2350 205 43 2350 45 44 2350 115 45 2350 275 46 2350 ...

Page 51

... Product specification PCF2104x ...

Page 52

... Philips. This specification can be ordered using the code 9398 393 40011. 1997 Dec 16 C COMPONENTS 2 C components conveys a license under the Philips’ system provided the system conforms to the I 52 Product specification PCF2104x 2 C patent to use the 2 C specification defined by ...

Page 53

... Philips Semiconductors LCD controller/driver 1997 Dec 16 NOTES 53 Product specification PCF2104x ...

Page 54

... Philips Semiconductors LCD controller/driver 1997 Dec 16 NOTES 54 Product specification PCF2104x ...

Page 55

... Philips Semiconductors LCD controller/driver 1997 Dec 16 NOTES 55 Product specification PCF2104x ...

Page 56

Philips Semiconductors – a worldwide company Argentina: see South America Australia: 34 Waterloo Road, NORTH RYDE, NSW 2113, Tel. +61 2 9805 4455, Fax. +61 2 9805 4466 Austria: Computerstr. 6, A-1101 WIEN, P.O. Box 213, Tel. + ...

Related keywords