From e2f91203314efdc19e9027d302b37643c0503ca3 Mon Sep 17 00:00:00 2001 From: Daniel Jepson Date: Thu, 5 Apr 2018 16:09:23 -0500 Subject: mg: implement digital loopback arg for the rfic --- mpm/python/usrp_mpm/dboard_manager/magnesium.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mpm/python/usrp_mpm/dboard_manager/magnesium.py') 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): -- cgit v1.2.3