Analog Devices ADP5588 Manual page 8

Keypad i/o expander evaluation board
Table of Contents

Advertisement

EVAL-ADP5588
Keypad Configuration
The ADP5588 has eighteen GPIOs that can be programmed as
keypad lines to make up a 10 × 8 keypad matrix (80 keys). If a
smaller size matrix is needed, the unused GPIOs can be used for
other functions (other functions include GPIs, GPOs, and light
sensor comparator inputs).
Motherboard Jumper J1 through Motherboard Jumper J8 and
Motherboard Jumper J13 through Motherboard Jumper J22
must be set in the KP position in any row or column that will be
used as part of the keypad matrix.
For more information, see Figure 32.
To program a GPIO pin as a keypad in the GPIO tab:
1.
Set the bits for the columns and rows that need to be
configured as keypads in Register 0x1D, Register 0x1E,
and Register 0x1F and click Program 0xXX for each
register that needs to be programmed (XX represent the
register address to be programmed).
2.
Enable KE interrupt for key presses and releases, if needed,
by setting Bit 0 in Register 0x01. Register 0x04 through
Register 0x0D make up the FIFO registers for the key event
table. For more details on the keypad operations, see the
ADP5588
For more information, see Figure 23.
Figure 23. Keypad Configuration Tab
Rev. 0 | Page 8 of 20
data sheet.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADP5588 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Eval-adp5588

Table of Contents