From 18cda8029ff7ab1255579d81b0b27de68dacc88e Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 26 Mar 2018 14:48:12 -0700 Subject: usrp2: Re-add ability to modulate in the DAC This partially reverts b29e80cc. That commit fixed a bug with numerical overflows, but also removed the ability to tune using the DAC, effectively reducing the DSP tuning range. This commit allows to tune within +/- 200 MHz using a combination of both the DAC and the DSP tuning in the FPGA. Reviewed-by: Derek Kozek --- host/lib/usrp/usrp2/codec_ctrl.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'host/lib/usrp/usrp2/codec_ctrl.cpp') diff --git a/host/lib/usrp/usrp2/codec_ctrl.cpp b/host/lib/usrp/usrp2/codec_ctrl.cpp index c3e7b332f..5c1c006fb 100644 --- a/host/lib/usrp/usrp2/codec_ctrl.cpp +++ b/host/lib/usrp/usrp2/codec_ctrl.cpp @@ -179,6 +179,11 @@ public: } } + size_t get_tx_interpolation() const + { + return 4; + } + private: ad9777_regs_t _ad9777_regs; ads62p44_regs_t _ads62p44_regs; -- cgit v1.2.3