I'm using the ad9361-iiostream.c example .
I've changed the sample rate to 5Msps with 1Msp buffer size and expected to get at least 5 "buffer_refill"s every 1 second.
Unfortunately i get only 2 buffer refills every second (~2.5Msps).
Actually no matter what sample rate i'm using i get 2.5Msps max.
Any idea what's wrong ?
Thank you ,
Moved to the Linux forum.
You can verify the path rates by reading out the rx_path_rates attribute: https://wiki.analog.com/resources/tools-software/linux-drivers/iio-transceiver/ad9361#rx_signal_path
Note that you must update the sample rate for both TX and RX, or the last rate written will be the one used.