ADP5587ACPZ-R7 Analog Devices Inc, ADP5587ACPZ-R7 Datasheet - Page 17

IC, I/O EXPANDER, 400KHZ, LFCSP-24

ADP5587ACPZ-R7

Manufacturer Part Number
ADP5587ACPZ-R7
Description
IC, I/O EXPANDER, 400KHZ, LFCSP-24
Manufacturer
Analog Devices Inc
Type
I²C Port Expanderr
Datasheet

Specifications of ADP5587ACPZ-R7

Bus Frequency
400kHz
Ic Interface Type
I2C
No. Of I/o's
18
Supply Voltage Range
1.7V To 3.6V
Digital Ic Case Style
LFCSP
No. Of Pins
24
Msl
MSL 3 - 168 Hours
Supply Voltage Max
3.6V
Applications
Cell Phone
Mounting Type
Surface Mount
Package / Case
24-LFCSP
Interface Type
I2C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
ADP5587ACPZ-R7TR
Table 18. INT_STAT—Register 0x02 (Interrupt Status Register)
Field
Not Used
OVR_FLOW_INT
K_LCK_INT
GPI_INT
KE_INT
1
2
3
Table 19. KEY_LCK_EC_STAT—Register 0x03 (Keylock and Event Counter Register)
Field
K_LCK_EN
LCK2, LCK1
KEC
1
Table 20. KEY_EVENTx—Register 0x04 to Register 0x0D (Key Event Register A to Key Event Register J)
Register Name
KEY_EVENTA
(Register 0x04)
KEY_EVENTB
(Register 0x05)
KEY_EVENTC
(Register 0x06)
KEY_EVENTD
(Register 0x07)
KEY_EVENTE
(Register 0x08)
KEY_EVENTF
(Register 0x09)
KEY_EVENTG
(Register 0x0A)
KEY_EVENTH
(Register 0x0B)
KEY_EVENTI
(Register 0x0C)
KEY_EVENTJ
(Register 0x0D)
1
2
The KE_INT, GPI_INT, and OVR_FLOW_INT bits reflect the status of the interrupts when the interrupt types are enabled even if the processor interrupt is masked.
The K_LCK_INT bit is the interrupt to the processor when the keypad lock sequence is triggered.
If there is a pending key event or GPI interrupt in their respective registers, KE_INT is not cleared until the FIFO is empty, and GPI_INT is not cleared until the cause of
the interrupt is resolved. The host must write a 1 to the KE_INT and GPI_INT bits to clear them.
The KEC field indicates the key event count of key event registers that have values in the bit (KEC(0000) = 0 events, KEC(0001) = 1 event, KEC(1010) = 10 events). As the
key events are read and cleared, the state machine automatically reduces the event count in KEC.
Data in key event registers is provided as a FIFO, where data is sequentially provided on each read, regardless of an event register read. The user can read the
KEY_EVENTA register only for an event count or can read registers sequentially.
KE[6:0] reflects the value 1 to 80 for key press events and the value 97 to 114 for GPI events. For KE[7:0], 0 = key released event, 1 = key pressed event. For GPIEM_CFG,
0 reflects a change in the GPI from GPI_INT_LVL = true to GPI_INT_LVL = false; 1 reflects a change in the GPI in which the GPI_INT_LVL condition becomes true.
1
1, 3
1, 3
2
2
1
Register Description
Key Event Register A status (KE[6:0] = key number),
KP[7] = 0: released, 1: pressed (cleared on read)
Key Event Register B status (KE[6:0] = key number),
KP[7 ] = 0: released, 1: pressed (cleared on read)
Key Event Register C status (KE[6:0] = key number),
KP[7] = 0: released, 1: pressed (cleared on read)
Key Event Register D status (KE[6:0] = key number),
KP[7] = 0: released, 1: pressed (cleared on read)
Key Event Register E status (KE[6:0] = key number),
KP[7] = 0: released, 1: pressed (cleared on read)
Key Event Register F status (KE[6:0] = key number),
KP[7] = 0: released, 1: pressed (cleared on read)
Key Event Register G status (KE[6:0] = key number),
KP[7] = 0: released, 1: pressed (cleared on read)
Key Event Register H status (KE[6:0] = key number),
KP[7] = 0: released, 1: pressed (cleared on read)
Key Event Register I status (KE[6:0] = key number),
KP[7] = 0: released, 1: pressed (cleared on read)
Key Event Register J status (KE[6:0] = key number),
KP[7] = 0: released, 1: pressed (cleared on read)
Bits
[7:4]
3
2
1
0
Bits
[6]
[5:4]
[3:0]
Description
N/A
Overflow interrupt status. When set, write 1 to clear.
1: overflow interrupt is detected.
0: overflow interrupt is not detected.
Keylock interrupt status. When set, write 1 to clear.
1: keylock interrupt is detected.
0: keylock interrupt is not detected.
GPI interrupt status. When set, write 1 to clear.
1: GPI interrupt is detected.
0: GPI interrupt is not detected.
Key events interrupt status. When set, write 1 to clear.
1: key events interrupt is detected.
0: key events interrupt is not detected.
Description
0: lock feature is disabled.
1: lock feature is enabled.
Keypad lock status[1:0] (00 = unlocked; 11 = locked; read-only bits).
Key event count of key event register.
Rev. B | Page 17 of 24
Bit 7
KA7
KB7
KC7
KD7
KE7
KF7
KG7
KH7
KI7
KJ7
Bit 6
KA6
KB6
KC6
KD6
KE6
KF6
KG6
KH6
KI6
KJ6
Bit 5
KA5
KB5
KC5
KD5
KE5
KF5
KG5
KH5
KI5
KJ5
Bit 4
KA4
KB4
KC4
KD4
KE4
KF4
KG4
KH4
KI4
KJ4
Bit 3
KA3
KB3
KC3
KD3
KE3
KF3
KG3
KH3
KI3
KJ3
1
Bit 2
KA2
KB2
KC2
KD2
KE2
KF2
KG2
KH2
KI2
KJ2
ADP5587
Bit 1
KA1
KB1
KC1
KD1
KE1
KF1
KG1
KH1
KI1
KJ1
Bit 0
KA0
KB0
KC0
KD0
KE0
KF0
KG0
KH0
KI0
KJ0

Related parts for ADP5587ACPZ-R7