Page 1
One Technology Way · P.O. Box 9106 · Norwood, MA 02062-9106 · Tel: 781.329.4700 · Fax: 781.461.3113 · www.analog.com ADP5589 Pmod Xilinx FPGA Reference Design Introduction ADP5589 is a 19 I/O port expander with built-in keypad matrix decoder, programmable logic, reset generator and PWM generator.
Page 2
Running Demo (SDK) Program If you are not familiar with LX9 and/or Xilix tools, please visit http://www.xilinx.com/products/boards-and-kits/AES-S6MB-LX9.htm for details. If you are not familiar with Nexys™3 and/or Xilix tools, please visit http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,400,897&Prod=NEXY for details. If you are not familiar with ZedBoard and/or Xilix tools, please visit http://www.em.avnet.com/en-us/design/drc/Pages/Zedboard.aspx for details.
Page 3
Spartan 6 device (see screenshot below). Start a UART terminal (set appropiate baud rate) and then program the device using the bit file provided in the project *.zip archive, located in the “sw” folder (../adp5589/sw/ADP5589.bit). Rev 30 Sep 2013 14:51 | Page 3...
Page 4
If programming was successful, you should be seeing messages appear on the terminal window as shown in figures below. After programming the ADP5589 device, the program will display initialization messages, and afterwards it will enter Key Decoder Test Mode. In this mode, you can press any key on the PmodKYPD, and it will be displayed on the UART along with the corresponding event (press/release).
Page 5
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.
Page 6
When using the ZedBoard reference design in order to develop your own software, please make sure that the following options are set in “system_config.h”: // Select between PS7 or AXI Interface #define USE_PS7 // SPI used in the design #define USE_SPI // I2C used in the design #define USE_I2C // Timer (+interrupts) used in the design...
Need help?
Do you have a question about the ADP5589 and is the answer not in the manual?
Questions and answers