aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_e/codec_ctrl.cpp
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2010-08-17 23:39:36 +0000
committerPhilip Balister <philip@opensdr.com>2010-08-17 23:39:36 +0000
commite48dfb211609e26230c2e7c165ad3aa5d5b0ecfc (patch)
tree4349dee95da6773f9217969d8515bb20f9968dd2 /host/lib/usrp/usrp_e/codec_ctrl.cpp
parent270fb931f11b23a0119a8fe836bbd712d9a50c60 (diff)
downloaduhd-e48dfb211609e26230c2e7c165ad3aa5d5b0ecfc.tar.gz
uhd-e48dfb211609e26230c2e7c165ad3aa5d5b0ecfc.tar.bz2
uhd-e48dfb211609e26230c2e7c165ad3aa5d5b0ecfc.zip
Fix to create 90 phase shift on TX.
Diffstat (limited to 'host/lib/usrp/usrp_e/codec_ctrl.cpp')
-rw-r--r--host/lib/usrp/usrp_e/codec_ctrl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp_e/codec_ctrl.cpp b/host/lib/usrp/usrp_e/codec_ctrl.cpp
index 2bdbc0f1c..45063894e 100644
--- a/host/lib/usrp/usrp_e/codec_ctrl.cpp
+++ b/host/lib/usrp/usrp_e/codec_ctrl.cpp
@@ -89,6 +89,7 @@ usrp_e_codec_ctrl_impl::usrp_e_codec_ctrl_impl(usrp_e_iface::sptr iface){
//setup tx side of codec
_ad9862_regs.two_data_paths = ad9862_regs_t::TWO_DATA_PATHS_BOTH;
_ad9862_regs.interleaved = ad9862_regs_t::INTERLEAVED_INTERLEAVED;
+ _ad9862_regs.tx_retime = ad9862_regs_t::TX_RETIME_CLKOUT2;
_ad9862_regs.tx_pga_gain = 199; //TODO bring under api control
_ad9862_regs.tx_hilbert = ad9862_regs_t::TX_HILBERT_DIS;
_ad9862_regs.interp = ad9862_regs_t::INTERP_2;