This version (26 Apr 2023 09:38) was approved by Richmond Eustacio.The Previously approved version (24 Apr 2023 05:43) is available.Diff

EVAL-AD5592R-PMDZ Overview

The EVAL-AD5592R-PMDZ is a minimalist 8-channel, 12-Bit, configurable ADC/DAC/GPIO with on-chip reference, SPI interface PMOD module. This board serves as a low-cost alternative to the full-featured product evaluation boards, with terminal block connections and no extra signal conditioning.

This user guide will focus on the hardware aspect of the EVAL-AD5592R-PMDZ including the connectors, indicators, and different configurations a user would require in order to use the hardware. There is also a link to the design files as well as software reference designs that use the hardware with example embedded firmware for a real demo.

Simplified functional block diagram

Connectors and Configuration

The following section reviews all the hardware connectors and how to interface with them. It also reviews configuration options and well as important onboard indicators.

Analog/Digital I/O Connector (P2 & P3)

Connector Pin No. Pin Name Pin Description
P3 1 CH3 Channel 3 Input/Output
2 CH2 Channel 2 Input/Output
3 CH1 Channel 1 Input/Output
4 CH0 Channel 0 Input/Output
5 GND Ground
6 VDD Power Supply
P2 1 VREF Voltage Reference
2 GND Ground
3 CH7 Channel 7 Input/Output
4 CH6 Channel 6 Input/Output
5 CH5 Channel 5 Input/Output
6 CH4 Channel 4 Input/Output

SPI PMOD Connector (P1)

Connector Pin No. Pin Name ADuCM3029 Pin Function ADuCM3029 Port No.
6 3.3V +3.3V
7 IO16 XINT1_WAKE2/GPIO16 P1_00
10 IO12 SPT0_AD0/GPIO12 P0_12
123.3V +3.3V

Test Points

Users can also check the SPI signal quality, supply, and reference voltage of the board using test points labeled SS, MOSI, MISO, VLOGIC, and VREF

Voltage reference configuration

The default connection of the AD5592R Vref pin is shorted at pin 1 of JP1 solder jumper where you can easily configure your voltage reference input at pin 1 of terminal block P2, either from an external source or internal 2.5V.

LED Indicator

The DS1 is the power green LED indicator of the board.

Power Supply Considerations and Configuration

When using the AD5592R PMOD board, the 3.3V power for the PMOD comes directly from the host board it is connected to. The power from the host is generally capable of providing up to 100 mA at 3.3V, but for complete PMOD power specifications please clickhere.

Device Driver Support

There are two device driver solutions that are provided for controlling the EVAL-AD5592R-PMDZ:

  1. AD5592R no-OS Driver
    • The AD5592R no-OS driver is used in bare-metal applications, typically running on low-power, embedded microcontrollers.
  2. AD5592R Linux Driver
    • The AD5592R Linux driver is used in applications running the Linux operating system, typically on larger processors and SoC devices.
    • The AD5592R Linux driver uses the Industrial Input/Output (IIO) framework, greatly simplifying the development of application code via the cross-platform Libiio library, which is written in C and includes bindings for Python, MATLAB, C#, and other languages. Application code can run directly on the platform board, communicating with the device over the local backend, or from a remote host over the network or USB backends.

System Setup Using ADICUP3029

The EVAL-AD5592R-PMDZ can be used with ADICUP3029.

Demo Requirements

The following is the list of items needed in order to replicate this demo.

There are two basic ways to program the ADICUP3029 with the software for the AD5592R.

  1. Dragging and Dropping the Hex to the Daplink drive
    1. Using the drag and drop method, the software is going to be a version that Analog Devices creates for testing and evaluation purposes. This is the EASIEST way to get started with the reference design.
  2. Building, Compiling, and Debugging using CCES
    1. Importing the project into CrossCore Embedded Studio is going to allow you to change parameters and customize the software to your application, but will a bit more advanced and will require you to download the CrossCore toolchain.

The software for the ADICUP3029_AD5592R demo can be found here:

Prebuilt AD5592R Hex File

Complete AD5592R Source Files

Setting up the Hardware

1. Connect EVAL-AD5592R-PMDZ board at connector P8 of the EVAL-ADICUP3029.

2. Connect a micro-USB cable to the P8 connector of the EVAL-ADICUP3029 and connect it to a computer. The final setup should look similar to the picture below.

3. Make sure the following switches are as shown in the table below. <wrap center 30%>

4. From your PC, open My Computer and look for the DAPLINK drive, if you see this then the drivers are complete and correct.

3. Simply extract the provided zip file. Once extracted, you will see the pre-built hex file for the AD5592R demo. Then drag and drop this Hex file to the DAPLINK drive and your ADICUP3029 board will be programmed. The DS2 (red) LED will blink rapidly.

4. The DS2 will stop blinking and will stay ON once the programming is done.

5. Open PuTTY or other similar software. Check the Device Manager to set the correct COM port for the ADICUP3029. Set the baud rate to 115200.

6. The expected output viewed in the PuTTY is shown below.

System Setup Using Raspberry Pi

The EVAL-AD5592R-PMDZ can be used with a Raspberry Pi.

Demo Requirements

The following is a list of items needed in order to replicate this demo.

  • Hardware
    • Raspberry PI Zero, Zero W, 3B+, or 4
    • 16GB (or larger) Class 10 (or faster) micro-SD card
    • 5Vdc, 2.5A power supply with micro USB connector (USB-C power supply for Raspberry Pi 4)
    • User interface setup (choose one):
      • HDMI monitor, keyboard, and mouse plugged directly into Raspberry Pi
      • Host Windows/Linux/Mac computer on the same network as Raspberry Pi

Loading Image on SD Card

In order to boot the Raspberry Pi and control the EVAL-AD5592R-PMDZ, you will need to install ADI Kuiper Linux on an SD card. Complete instructions, including where to download the SD card image, how to write it to the SD card, and how to configure the system are provided on the Kuiper Linux page.

Configuring the SD Card

Follow the configuration procedure under Configuring the SD Card for Raspberry Pi Projects on the Kuiper Linux page, substituting the following lines in config.txt:


Setting up the Hardware

To set up the circuit for evaluation, consider the following steps:

  1. Connect the P9 of the PMOD to Raspberry Pi Interposer board at the male header GPIO pin connector of the Raspberry Pi as shown below.
  2. Connect the EVAL-AD5592R-PMDZ on the PMOD to Raspberry Pi Interposer board either via Port P1 or P2.
  3. Burn the SD card with the proper ADI Kuiper Linux image. Insert the burned SD card into the designated slot on the RPi.
  4. Connect the system to a monitor using an HDMI cable through the mini HDMI connector on the RPi.
  5. Connect a USB keyboard and mouse to the RPi through the USB ports.
  6. Power on the RPi board by plugging in a 5V power supply with a micro-USB connector. The final setup should look similar to the picture below.

Application Software (All Platforms)

Hardware Connection

The Libiio is a library used for interfacing with IIO devices and is required to be installed on your computer.

Download and Install the latest Libiio package on your machine.

To be able to connect your device, the software must be able to create a context. The context creation in the software depends on the backend used to connect to the device as well as the platform where the EVAL-AD5592R-PMDZ is attached. Two platforms are currently supported for the AD5592R: Raspberry Pi using the ADI Kuiper Linux and the ADICUP3029 running the no-OS AD5592R demo project. The user needs to supply a URI which will be used in the context creation.

The iio_info command is a part of the libIIO package that reports all IIO attributes.

Upon installation, simply enter the command on the terminal command line to access it.

For RPI Direct Local Access:


For Windows machine connected to Raspberry Pi:

iio_info -u ip:<ip address of your ip>


  • If your Raspberry Pi has the IP address, you have to use iio_info -u ip:: as your URI
Do note that the Windows machine and the RPI board should be connected to the same network in order for the machine to detect the device.

IIO Commands

There are different commands that can be used to manage and control the device being used. The iio_attr command reads and writes IIO attributes.

analog@analog:~$ iio_attr [OPTION]...


  • To look at the context attributes, enter this code on the terminal:
analog@analog:~$ iio_attr -a -C

The iio_reg command reads or writes SPI or I2C registers in an IIO device. This is generally not needed for end applications but can be useful in debugging drivers. Note that you need to specify a context using the -u qualifier when you are not directly accessing the device via RPI or when you are using the ADICUP3029 platform.

analog@analog:~$ iio_reg -u <context> <device> <register> [<value>]


  • To read the device ID (register = 0x02) of an AD5592R interfaced via RPI from a Windows machine, enter the following code on the terminal:
iio_reg -u ip:<ip address> ad5592r 0x02

IIO Oscilloscope

Make sure to download/update to the latest version of IIO-Oscilloscope found on this link
  1. Once done with the installation or an update of the latest IIO-Oscilloscope, open the application. The user needs to supply a URI which will be used in the context creation of the IIO Oscilloscope and the instructions can be seen in the previous section.
  2. Press refresh to display available IIO Devices, once ad5592r appeared, press connect.

AD5592R Oscilloscope Configuration

Debug Panel

Below is the Debug panel of AD5592R wherein you can directly access the attributes of the device. AD5592R Debug Panel

DMM Panel

Access the DMM panel to see the instantaneous reading of the device temperature and voltages. AD5592R DMM Panel


PyADI-IIO is a Python abstraction module for ADI hardware with IIO drivers to make them easier to use. This module provides device-specific APIs built on top of the current libIIO Python bindings. These interfaces try to match the driver naming as much as possible without the need to understand the complexities of libIIO and IIO.

Follow the step-by-step procedure on how to install, configure, and set up PYADI-IIO and install the necessary packages/modules needed by referring to this link.

Running the example

After installing and configuring PYADI-IIO in your machine, you are now ready to run Python script examples. In our case, run the found in the examples folder.


Press enter. Input desired voltage levels and you will get these readings.

Github link for the Python sample script: AD5592R Python Example

Schematic, PCB Layout, Bill of Materials

EVAL-AD5592R-PMDZ Design & Integration Files

  • Schematic
  • PCB Layout
  • Bill of Materials
  • Allegro Project

Additional Information


Receive software update notifications, documentation updates, view the latest videos, and more when you register your hardware. Register to receive all these great benefits and more!

End of Document

resources/eval/user-guides/circuits-from-the-lab/eval-ad5592r-pmdz.txt · Last modified: 26 Apr 2023 09:37 by Richmond Eustacio