I'm trying to move the "DC offset" out of the main spectrum by using the dsp_freq field in uhd::tune_request_t. This doesn't seem to work on B210, meaning that the following code functions properly with DcOffset_Hz=0 but not, for example, with DcOffset_Hz=10e6. In all these tests the master clock rate is large enough to fit DcOffset_Hz and the spectrum of interest easily. Anything obviously wrong?
Thanks, Dario uhd::tune_request_t uhdTuneRequest( const double &CarrierFreq_Hz , const double &DcOffset_Hz ) { uhd::tune_request_t tuneRequest( CarrierFreq_Hz - DcOffset_Hz ); tuneRequest.args = uhd::device_addr_t( "mode_n=integer" ); tuneRequest.dsp_freq_policy = uhd::tune_request_t::POLICY_MANUAL; tuneRequest.dsp_freq = DcOffset_Hz; return tuneRequest; }
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com