NXP Semiconductors
PCF8531
34 x 128 pixel matrix driver
data output
by transmitter
data output
by receiver
SCL from
master
S
1
2
START
condition
Fig 17. Acknowledge on the I2C-bus
not acknowledge
acknowledge
8
9
clock pulse for
acknowledgement
mbc602
10.2 I2C-bus protocol
This driver does not support read. The PCF8531 is a slave receiver. Therefore, it only
responds when R/W = 0 in the slave address byte.
Before any data is transmitted on the I2C-bus, the device that must respond is addressed
first. Two 7-bit slave addresses (0111100 and 0111101) are reserved for the PCF8531.
The least significant bit of the slave address is set by connecting the input SA0 to either
logic 0 (VSS) or logic 1 (VDD).
The I2C-bus protocol is shown in Figure 18.
The sequence is initiated with a START condition (S) from the I2C-bus master, and is
followed by the slave address. All slaves with the corresponding address acknowledge in
parallel, all others ignore the I2C-bus transfer. After acknowledgement, one or more
command words follow, which define the status of the addressed slaves. A command
word consists of a control byte, which defines Co and RS, plus a data byte (see Figure 19
and Table 11).
The last control byte is tagged with a cleared most significant bit, the continuation bit Co.
The control and data bytes are also acknowledged by all addressed slaves on the bus.
After the last control byte, depending on the RS bit setting, either a series of display data
bytes or command data bytes may follow. If the RS bit was set logic 1, these display bytes
are stored in the display RAM at the address specified by the data pointer.
The data pointer is automatically updated and the data is directed to the intended
PCF8531 device. If the RS bit of the last control byte was set logic 0, these command
bytes will be decoded and the setting of the device will be changed according to the
received commands. The acknowledgement after each byte is made only by the
addressed PCF8531. At the end of the transmission, the I2C-bus master issues a STOP
condition (P).
PCF8531
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 6 — 16 May 2011
© NXP B.V. 2011. All rights reserved.
30 of 51