AnsweredAssumed Answered

AD-FMCMOTCON1-EBZ drivers and chipscope

Question asked by nick.wernicke@gmail.com on Oct 20, 2014
Latest reply on Oct 22, 2014 by ACozma

I have 3 questions about the AD-FMCMOTCON1-EBZ kit.

 

Number 1:

There are 4 drivers needed, according to Linux Drivers    [Analog Devices Wiki]

  • ad-mc-adc
  • ad-mc-adc2
  • ad-mc-speed
  • ad-mc-ctrl

 

How can I include these drivers in my kernel (using a different OS than the Ubuntu demo)? Are they somewhere in kernelconfig? I can't find them, and nothing shows up in my /sys/bus/iio/devices. I did compile and use the correct dtb from \analog_devices_linux\arch\arm\boot\dts\zynq-zed-mc.dtb

 

Number 2:

Where is the ICD that explains how to interface with the drivers and what all the files in /sys/bus/iio/devices/iio:deviceX do? I loaded the Ubuntu demo, and tried writing to a few of the files with echo commands but nothing happened. I think the hardware is set up correctly:

root@linaro-ubuntu-desktop:/sys/bus/iio/devices# ls

iio:device0  iio:device1  iio:device2  iio:device3  iio:device4

 

I am hoping to find something similar to this : http://www.xilinx.com/support/documentation/ip_documentation/axi_gpio/v2_0/pg144-axi-gpio.pdf

 

Number 3:

The network scope app that comes with the Ubuntu demo can read and write the /sys/bus/iio/devices/iio:deviceX files. But when I press the aquire plot button, it says: "ERROR[0]: Can't open ad-mc-adc IIO Device", or whichever device I try and open. Why would it do that? What did I do wrong?

Outcomes