aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/dboard_manager/eiscat.py
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/python/usrp_mpm/dboard_manager/eiscat.py')
-rw-r--r--mpm/python/usrp_mpm/dboard_manager/eiscat.py15
1 files changed, 10 insertions, 5 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/eiscat.py b/mpm/python/usrp_mpm/dboard_manager/eiscat.py
index d293bb706..330e6a605 100644
--- a/mpm/python/usrp_mpm/dboard_manager/eiscat.py
+++ b/mpm/python/usrp_mpm/dboard_manager/eiscat.py
@@ -338,21 +338,26 @@ class EISCAT(DboardManagerBase):
"""
EISCAT Daughterboard
"""
- hw_pid = 3
- special_eeprom_addrs = {"special0": "something"}
+ #########################################################################
+ # Overridables
+ #
+ # See DboardManagerBase for documentation on these fields
+ #########################################################################
+ pids = [0x180]
+
spi_chipselect = {
"lmk": 0,
"adc0": 1,
"adc1": 2
}
- def __init__(self, slot_idx, spi_devices, *args, **kwargs):
- super(EISCAT, self).__init__(*args, **kwargs)
+ def __init__(self, slot_idx, **kwargs):
+ super(EISCAT, self).__init__(slot_idx, **kwargs)
self.log = get_logger("EISCAT")
- self.slot_idx = slot_idx
self.log.trace("Initializing EISCAT daughterboard, slot index {}".format(self.slot_idx))
self.initialized = False
self.ref_clock_freq = 10e6
+ spi_devices = kwargs['spi_nodes']
if len(spi_devices) < len(self.spi_chipselect):
self.log.error("Expected {0} spi devices, found {1} spi devices".format(
len(self.spi_chipselect), len(spi_devices),