In the data-sheet of the MAX2829 circuit two receiver gains are
specified “Receiver Front-End Gain-Control Settings” and “Receiver
Baseband VGA Gain Settings”. From the UHD API we only have one gain
parameter. I have been searching in the UHD code to find where (and how)
the split is done, but I can’t find it…
Controlling gains individually from the api is on my TODO list.
Internally, they are all separated, but the set_xx_gain(…) calls into
this gain_group object that sets the codec + dboard gains as a whole.
See lib/utils/gain_group.cpp
Also give uhd_usrp_probe a run to see the various controllable gain
elements.
-Josh
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.