diff options
author | Trung N Tran <trung.tran@ettus.com> | 2017-11-22 15:15:20 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:05:07 -0800 |
commit | 2467deeb17774bae03b1be01d1bc3454aa387948 (patch) | |
tree | 5e96a1f318b3e61049036e6dbda36b36d8d2154b /mpm/python | |
parent | 2dceea5d5691cd7435380013332ee26412dc33d3 (diff) | |
download | uhd-2467deeb17774bae03b1be01d1bc3454aa387948.tar.gz uhd-2467deeb17774bae03b1be01d1bc3454aa387948.tar.bz2 uhd-2467deeb17774bae03b1be01d1bc3454aa387948.zip |
mpm: mykonos: Add API to change master clock rate
Diffstat (limited to 'mpm/python')
-rw-r--r-- | mpm/python/usrp_mpm/dboard_manager/magnesium.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/magnesium.py b/mpm/python/usrp_mpm/dboard_manager/magnesium.py index 6c100e992..3841a4466 100644 --- a/mpm/python/usrp_mpm/dboard_manager/magnesium.py +++ b/mpm/python/usrp_mpm/dboard_manager/magnesium.py @@ -398,6 +398,10 @@ class Magnesium(DboardManagerBase): } self.cpld = MgCPLD(self._spi_ifaces['cpld'], self.log) self.dboard_clk_control = DboardClockControl(self.dboard_ctrl_regs, self.log) + # Declare some attributes to make linter happy: + self.lmk = None + self.clock_synchronizer = None + self.jesdcore = None def _power_on(self): " Turn on power to daughterboard " @@ -548,7 +552,7 @@ class Magnesium(DboardManagerBase): ) _sync_db_clock(self.clock_synchronizer) # Clocks and PPS are now fully active! - + self.mykonos.set_master_clock_rate(self.master_clock_rate) self.init_jesd(args) self.mykonos.start_radio() return True |