MCP23016-I/SP Microchip Technology Inc., MCP23016-I/SP Datasheet - Page 15
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
MCP23016-I/SP
Manufacturer Part Number
MCP23016-I/SP
Description
16-BIT INPUT/OUTPUT PORT EXPANDER
Manufacturer
Microchip Technology Inc.
Type
Programmable Peripheral Interfacer
Datasheet
1.MCP23016-ISP.pdf
(38 pages)
Specifications of MCP23016-I/SP
Lead Free Status / Rohs Status
RoHS Compliant part
Electrostatic Device
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
MCP23016-I/SP
Manufacturer:
AirBORN
Quantity:
214
1.9.3
To read a MCP23016 register, the Master needs to
follow the requirements shown in Figure 1-6. First, the
device is selected by sending the slave address and
setting the R/W bit to logic ‘0’. The command byte is
sent after the address and determines which register
will be read. A restart condition is generated and the
device address is sent again with the R/W bit set to
logic ‘1’. The data register defined by the command
byte will be sent first, followed by the other register in
the register pair. The logic for register selection is the
same as explained in Write mode (Section 1.9.2,
“Writing the Registers”).
The falling edge of the ninth clock initiates the register
read action. The SCL clock will be held low while the
data is read from the register and is transferred to the
I
block.
The MCP23016 holds the clock low after the falling
edge of the ninth clock pulse. The configuration
registers (or port control registers) are read and the
value is stored. Finally, the clock is released to enable
the next transmission.
There is no limitation on the number of data bytes in
one read transmission. Figure 1-8 shows the case of
multiple byte read in one read operation. In this case,
the multiple writes are made to the same data pair.
2
C bus control block by the Serializer/Deserializer
2003 Microchip Technology Inc.
Note:
READING THE REGISTERS
The bus must remain free until after the
ninth clock pulse for a minimum of 12 µs
(see Table 2-5 and Figure 2-4).
FIGURE 1-6:
READ FROM
CONFIGURATION
REGISTER
MCP23016
DS20090B-page 15