diff options
author | Trung Tran <trung.tran@ettus.com> | 2018-08-15 17:50:23 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-08-16 13:02:38 -0700 |
commit | 3b42e6f029f0d3de0f54d720964357aa0a32986f (patch) | |
tree | 3a9c3c00fcd32c12a198961b96bbf41db9d6c086 /mpm/python | |
parent | 1a55634399d355e4d2a56bc4463882c143e44a79 (diff) | |
download | uhd-3b42e6f029f0d3de0f54d720964357aa0a32986f.tar.gz uhd-3b42e6f029f0d3de0f54d720964357aa0a32986f.tar.bz2 uhd-3b42e6f029f0d3de0f54d720964357aa0a32986f.zip |
mpm: mg: move init_rf_cal before JESD de/framer bringup
This sequence is the one as described by the AD9371 user guide.
Diffstat (limited to 'mpm/python')
-rw-r--r-- | mpm/python/usrp_mpm/dboard_manager/mg_init.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/mg_init.py b/mpm/python/usrp_mpm/dboard_manager/mg_init.py index 213391655..99caf6d46 100644 --- a/mpm/python/usrp_mpm/dboard_manager/mg_init.py +++ b/mpm/python/usrp_mpm/dboard_manager/mg_init.py @@ -460,6 +460,10 @@ class MagnesiumInitManager(object): time.sleep(0.001) # 17us... ish. jesdcore.send_sysref_pulse() async_exec(self.mykonos, "finish_initialization") + # According to the AD9371 user guide, p.57, the RF cal must come before + # the framer/deframer init. We tried otherwise, and failed. So don't + # move this anywhere else. + self.init_rf_cal(args) self.log.trace("Starting JESD204b Link Initialization...") # Generally, enable the source before the sink. Start with the DAC side. self.log.trace("Starting FPGA framer...") @@ -617,9 +621,5 @@ class MagnesiumInitManager(object): "enabled inside Mykonos!") self.mykonos.enable_jesd_loopback(1) else: - # Now initialize calibrations: - # TODO: This also takes a long time. It might be faster to somehow - # just reset the calibrations, but one thing at a time. - self.init_rf_cal(args) self.mykonos.start_radio() return True |