diff options
author | Mark Meserve <mark.meserve@ni.com> | 2018-07-24 13:14:47 -0500 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-07-31 10:08:53 -0700 |
commit | 23b646bda313c230494011dbb54576e9f2748fa9 (patch) | |
tree | 06d585ff242c5b14369d13da74fb889f9dece3ff | |
parent | 0b9b763dd7d5647b769748cf470f5e741dcc556e (diff) | |
download | uhd-23b646bda313c230494011dbb54576e9f2748fa9.tar.gz uhd-23b646bda313c230494011dbb54576e9f2748fa9.tar.bz2 uhd-23b646bda313c230494011dbb54576e9f2748fa9.zip |
lmx2592: fix calibration start during tuning
- This bug could cause LO to not lock properly after a set_frequency call
-rw-r--r-- | host/lib/usrp/common/lmx2592.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/host/lib/usrp/common/lmx2592.cpp b/host/lib/usrp/common/lmx2592.cpp index 9a31f0ec7..ec467acc8 100644 --- a/host/lib/usrp/common/lmx2592.cpp +++ b/host/lib/usrp/common/lmx2592.cpp @@ -240,9 +240,11 @@ public: const auto actual_f_lo = actual_fcore_vco * vco_multiplier / output_divider; UHD_LOGGER_TRACE("LMX2592") << "Tuned to " << actual_f_lo; + + // Toggle fcal field to start calibration + _regs.fcal_enable = 0; commit(); - // Run Frequency Calibration _regs.fcal_enable = 1; commit(); |