Brent Stapleton
d0cb6de410
mpm: PeriphManager decides and applies overlay
...
Previously, the daughterboard requested an overlay file based on SFP
preference using magic values. This commit moves the decision making to
the peripheral manager, which uses our singular name (ie 'n3xx' for the
N310).
2017-12-22 15:05:57 -08:00
Daniel Jepson
3b716315fe
mpm: Update TDC sync code to make it generic for N dboards
2017-12-22 15:04:01 -08:00
Martin Braun
7cd6758336
n310/eiscat: Removed 20 MHz as a valid ref clock frequency
2017-12-22 15:04:00 -08:00
Derek Kozel
e5a7be4453
eiscat: Change sync pin configuration to switch to CD in case of error
2017-12-22 15:04:00 -08:00
djepson1
d15b55481d
eiscat: Fixing a sequencing issue with channel enables for signal integrity reasons
2017-12-22 15:04:00 -08:00
sugandhagupta
0347dc8b4b
mpm: fixed mpm rerun issue
2017-12-22 15:04:00 -08:00
Martin Braun
8e1dec25f2
eiscat: Move JESD init and ADC reset to its own function
2017-12-22 15:03:59 -08:00
Martin Braun
d6dc8377ed
eiscat: JESD failure does no longer throw; returns failure
2017-12-22 15:03:59 -08:00
Martin Braun
d6d4ac861e
eiscat: Unset initialized-flag when ref clock freq is changed
2017-12-22 15:03:59 -08:00
Martin Braun
62e2c25107
eiscat: Minor logging update for clock sync
2017-12-22 15:03:59 -08:00
Martin Braun
5f803ae32e
eiscat: Skip re-initialization of dboards
2017-12-22 15:03:59 -08:00
Daniel Jepson
45012fa48c
EISCAT: Hard reset ADCs before init, fixed interleaving engine
2017-12-22 15:03:59 -08:00
Martin Braun
40235b8c5a
mpm/mpmd: Call init() during UHD session init, not on hwd spawn
2017-12-22 15:03:59 -08:00
Martin Braun
d68c7dfa5a
eiscat: Made more functions return status values instead of None/void
2017-12-22 15:03:58 -08:00
Martin Braun
3c50e39d64
mpm: Removed gratuitous encode(), safer udev lookups
...
- Udev lookups now just return empty lists when they can't find anything
- Made SPI dev interface factory Py2/3 safe
2017-12-22 15:03:58 -08:00
Martin Braun
6183d9eeaa
mpm: Made code Python3-compatible
2017-12-22 15:03:58 -08:00
Martin Braun
2bd564ca22
mpm: Replaced xrange with range for better Python future-proofing
2017-12-22 15:03:58 -08:00
Martin Braun
34174c98f3
eiscat/mpm: Moved EISCAT full init sequence to UHD
2017-12-22 15:03:58 -08:00
Daniel Jepson
a233877f65
mpm/eiscat: Updated bringup procedure for dual-synched dboards
2017-12-22 15:03:58 -08:00
Martin Braun
5edeeef564
mpm/EISCAT: Renamed UIO udev labels, enabled spidevs on both dboards
...
The UIO labels will require an update to the device tree overlay file.
2017-12-22 15:03:58 -08:00
Martin Braun
7c9b801906
mpm: Made overlay selection a static method for more flexibility
2017-12-22 15:03:53 -08:00
Martin Braun
245b96a777
mpm: Added auto-loading of dboard-specific overlays
2017-12-22 15:03:53 -08:00
Martin Braun
9dee6175da
mpm: Moved device and dboard init/deinit to their own methods
...
Also cleaned up some cruft.
2017-12-22 15:03:53 -08:00
Martin Braun
ca1723c02e
eiscat: Enabled Phase DAC SPI
...
Requires the appropriate overlay.
2017-12-22 15:03:53 -08:00
Martin Braun
b39dafa1ee
mpm: Enabled selection of SPI mode
2017-12-22 15:03:53 -08:00
Martin Braun
e6858a61a8
mpm: Moved some SPI setup code to dboard base
2017-12-22 15:03:53 -08:00
Martin Braun
13cd22e867
mpm: Added command line args to usrp_hwd.py
2017-12-22 15:03:53 -08:00
Martin Braun
4efea95324
mpm: Enabled mboard EEPROM readout
2017-12-22 15:03:53 -08:00
Martin Braun
8f9f29dabc
mpm: eiscat: Fixed missing parameter in dboard code
2017-12-22 15:03:52 -08:00
Martin Braun
1b27c16dd3
mpm: Updating ref clock frequency will propagate to dboard, changed slot indexing to numbers
2017-12-22 15:03:52 -08:00
Daniel Jepson
ca3a840756
mpm: eiscat: Finalized bring-up of JESD link
2017-12-22 15:03:52 -08:00
Martin Braun
df9ca47ed1
mpm: eiscat: magnesium: Removed C++-only SPI ifaces
...
- EISCAT is now Python only with the exception of the definition of the
SPI ifaces
- Magnesium uses a Python-generated SPI iface
- Removed SPI lock from EISCAT dboard
2017-12-22 15:03:52 -08:00
Martin Braun
2906db7528
mpm: Added more to the EISCAT bringup sequence
2017-12-22 15:03:52 -08:00
Martin Braun
0e7fe25f42
mpm: eiscat: Added first pass at EISCAT dboard driver
2017-12-22 15:03:52 -08:00
Martin Braun
285f14392b
mpm: Moved over to new logging infrastructure
...
Also currently hardcodes some settings.
2017-12-22 15:03:45 -08:00
Andrej Rode
6a12add156
mpm: mpm reorganization
2017-12-22 15:03:45 -08:00
Andrej Rode
ef6326a174
mpm: python refactoring
2017-12-22 15:03:44 -08:00