aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300/x300_dac_ctrl.cpp
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2016-05-26 09:20:59 -0700
committerAshish Chaudhari <ashish@ettus.com>2016-05-26 09:20:59 -0700
commit9046188eb890a2b6dcb813fb365b2a863f94529d (patch)
tree736da7a550fe9b0036e4cca410665aff11a688a2 /host/lib/usrp/x300/x300_dac_ctrl.cpp
parentf34e0beab103ff21315c7d417a68501a7722ef7d (diff)
parentbf74b4e85d6d2b8833c35b1f243eb36b99432250 (diff)
downloaduhd-9046188eb890a2b6dcb813fb365b2a863f94529d.tar.gz
uhd-9046188eb890a2b6dcb813fb365b2a863f94529d.tar.bz2
uhd-9046188eb890a2b6dcb813fb365b2a863f94529d.zip
Merge branch 'maint'
Diffstat (limited to 'host/lib/usrp/x300/x300_dac_ctrl.cpp')
-rw-r--r--host/lib/usrp/x300/x300_dac_ctrl.cpp14
1 files changed, 3 insertions, 11 deletions
diff --git a/host/lib/usrp/x300/x300_dac_ctrl.cpp b/host/lib/usrp/x300/x300_dac_ctrl.cpp
index bb41146b6..d49fba383 100644
--- a/host/lib/usrp/x300/x300_dac_ctrl.cpp
+++ b/host/lib/usrp/x300/x300_dac_ctrl.cpp
@@ -69,21 +69,13 @@ public:
//ADI recommendations:
//- soft reset the chip before configuration
//- put the chip in sleep mode during configuration and wake it up when done
- _soft_reset();
- _sleep_mode(true);
- _init();
- _sleep_mode(false);
- }
-
- void reset_and_resync()
- {
- //ADI recommendations:
- //- soft reset the chip before configuration
- //- put the chip in sleep mode during configuration and wake it up when done
//- configure synchronization settings when sleeping
_soft_reset();
_sleep_mode(true);
_init();
+ //We run backend sync regardless of whether we need to sync multiple DACs
+ //because we use the internal DAC FIFO to meet system synchronous timing
+ //and we need to guarantee that the FIFO is not empty.
_backend_sync();
_sleep_mode(false);
}