Hi, what is your gateware version for the LimeSDR Mini v2? It seems that the gateware 3.3 currently has issues with the USB transfers.
Also I’ve just fixed a bug in software which should improve stability. Fix USB streaming transfers stuttering at high speeds · myriadrf/LimeSuiteNG@33d5a94 · GitHub
Using older gateware (3.0) LimeSDR_GW/bitstream/LimeSDR_Mini_V2/limesdr_mini_v2.bit at 02b4ae8e570fd1e8af3676b3f58d02ddc9d08262 · myriadrf/LimeSDR_GW · GitHub
For Rx only I can get ~55Msps:
limeConfig --initialize --rxen=1 --txen=1 --rxlo=1e9 --txlo=1.1e9 --samplerate=56e6
limeTRX --log=debug
USB ep:83 Rx0 Setup: usePoll:1 rxSamplesInPkt:1360 rxPacketsInBatch:4, DMA_ReadSize:16384, link:I12, batchSizeInTime:98.9091us FS:55000000.000000, FIFO=10110*1360
USB ep:83 Rx0: 165.642 MB/s | TS:54991600 pkt:40436 o:0(+0) l:0(+0) dma:10109/10110(+1) swFIFO:0
USB ep:83 Rx0: 165.659 MB/s | TS:109995440 pkt:80880 o:0(+0) l:0(+0) dma:20220/20221(+1) swFIFO:0
USB ep:83 Rx0: 165.659 MB/s | TS:164999280 pkt:121324 o:0(+0) l:0(+0) dma:30331/30332(+1) swFIFO:0
For full duplex Rx/Tx I can get ~33Msps
limeConfig --initialize --rxen=1 --txen=1 --rxlo=1e9 --txlo=1.1e9 --samplerate=33e6
limeTRX --log=debug --repeater=32768
USB ep:83 Rx0 Setup: usePoll:1 rxSamplesInPkt:1360 rxPacketsInBatch:2, DMA_ReadSize:8192, link:I12, batchSizeInTime:82.4242us FS:32999999.000000, FIFO=6066*1360
Tx0 Setup: samplesInTxPkt:1360 maxTxPktInBatch:12, batchSizeInTime:494.545us
USB ep:83 Rx0: 99.385 MB/s | TS:32994960 pkt:24262 o:0(+0) l:0(+0) dma:12131/12132(+1) swFIFO:0
USB ep:03 Tx0: 99.238 MB/s | TS:33030144 pkt:24252 u:0(+0) l:0(+0) dma:2019/2021(+2) tsAdvance:+417/+707/+912us, f:0
USB ep:83 Rx0: 99.394 MB/s | TS:65994000 pkt:48526 o:0(+0) l:0(+0) dma:24263/24265(+2) swFIFO:0
USB ep:03 Tx0: 99.434 MB/s | TS:66043904 pkt:48528 u:0(+0) l:0(+0) dma:4042/4044(+2) tsAdvance:+417/+706/+912us, f:0
USB ep:83 Rx0: 99.385 MB/s | TS:98998480 pkt:72794 o:0(+0) l:0(+0) dma:36397/36397(+0) swFIFO:0
USB ep:03 Tx0: 99.434 MB/s | TS:99057664 pkt:72804 u:0(+0) l:0(+0) dma:6065/6067(+2) tsAdvance:+417/+705/+912us, f:0
LNA gain can only be set to specific values [0,3,12], other values will get rounded to one of these.
