DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PCA9502 데이터 시트보기 (PDF) - NXP Semiconductors.

부품명
상세내역
제조사
PCA9502 Datasheet PDF : 25 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
NXP Semiconductors
PCA9502
8-bit I/O expander with I2C-bus/SPI interface
SDA
SCL
S
START
condition
0 to 6
address
7
8
R/W ACK
Fig 8. A complete data transfer
0 to 6
data
7
8
ACK
0 to 6
data
7
8
ACK
P
STOP
condition
002aab046
When an address is sent, each device in the system compares the first seven bits after the
START with its own address. If there is a match, the device will consider itself addressed
by the master, and will send an acknowledge. The device could also determine if in this
transaction it is assigned the role of a slave receiver or slave transmitter, depending on the
R/W bit.
Each node of the I2C-bus network has a unique seven-bit address. The address of a
microcontroller is of course fully programmable, while peripheral devices usually have
fixed and programmable address portions.
When the master is communicating with one device only, data transfers follow the format
of Figure 8, where the R/W bit could indicate either direction. After completing the transfer
and issuing a STOP condition, if a master would like to address some other device on the
network, it could start another transaction by issuing a new START.
Another way for a master to communicate with several different devices would be by using
a ‘repeated START’. After the last byte of the transaction was transferred, including its
acknowledge (or negative acknowledge), the master issues another START, followed by
address byte and data, without effecting a STOP. The master may communicate with a
number of different devices, combining ‘reads’ and ‘writes’. After the last transfer takes
place, the master issues a STOP and releases the bus. Possible data formats are
demonstrated in Figure 9. Note that the repeated START allows for both change of a slave
and a change of direction, without releasing the bus. We shall see later on that the change
of direction feature can come in handy even when dealing with a single device.
In a single master system, the repeated START mechanism may be more efficient than
terminating each transfer with a STOP and starting again. In a multimaster environment,
the determination of which format is more efficient could be more complicated, as when a
master is using repeated STARTs it occupies the bus for a long time and thus preventing
other devices from initiating transfers.
PCA9502_3
Product data sheet
Rev. 03 — 13 October 2006
© NXP B.V. 2006. All rights reserved.
9 of 25

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]