diff options
author | djepson1 <daniel.jepson@ni.com> | 2017-10-12 10:14:13 -0500 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:04:02 -0800 |
commit | 5eb49364cea736d358ca005035ba50e772fae9fd (patch) | |
tree | f36e529f17aec8affdf4391a27a890b8fe43e9cf /mpm/python/usrp_mpm/chips | |
parent | e212936218481b99a3f2e6283501ee6beaaa4d5a (diff) | |
download | uhd-5eb49364cea736d358ca005035ba50e772fae9fd.tar.gz uhd-5eb49364cea736d358ca005035ba50e772fae9fd.tar.bz2 uhd-5eb49364cea736d358ca005035ba50e772fae9fd.zip |
lmk: change holdover settings to reduce lock time
- Register 0x150 bit [1] to '0'
- Change lock detect to poll operation
Diffstat (limited to 'mpm/python/usrp_mpm/chips')
-rw-r--r-- | mpm/python/usrp_mpm/chips/lmk04828.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mpm/python/usrp_mpm/chips/lmk04828.py b/mpm/python/usrp_mpm/chips/lmk04828.py index 8cb48fffe..4d2839bf9 100644 --- a/mpm/python/usrp_mpm/chips/lmk04828.py +++ b/mpm/python/usrp_mpm/chips/lmk04828.py @@ -67,16 +67,14 @@ class LMK04828(object): Checks both PLLs are locked. Will throw an exception otherwise. Returns True if both PLLs are locked, False otherwise. """ - self.log.trace("Checking PLL lock bits...") def check_pll_lock(pll_id, addr): """ - pll_id -- A string defining the PLL (e.g. 'PLL1') addr -- The address to peek to see if it's locked """ pll_lock_status = self.regs_iface.peek8(addr) if (pll_lock_status & 0x7) != 0x02: - self.log.error("LMK {} did not lock. Status: {:x}".format(pll_id, pll_lock_status)) + self.log.warning("LMK {} reporting unlocked... Status: 0x{:x}".format(pll_id, pll_lock_status)) return False return True lock_status = \ |