Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

MCP23S17T-E/SP Datasheet(PDF) 24 Page - Microchip Technology

Part # MCP23S17T-E/SP
Description  16-Bit I/O Expander with Serial Interface
Download  48 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP23S17T-E/SP Datasheet(HTML) 24 Page - Microchip Technology

Back Button MCP23S17T-E/SP Datasheet HTML 20Page - Microchip Technology MCP23S17T-E/SP Datasheet HTML 21Page - Microchip Technology MCP23S17T-E/SP Datasheet HTML 22Page - Microchip Technology MCP23S17T-E/SP Datasheet HTML 23Page - Microchip Technology MCP23S17T-E/SP Datasheet HTML 24Page - Microchip Technology MCP23S17T-E/SP Datasheet HTML 25Page - Microchip Technology MCP23S17T-E/SP Datasheet HTML 26Page - Microchip Technology MCP23S17T-E/SP Datasheet HTML 27Page - Microchip Technology MCP23S17T-E/SP Datasheet HTML 28Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 24 / 48 page
background image
MCP23017/MCP23S17
DS21952B-page 24
© 2007 Microchip Technology Inc.
1.7
Interrupt Logic
If enabled, the MCP23X17 activates the INTn interrupt
output when one of the port pins changes state or when
a pin does not match the preconfigured default. Each
pin is individually configurable as follows:
• Enable/disable interrupt via GPINTEN
• Can interrupt on either pin change or change from
default as configured in DEFVAL
Both conditions are referred to as Interrupt-on-Change
(IOC).
The interrupt control module uses the following
registers/bits:
• IOCON.MIRROR – controls if the two interrupt
pins mirror each other
• GPINTEN – Interrupt enable register
• INTCON – Controls the source for the IOC
• DEFVAL – Contains the register default for IOC
operation
1.7.1
INTA AND INTB
There are two interrupt pins: INTA and INTB. By
default, INTA is associated with GPAn pins (PortA) and
INTB is associated with GPBn pins (PortB). Each port
has an independent signal which is cleared if its
associated GPIO or INTCAP register is read.
1.7.1.1
Mirroring the INT pins
Additionally, the INTn pins can be configured to mirror
each other so that any interrupt will cause both pins to
go active. This is controlled via IOCON.MIRROR.
If IOCON.MIRROR = 0, the internal signals are routed
independently to the INTA and INTB pads.
If IOCON.MIRROR = 1, the internal signals are OR’ed
together and routed to the INTn pads. In this case, the
interrupt will only be cleared if the associated GPIO or
INTCAP is read (see Table 1-7).
TABLE 1-7:
INTERRUPT OPERATION
(IOCON.MIRROR = 1)
1.7.2
IOC FROM PIN CHANGE
If enabled, the MCP23X17 will generate an interrupt if
a mismatch condition exists between the current port
value and the previous port value. Only IOC enabled
pins will be compared. Refer to Register 1-3 and
Register 1-5.
1.7.3
IOC FROM REGISTER DEFAULT
If enabled, the MCP23X17 will generate an interrupt if
a mismatch occurs between the DEFVAL register and
the port. Only IOC enabled pins will be compared.
Refer to Register 1-3, Register 1-5 and Register 1-4.
1.7.4
INTERRUPT OPERATION
The INTn interrupt output can be configured as active-
low, active-high or open-drain via the IOCON register.
Only those pins that are configured as an input (IODIR
register) with Interrupt-On-Change (IOC) enabled
(IOINTEN register) can cause an interrupt. Pins
defined as an output have no effect on the interrupt
output pin.
Input change activity on a port input pin that is enabled
for IOC will generate an internal device interrupt and
the device will capture the value of the port and copy it
into INTCAP. The interrupt will remain active until the
INTCAP or GPIO register is read. Writing to these
registers will not affect the interrupt. The interrupt
condition will be cleared after the LSb of the data is
clocked out during a read command of GPIO or
INTCAP.
The first interrupt event will cause the port contents to
be copied into the INTCAP register. Subsequent
interrupt conditions on the port will not cause an
interrupt to occur as long as the interrupt is not cleared
by a read of INTCAP or GPIO.
Interrupt
Condition
Read Portn * Interupt Result
GPIOA
PortA
Clear
PortB
Unchanged
GPIOB
PortA
Unchanged
PortB
Clear
GPIOA and
GPIOB
PortA
Unchanged
PortB
Unchanged
Both PortA and
PortB
Clear
* Port n = GPIOn or INTCAPn
Note:
The value in INTCAP can be lost if GPIO is
read before INTCAP while another IOC is
pending. After reading GPIO, the interrupt
will clear and then set due to the pending
IOC, causing the INTCAP register to
update.


Similar Part No. - MCP23S17T-E/SP

ManufacturerPart #DatasheetDescription
logo
Microchip Technology
MCP23S17T-E/SP MICROCHIP-MCP23S17T-E/SP Datasheet
879Kb / 42P
   16-Bit I/O Expander with Serial Interface
06/23/16
More results

Similar Description - MCP23S17T-E/SP

ManufacturerPart #DatasheetDescription
logo
Microchip Technology
MCP23017 MICROCHIP-MCP23017_16 Datasheet
879Kb / 42P
   16-Bit I/O Expander with Serial Interface
06/23/16
MCP23008 MICROCHIP-MCP23008_07 Datasheet
839Kb / 44P
   8-Bit I/O Expander with Serial Interface
2007
MCP23008 MICROCHIP-MCP23008 Datasheet
498Kb / 40P
   8-Bit I/O Expander with Serial Interface
2005
logo
Renesas Technology Corp
M66008P RENESAS-M66008P Datasheet
1Mb / 7P
   16-BIT I/O EXPANDER
logo
Mitsubishi Electric Sem...
M66008P MITSUBISHI-M66008P Datasheet
107Kb / 5P
   16-BIT I/O EXPANDER
logo
Microchip Technology
MCP23016 MICROCHIP-MCP23016 Datasheet
569Kb / 38P
   16-Bit I2C??I/O Expander
2007
logo
ON Semiconductor
PCA9655E ONSEMI-PCA9655E_17 Datasheet
171Kb / 20P
   Remote 16-bit I/O Expander
March, 2017 ??Rev. 5
logo
Microchip Technology
MCP23016T-I MICROCHIP-MCP23016T-I Datasheet
424Kb / 38P
   16-Bit I2C I/O Expander
12/08/06
logo
ON Semiconductor
PCA9655E ONSEMI-PCA9655E Datasheet
170Kb / 20P
   Remote 16-bit I/O Expander
January, 2016 ??Rev. 4
logo
Princeton Technology Co...
PT8300 PTC-PT8300 Datasheet
56Kb / 4P
   16-Bit I/O Expander IC
More results


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 43 44 45 46 47 48


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
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