AnsweredAssumed Answered

AD9361 Linux support - CF_AXI_ADC is not instantiated, no output

Question asked by anju123 on Feb 2, 2018
Latest reply on Feb 5, 2018 by mhennerich

First, thank you to the contributors I learnt a lot from your forums.

Currently I desperately need support.

I made a simple custom design with AD9361 core. I use AXI4 towards AD9361 IP and AXIlite for zynq core to custom IP (a simple BPSK transmitter). The design is verified in No-OS environment.

I used Analog devices kernel from Gitub and used device tree from linux/arch/arm/boot/dts at xcomm_zynq · analogdevicesinc/linux · GitHub .

My issues is,

1. As my design doesn't use DMA, how to disable DMA in Linux. (In No-OS, I made DATA_SEL it as 1, don't know how to do it here).

2. modprobe ad9361_drv - intialises successfully 

modprobe ad9361_drv
ad9361 spi32766.0: ad9361_probe : enter (ad9361)
ad9361 spi32766.0: ad9361_probe : AD936x Rev 2 successfully initialized

3, modprobe cf_axi_adc

 - this is not not returning any. 


Here I am not seeing any output in my spectrum analyser, (actually my transmitter sending the data, I get the done signal)

4. modprobe cf_axi_dds_drv
cf_axi_dds Analog Devices CF_AXI_DDS_DDS MASTER (9.00.b) at 0x79024000 mapped to 0xf0a86000, probed DDS AD9361

Here I am getting the tones, as I get a peak at 2.4G.


root@Xilinx-ZC702-2016_2:~# cd /sys/bus/iio/devices/
root@Xilinx-ZC702-2016_2:/sys/bus/iio/devices# ls -l
lrwxrwxrwx    1 root     root             0 Jan  1 00:02 iio:device0 -> ../../../devices/soc0/amba/f8007100.adc/iio:device0
lrwxrwxrwx    1 root     root             0 Jan  1 00:02 iio:device1 -> ../../../devices/soc0/amba/e0006000.spi/spi_master/spi32766/spi32766.0/iio:device1
lrwxrwxrwx    1 root     root             0 Jan  1 00:02 iio:device2 -> ../../../devices/soc0/amba_pl/
root@Xilinx-ZC702-2016_2:/sys/bus/iio/devices# grep "" /sys/bus/iio/devices/iio\:device*/name


Somehow my data from transmitter is not reaching AD9361. Am I missing any??

Kindly help.

- thanks and regards

- samp