參數(shù)資料
型號: ADP5585ACPZ-03-R7
廠商: Analog Devices Inc
文件頁數(shù): 3/40頁
文件大?。?/td> 0K
描述: IC PORT EXPANDER 10I/O 16LFCSP
標(biāo)準(zhǔn)包裝: 1,500
系列: *
Data Sheet
ADP5585
Rev. C | Page 11 of 40
Use Registers PIN_CONFIG_A[7:0] and PIN_CONFIG_B[7:0]
to configure I/Os for keypad decoding. The number label on
each key switch represents the event identifier that is recorded
if that switch was pressed. If all row/column pins are config-
ured, it is possible to observe all 25 key identifiers on the
FIFO. A larger 6 × 5 matrix can be configured by using the
ADP5585ACBZ-01-R7 or the ADP5585ACPZ-01-R7.
If a smaller 2 × 2 matrix is configured, for example, by using the
C2 and C3 column pins and the R1 and R2 row pins, only the
four event identifiers (8, 9, 13, and 14) can possibly be observed
on the FIFO, as shown in Figure 11.
By default, ADP5585 records key presses and releases on the
FIFO. Figure 12 illustrates what happens when a single key is
pressed and released. Initially, the key scanner is idle. When
Key 3 is pressed, the scanner begins scanning through all
configured row/column pairs. After the scan wait time, the
scanner again scans through all configured row/column pairs
and detects that Key 3 has remained pressed, which sets the
EVENT_INT interrupt. The event counter, EC[4:0], is incre-
mented to 1, EVENT1_IDENTIFIER[6:0] of the FIFO is
updated with its event identifier set to 3, and its
EVENT1_STATE bit is set to 1, indicating a press.
KEY 3
KEY 3 PRESS
KEY 3 RELEASE
KEY SCAN
EVENT_INT
EC[4:0]
FIFO
1
2
1
0
3
0
09
84
1-
0
1
Figure 12. Press and Release Event
The key scanner continues the scan/wait cycles while the key
remains pressed. If the scanner detects that the key has been
released for two consecutive scan cycles, the event counter,
EC[4:0], is incremented to 2, and EVENT2_IDENTIFIER[6:0]
of the FIFO is updated with its event identifier set to 3. Its
EVENT2_STATE bit is set to 0, indicating a release. The key
scanner returns to idle mode because no other keys are pressed.
The EVENT_INT interrupt can be triggered by both press and
release key events. As shown in Figure 14, if Key 3 is pressed,
EVENT_INT is asserted, EC[4:0] is updated, and the FIFO is
updated. During the time that the key remains pressed, it is
possible for the FIFO to be read, the event counter decremented
to 0, and EVENT_INT cleared. When the key is finally released,
EVENT_INT is asserted, the event counter is incremented, and
the FIFO is updated with the release event information.
KEY 3
KEY 3 PRESS
KEY 32 RELEASE
KEY SCAN
EVENT_INT
EVENT_INT CLEARED
EC[4:0]
FIFO
READ
0
FIFO
1
0
3
0
FIFO
10
1
0
3
0
09
84
1-
01
2
Figure 13. Asserting the EVENT_INT Interrupt Key Pad Extension
As shown in Figure 11, the keypad can be extended if each row
is connected directly to ground by a switch. If the switch placed
between R0 and ground is pressed, the entire row is grounded.
When the key scanner completes scanning, it normally detects
Key 1 to Key 5 as being pressed; however, this unique condition
is decoded by the ADP5585, and Key Event 31 is assigned to it.
Up to eight more key event assignments are possible, allowing the
keypad size to extend up to 30. However, if one of the extended
keys is pressed, none of the keys on that row is detectable.
Activation of a ground key causes all other keys sharing that
row to be undetectable.
Ghosting
Ghosting is an occurrence where, given certain key press com-
binations on a keypad matrix, a false positive reading of an
additional key is detected. Ghosting is created when three or
more keys are pressed simultaneously on multiple rows or
columns (see Figure 14). Key combinations that form a right
angle on the keypad matrix can cause ghosting.
The solution to ghosting is to select a keypad matrix layout that
takes into account three key combinations that are most likely
to be pressed together. Multiple keys pressed across one row or
across one column do not cause ghosting. Staggering keys so that
they do not share a column also avoids ghosting. The most
common practice is to place keys that are likely to be pressed
together in the same row or column. Some examples of keys
that are likely to be pressed together are as follows:
The navigation keys in combination with Select.
The navigation keys in combination with the space bar.
The reset combination keys, such as CTRL + ALT + DEL.
COL0
ROW0
ROW1
ROW2
ROW3
PRESS
GHOST
PRESS
COL1
COL2
09
84
1-
0
1
3
Figure 14. COL0: ROW3 is a Ghost Key Due to a Short Among ROW0, COL0,
COL2, and ROW3 During Key Press
相關(guān)PDF資料
PDF描述
V110B36H150BG3 CONVERTER MOD DC/DC 36V 150W
ADP5585ACPZ-00-R7 IC PORT EXPANDER 10I/O 16LFCSP
PIC16LF1508-E/ML IC MCU 8BIT 7KB FLASH 20-QFN
V110B36H150BG CONVERTER MOD DC/DC 36V 150W
PIC16LF722A-I/MV MCU PIC 3.5K FLASH XLP 28-UQFN
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ADP5585CP-EVALZ 功能描述:BOARD EVAL FOR ADP5585CP RoHS:是 類別:編程器,開發(fā)系統(tǒng) >> 評估演示板和套件 系列:- 標(biāo)準(zhǔn)包裝:1 系列:- 主要目的:電信,線路接口單元(LIU) 嵌入式:- 已用 IC / 零件:IDT82V2081 主要屬性:T1/J1/E1 LIU 次要屬性:- 已供物品:板,電源,線纜,CD 其它名稱:82EBV2081
ADP5586 制造商:AD 制造商全稱:Analog Devices 功能描述:Keypad Decoder and I/O Port Expander
ADP5586ACBZ-00-R7 功能描述:接口-I/O擴(kuò)展器 RoHS:否 制造商:NXP Semiconductors 邏輯系列: 輸入/輸出端數(shù)量: 最大工作頻率:100 kHz 工作電源電壓:1.65 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:HVQFN-16 封裝:Reel
ADP5586ACBZ-01-R7 功能描述:接口-I/O擴(kuò)展器 RoHS:否 制造商:NXP Semiconductors 邏輯系列: 輸入/輸出端數(shù)量: 最大工作頻率:100 kHz 工作電源電壓:1.65 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:HVQFN-16 封裝:Reel
ADP5586ACBZ-03-R7 功能描述:接口-I/O擴(kuò)展器 RoHS:否 制造商:NXP Semiconductors 邏輯系列: 輸入/輸出端數(shù)量: 最大工作頻率:100 kHz 工作電源電壓:1.65 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:HVQFN-16 封裝:Reel