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.
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.
|Channel 3 Input/Output
|Channel 2 Input/Output
|Channel 1 Input/Output
|Channel 0 Input/Output
|Channel 7 Input/Output
|Channel 6 Input/Output
|Channel 5 Input/Output
|Channel 4 Input/Output
|ADuCM3029 Pin Function
|ADuCM3029 Port No.
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
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.
The DS1 is the power green LED indicator of the board.
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.
There are two device driver solutions that are provided for controlling the EVAL-AD5592R-PMDZ:
The EVAL-AD5592R-PMDZ can be used with ADICUP3029.
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. 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. 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.
The EVAL-AD5592R-PMDZ can be used with a Raspberry Pi.
The following is a list of items needed in order to replicate this demo.
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.
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:
To set up the circuit for evaluation, consider the following steps:
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.
iio_info -u ip:<ip address of your ip>
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]...
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>]
iio_reg -u ip:<ip address> ad5592r 0x02
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.
After installing and configuring PYADI-IIO in your machine, you are now ready to run Python script examples. In our case, run the ad5592r_example.py found in the examples folder.
Github link for the Python sample script: AD5592R Python Example
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