aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_e/dsp_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/usrp_e/dsp_impl.cpp')
-rw-r--r--host/lib/usrp/usrp_e/dsp_impl.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp_e/dsp_impl.cpp b/host/lib/usrp/usrp_e/dsp_impl.cpp
index a87a41ca6..58a58706d 100644
--- a/host/lib/usrp/usrp_e/dsp_impl.cpp
+++ b/host/lib/usrp/usrp_e/dsp_impl.cpp
@@ -34,6 +34,10 @@ void usrp_e_impl::rx_ddc_init(void){
boost::bind(&usrp_e_impl::rx_ddc_get, this, _1, _2),
boost::bind(&usrp_e_impl::rx_ddc_set, this, _1, _2)
);
+
+ //initial config and update
+ rx_ddc_set(DSP_PROP_FREQ_SHIFT, double(0));
+ rx_ddc_set(DSP_PROP_HOST_RATE, double(64e6/10));
}
/***********************************************************************
@@ -105,6 +109,10 @@ void usrp_e_impl::tx_duc_init(void){
boost::bind(&usrp_e_impl::tx_duc_get, this, _1, _2),
boost::bind(&usrp_e_impl::tx_duc_set, this, _1, _2)
);
+
+ //initial config and update
+ tx_duc_set(DSP_PROP_FREQ_SHIFT, double(0));
+ tx_duc_set(DSP_PROP_HOST_RATE, double(64e6/10));
}
/***********************************************************************