công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

MCP23017-E/ML bảng dữ liệu(PDF) 15 Page - Microchip Technology

tên linh kiện MCP23017-E/ML
Giải thích chi tiết về linh kiện  16-Bit I/O Expander with Serial Interface
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  MICROCHIP [Microchip Technology]
Trang chủ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP23017-E/ML bảng dữ liệu(HTML) 15 Page - Microchip Technology

Back Button MCP23017-E/ML Datasheet HTML 11Page - Microchip Technology MCP23017-E/ML Datasheet HTML 12Page - Microchip Technology MCP23017-E/ML Datasheet HTML 13Page - Microchip Technology MCP23017-E/ML Datasheet HTML 14Page - Microchip Technology MCP23017-E/ML Datasheet HTML 15Page - Microchip Technology MCP23017-E/ML Datasheet HTML 16Page - Microchip Technology MCP23017-E/ML Datasheet HTML 17Page - Microchip Technology MCP23017-E/ML Datasheet HTML 18Page - Microchip Technology MCP23017-E/ML Datasheet HTML 19Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 15 / 42 page
background image
 2005-2016 Microchip Technology Inc.
DS20001952C-page 15
MCP23017/MCP23S17
3.2.3
SPI INTERFACE
3.2.3.1
SPI Write Operation
The SPI write operation is started by lowering CS. The
Write command (slave address with R/W bit cleared) is
then clocked into the device. The opcode is followed by
an address and at least one data byte.
3.2.3.2
SPI Read Operation
The SPI read operation is started by lowering CS. The
SPI read command (slave address with R/W bit set) is
then clocked into the device. The opcode is followed by
an address, with at least one data byte being clocked
out of the device.
3.2.3.3
SPI Sequential Write/Read
For sequential operations, instead of deselecting the
device by raising CS, the master clocks the next byte
pointed to by the Address Pointer. (see Section 3.2.1
“Byte Mode and Sequential Mode” for details
regarding sequential operation control).
The sequence ends by the raising of CS.
The MCP23S17 Address Pointer will roll over to
address zero after reaching the last register address.
3.3
Hardware Address Decoder
The hardware address pins are used to determine the
device address. To address a device, the correspond-
ing address bits in the control byte must match the pin
state. The pins must be biased externally.
3.3.1
ADDRESSING I2C DEVICES
(MCP23017)
The MCP23017 is a slave I2C interface device that
supports 7-bit slave addressing, with the read/write bit
filling out the control byte. The slave address contains
four fixed bits and three user-defined hardware
address bits (pins A2, A1 and A0). Figure 3-4 shows
the control byte format.
3.3.2
ADDRESSING SPI DEVICES
(MCP23S17)
The MCP23S17 is a slave SPI device. The slave
address contains four fixed bits and three user-defined
hardware address bits (if enabled via IOCON.HAEN)
(pins A2, A1 and A0) with the read/write bit filling out
the control byte. Figure 3-5 shows the control byte
format. The address pins should be externally biased
even if disabled (IOCON.HAEN = 0).
FIGURE 3-4:
I2C CONTROL BYTE
FORMAT
FIGURE 3-5:
SPI CONTROL BYTE
FORMAT
FIGURE 3-6:
I2C ADDRESSING REGISTERS
S
0
1
0
0
A2A1A0R/W ACK
Start
bit
Slave Address
R/W bit
ACK bit
Control Byte
R/W = 0 = write
R/W = 1 = read
0
1
0
0
A2 A1
A0 R/W
Slave Address
R/W bit
Control Byte
R/W = 0 = write
R/W = 1 = read
CS
S0
1
0
0
A2 A1
A0
0
ACK *
A7
A6
A5
A4
A3
A2
A1
A0
ACK *
Device Opcode
Register Address
R/W = 0
*The ACKs are provided by the MCP23017.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com