Post Go back to editing

Controlling EVAL-AD5760 board using a linux PC


  I would like to be able to control the voltage being put out by the DAC on an Analog Devices EVAL-AD5760_80_90SDZ board.  I have the EVAL-AD5760_80_90SDZ connected to an EVAL-SDP-CB1Z board, which in turn is connected to my linux PC via USB.  I have gotten stuck trying to set up the software described here on my linux PC;

What is libiio? [Analog Devices Wiki] 

in particular, I have been unable to successfully create a USB context on the Linux PC and reproduce the output on that page under the "Testing" section. 

  One quick question first just to make sure I'm not totally off target - is this the correct procedure to follow for communicating & controlling the EVAL-AD5760 board (ie, creating a iio USB context on the Linux PC connected to the EVAL boards over USB)?  Thanks for your help!

  • Hi,

    Unfortunately the USB interface of the EVAL-AD5760 is not compatible with libiio. It only works with the EVAL-AD5760 evaluation software (which is Windows only).

    If you have an embedded Linux board with a SPI header (e.g. like a Raspberry PI) you can use that and the IIO framework to directly connect to the DAC and configure the voltage.

    - Lars

  • Hi,

    Yes, the EVAL-AD5760 together with the USB control board.

    There is documentation for the AD5760 Linux driver. But this documentation is primarily targeted at system-integrators, so if you are new to this the documentation might appear a bit sparse and some extra background reading is required.

    - Lars

  • Lars-

      Thanks for the quick reply!  Just to clarify; when you say the EVAL-AD5760 is not compatible with libiio, do you mean the combination of the EVAL-AD5760 and EVAL-SDP-CB1Z boards (just clarifying because the EVAL-AD5760 doesn't have a USB port)?  In other words, the EVAL-SDP-CB1Z + EVAL-AD5760 boards can only be controlled using a windows machine?  If using a Raspberry PI (or similar) is the only way to interface with the board using Linux, do there happen to be any instructions for setting that up?  Thanks!