Re: [USRP-users] B210 set_tx_bandwidth and LO leakage

2020-10-26 Thread Marcus D. Leech via USRP-users
On 10/26/2020 09:16 AM, Jon Beniston wrote: Hi Marcus, I think this may be a problem in UHD's d9361_device_t::_tx_quadrature_cal_routine() This calculates a variable max_cal_freq, that's the maximum frequency used by the calibration. It then checks this against bbbw (the baseband bandwidth), bu

Re: [USRP-users] B210 set_tx_bandwidth and LO leakage

2020-10-24 Thread Jon Beniston via USRP-users
Hi Marcus, >The documentation probably needs to be updated, but also the examples. >The examples are necessarily fairly generic, and they often reflect the "thinking" >at the time the example was created--with whatever hardware existed at the time the >example was created. Ok, thanks. I've j

Re: [USRP-users] B210 set_tx_bandwidth and LO leakage

2020-10-23 Thread Marcus D. Leech via USRP-users
On 10/23/2020 03:56 PM, Jon Beniston wrote: universe where set_bandwidth does nothing. Ok, thanks. Should the examples not be like that then too? Are there better examples to use a reference, because I can't see anything in the docs. Thanks, Jon The documentation probably needs to be updated,

Re: [USRP-users] B210 set_tx_bandwidth and LO leakage

2020-10-23 Thread Jon Beniston via USRP-users
Hi Marcus, >There is likely some "setup" stuff done to the AD9361 chip during stream creation, > because the chip needs to know about the stream parameters > it would not surprise me to find that there's some filter-setting done during stream creation. > Calls like set_bandwidth, set_gain, set_fre

Re: [USRP-users] B210 set_tx_bandwidth and LO leakage

2020-10-23 Thread Marcus D. Leech via USRP-users
On 10/23/2020 03:29 PM, Jon Beniston wrote: Hi Marcus, 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

Re: [USRP-users] B210 set_tx_bandwidth and LO leakage

2020-10-23 Thread Jon Beniston via USRP-users
Hi Marcus, >> 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

Re: [USRP-users] B210 set_tx_bandwidth and LO leakage

2020-10-23 Thread Marcus D. Leech via USRP-users
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 basical

Re: [USRP-users] B210 set_tx_bandwidth and LO leakage

2020-10-23 Thread Jon Beniston via USRP-users
Hi Marcus, >Everything at that level is determined entirely by the AD9361 RFFE chip--although >there may be some settings that make things better. 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, h

Re: [USRP-users] B210 set_tx_bandwidth and LO leakage

2020-10-23 Thread Marcus D. Leech via USRP-users
On 10/23/2020 12:41 PM, Jon Beniston via USRP-users wrote: Hi, Would anyone please be able to explain the interaction between set_tx_bandwidth and LO/carriage leakage for the B210? It seems that the device meets the spec of -50dBc if tx_bandwidth is set to a value greater than 10MHz or lower t

[USRP-users] B210 set_tx_bandwidth and LO leakage

2020-10-23 Thread Jon Beniston via USRP-users
Hi, Would anyone please be able to explain the interaction between set_tx_bandwidth and LO/carriage leakage for the B210? It seems that the device meets the spec of -50dBc if tx_bandwidth is set to a value greater than 10MHz or lower than 1MHz. However, at settings of around 2 - 6MHz, with max