SoapySDR gain control

185 views
Skip to first unread message

Luca Colombo

unread,
May 2, 2021, 6:22:36 AM5/2/21
to Pothos Users
Hello,
I experiencing the gain control of my LimeSDR USB3.0 using SopaySDR in Pothos.
It works in a range from 0 to 60 dB.
Just one question about the implemenation.
Lime SDR has a 3 stage amplifiers
LimeSDR-RX_gain_control.jpg

with these ranges
LimeSDR-RX_gain_control_table.jpg

Does SoapySDR Source controls automatically the three amplifier's in a transparent mode for the user?

Thanks
Luca

Josh Blum

unread,
May 2, 2021, 10:23:40 PM5/2/21
to pothos...@googlegroups.com


Does SoapySDR Source controls automatically the three amplifier's in a transparent mode for the user?


Yes, the single entry gain value directly controls the single entry gain setting in the LMS7002M driver:

https://github.com/myriadrf/LimeSuite/blob/master/SoapyLMS7/Settings.cpp#L281

So that should set all 3 gains from a single value.

However, for specific details, you will have to look into the LimeSuite code base to see exactly how lms7Device->SetGain() is implemented

-josh



Thanks
Luca
--
You received this message because you are subscribed to the Google Groups "Pothos Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pothos-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pothos-users/97b69765-7b73-4d3c-acd6-ac68597fffd7n%40googlegroups.com.

Luca Colombo

unread,
May 9, 2021, 6:14:30 AM5/9/21
to Pothos Users
@Josh, thanks a lot!!
I'll go to check the source code too.
L.
Reply all
Reply to author
Forward
0 new messages