I am newbee in Fpga design with Fmcomms5 card. I want to control my fmcomms5 card's frequency, band with and sampling rate with software.I am using SD card booting method.How can I set my varies when from SD card booting or after the booting? Can we control with devices tree configuration?
The another question, how can i control No-OS method control this parameters?
For instance, my local oscilator frequency 500Mhz, Bandwith = 1 MHz, sampling rate 5 MSPS etc. Can we set our values to this variables?
There are more ways to control the sampling rate, bandwidth and many other parameters from linux.
You can use libiio and follow the example here: examples/ad9361-iiostream.c
Or you can write directly to the attributes exposed by AD9361 iio driver using sysfs.
echo 61440000 > /sys/bus/iio/devices/iio\:device1/in_voltage_sampling_frequency
But first of all I recommend you to read our wiki page related to AD9361 and its liunx driver: