Universal Remote Control R7 - SPECS SHEET User Manual Page 11

  • Download
  • Add to my manuals
  • Print
  • Page
    / 52
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 10
Data Sheet ADP5589
Rev. B | Page 11 of 52
LOGIC EVENT
5678910114321
16 17 18 19 20 21 2215141312
27 28 29 30 31 32 3326252423
38 39 40 41 42 43 4437363534
49 50 51 52 53 54 5548474645
60 61 62 63 64 65 6659585756
71 72 73 74 75 76 7770696867
82 83 84 85 86 87 8881807978
FIFO
UPDATE
KEY SCAN
CONTROL
I/O CONFIGURATION
KEY EVENT
GPI EVENT
I
2
C BUSY?
R0 R3R1 R2 R4 R7R5 R6C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10
COLUMN
SINK ON/OFF
PIN_CONFIG_A[7:0]
PIN_CONFIG_B[7:0]
ROW
SENSE
FIFO
PIN_CONFIG_C[2:0]
UNLOCK1[7:0]
UNLOCK2[7:0]
EXT_LOCK_EVENT[7:0]
UNLOCK_TIMER[2:0]
INT_MASK_TIMER[4:0]
LOCK_EN
LOCK_STAT
EVENT_INT
OVRFLOW_INT
LOCK_INT
EC[4:0]
RESET_TRIGGER_TIME[2:0]
RESET1_EVENT_A[7:0]
RESET1_EVENT_B[7:0]
RESET1_EVENT_C[7:0]
89
91
96
95
94
90
93
92
RESET2_EVENT_A[7:0]
RESET2_EVENT_B[7:0]
RESET 1_INITIATE
RESET 2_INITIATE
09714-010
Figure 11. Detailed Key Scan Block
Use Registers PIN_CONFIG_A[7:0] (0x49),
PIN_CONFIG_B[7:0] (0x4A), and PIN_CONFIG_C[2:0]
(0x4B) to configure I/Os for keypad decoding. The number
label on each key switch represents the event identifier that
is recorded if that switch is pressed. If all row/column pins
are configured, it is possible to observe all 88 key identifiers on
the FIFO.
If a smaller 3 × 3 matrix is configured, for example, using the
C5, C6, and C7 column pins and the R1, R2, and R3 row pins,
only the nine event identifiers (17, 18, 19, 28, 29, 30, 39, 40,
and 41) can possibly be observed on the FIFO, as shown in
Figure 11.
By default, the ADP5589 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 32 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 32 has remained pressed, which sets the
EVENT_INT interrupt. The event counter, EC[4:0], is incre-
mented to 1, EVENT1[7:0] of the FIFO is updated with its event
identifier set to 32, and its Event1_State bit is set to 1, indicating
a press.
KEY 32
KEY 32 PRESS
KEY 32 RELEASE
KEY SCAN
EVENT_INT
EC[4:0]
FIFO
1 2
1
0
0
0
32
32
0
0
09714-011
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[7:0] of the FIFO is
updated with its event identifier set to 32. Its Event2_State bit is
set to 0, indicating a release. The key scanner goes back 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 13, if Key 32 is pressed,
EVENT_INT is asserted, EC[4:0] is updated, and the FIFO is
updated. During the time that the key is still 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 incremented, and
the FIFO updated with the release event information.
Page view 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16 ... 51 52

Comments to this Manuals

No comments