From 2467deeb17774bae03b1be01d1bc3454aa387948 Mon Sep 17 00:00:00 2001 From: Trung N Tran Date: Wed, 22 Nov 2017 15:15:20 -0800 Subject: mpm: mykonos: Add API to change master clock rate --- mpm/python/usrp_mpm/dboard_manager/magnesium.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mpm/python') 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 -- cgit v1.2.3