Analog Devices ADP5589 Reference Design

Analog Devices ADP5589 Reference Design

Advertisement

Quick Links

One Technology Way · P.O. Box 9106 · Norwood, MA 02062-9106 · Tel: 781.329.4700 · Fax: 781.461.3113 ·
ADP5589 Pmod Xilinx FPGA Reference
Design

Introduction

The
ADP5589
is a 19 I/O port expander with built-in keypad matrix decoder, programmable logic,
reset generator and PWM generator. This reference design allows full programming of the device, and
also includes Keypad Decoder Test Mode and Key Lock/Unlock Feature.
HW Platform(s):
Spartan-6 LX9 Microboard (Avnet)
Nexys™3 Spartan-6 FPGA Board (Digilent)
Avnet ZedBoard
Quick Start Guide
The bit file provided in the project *.zip file combines the FPGA bit file and the SDK elf files. It may be
used for a quick check on the system. All you need is the hardware and a PC running a UART terminal
and the programmer (IMPACT).

Required Hardware

Spartan-6 LX9 Microboard (Avnet)
Nexys™3 Spartan-6 FPGA Board (Digilent)
Avnet ZedBoard
PmodIOXP ADP5589 (Digilent)
PmodKYPD (Digilent)

Required Software

Xilinx ISE 14.4 (Programmer (IMPACT) is sufficient for the demo and is available on Webpack).
A UART terminal (Tera Term/Hyperterminal), Baud rate 115200 for the Avnet LX-9 Microboard and
ZedBoard or 9600 for the Digilent Nexys™3 Board.
Rev 30 Sep 2013 14:51 | Page 1
www.analog.com

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Analog Devices ADP5589

  • 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...
  • Page 7 AD9361 REF_CLK by dinc@coherentlogix.com © Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. www.analog.com Rev 30 Sep 2013 14:51 | Page 7...

This manual is also suitable for:

Adp5589acpz-00-r7Adp5589acpz-01-r7

Table of Contents