Crania
10 November 2025 20:38
1
Hello,
I’m using LimeSuiteNG with SDR LimeMini2.2 and GnuRadio
(I installed it, see post
GnuRadio_3.11 with LimeSuiteNG_0.3.0 on Ubuntu_2025.10 )
Now, on a GnuRadio application, I get sporadic
warning massages like this:
LimeSuiteNG USB ep:83 Rx0: 7.705 MB/s | TS:6874335900 pkt:6739019 o:0(+0) l:241(+1) dma:6739019/6739035(+16) swFIFO:0
LimeSuiteNG USB ep:83 Rx0: 7.684 MB/s | TS:6876266760 pkt:6740907 o:0(+0) l:244(+3) dma:6740907/6740911(+4) swFIFO:0
LimeSuiteNG USB ep:83 Rx0: 7.636 MB/s | TS:6951231660 pkt:6814382 o:0(+0) l:256(+12) dma:6814382/6814387(+5) swFIFO:0
LimeSuiteNG USB ep:83 Rx0: 7.713 MB/s | TS:6993515760 pkt:6855836 o:0(+0) l:257(+1) dma:6855836/6855837(+1) swFIFO:0
LimeSuiteNG USB ep:83 Rx0: 7.709 MB/s | TS:7056891420 pkt:6917968 o:0(+0) l:258(+1) dma:6917968/6917983(+15) swFIFO:0
LimeSuiteNG USB ep:83 Rx0: 7.700 MB/s | TS:7091497980 pkt:6951892 o:0(+0) l:260(+2) dma:6951892/6951893(+1) swFIFO:0
It seems to be some lost/difference of data-samples.
Has everybody an idea what goes wrong and how can I fix it?
Thanks
Hi, the loss counter indicates that the data was lost in USB layer, perhaps due to CPU load, the usb processing thread did not collect it fast enough, and the hardware had to drop some packets.
Maybe increasing the USB data transfer batch size could help, like it did here: LimeMini Maximum stable USB3 Rate? - #13 by oe1rsa
For gnuradio plugin you can modify it here: LimeSuiteNG/plugins/gr-limesuiteng/lib/sdrdevice_block_base.cc at a580f9cbc7bec9478ac08d93513690714a1753dd · myriadrf/LimeSuiteNG · GitHub
Crania
12 November 2025 16:22
3
Hello,
the change in the <sdrdevice_block_base.cc> was already on my system
because I installed it from git after your modification.
But what I not found is the
mRx.packetsToBatch == 1
strcfg.extraConfig.rx.packetsInBatch = x
from #13 by oe1rsa
I want to change that and test it with GnuRadio.
it’s an optional argument, you can add it in that source location:
devContext->streamCfg.extraConfig.rx.packetsInBatch = 8;
Crania
13 November 2025 15:23
5
Hello,
I have testet GnuRadio on my system with some parameter of
strcfg.extraConfig.rx.packetsInBatch = x
and here is the result:
As you can see for x>=3 there are no warnings.
Therefore, this is my choose.
Many thanks again for your help