数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

MCP23017-E/ML 数据表(PDF) 13 Page - Microchip Technology

部件名 MCP23017-E/ML
功能描述  16-Bit I/O Expander with Serial Interface
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MICROCHIP [Microchip Technology]
网页  http://www.microchip.com
标志 MICROCHIP - Microchip Technology

MCP23017-E/ML 数据表(HTML) 13 Page - Microchip Technology

Back Button MCP23017-E/ML Datasheet HTML 9Page - Microchip Technology MCP23017-E/ML Datasheet HTML 10Page - Microchip Technology 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 42 page
background image
 2005-2016 Microchip Technology Inc.
DS20001952C-page 13
MCP23017/MCP23S17
3.2.1
BYTE MODE AND SEQUENTIAL
MODE
The MCP23X17 family has the ability to operate in Byte
mode or Sequential mode (IOCON.SEQOP).
Byte mode disables automatic Address Pointer
incrementing. When operating in Byte mode, the
MCP23X17 family does not increment its internal
address counter after each byte during the data
transfer. This gives the ability to continually access the
same address by providing extra clocks (without
additional control bytes). This is useful for polling the
GPIO register for data changes or for continually
writing to the output latches.
A special mode (Byte mode with IOCON.BANK = 0)
causes the address pointer to toggle between
associated A/B register pairs. For example, if the BANK
bit is cleared and the Address Pointer is initially set to
address 12h (GPIOA) or 13h (GPIOB), the pointer will
toggle between GPIOA and GPIOB. Note that the
Address Pointer can initially point to either address in
the register pair.
Sequential mode enables automatic address pointer
incrementing. When operating in Sequential mode, the
MCP23X17 family increments its address counter after
each byte during the data transfer. The Address Pointer
automatically rolls over to address 00h after accessing
the last register.
These two modes are not to be confused with single
writes/reads and continuous writes/reads that are
serial protocol sequences. For example, the device
may be configured for Byte mode and the master may
perform
a
continuous
read.
In
this
case,
the
MCP23X17 would not increment the Address Pointer
and would repeatedly drive data from the same
location.
3.2.2
I2C INTERFACE
3.2.2.1
I2C Write Operation
The I2C write operation includes the control byte and
register address sequence, as shown in Figure 3-1.
This sequence is followed by eight bits of data from the
master
and
an
Acknowledge
(ACK)
from
the
MCP23017. The operation is ended with a Stop (P) or
Restart (SR) condition being generated by the master.
Data is written to the MCP23017 after every byte
transfer. If a Stop or Restart condition is generated
during a data transfer, the data will not be written to the
MCP23017.
Both
“byte
writes”
and
“sequential
writes”
are
supported by the MCP23017. If Sequential mode is
enabled
(IOCON,
SEQOP = 0) (default),
the
MCP23017 increments its address counter after each
ACK during the data transfer.
FIGURE 3-1:
BYTE AND SEQUENTIAL WRITE
S
P
W
OP
ADDR
DIN
DIN
....
S
W
OP
ADDR
DIN
P
Byte
Sequential
S
P
SR
W
R
OP
ADDR
DIN
- Start
- Restart
- Stop
- Write
- Read
- Device opcode
- Device register address
- Data out from MCP23017
- Data in to MCP23017
DOUT



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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