aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/periph_manager/n310.py
Commit message (Collapse)AuthorAgeFilesLines
* fpga load: add update_component function to MPMBrent Stapleton2017-12-221-0/+27
| | | | | | | | -update_component takes a byte array containing the data to be written, and a dictionary containing the metadata of the component to be updated -The metadata must contain 'id' and 'filename' -The metadata may contain an md5 hash ('md5')
* mpm: Minor refactoring of PeriphManagerBase attributesMartin Braun2017-12-221-0/+1
|
* mpm: n310: Enable read/write of user EEPROM dataMartin Braun2017-12-221-0/+67
| | | | | | This exposes two new API calls to read and write arbitrary data to the device's EEPROM. Please keep in mind that EEPROMs have limited write cycles!
* n3xx: enable 1G clock with gpio settings.Ryan Marlow2017-12-221-0/+17
|
* mpm: n3xx: Add GPS locked sensorTrung N Tran2017-12-221-0/+13
|
* mpm: n310: Add mboard EEPROM supportMartin Braun2017-12-221-0/+15
| | | | | This is a specific override for the N310. It returns all the default device info as a dict.
* mpm/n310: Moved the mboard ref_locked sensor into MPMMartin Braun2017-12-221-0/+28
| | | | | | | | An N310 device will query all its dboards for ref lock status and return a Boolean combination as a motherboard sensors (note: the N310 does not actually have a ref_locked sensor on the motherboard, this is mostly for backwards-compat with UHD applications that expect a motherboard ref lock sensor).
* mpm: add n310 motherboard revD supportTrung N Tran2017-12-221-37/+78
| | | | | | | | | | This will enable both RevC and RevD from an MPM perspective. The revision read back from the EEPROM is used to enable the code for either rev. The impact on the code is limited to the port expander GPIOs. Port expander objects are instantiated in both the N310 MPM module as well as the n3xx_bist executable.
* mpm: Added max rev check overridableMartin Braun2017-12-221-0/+1
| | | | | | When reading revision numbers from EEPROM, we now have an easy way of checking of our version MPM is sufficient to run on the current device. N310 implicitly makes use of this starting with this commit.
* mpm: n3xx: Don't set time and clock source without dboardsMartin Braun2017-12-221-6/+14
| | | | | | | | When there are no daughterboards present, clock and time source are meaningless. It's also possible that corresponding FPGA images are not loaded, in which case trying to set those could crash the system. Unless daughterboards are actually present, these settings won't get applied any more.
* mpm: n3xx: Fix TCA GPIO read functionMartin Braun2017-12-221-1/+1
| | | | Used to always return None, now returns the actual pin value.
* mpm: n3xx: Change default state for TCA GPIOsMartin Braun2017-12-221-1/+3
| | | | | | This makes the GPS reset go high by default (i.e., takes it out of reset by default) and the init survey pin go high (i.e., take it out of survey mode).
* n310: enable CLK-MGT156MHz at init n310 callTrung N Tran2017-12-221-1/+1
|
* n310/eiscat: Removed 20 MHz as a valid ref clock frequencyMartin Braun2017-12-221-0/+5
|
* n3xx mpm: Refactored peripheral init codeMartin Braun2017-12-221-15/+24
|
* n3xx mpm: Enable more subcomponents through API callsMartin Braun2017-12-221-5/+44
|
* n3xx mpm: Set call for TCA6424 pins gets value argMartin Braun2017-12-221-4/+3
|
* n310: gpio bistTrung N Tran2017-12-221-1/+69
|
* n3xx: enable all pins on tca6424Trung N Tran2017-12-221-1/+2
|
* mpm/n310: Moved eth dispatcher setup into __init__Martin Braun2017-12-221-8/+7
|
* n3xx: added args for ethernet crossover pathsugandhagupta2017-12-221-0/+5
|
* mpm: Added eth table preloading capabilityMartin Braun2017-12-221-0/+51
|
* mpmd/mpm/n310: Added clock and time source APIsMartin Braun2017-12-221-24/+53
|
* mpm/mpmd: Call init() during UHD session init, not on hwd spawnMartin Braun2017-12-221-1/+2
|
* mpm/mpmd: Allow SID increment; more fixes for multi-usrp operationMartin Braun2017-12-221-2/+4
|
* mpm/mpmd: Further improvements on multi-device operationsMartin Braun2017-12-221-2/+0
| | | | | | | - Crossbar local addr is now written during initialization of UHD session - Support for multiple crossbars per device (at least on UHD side) - Crossbars are now sequentially given a unique address
* mpm: Made code Python3-compatibleMartin Braun2017-12-221-1/+3
|
* eiscat/mpm: Moved EISCAT full init sequence to UHDMartin Braun2017-12-221-14/+0
|
* mpm/eiscat: Updated bringup procedure for dual-synched dboardsDaniel Jepson2017-12-221-3/+18
|
* mpm/EISCAT: Renamed UIO udev labels, enabled spidevs on both dboardsMartin Braun2017-12-221-1/+3
| | | | The UIO labels will require an update to the device tree overlay file.
* mpm: Fixed relative importsMartin Braun2017-12-221-3/+3
|
* mpm: hwd can be spawned with clock_source and ext_clock_freqMartin Braun2017-12-221-6/+6
|
* mpm: periphs and n310 use eth table dispatcher nowMartin Braun2017-12-221-27/+16
|
* mpm: SIDs are returned to pool after device is uninitializedMartin Braun2017-12-221-1/+1
|
* mpm: Guaranteed stringification of mboard_info valuesMartin Braun2017-12-221-2/+1
|
* mpm: Moved device and dboard init/deinit to their own methodsMartin Braun2017-12-221-35/+0
| | | | Also cleaned up some cruft.
* mpm: Added command line args to usrp_hwd.pyMartin Braun2017-12-221-2/+2
|
* mpm: Enabled mboard EEPROM readoutMartin Braun2017-12-221-7/+16
|
* mpm: Various EISCAT fixesMartin Braun2017-12-221-0/+1
|
* mpm: fixed port expander connectionssugandhagupta2017-12-221-1/+1
| | | | - reversed CLK-MAINREF-SEL0 and SEL1
* mpm: Renamed types submodule mpmtypes to avoid import confusionMartin Braun2017-12-221-1/+1
|
* mpm: Updating ref clock frequency will propagate to dboard, changed slot ↵Martin Braun2017-12-221-2/+11
| | | | indexing to numbers
* mpm: n310: Added driver for port expander and ref clock selectionMartin Braun2017-12-221-3/+118
|
* mpm: Added more generic UIO lookupMartin Braun2017-12-221-7/+3
|
* mpm: Moved over to new logging infrastructureMartin Braun2017-12-221-10/+12
| | | | Also currently hardcodes some settings.
* mpm: comment out functionality to make it workAndrej Rode2017-12-221-27/+61
| | | | | | | | - add uio udev find routine - add debug prints Signed-off-by: Andrej Rode <andrej.rode@ettus.com> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* mpm: mpm reorganizationAndrej Rode2017-12-221-4/+61
|
* mpm: CMake cleanup, Python code enhancementsAndrej Rode2017-12-221-1/+1
| | | | | - Send user defined data in ping - Improve rpc_shell, add mpm_debug.py, fix tracebacks in multiprocessing
* mpm: python refactoringAndrej Rode2017-12-221-0/+46