Mobile I/O Expander and QWERTY Keypad Controller Data Sheet ADP5587 FEATURES FUNCTIONAL BLOCK DIAGRAM 18-GPIO port expander or 10 8 keypad matrix ADP5587 GPIOs configurable as GPIs, GPOs, and keypad rows or GND columns 19 2 C9 V I C interface with auto-increment CC 21 18 1.65 V to 3.6 V operation SCL 23 Keypad lock capability CO NT RO L CO NT RO L SDA 22 REG I ST ERS INT ERF ACE C8 Open-drain interrupt output 17 RST 20 Key press and key release interrupts INT 24 GPI interrupt with level programmability Programmable pull-ups Key event counter with overflow interrupt 12 3456 789 10 11 12 13 14 15 16 275 s debounce on the reset line and GPIs 1 A typical idle current Figure 1. 55 A typical polling current 4 mm 4 mm LFCSP package Small 2 mm x 2 mm WLCSP package, 0.4 mm pitch 2 Multiple I C addresses available for the LFCSP package to allow multiple port expanders on the same bus APPLICATIONS Keypad and I/O expander designed for QWERTY type phones that require a large keypad matrix GENERAL DESCRIPTION All communication to the main processor is done using one The ADP5587 is an I/O port expander and keypad matrix 2 interrupt line and two I C-compatible interface lines. The designed for QWERTY type phones that require a large keypad ADP5587 can be configured as a keypad matrix of up to 8 rows matrix and expanded I/O lines. I/O expander ICs are used in 10 columns (a maximum of 80 keys). mobile platforms as a solution to the limited number of GPIOs available in the main processor. When the ADP5587 is used for smaller keypad matrices, unused row and column pins can be reconfigured to act as general- In its small 2 mm 2 mm package, the ADP5587 contains purpose inputs or outputs. R0 to R7 denote the row pins of the enough power to handle all key scanning and decoding and 2 matrix, whereas C0 to C9 denote the column pins. At power-up, to flag the processor of key presses and releases via the I C all rows and columns default to GPIs and must be programmed interface and interrupt. The ADP5587 frees the main micro- to function as part of the keypad matrix or as GPOs. processor from the need to monitor the keypad, thereby 2 minimizing current drain and increasing processor bandwidth. Two options for I C addresses exist for the LFCSP package to The ADP5587 is also equipped with a buffer/FIFO and key reduce the chance of port contention and allow up to two event counter to handle and keep track of up to 10 unprocessed 2 ADP5587 ICs to operate on the same I C bus (see the Ordering key or GPI events with overflow wrap and interrupt capability. Guide). The ADP5587 has keypad lock capability with an option to trigger or not trigger an interrupt at key presses and releases. Rev. E Document Feedback Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. rights of third parties that may result from its use. Specifications subject to change without notice. No Tel: 781.329.4700 20092019 Analog Devices, Inc. All rights reserved. license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Technical Support www.analog.com Trademarks and registered trademarks are the property of their respective owners. R7 R6 R5 R4 R3 R2 R1 R0 C0 C1 C2 C3 C4 C5 C6 C7 08612-001ADP5587 Data Sheet TABLE OF CONTENTS Features .............................................................................................. 1 Typical Performance Characteristics ..............................................7 Applications ....................................................................................... 1 Theory of Operation .........................................................................8 Functional Block Diagram .............................................................. 1 Keypad Operation .........................................................................8 General Description ......................................................................... 1 General-Purpose Inputs and Outputs ..................................... 12 2 Revision History ............................................................................... 2 I C Programming and Digital Control ........................................ 14 Specifications ..................................................................................... 3 Registers ....................................................................................... 15 DC Characteristics ....................................................................... 3 Register Descriptions ................................................................. 16 AC Characteristics ........................................................................ 4 Applications Information .............................................................. 21 Absolute Maximum Ratings ............................................................ 5 Applications Overview .............................................................. 21 Thermal Resistance ...................................................................... 5 Keypad Current .......................................................................... 21 ESD Caution .................................................................................. 5 Outline Dimensions ....................................................................... 23 Pin Configurations and Function Descriptions ........................... 6 Ordering Guide .......................................................................... 23 REVISION HISTORY 10/2019Rev. D to Rev. E 5/2010Rev. A to Rev. B Changes to Table 16 ........................................................................ 16 Changes to Features .......................................................................... 1 Updated Outline Dimensions ....................................................... 23 Changes to Table 1 ............................................................................ 3 Changes to Ordering Guide .......................................................... 23 Changes to Table 8 ............................................................................. 6 3/2010Rev. 0 to Rev. A 1/2012Rev. C to Rev. D Changes to Table 11 .......................................................................... 9 Added WLCSP Information ........................................ Throughout Changes to Table 25 ........................................................................ 18 Added Typical Performance Characteristics Section ................... 7 Updated Outline Dimensions, Changes to Ordering Guide .... 23 7/2011Rev. B to Rev. C Changes to Features and General Description, 12/2009Revision 0: Initial Version 2 I C Address Options ........................................................................ 1 2 Changes to the I C Programming and Digital Control Section, Figure 16, Figure, 17, and Figure 18 ............................................. 14 Changes to Ordering Guide .......................................................... 23 Rev. E Page 2 of 24