From f4dc4bf74e65d185ef76e48d3cb172bf0a66f24a Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 30 Jun 2011 10:14:14 -0700 Subject: b100: some tweaks (unresolved streaming issues ATM) --- host/lib/usrp/b100/clock_ctrl.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'host/lib/usrp/b100/clock_ctrl.cpp') diff --git a/host/lib/usrp/b100/clock_ctrl.cpp b/host/lib/usrp/b100/clock_ctrl.cpp index ee56a0e1c..c93ff64c7 100644 --- a/host/lib/usrp/b100/clock_ctrl.cpp +++ b/host/lib/usrp/b100/clock_ctrl.cpp @@ -174,6 +174,12 @@ public: _chan_rate = 0.0; _out_rate = 0.0; + //perform soft-reset + _ad9522_regs.soft_reset = 1; + this->send_reg(0x000); + this->latch_regs(); + _ad9522_regs.soft_reset = 0; + //init the clock gen registers _ad9522_regs.sdo_active = ad9522_regs_t::SDO_ACTIVE_SDO_SDIO; _ad9522_regs.enb_stat_eeprom_at_stat_pin = 0; //use status pin -- cgit v1.2.3