Using the reference design
Functional Description
The reference design is a simple I2C interface for the ADP5589. The software programs the device,
monitors and reports events, locks or unlocks the keypad. It can also be programmed to generate a
PWM signal or implement simple digital logic. The information is displayed on a UART terminal.
The hardware I2C access allows reading or writing of any ADP5589 registers via the address, write
and read data registers.
PmodIOXP must be connected to J4 using the extension cable provided.
When decoding the PmodKYPD pay attention to the fact that:
ROW1 to ROW4 are seen by the ADP5589 as C3 to C0.
COL4 to COL1 are seen by the ADP5589 as R3 to R0.
UART must be set to 115200 Baud Rate for the Avnet LX-9 Microboard and
ZedBoard or 9600 Baud Rate for the Digilent Nexys™3 Board.
Rev 30 Sep 2013 14:51 | Page 5
Need help?
Do you have a question about the ADP5589 and is the answer not in the manual?