Details
BUY MCP23017-E/ML https://www.utsource.net/itm/p/12610118.html
| Parameter | Description | Value/Range |
|---|---|---|
| Package Type | Package style | 28-SOIC (Small Outline Integrated Circuit) |
| Operating Voltage | Supply voltage range | 1.8V to 5.5V |
| I2C Interface | Communication interface type | I2C compatible, supports standard and fast modes |
| Input/Output Ports | Number of configurable GPIOs | 16-bit (divided into two 8-bit ports: GPA and GPB) |
| Interrupt Capability | Ability to generate interrupts | Yes, with individual or mirrored interrupt output pins |
| Internal Pull-ups | Internal pull-up resistors | Configurable per port pin |
| Open-Drain Outputs | Output configuration options | Configurable as open-drain for each port pin |
| Operating Temperature | Range of temperatures where device can operate reliably | -40掳C to +85掳C |
| Storage Temperature | Range of temperatures where device can be stored without damage | -65掳C to +150掳C |
| Data Rate | Maximum data transfer rate | Up to 400 kbps (fast mode) |
| Power Consumption | Typical current consumption | 1.5 渭A (standby), 2.8 mA (active) |
Instructions for Use:
Power Supply Connection:
- Connect VDD to the positive supply voltage (1.8V to 5.5V).
- Connect VSS to ground.
I2C Bus Configuration:
- Connect SDA and SCL to the I2C bus lines.
- Ensure appropriate pull-up resistors are connected to SDA and SCL lines.
Address Setting:
- Set the device address using A0, A1, and A2 pins. These pins can be tied to VSS or VDD to set the I2C address.
Initialization:
- Initialize the MCP23017 by configuring the IODIRA/B registers to set the direction of the GPIO pins (input or output).
GPIO Configuration:
- Use GPPUA/B registers to enable internal pull-up resistors for input pins.
- Configure GPIO pins as inputs or outputs via the IODIRA/B registers.
Reading/Writing Data:
- Write data to the GPIOA/B registers to control output states.
- Read data from the GPIOA/B registers to get the state of input pins.
Interrupt Handling:
- Configure the INTCONA/B registers to set the interrupt-on-change behavior.
- Use the INTFA/B registers to check which pins triggered an interrupt.
- Interrupts can be configured to trigger on any change or match a specific value.
Shutdown Mode:
- The device does not have a dedicated shutdown pin; low power consumption is achieved through careful management of active states.
Handling Electrostatic Discharge (ESD):
- Follow proper handling procedures to prevent ESD damage during assembly and testing.
View more about MCP23017-E/ML on main site
