aboutsummaryrefslogtreecommitdiffstats
path: root/host
Commit message (Collapse)AuthorAgeFilesLines
* uhd/mpm: eiscat: Various changesRyan Marlow2018-12-194-38/+285
| | | | | | | | | | | | | | - correct lmk initialization parameters - adding missing parameters and consts wrt clock synchronization. - fixed default master clock rate - eiscat, ddc: update xml. - remove references to CORDIC_FREQ in ddc_eiscat - update readback reg addr in radio_eiscat - set default spp from 3992 to 3968. - updated jesd mode sequence initialization - updating eiscat_radio_ctrl_impl - add rx_codecs to property tree to display correct ADC chip. - updated issue_stream_cmd
* radio_ctrl_impl: move continuous_streaming to protected.Ryan Marlow2018-12-191-1/+1
|
* Device3: Fix block control flushingBrent Stapleton2018-12-172-18/+28
| | | | | | | | | | | | | | | | | | | - Factor out the _start_drain helper function, which starts flushing data out of the block. We should always be disabling flow control after we write to the flushing registers. - Always attempt to flush when calling the _flush function. Previously, we would check if data appeared to be moving when _flush was called, and only write to the flush registers if data was moving. However, if data is stuck for some reason (for example, the block ran out of flow control credits), this check will give us a false positive, and we won't flush. Instead, we need to always begin the flushing process, then check those counters, and return once the counters stop changing. Note: we need to start flushing before disabling flow control so that the flushed data isn't flooded onto the crossbar. Co-authored-by: michael-west <michael.west@ettus.com> Co-authored-by: Sugandha Gupta <sugandha.gupta@ettus.com>
* Device3: Set default block control response SIDsBrent Stapleton2018-12-171-0/+4
| | | | | | | | | | | In the block controllers, set the default response SIDs for input and output ports. If we don't do this, the blocks may send their responses to other blocks' responses ports. For example, without this change, the DDC may send an error packet to port 0x0000, which is assigned to the DmaFIFO. With this change, the DDC would send that packet to 0xFFFF, which isn't assigned to any other block.
* uhd: Add benchmark_streamer support for multi-channel streamerCiro Nishiguchi2018-12-171-275/+478
| | | | | | | | Add support for benchmarking multi-channel streamers. This also simplifies the way the test parameters are specified to avoid confusion due to the additional dimension. For rx, multi-channel streamer configurations require split_stream noc blocks so that timestamps of packets in the same streamer align. Add support for loopback FIFOs.
* examples: Add keyboard controls to rx_ascii_art_dftRakesh Peter2018-12-171-3/+116
| | | | | | | | | - Add keyboard controls for sample rate, gain, analog bandwidth, frequency, as well as the display's dynamic range, reference level, and frame rate. - The current values for these properties, as well as the keys to control them, are displayed in a small window at the top of the display. This control window can be toggled by pressing 'c'
* devtest: x3x0: Enable rx_samples_to_file in devtestSugandha Gupta2018-12-171-1/+1
|
* E310: Fix initialization of antenna and frequency valuesmichael-west2018-12-172-8/+36
|
* C API: Add support for Tx LO controlMartin Braun2018-12-142-0/+163
| | | | | The Rx LO control was always there, but the Tx LO control was not exposed into the C API.
* x300: Add support for USRP-2974Thomas Vogel2018-12-143-2/+19
| | | | | This will enable a USRP 2974 to be registered as an X300 device. Its product ID is 'NI-2974'.
* time_spec: include <stdint.h> for int64_tMichael Dickens2018-12-131-0/+1
| | | | | + needed on some older OS / compilers; + won't hurt newer ones that already include this header.
* various: use "std::abs" instead of "std::fabs"Michael Dickens2018-12-124-15/+15
| | | | | | + better compiler compatibility + let the compiler figure out the actual function IO signature that makes sense, instead of forcing float.
* responder: Better "abs()" compiler compatibilityMichael Dickens2018-12-122-2/+2
| | | | Use "std::abs" instead of "abs" for better compiler compatibility
* lmx2592: Better "abs()" compiler compatibilityMichael Dickens2018-12-121-3/+3
| | | | Use "std::abs" instead of "abs" for better compiler compatibility
* rh: add highband spur reduction optionMark Meserve2018-12-125-4/+88
| | | | | | | | | - When highband_spur_reduction is enabled, the lowband LO will be disabled during highband operation. This improves spur performance, but also renders timed tune commands unusable due to the MPM call. - A warning is logged if the user uses a timed tune command that would change the state of the lowband LO, as the MPM call will occur immediately instead of at the given command time.
* TwinRX: Make routing to LO1 and LO2 mutually exclusivemichael-west2018-12-102-25/+15
|
* TwinRX: Enable phase resync on ADF535xmichael-west2018-12-101-17/+9
|
* 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.
* 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: 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.
* 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
|
* 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.
* 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
|
* mpmd: add fpga_vesion_hash 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.