How do I increase the sample rate beyond 2.5M samples/sec? I modified the ad9361-iiostream.c exmample to change the RX center frequency, bandwidth, and sample rate. However, when I subsequently run iio_info, I see that all the attributes indeed changed, except for the sample rate, which stayed 2.5M even though I specified a sample rate of 8M.
Also, I see in iio_info that the only available sample rates appear to be 2.5M and 312.5k (see below).
I ran both the example and iio_info on Windows, but I get the same output when I run iio_info on the serial console. So this does not appear to be a USB issue.
Is there a way to increase the bandwidth to 8M? The wiki says that the device itself supports up to 61.44M and a 20MHz bandwidth.
Thanks, Sivan
iio:device4: cf-ad9361-lpc (buffer capable)
2 channels found:
voltage0: (input, index: 0, format: le:S12/16>>0)
5 channel-specific attributes found:
attr 0: calibphase value: 0.000000
attr 1: calibscale value: 1.000000
attr 2: calibbias value: 0
attr 3: sampling_frequency value: 2500000
attr 4: sampling_frequency_available value: 2500000 312500
voltage1: (input, index: 1, format: le:S12/16>>0)
5 channel-specific attributes found:
attr 0: calibbias value: 0
attr 1: calibphase value: 0.000000
attr 2: calibscale value: 1.000000
attr 3: sampling_frequency value: 2500000
attr 4: sampling_frequency_available value: 2500000 312500