2003 Apr 14 19
Philips Semiconductors Product specification
LCD row/column driver for
dot matrix graphic displays
PCF8578
8I
2
C-BUS PROTOCOL
Two 7-bit slave addresses (0111100 and 0111101) are
reserved for both the PCF8578 and PCF8579. The least
significant bit of the slave address is set by connecting
input SA0 to either 0 (V
SS
)or1(V
DD
). Therefore, two types
of PCF8578 or PCF8579 can be distinguished on the
same I
2
C-bus which allows:
1. One PCF8578 to operate with up to 32 PCF8579s on
the same I
2
C-bus for very large applications
2. The use of two types of LCD multiplex schemes on the
same I
2
C-bus.
In most applications the PCF8578 will have the same slave
address as the PCF8579.
The I
2
C-bus protocol is shown in Fig.13.
All communications are initiated with a start condition (S)
from the I
2
C-bus master, which is followed by the desired
slave address and read/write bit. All devices with this slave
address acknowledge in parallel. All other devices ignore
the bus transfer.
In WRITE mode (indicated by setting the read/write bit
LOW) one or more commands follow the slave address
acknowledgement. The commands are also
acknowledged by all addressed devices on the bus.
The last command must clear the continuation bit C.
After the last command a series of data bytes may follow.
The acknowledgement after each byte is made only by the
(A0, A1, A2 and A3) addressed PCF8579 or PCF8578
with its implicit subaddress 0. After the last data byte
has been acknowledged, the I
2
C-bus master issues a stop
condition (P).
In READ mode, indicated by setting the read/write bit
HIGH, data bytes may be read from the RAM following the
slave address acknowledgement. After this
acknowledgement the master transmitter becomes a
master receiver and the PCF8578 becomes a slave
transmitter. The master receiver must acknowledge the
reception of each byte in turn. The master receiver must
signal an end of data to the slave transmitter, by not
generating an acknowledge on the last byte clocked out of
the slave. The slave transmitter then leaves the data line
HIGH, enabling the master to generate a stop condition
(P).
Display bytes are written into, or read from, the RAM at the
address specified by the data pointer and subaddress
counter. Both the data pointer and subaddress counter are
automatically incremented, enabling a stream of data to be
transferred either to, or from, the intended devices.
In multiple device applications, the hardware subaddress
pins of the PCF8579s (A0 to A3) are connected to V
SS
or
V
DD
to represent the desired hardware subaddress code.
If two or more devices share the same slave address, then
each device must be allocated a unique hardware
subaddress.
2003 Apr 14 20
Philips Semiconductors Product specification
LCD row/column driver for
dot matrix graphic displays
PCF8578
Fig.13 (a) Master transmits to slave receiver (WRITE mode); (b) Master reads after sending command string
(WRITE commands; READ data); (c) Master reads slave immediately after sending slave address (READ
mode).
MSA830
S
A
0
S
011110 0AC
COMMAND
A
P
ADISPLAY DATA
slave address
/RW
acknowledge by
all addressed
PCF8578s / PCF8579s
acknowledge
by A0, A1, A2 and A3
selected PCF8578s /
PCF8579s only
n 0 byte(s)n 0 byte(s)1 byte
update data pointers
and if necessary,
subaddress counter
(a)
MSA832
S
A
0
S
011110 0AC
COMMAND
A
slave address
/RW
acknowledge by
all addressed
PCF8578s / PCF8579s
n 1 byte
(b)
ADATA
S
A
0
S
011110 1A
slave address
/RW
P
1DATA
n bytes last byte
update data pointers
and if necessary
subaddress counter
acknowledge
from master
no acknowledge
from master
at this moment master
transmitter becomes a
master receiver and
PCF8578/PCF8579 slave
receiver becomes a
slave transmitter
MSA831
S
A
0
S
011110 1A
DATA
A
P
1DATA
slave address
/RW
acknowledge by
all addressed
PCF8578s / PCF8579s
last byten bytes
update data pointers
and if necessary,
subaddress counter
(c)
acknowledge
from master
no acknowledge
from master
2003 Apr 14 21
Philips Semiconductors Product specification
LCD row/column driver for
dot matrix graphic displays
PCF8578
8.1 Command decoder
The command decoder identifies command bytes that
arrive on the I
2
C-bus. The most-significant bit of a
command is the continuation bit C (see Fig.14). When this
bit is set, it indicates that the next byte to be transferred will
also be a command. If the bit is reset, it indicates the
conclusion of the command transfer. Further bytes will be
regarded as display data. Commands are transferred in
WRITE mode only.
The five commands available to the PCF8578 are defined
in Tables 5 and 6.
Fig.14 General information of command byte.
MSA833
REST OF OPCODE
C
MSB LSB
C = 0; last command.
C = 1; commands continue.
Table 5 Summary of commands
Note
1. C = command continuation bit. D = may be a logic 1 or 0.
COMMAND OPCODE
(1)
DESCRIPTION
SET MODE C 1 0 D D D D D multiplex rate, display status, system type
SET START BANK C 1 1 1 1 1 D D defines bank at top of LCD
DEVICE SELECT C 1 1 0 D D D D defines device subaddress
RAM ACCESS C 1 1 1 D D D D graphic mode, bank select (D D D D 12 is not
allowed; see SET START BANK opcode)
LOAD X-ADDRESS C 0 D D D D D D 0 to 39

PCF8578T/1,118

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
LCD Drivers DOT MATRIX LCD DRIVER (R/COLM)
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet