Behavioural mixed-signal modelMCP23017-E/SPmcp23017
MCP23017 (16 I/O expander, I²C)
16 extra digital inputs / outputs on I²C (address 20h + A2…A0): direction, input polarity, weak pull-ups (about 67 kΩ), interrupt on change or against a default value with INTCAP, INTA / INTB (mirrored, open drain or push-pull), both register banks and the byte / sequential modes as in the Microchip data sheet. Use it e.g. with Adafruit_MCP23X17 (pinMode, digitalWrite, digitalRead on pins 0–15: GPA0–7, GPB0–7).
Key data
- Category
- ICs
- Simulation model
- Behavioural mixed-signal model
- Manufacturer part number
- MCP23017-E/SP
- Reference prefix
- U
- Pins
- 26
- Land pattern
- DIP-28_W7.62mm
Simulation model
A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.
- Model
- mcp23017
- Supply pins
- VDD / VSS
Pins 26
| Pin | Name | Use |
|---|---|---|
| VDD | VDDSupply pin | Supply input: decouple with 100 nF close to the pin |
| VSS | VSSGround pin | Ground |
| SCL | SCLInput pin | I²C clock: sensors, displays; pull-up (about 4.7 kΩ) to the supply |
| SDA | SDAI/O pin | I²C data: pull-up (about 4.7 kΩ) to the supply |
| A0 | A0Input pin | Logic input: never leave open (tie unused inputs to VCC or GND) |
| A1 | A1Input pin | Logic input: never leave open (tie unused inputs to VCC or GND) |
| A2 | A2Input pin | Logic input: never leave open (tie unused inputs to VCC or GND) |
| RESET | /RESETInput pin | Active-low control input: low = active; tie high when unused |
| INTA | INTAOutput pin | Logic output: drives the next input; do not tie outputs together |
| INTB | INTBOutput pin | Logic output: drives the next input; do not tie outputs together |
| GPA0 | GPA0I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPA1 | GPA1I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPA2 | GPA2I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPA3 | GPA3I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPA4 | GPA4I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPA5 | GPA5I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPA6 | GPA6I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPA7 | GPA7I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPB0 | GPB0I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPB1 | GPB1I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPB2 | GPB2I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPB3 | GPB3I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPB4 | GPB4I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPB5 | GPB5I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPB6 | GPB6I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPB7 | GPB7I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
PCB
Verified land pattern
DIP-28_W7.62mm| Package | Land pattern | Status | Source |
|---|---|---|---|
| DIP-28 | DIP-28_W7.62mm | Verified land pattern | KiCad 10.0.7: symbol MCP23017x-x-SP, footprint Package_DIP:DIP-28_W7.62mm; pads by pin name from the KiCad symbol; Microchip MCP23017 data sheet |
| |||