ADI IIO Oscilloscope FPGA Settings

Hi, 

I am using ZC706 board with  AD-FMCOMMS2-EBZ. 

Toolchain: Petlainux 2015.4

HDF : ADI Reference Design HDF_2016_R1

Linux: ADI LInux 4.4 

I'm using the latest version of ADI IIO Oscilloscope on Windows. 

I am able to interact with the AD9361 transceiver from the ADI IIO Oscilloscope. I am able to set up the RX LO and TX LO Frequencies. I am also able to see the sinosoidal waveform in time domain. 

From the target, I am able to see 4 IIO devices, including the cf-ad9361-dds-core-lpc. 

From the ADI IIO Scope, i could also see the cf-ad9361-dds-core-lpc

Unfortunately, in the ADI IIO Oscilloscope (as you can see below), i did not see the FPGA settings (cf-ad9361-dds-core-lpc) in the AD9361 pluggin. I am already using the latest version of ADI IIO Oscilloscope (version 0.99 from About menu) from ADI github. 

Your help is appreciated. Thank you..

Top Replies

  • 0
    •  Analog Employees 
    on May 11, 2020 9:39 PM 6 months ago

    You are using ancient releases and we do not support Petalinux that old so your mileage may vary.

    What channels exist in cf-ad9361-dds-core-lpc?

    -Travis

  • From the DTS, the cf-ad9361-dds-core-lpc is configured as shown below.

    Hope to hear from you soon. 

    cf_ad9361_adc_core_0: cf-ad9361-lpc@79020000 {
    compatible = "adi,axi-ad9361-6.00.a";
    reg = <0x79020000 0x6000>;
    dmas = <&rx_dma 0>;
    dma-names = "rx";
    spibus-connected = <&adc0_ad9361>;
    xlnx,dphase-timeout = <0x8>;
    xlnx,num-mem = <0x1>;
    xlnx,num-reg = <0x1>;
    xlnx,s-axi-min-size = <0x1ff>;
    xlnx,slv-awidth = <0x20>;
    xlnx,slv-dwidth = <0x20>;
    xlnx,use-wstrb = <0x0>;
    };

    cf_ad9361_dac_core_0: cf-ad9361-dds-core-lpc@79024000 {
    compatible = "adi,axi-ad9361-dds-6.00.a";
    reg = <0x79024000 0x1000>;

    adi,axi-dds-rate = <1>; /* use 1 for 1RX1TX mode */
    adi,axi-dds-1-rf-channel;

    clocks = <&adc0_ad9361 13>;
    clock-names = "sampl_clk";
    dmas = <&tx_dma 0>;
    dma-names = "tx";
    dac-sample-frequency = <491520000>;
    xlnx,dphase-timeout = <0x8>;
    xlnx,num-mem = <0x1>;
    xlnx,num-reg = <0x1>;
    xlnx,s-axi-min-size = <0x1ff>;
    xlnx,slv-awidth = <0x20>;
    xlnx,slv-dwidth = <0x20>;
    xlnx,use-wstrb = <0x0>;
    };

  • 0
    •  Analog Employees 
    on May 12, 2020 3:42 PM 6 months ago in reply to garfy123

    Can you list the channels from iio_attr for cf-ad9361-dds-core-lpc?

    -Travis

  • root@Xilinx-ZC706-2015_4:~/libiio# ./iio_attr -c cf-ad9361-dds-core-lpc


    dev 'cf-ad9361-dds-core-lpc', channel 'voltage0' (output, index: 0, format: le:S16/16>>0), found 2 channel-specific attributes
    dev 'cf-ad9361-dds-core-lpc', channel 'voltage1' (output, index: 1, format: le:S16/16>>0), found 2 channel-specific attributes
    dev 'cf-ad9361-dds-core-lpc', channel 'voltage2' (output, index: 2, format: le:S16/16>>0), found 2 channel-specific attributes
    dev 'cf-ad9361-dds-core-lpc', channel 'voltage3' (output, index: 3, format: le:S16/16>>0), found 2 channel-specific attributes
    dev 'cf-ad9361-dds-core-lpc', channel 'altvoltage0', id 'TX1_I_F' (output), found 5 channel-specific attributes
    dev 'cf-ad9361-dds-core-lpc', channel 'altvoltage5', id 'TX2_I_F' (output), found 5 channel-specific attributes
    dev 'cf-ad9361-dds-core-lpc', channel 'altvoltage4', id 'TX2_I_F' (output), found 5 channel-specific attributes
    dev 'cf-ad9361-dds-core-lpc', channel 'altvoltage6', id 'TX2_Q_F' (output), found 5 channel-specific attributes
    dev 'cf-ad9361-dds-core-lpc', channel 'altvoltage3', id 'TX1_Q_F' (output), found 5 channel-specific attributes
    dev 'cf-ad9361-dds-core-lpc', channel 'altvoltage7', id 'TX2_Q_F' (output), found 5 channel-specific attributes
    dev 'cf-ad9361-dds-core-lpc', channel 'altvoltage2', id 'TX1_Q_F' (output), found 5 channel-specific attributes
    dev 'cf-ad9361-dds-core-lpc', channel 'altvoltage1', id 'TX1_I_F' (output), found 5 channel-specific attributes

  • +1
    •  Analog Employees 
    on May 14, 2020 4:38 PM 6 months ago in reply to garfy123

    Can you try using a standard SD card image with your board? See here wiki.analog.com/.../zynq_images

    Can you downgrade IIO-Scope to a previous release?

    -Travis