On 10/23/2020 02:27 PM, Jon Beniston wrote:
It seems to make a difference if set_tx_bandwidth is called before or after
get_tx_stream.
In the example programs, they all seem to do it before, however, it appears
to work better afterwards. Please see the attached two programmes, which are
basically just your tx_samples_c program, except I've added in calls to
set_tx_bandwidth and set samples to 0.
I run with the args: -f 868300000 -g 89 -r 6000000
For lo_leakage_pre.c where bandwidth is set before get_tx_stream, carrier is
at -1dBm. For lo_leakage_post.c, where bandwidth is set to 56M before
get_tx_stream, then 6M afterwards, carrier is at -30dBm.
Yup, so the default behavior in UHD for B2xx is to set the analog bandwidth
to be commensurate with sample-rate, and that is done inside the
parts of UHD that set sample rate--sample-rate setting is done before
you create a stream.
So a set-bandwidth call will only have an effect *after* the
sample-rates are
established.
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com