aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* TwinRX: Tuning improvementsmichael-west2018-12-103-17/+20
| | | | | | - Added delay for VTUNE calibration as per ADF5355 and ADF5356 data sheets - Increased SPI clock to 10 MHz - Removed write to register 10 during tuning of ADF5356 to match ADF5355 code and reduce tune time
* TwinRX: Fix initializationmichael-west2018-12-101-62/+60
| | | | | | | - Reordered initialization - Fixed issue where LO2 initialization data was being written to LO1 - Moved SPI config to be a member variable so it is not constantly re-created - Changed SPI clock divider from hard-coded value to a calculation based on CODEC rate
* rh: fixed lowband tuningMark Meserve2018-12-071-1/+2
| | | | - Sometimes, SW1 was not updated when a switch to lowband occurred.
* cmake: use "MATCHES" instead of "STREQUAL" for "Clang"Michael Dickens2018-12-071-3/+3
| | | | + allows proper building with both AppleClang and native Clang.
* uhd: Fix log statement for Port number on RFNOC blockSugandha Gupta2018-12-051-1/+1
| | | | | CE is display in decimal format and Port number will be displayed in Hex, as it represents Block Port on the crossbar
* rh: add handling for "all" loMark Meserve2018-12-042-9/+104
| | | | | | | - Adds "all" LO properties. - Adds handling of "all" value in all LO functions. - Re-adds value_error exceptions for illegal settings of LO2, which previously caused issues when the "all" LO was used from multi_usrp.
* examples: rfnoc_radio_loopback: Clean up exampleMartin Braun2018-12-031-15/+11
| | | | | | | | | | - Remove unnecessary Boostisms - Remove unecessary thread priority (this example doesn't actually do anything that requires high thread priority) - Used auto in some places to increase readability - Fixed some compiler warnings No functional changes.
* mg: Unindent falsely indented block of codeMartin Braun2018-11-301-29/+29
| | | | Whitespace changes only.
* e320: Fix return value of get_fpga_typeSugandha Gupta2018-11-301-3/+3
| | | | | | Return value should be fpga image type and not sfp type, fixes a bug with uhd_image_loader while trying to update XG and AA images
* images: Add N3xx CPLD file to manifestMartin Braun2018-11-291-1/+1
| | | | | This will allow uhd_images_downloader to pull the file. Also, it will enable automatic updating for meta-ettus by referencing the manifest.
* docs: python: add documentation on GIL releaseBrent Stapleton2018-11-291-0/+23
| | | | | Adding documentation explaining where the Python API releases the Python GIL, and what that means for users.
* rh: Enable clock synchronization error checkingHumberto Jimenez2018-11-291-7/+3
|
* rh: add support for atr frontend controlMark Meserve2018-11-295-92/+103
|
* cmake: Properly register devtestMartin Braun2018-11-291-1/+3
| | | | | If N300 or E320 is disabled, the appropriate devtests are no longer registered.
* python: Add sync source to Python APIBrent Stapleton2018-11-292-0/+41
| | | | Exposing getters, setters, and options for multi_usrp sync source.
* images: Update manifest with Rhodium imagesAlex Williams2018-11-281-0/+1
|
* e300: Type-cast fix for boostAndreas Müller2018-11-281-1/+1
| | | | | | | Fixes compiler errors on newer Boost. boost::posix_time::microseconds() requires a int64_t. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* filter: Fix return value in get_rolloffDerek Kozel2018-11-281-1/+1
|
* rfnoc: Add halt to replay APIWade Fife2018-11-273-1/+12
| | | | | The HALT feature allows a command that takes a long time to run to be stopped while it is in progress.
* rfnoc: Fix default SPP for replayWade Fife2018-11-271-4/+3
| | | | Consolidate two constants for default replay packet size down to one.
* RFNoC: Fix replay example port argsWade Fife2018-11-271-3/+3
|
* mpm: rh: Remove n321 overlayAlex Williams2018-11-271-1/+0
| | | | | | The n321 overlay is no longer needed. The devices have been added to the n320 overlay because the kernel cannot tear down multiple overlays reliably.
* Docs: Adjust E310 functional verification testsmichael-west2018-11-261-10/+10
| | | | The sample rates and the interpolation/decimation limits didn't match.
* x3xx: implement rfnoc get antenna functionsMark Meserve2018-11-262-0/+16
|
* utils: specify the downloader's Python executableBrent Stapleton2018-11-261-1/+1
| | | | | | | | | | Change the uhd_images_downloader's first line to execute with a runtime Python interpreter, as determined at UHD build time. Users can still use an arbitrary Python executable by calling `python uhd_images_downloader` This will fix our embedded products by ensuring that we call Python3 when running uhd_images_downloader in embedded mode.
* cmake: python: adding RUNTIME_PYTHON_EXECUTABLEBrent Stapleton2018-11-261-1/+15
| | | | | | Adding a CMake variable to set the runtime Python interpreter. This will default to PYTHON_EXECUTABLE, which is the build time Python interpreter.
* n3xx: Change init() procedure to reduce configuration timeHumberto Jimenez2018-11-261-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | Previously, the init() procedure of the n3xx class passed either the user-provided or the default clock_source and time_source values to initialize the clocking configuration. When the user did not provide these parameters, the default values were assigned, overriding whatever configuration the device was previously initialized with. Therefore, a dboard reinit was forced when the currently configured state of the N3xx device did not match the default configuration (i.e. internal sources). Now, the init() procedure still provides the clock_source and time_source values; but, if the user does not provide the parameters, the previously used values are assigned (i.e. self._clock_source and/or self._time_source). By the time MPM runs this n3xx init() procedure for the first time, both self._clock_source and self._time_source have been initialized with the default internal values anyways in the _init_ref_clock_and_time() procedure. This change prevents additional, unnecessary calls to the set_sync_source() procedure, which ultimately causes a daughterboard reinitialization when either a new clock or time source is requested.
* rh: Fix update_ref_clock_freq() to update init argsHumberto Jimenez2018-11-261-0/+3
| | | | | | The update_ref_clock_freq() procedure now updates the self._init_args value of the Rhodium class daugtherboard objects in MPM to propagate the latest user-selected arguments for future reference.
* x300: fixup minimum master clock rateBrent Stapleton2018-11-211-1/+1
| | | | | Recent clocking changes set the minimum master clock rate to 187.5MHz, instead of the actual 184.32MHz. This change corrects that.
* multi_usrp: Fixed get_tx_stream referenceGregory Eslinger2018-11-201-1/+1
|
* uhd: fix rx antenna not being applied in txrx exampleMark Meserve2018-11-161-2/+3
|
* rh: fix typo in lo distribution propertiesMark Meserve2018-11-161-2/+2
|
* rh: fix typo in set_clk_safe_stateMark Meserve2018-11-161-1/+1
|
* mpmd: add fpga_vesion_hash infoTrung Tran2018-11-161-0/+2
|
* mpm: add fpga githash to device infoTrung Tran2018-11-161-0/+2
|
* tests: Retrofit sph test to use new mock transportCiro Nishiguchi2018-11-165-201/+293
|
* utils: uhd_images_downloader: Add --http-proxy optionMartin Braun2018-11-161-2/+11
| | | | | | | | | | | | This lets the user specify a HTTP proxy. The environment variable HTTP_PROXY is still usable, but --http-proxy will override it. Example: $ uhd_images_downloader \ --http-proxy http://user:pass@10.20.30.40:3128 \ -t x310 Here, the tool will download all the images matching 'x310' using a proxy at 10.20.30.40.
* mpmd: Improve error message for compat number mismatchesMartin Braun2018-11-161-6/+14
|
* x300: New mode to configure master clock rateScott Torborg2018-11-163-10/+104
| | | | | | | | Add a new clocking mode to automatically configure arbitrary master clock rates. Co-authored-by: Brent Stapleton <brent.stapleton@ettus.com> Co-authored-by: Martin Braun <martin.braun@ettus.com>
* cmake: Improve logic for UHD_IMAGES_DIRA. Maitland Bottoms2018-11-151-2/+0
| | | | | A CMake option is either On or Off. UHD_IMAGES_DIR gets a sane default if not specified on the CMake command line.
* cmake: Add SOURCE_DATE_EPOCHA. Maitland Bottoms2018-11-151-0/+5
| | | | | Reproducible builds set SOURCE_DATE_EPOCH rather than arbitrary build timestamps. Use it if set, otherwise revert to the old way.
* python: populated the tune_result_t bindingKevin Rigney2018-11-151-0/+6
| | | | | | The Python API bindings for the tune_result_t structure was not complete. This caused problems when trying to use it, as when tuning the TwinRX daughtercard.
* python: adding device_addr_t to Python APIBrent Stapleton2018-11-142-0/+33
| | | | | | | Add support for device_addr_t to the Python API. Most functions are exposed normally. The main exception is the constructor from a map of strings, which is replaced by a factory function called `make_device_addr`.
* python: tighten the scope of releasing the GILBrent Stapleton2018-11-141-20/+22
| | | | | Only release the GIL for the calls to send() and recv(), instead of the entire wrapper functions.
* python: expose streamer timeoutsBrent Stapleton2018-11-141-16/+27
| | | | | | Expose optional timeouts on send, recv, and recv_async_msg. These timeouts do not apply to the setup in the wrapper functions, only the calls to the streamer functions.
* n3xx: removing HA, XA image packagesBrent Stapleton2018-11-142-48/+14
| | | | | | | - Removing the Aurora image package from the images manifest. It was previously commented out, and hasn't been updated, so we're not actually losing anything here. - Moving the N310 and N300 _AA image to the _default image package
* rh: fix typo in initMark Meserve2018-11-141-1/+1
| | | | - This broke tx streaming via the multi_usrp API.
* uhd: Add device arg to enable dual ethernet for txCiro Nishiguchi2018-11-142-2/+17
| | | | | | | | UHD currently only uses a single ethernet link for tx data, even if the device is initialized with dual 10GbE links. Using both links when a DMA FIFO is present causes sequence errors due to DMA FIFO bandwidth limitations. This maintains the current default behavior but allows users to override it through a device arg "enable_tx_dual_eth".
* cmake: Update coding style to use lowercase commandsMartin Braun2018-11-14134-2398/+2401
| | | | | | | | | | | | | | | | | Also updates our coding style file. Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code (with GNU compliant sed): cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done > convert.sed \ && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' \ '*CMakeLists.txt' | xargs -0 gsed -i -f convert.sed && rm convert.sed (Make sure the backslashes don't get mangled!)
* python: Adding phase alignment exampleBrent Stapleton2018-11-141-0/+545
| | | | | | | | | | | | | | This tool uses the Python API to determine if USRP devices are receiving a phase aligned signal. It is designed to be a stand-in replacement for usrp_phasealignment.py, although the capabilities and invocation are not identical. The return value of this tool will indicate whether the signal is sufficiently phase aligned, and allows integration into scripts or other test frameworks. This tool also includes options to save data to file or plot it using PyLab. Currently only supports 2 channel RX phase alignment.