analogdevicesinc / libiio

A cross platform library for interfacing with local and remote Linux IIO devices
http://analogdevicesinc.github.io/libiio/
GNU Lesser General Public License v2.1
471 stars 309 forks source link

RX data loss on on pluto and other SDRs #1167

Closed vvsvvsvvs closed 1 month ago

vvsvvsvvs commented 1 month ago

When RX is on, the number of buffers (default 4) NB_BLOCKS in iiod is too small, so there are data duplicates when operating on high rates (>= 3Msmpl/sec). So, increasing the value (16+) solves the problem. Also reported on Also, the 16+ buffers reduces the temperature of AD (hm...ok). Tested on Pluto+ SDR.

tfcollins commented 1 month ago

Not really sure what the question(s) are here. Overflows are really dependent on a few settings and not just number of buffers, as well as the behavior of your program.

Pluto+ is not an ADI product so we would point you to the maintainer.