I am building a GNU radio which communicates with 9375 with the evaluation board ZC706 from Analog Devices.
I get the following error.
Executing: /usr/bin/python -u /home/usrg/gnuradio/gr-iio/iio-examples/top_block.py
Using Volk machine: avx2_64_mmx_orcTraceback (most recent call last): File "/home/usrg/gnuradio/gr-iio/iio-examples/top_block.py", line 152, in <module> main() File "/home/usrg/gnuradio/gr-iio/iio-examples/top_block.py", line 141, in main tb = top_block_cls(interpolation=options.interpolation, uri=options.uri, wav_file=options.wav_file) File "/home/usrg/gnuradio/gr-iio/iio-examples/top_block.py", line 54, in __init__ self.iio_fmcomms2_sink_0_0 = iio.fmcomms2_sink_f32c(uri, fm_station, samp_rate, 20000, True, False, 0x8000, False, "A", 10.0, 10.0, "", True) File "/usr/lib/python2.7/dist-packages/gnuradio/iio/iio_swig.py", line 312, in make return _iio_swig.fmcomms2_sink_f32c_make(*args, **kwargs)RuntimeError: Device not found
I need to modify the FMComms2/3/4 blocks (sink and source). Which files I need to touch and What is the steps I need to follow, so that my FMComms block can communicate with the board.
We do not have custom blocks for AD937X. Therefore you will need to use the IIO Device Sink/Source blocks. You need to fill them out based on the IIO driver names. These are listed by the iio_attr command…
We do not have custom blocks for AD937X. Therefore you will need to use the IIO Device Sink/Source blocks. You need to fill them out based on the IIO driver names. These are listed by the iio_attr command-line tool with command: iio_attr -u <uri> -d
For AD937X the blocks would have something similar to:
Device Name: axi-ad9371-rx-hpc
PHY Device Name: ad9371-phy
The configuration is done through string like pairs in the Parameters field which are based on the file descriptor names:
You can find these on the device under /sys/bus/iio/devices/iio:deviceX/* or here: https://wiki.analog.com/resources/tools-software/linux-drivers/iio-transceiver/ad9371