参数资料
型号: ADP5585CP-EVALZ
厂商: Analog Devices Inc
文件页数: 3/40页
文件大小: 0K
描述: BOARD EVAL FOR ADP5585CP
标准包装: 1
主要目的: 接口,GPIO 扩展器
已用 IC / 零件: ADP5585
主要属性: 10 个可配置的 I/O
次要属性: I²C 接口
已供物品:
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
相关PDF资料
PDF描述
EBM25DSEF-S13 CONN EDGECARD 50POS .156 EXTEND
GSC06DRTH-S734 CONN EDGECARD 12POS DIP .100 SLD
5503995-4 CABLE ASSEM FIBER ST-ST 5 METER
ADA4853-3YRU-EBZ BOARD EVAL FOR ADA4853-3YRU
A3CCB-2636G IDC CABLE- AKC26B/AE26G/AKC26B
相关代理商/技术参数
参数描述
ADP5586 制造商:AD 制造商全称:Analog Devices 功能描述:Keypad Decoder and I/O Port Expander
ADP5586ACBZ-00-R7 功能描述:接口-I/O扩展器 RoHS:否 制造商:NXP Semiconductors 逻辑系列: 输入/输出端数量: 最大工作频率:100 kHz 工作电源电压:1.65 V to 5.5 V 工作温度范围:- 40 C to + 85 C 安装风格:SMD/SMT 封装 / 箱体:HVQFN-16 封装:Reel
ADP5586ACBZ-01-R7 功能描述:接口-I/O扩展器 RoHS:否 制造商:NXP Semiconductors 逻辑系列: 输入/输出端数量: 最大工作频率:100 kHz 工作电源电压:1.65 V to 5.5 V 工作温度范围:- 40 C to + 85 C 安装风格:SMD/SMT 封装 / 箱体:HVQFN-16 封装:Reel
ADP5586ACBZ-03-R7 功能描述:接口-I/O扩展器 RoHS:否 制造商:NXP Semiconductors 逻辑系列: 输入/输出端数量: 最大工作频率:100 kHz 工作电源电压:1.65 V to 5.5 V 工作温度范围:- 40 C to + 85 C 安装风格:SMD/SMT 封装 / 箱体:HVQFN-16 封装:Reel
ADP5586CB-EVALZ 功能描述:界面开发工具 RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V