diff options
author | Daniel Jepson <daniel.jepson@ni.com> | 2018-04-05 16:09:23 -0500 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-04-10 09:58:34 -0700 |
commit | e2f91203314efdc19e9027d302b37643c0503ca3 (patch) | |
tree | c151c0eb6d2d48a34a88c7d308fdeffc1d006209 /mpm/python | |
parent | 0bcae6cb164611c276e2e28a0759442ea354a8f4 (diff) | |
download | uhd-e2f91203314efdc19e9027d302b37643c0503ca3.tar.gz uhd-e2f91203314efdc19e9027d302b37643c0503ca3.tar.bz2 uhd-e2f91203314efdc19e9027d302b37643c0503ca3.zip |
mg: implement digital loopback arg for the rfic
Diffstat (limited to 'mpm/python')
-rw-r--r-- | mpm/python/usrp_mpm/dboard_manager/magnesium.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/magnesium.py b/mpm/python/usrp_mpm/dboard_manager/magnesium.py index 6ed4dfd84..53341c206 100644 --- a/mpm/python/usrp_mpm/dboard_manager/magnesium.py +++ b/mpm/python/usrp_mpm/dboard_manager/magnesium.py @@ -444,7 +444,12 @@ class Magnesium(DboardManagerBase): self.init_jesd(jesdcore, args) jesdcore = None # Help with garbage collection # That's all that requires access to the dboard regs! - self.mykonos.start_radio() + if bool(args.get('rfic_digital_loopback')): + self.log.warning("RF Functionality Disabled: JESD204b digital loopback " \ + "enabled inside Mykonos!") + self.mykonos.enable_jesd_loopback(1) + else: + self.mykonos.start_radio() return True def _parse_and_convert_cal_args(self, table, cal_args): |