aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_e/dsp_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-06-10 18:25:42 +0000
committerJosh Blum <josh@joshknows.com>2010-06-10 18:25:42 +0000
commit71783634c4394e739bbc13a9bb3df7d6ab75c147 (patch)
tree1dd0e1116cd5e8de75d39e84f32b41243f61cff1 /host/lib/usrp/usrp_e/dsp_impl.cpp
parent28ecca40d3e032393eb028cea9d6812b8ff80851 (diff)
downloaduhd-71783634c4394e739bbc13a9bb3df7d6ab75c147.tar.gz
uhd-71783634c4394e739bbc13a9bb3df7d6ab75c147.tar.bz2
uhd-71783634c4394e739bbc13a9bb3df7d6ab75c147.zip
installed mux setting and initing the duc and ddc
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));
}
/***********************************************************************