
Philips Semiconductors
Product data
PCA9545
4-channel I2C switch with interrupt logic and reset
2002 Dec 13
8
Acknowledge
The number of data bytes transferred between the start and the stop conditions from transmitter to receiver is not limited. Each byte of eight bits
is followed by one acknowledge bit. The acknowledge bit is a HIGH level put on the bus by the transmitter whereas 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 must generate an
acknowledge after the reception of each byte that has been clocked out of the slave transmitter. The device that acknowledges has to 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 account.
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.
DATA OUTPUT
BY TRANSMITTER
SCL FROM
MASTER
SW00368
DATA OUTPUT
BY RECEIVER
12
89
S
START condition
clock pulse for
acknowledgement
acknowledge
not acknowledge
Figure 10. Acknowledgement on the I2C-bus
Bus transactions
Data is transmitted to the PCA9545 control register using the write mode as shown in Figure 11.
S
SDA
0A
A
11
1
0
A1
A0
SLAVE ADDRESS
start condition
R/W
acknowledge
from slave
acknowledge
from slave
B0
CONTROL REGISTER
X
P
SW00760
B1
XB2
XB3
X
stop condition
Figure 11. WRITE control register
Data is read from PCA9545 control register using the read mode as shown in Figure 12.
SDA
S1
A
NA
1
0
A1
A0
start condition
R/W
acknowledge
from slave
CONTROL REGISTER
P
stop condition
last byte
SW00761
SLAVE ADDRESS
no acknowledge
from master
B0
INT0
B1
INT1
B2
INT2
B3
INT3
Figure 12. READ control register