On 20/02/2023 13:05, Ville Eerola wrote:
Secondly, the seems to IC support advanced configurability of the AGC
from choosing between fast and slow AGC and manual gain settings to
tuning the parameters of the AGC function inside the IC. But
unfortunately none of this seem to be exposed in the UHD library. This
could allow tuning the AGC to behave better for my signals.
I could try to work out something myself, but I was unable to find any
documentation about how the UHD library is layered, and how the
high-level functions eventually interface with the different radio
IC:s. It is certainly possible to find out all of it from the source,
but having some documentation or pointers to the right direction would
make it all much easier.
Yup. There's no "structured walk-through" documentation of code
base. Part of the reason for this is that the code-base
changes, but the "stability point" is the API. In my experience
(only about 44 years so far), such "structured walk-through"
documentation is "stale" more-or-less as soon as its born for any
large codebase such as UHD. Use the source, Luke.
The API is reasonably well documented:
https://files.ettus.com/manual/page_coding.html#coding_api_hilevel
But, as you note, UHD was *deliberately* designed to "hide" the details
of the underlying hardware, to facilitate the
very large number of USRP device types that exist, and to allow
applications that are utterly hardware agnostic.
Nearly ALL of my apps don't actually care much which hardware is
underneath them--USRPs, RTL-SDRs, LimeSDRs, etc.
I'll also note that Gnu Radio does have AGC functions in its family of
"blocks" so you might want to experiment with those,
and use a fixed-gain.
In the nearly 20 years I've been playing with SDRs, I've never actually
needed to use hardware AGC. But I'll admit that
I only experiment in one small corner of the radio universe.
It is always possible to implement the AGC function in GR by setting
the gr-uhd to use manual gain, but I'm a bit afraid that the loop
could be too slow.
Regards, Ville
--
Ville Eerola
ville.eer...@iki.fi
050-4804435
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com