aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/nijesdcore.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-04-27 14:32:24 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:03:52 -0800
commitc0fa47a970856892335aa4316c1540a4a4391d34 (patch)
treed035f5eb944b9f102e615265c442fb7426daa996 /mpm/python/usrp_mpm/nijesdcore.py
parentaf6d2409499da5ffb0da1cb4d3d50293774937e8 (diff)
downloaduhd-c0fa47a970856892335aa4316c1540a4a4391d34.tar.gz
uhd-c0fa47a970856892335aa4316c1540a4a4391d34.tar.bz2
uhd-c0fa47a970856892335aa4316c1540a4a4391d34.zip
n3xx: Moved Mykonos reset to UIO
Note: This requires a new FPGA image, or Mykonos simply won't reset.
Diffstat (limited to 'mpm/python/usrp_mpm/nijesdcore.py')
-rw-r--r--mpm/python/usrp_mpm/nijesdcore.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/mpm/python/usrp_mpm/nijesdcore.py b/mpm/python/usrp_mpm/nijesdcore.py
index 60888a5c1..d4c8d40b9 100644
--- a/mpm/python/usrp_mpm/nijesdcore.py
+++ b/mpm/python/usrp_mpm/nijesdcore.py
@@ -142,3 +142,9 @@ class NIMgJESDCore(object):
if rb & 0xF != 0x2:
raise Exception("GT PLL failed to lock!")
+ def reset_mykonos(self):
+ " Toggle reset line on Mykonos "
+ self.regs.poke32(0x0008, 0) # Active low reset
+ time.sleep(0.001)
+ self.regs.poke32(0x0008, 1) # No longer in reset
+