summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-05-13 17:35:09 -0700
committerJosh Blum <josh@joshknows.com>2010-05-13 17:35:09 -0700
commit11059ddbd6f5301f72299933321c35d00663dfe6 (patch)
tree5e0e8e30fb70aff2f7dd098ba6e5ec163dd16c00 /host/lib/usrp/usrp2
parent573872edd90207b2c73c7d028868d01afc8b8a5c (diff)
downloaduhd-11059ddbd6f5301f72299933321c35d00663dfe6.tar.gz
uhd-11059ddbd6f5301f72299933321c35d00663dfe6.tar.bz2
uhd-11059ddbd6f5301f72299933321c35d00663dfe6.zip
fix to ad9777 dac control
Diffstat (limited to 'host/lib/usrp/usrp2')
-rw-r--r--host/lib/usrp/usrp2/codec_ctrl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/codec_ctrl.cpp b/host/lib/usrp/usrp2/codec_ctrl.cpp
index d1e16881b..d698216ba 100644
--- a/host/lib/usrp/usrp2/codec_ctrl.cpp
+++ b/host/lib/usrp/usrp2/codec_ctrl.cpp
@@ -39,8 +39,8 @@ public:
_ad9777_regs.filter_interp_rate = ad9777_regs_t::FILTER_INTERP_RATE_4X;
_ad9777_regs.mix_mode = ad9777_regs_t::MIX_MODE_REAL;
_ad9777_regs.pll_divide_ratio = ad9777_regs_t::PLL_DIVIDE_RATIO_DIV1;
- _ad9777_regs.pll_state = ad9777_regs_t::PLL_STATE_OFF;
- _ad9777_regs.auto_cp_control = ad9777_regs_t::AUTO_CP_CONTROL_ENB;
+ _ad9777_regs.pll_state = ad9777_regs_t::PLL_STATE_ON;
+ _ad9777_regs.auto_cp_control = ad9777_regs_t::AUTO_CP_CONTROL_AUTO;
//I dac values
_ad9777_regs.idac_fine_gain_adjust = 0;
_ad9777_regs.idac_coarse_gain_adjust = 0xf;