I am trying to transmit the custom data from custom HLS generated IP using AD9361.
I am able to transmit data using NO-OS drivers, checked with spectrum analyser- able to see some expected spectrum.
Now, we shifted to Linux drivers and booting the Zynq from SD-Card. I am using the external linux kernel-2016-R2 downloaded from the analog devices site which has the ad9361 drivers. I have added ad-fmcomms2.dtsi file in the device tree. I have written an application which triggers the custom IP which is connected to ad9361. The data is being generated at the transmitter output(checked the output through the application created in petalinux), but I am unable to see any spectrum from the ad9361TX port which is expected after initialising ad9361 through the dts files. The same blockdesign is used in transmitting the data through no-os drivers, so there is no problem with the hardware part. I am able to initialise ad9361, set the bandwidth , lo frequency and every other parameter through serial terminal, when booted from sdcard(Linux device drivers). The only problem is I don't see any spectrum. Please help me in debugging this, and tell me the ways to check and find if ad9361 is being initialized correctly or do I have to set any registers further?
In the dmesg | grep ad9361
ad9361 spi32766.0: ad9361_probe: failed to register debugfs
ad9361 spi32766.0: ad9361_probe : AD936x Rev 2 successfully initialized
ad9361 spi32766.0: cdns_spi_setup_transfer, mode 1, 8 bits/w, 5208333 clock speed
ad9361 spi32766.0: cdns_spi_setup_transfer, mode 1, 8 bits/w, 5208333 clock speed
ad9361 spi32766.0: cdns_spi_setup_transfer, mode 1, 8 bits/w, 5208333 clock speed
root@Xilinx-ZC702-2016_2:~# modprobe ad9361_drv
ad9361 spi32766.0: ad9361_probe : enter (ad9361)
ad9361 spi32766.0: ad9361_probe: failed to register debugfs
ad9361 spi32766.0: ad9361_probe : AD936x Rev 2 successfully initialized
root@Xilinx-ZC702-2016_2:~# lsmod
Not tainted
ad9361_drv 88020 0 - Live 0xbf06f000
cf_axi_adc 12035 1 ad9361_drv, Live 0xbf068000
industrialio_buffer_dmaengine 2175 1 cf_axi_adc, Live 0xbf064000
industrialio_buffer_dma 7056 1 industrialio_buffer_dmaengine, Live 0xbf05d000
ipv6 272298 14 [permanent], Live 0xbf000000