ADP5589 Analog Devices, ADP5589 Datasheet - Page 16
![no-image](/images/manufacturer_photos/0/0/56/analog_devices_sml.jpg)
ADP5589
Manufacturer Part Number
ADP5589
Description
Keypad Decoder and I/O Expansion
Manufacturer
Analog Devices
Datasheet
1.ADP5589.pdf
(48 pages)
Specifications of ADP5589
Vin Range
1.8 to 3.0V
Number Of I/os
19
Application
Mobil I-0 Exp-Keybd Cont,Mobil I-O Expander
Qwerty Keypad
Yes
Other Functions
I2C I/O & register
Function Flag
Mobil I-O
Package
24-Lead LFCSP,25-Ball WLCSP
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADP5589ACPZ-00-R7
Manufacturer:
ADI/亚德诺
Quantity:
20 000
ADP5589
LOGIC BLOCKS
Several of the ADP5589 I/O lines can be used as inputs and
outputs for implementing some common logic functions.
The R1, R2, and R3 I/O pins can be used as inputs, and the R0
I/O pin can be used as an output for Logic Block 1.
The C8, C7, and C6 I/O pins can be used as inputs, and the C9
I/O pin can be used as an output, for Logic Block 2. It is also
possible to cascade the output of Logic Block 1 as an alternate
input for Logic Block 2 (LY1 is used instead of LA2).
LC1
LB1
LA1
R3_EXTEND_CFG[1:0] = 01
LC1
LC1
LB1
LB1
LA1
LA1
R3_EXTEND_CFG[1:0]
LC1_INV
LB1_INV
LA1_INV
0
1
0
1
0
1
SEL
SEL
SEL
LOGIC1_SEL[2:0]
OUT
OUT
OUT
RESET_TRIGGER_TIME[2:0]
IN_LC1
IN_LB1
IN_LA1
(R1) LA1
(R2)
(R3)
FF1_CLR
FF1_SET
LA1_INV
LB1_INV
LC1_INV
LY1_INV
RESET1_EVENT_A[7:0]
RESET1_EVENT_B[7:0]
RESET1_EVENT_C[7:0]
RESET2_EVENT_A[7:0]
RESET2_EVENT_B[7:0]
LOGIC1_INT_LEVEL
LOGIC2_INT_LEVEL
LOGIC1_EVENT_EN
LOGIC2_EVENT_EN
LB1
LC1
LCK_TRK_LOGIC
IN_LA1
IN_LB1
IN_LC1
IN_LA1
IN_LB1
IN_LC1
IN_LA1
IN_LB1
IN_LC1
IN_LA1
IN_LB1
IN_LC1
FF1_CLR
LOGIC BLOCK1
D
CLR
SET
Figure 20. Logic Blocks Overview
XOR
AND
OR
FF1_SET
Q
Figure 21. Logic Block 1
Rev. A | Page 16 of 48
0
1
SEL
OUT
XOR
AND
GENERATOR
OR
EVENT/INT
LY1 (R0)
LOGIC
C6_EXTEND_CFG
LOGIC2_SEL[2:0]
0
1
0
1
0
1
D
SEL
SEL
SEL
CLR
SET
OUT
OUT
OUT
FF2_CLR
(C8) LA2
(C7)
(C6)
FF2_SET
LA2_INV
LB2_INV
LC2_INV
LY2_INV
Q
I
KEY EVENT
GPI EVENT
LOGIC EVENT
2
AND1
OR1
XOR1
FF1
C BUSY?
LB2
LC2
The outputs from the logic blocks can be configured to generate
interrupts. They can also be configured to generate events on
the FIFO. The LCK_TRK_LOGIC (0x4D[4]) bit can be used
to allow logic events (programmed for FIFO updating) to be
tracked when the keypad is locked.
Figure 21 and Figure 22 show detailed diagrams of the internal
make-up of each logic block, illustrating the possible logic
functions that can be implemented.
EVENT_INT
LOGIC1_INT
LOGIC2_INT
LOGIC BLOCK2
IN_LA1
IN_LB1
IN_LC1
AND1
XOR1
D
GND
OR1
CLR
SET
FF1
LOGIC1_SEL[2:0]
Q
UPDATE
FIFO
000
001
010
011
100
101
110
111
SEL[2:0]
MUX
OUT
LY2 (C9)
OVRFLOW_INT
EC[4:0]
FIFO
LY1
LY1
LY1_INV
0
1
SEL
OUT
LY1