PCA9500 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2017. All rights reserved.
Product data sheet Rev. 4.1 — 5 May 2017 10 of 29
NXP Semiconductors
PCA9500
8-bit I
2
C-bus and SMBus I/O port with 2-kbit EEPROM
7.4.1.2 Page write
A page write is initiated in the same way as the byte write. If after sending the first word of
data, the STOP condition is not received, the PCA9500 considers subsequent words as
data. After each data word the PCA9500 responds with an acknowledge and the two least
significant bits of the memory address field are incremented. Should the master not send
a STOP condition after four data words, the address counter will return to its initial value
and overwrite the data previously written. After the receipt of the STOP condition the
inputs will behave as with the byte write during the internal write cycle.
7.4.2 Read operations
PCA9500 read operations are initiated in an identical manner to write operations with the
exception that the memory slave address R/W
bit is set to ‘1’. There are three types of
read operations: current address read, random read and sequential read.
7.4.2.1 Current address read
The PCA9500 contains an internal address counter that increments after each read or
write access and as a result, if the last word accessed was at address ‘n’, then the
address counter contains the address ‘n + 1’.
When the PCA9500 receives its memory slave address with the R/W
bit set to one it
issues an acknowledge and uses the next eight clocks to transmit the data contained at
the address stored in the address counter. The master ceases the transmission by issuing
the STOP condition after the eighth bit. There is no ninth clock cycle for the acknowledge.
See Figure 12
.
Fig 10. Byte write
0 AS
slave address (memory)
START condition R/W acknowledge
from slave
002aae594
word address
SDA 0 1 0 A2 A1 A01 P
STOP condition.
Write to the memory
is performed.
A
acknowledge
from slave
data
A
acknowledge
from slave
Fig 11. Page write
0 AS
slave address (memory)
START condition R/W acknowledge
from slave
002aae595
word address
SDA 0 1 0 A2 A1 A01 P
STOP condition.
Write to the memory is performed.
A
acknowledge
from slave
data to memory
A
acknowledge
from slave
DATA n
data to memory
A
acknowledge
from slave
DATA n + 3
PCA9500 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2017. All rights reserved.
Product data sheet Rev. 4.1 — 5 May 2017 11 of 29
NXP Semiconductors
PCA9500
8-bit I
2
C-bus and SMBus I/O port with 2-kbit EEPROM
7.4.2.2 Random read
The PCA9500's random read mode allows the address to be read from to be specified by
the master. This is done by performing a dummy write to set the address counter to the
location to be read. The master must perform a byte write to the address location to be
read, but instead of transmitting the data after receiving the acknowledge from the
PCA9500, the master re-issues the START condition and memory slave address with the
R/W
bit set to one. The PCA9500 will then transmit an acknowledge and use the next
eight clock cycles to transmit the data contained in the addressed location. The master
ceases the transmission by issuing the STOP condition after the eighth bit, omitting the
ninth clock cycle acknowledge.
7.4.2.3 Sequential read
The PCA9500 sequential read is an extension of either the current address read or
random read. If the master does not issue a STOP condition after it has received the
eighth data bit, but instead issues an acknowledge, the PCA9500 will increment the
address counter and use the next eight cycles to transmit the data from that location. The
master can continue this process to read the contents of the entire memory. Upon
reaching address 255 the counter will return to address 0 and continue transmitting data
until a STOP condition is received. The master ceases the transmission by issuing the
STOP condition after the eighth bit, omitting the ninth clock cycle acknowledge.
Fig 12. Current address read
1 AS
slave address (memory)
START condition R/W acknowledge
from slave
002aae596
data from memory
SDA 0 1 0 A2 A1 A01 P
STOP condition
Fig 13. Random read
0 AS
slave address (memory)
START condition R/W acknowledge
from slave
002aae597
word address
SDA 0 1 0 A2 A1 A01 P
STOP
condition
A
acknowledge
from slave
data from memory
A
acknowledge
from slave
1S
slave address (memory)
START condition R/W
0 1 0 A2 A1 A01
Fig 14. Sequential read
1 AS
slave address (memory)
START condition R/W acknowledge
from slave
002aae598
data from memory
SDA 0 1 0 A2 A1 A01 P
STOP
condition
A
acknowledge
from master
data from memory
DATA n
data from memory
DATA n + 1 A
acknowledge
from master
DATA n + X
PCA9500 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2017. All rights reserved.
Product data sheet Rev. 4.1 — 5 May 2017 12 of 29
NXP Semiconductors
PCA9500
8-bit I
2
C-bus and SMBus I/O port with 2-kbit EEPROM
8. Characteristics of the I
2
C-bus
The I
2
C-bus is for 2-way, 2-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 when connected to the output stages
of a device. Data transfer may be initiated only when the bus is not busy.
8.1 Bit transfer
One data bit is transferred during each clock pulse. The data on the SDA line must remain
stable during the HIGH period of the clock pulse as changes in the data line at this time
will be interpreted as control signals (see Figure 15
).
8.1.1 START and STOP conditions
Both data and clock lines remain HIGH when the bus is not busy. A HIGH-to-LOW
transition of the data line while the clock is HIGH is defined as the START condition (S).
A LOW-to-HIGH transition of the data line while the clock is HIGH is defined as the STOP
condition (P) (see Figure 16
).
Fig 15. Bit transfer
mba607
data line
stable;
data valid
change
of data
allowed
SDA
SCL
Fig 16. Definition of START and STOP conditions
mba608
SDA
SCL
P
STOP condition
S
START condition

PCA9500PW,118

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
Interface - I/O Expanders 8BIT I2C FMQB GPIO PU2K EEPROM
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union