there are some thing you need to check.
First, check you are using right antenna, LNAL, LNAW, LNAH. TX1_1 TX1_2.
Then, remind below things. (my opinion)
Although you were setting and using antenna channel LNAL( lower than 2.5Ghz), signal power of direct link from TX to RX is too high, so connecting other antenna might work better (beside your setted antenna : may be LNAW).
It means even if your code set antenna to LNAL, check other antenna. (try to connect antenna LNAW, LNAH)
USB bottle neck.
If you were recording your samples to file…, you need to check sample missing. (USB bottle neck)
When sample rate is high, some sample might be missing while write to file.
(in my case. - only using a 1 rx channel-, 10mhz sample rate was fine, but it depend on your pc’s spec)
(using queue and file write thread would be fine)
Stream buffer bottle neck & switching time from rx stream to tx stream delay.
buffer(send receive) and fifo size for streaming. (receive stream send stream) (Limesuite streamming bottle neck)
I guess… lime suite dosen’t work asynchronized.
It meams that…while you receiving rx stream, you can’t get tx stream. and otherwise also same.
(so switching stream rx to tx in board, takes time, and losing samples in stream buffer…)
(At least, you are not really master of thread, i don’t recommend using rx and tx part with not synchronized threading… when each threads require receive or send rx, tx stream, it probably messed up… )
I recommends you use gnuradio or gui tools first, to check what all you want to do works fine in display graph…
In my case, rx and tx both in one limesdr comes out bad performance( although it works, there are some system delays )…, / 2 rx is fine.
**and your link… LMS7 api is more friendly with hardware. and LimeSuite api is using LMS7
So, most case… you don’t need to set register directly. (it might be need when check loopback function. -limesuite doesn’t have… )
In LimeSuite, there are two main parts. LMS Chip, FPGA Chip.
Lms7 api controls LMS chips directly with registers.
LimeSuite api control them with UI using LMS7 library