aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/multi_usrp.cpp
Commit message (Collapse)AuthorAgeFilesLines
* X300: Add recovery for duplicate IP addresses in EEPROMMichael West2018-10-251-1/+1
| | | | | - Limit initialization to ZPU communication if recover_mb_eeprom=1 is set in device args.
* multi_usrp: Add sync_source APIMartin Braun2018-10-111-6/+160
| | | | | | | | | | The sync_source API is an atomic setter for all sync-related settings. If supported by the underlying USRP, it can be faster to call set_sync_source() rather than sequentially calling set_clock_source() and set_time_source(). If the underlying device does not support the sync_source API, it will fall back to the set_clock_source() and set_time_source() APIs, making this change backward-compatiple.
* multi_usrp: move definition of constantsAndrew Lynch2018-10-041-0/+2
| | | | ALL_MBOARDS and ALL_CHANS will be exported on GCC and MSVC
* multi_usrp: Add get_user_settings_iface() API callMartin Braun2018-08-161-0/+12
| | | | | | | | | | | For USRPs that support user settings (e.g., B2xx, N230), this will return an object that will allow peeking and poking user-defined settings registers. Mock code example: auto usrp = multi_usrp::make(...); auto user_settings_iface = usrp->get_user_settings_iface(); user_settings_iface->poke32(0, 23);
* fixup! uhd: Warn when tuning with auto DSP frequency and an external LOBrent Stapleton2018-07-181-1/+3
| | | | | | Check for ALL_LOS in the property tree before checking if its set to external. This warning is only applicable to the TwinRX, so its fine to only look for the ALL_LOS property.
* multi_usrp: Fix get_usrp_tx_info() for MPMD devicesMartin Braun2018-07-171-1/+1
|
* uhd: Expose DC Offset range via multi_usrp interfaceDerek Kozel2018-07-111-0/+18
|
* uhd: Warn when tuning with auto DSP frequency and an external LODerek Kozel2018-07-101-0/+19
| | | | | In LO sharing cases this can result in frequency errors between channels.
* multi_usrp: Check for existence of mboard sensor namesMartin Braun2018-05-171-1/+4
| | | | | get_mboard_sensor_names() would crash if a USRP didn't actually have at least one sensors defined.
* UHD: Fix get_usrp_?x_infoMichael West2018-05-151-2/+2
|
* lib: Remove some unnecessary use of boost::posix_timeMartin Braun2018-05-141-5/+7
| | | | Replace by std::chrono.
* multi_usrp: Update get_usrp_?x_info()Trung N Tran2018-05-011-15/+78
| | | | | | | In MPM devices, daughterboard EEPROMs now use eeprom_map_t instead of dboard_eeprom_t. The eeprom also is under rfnoc path. This change will allow ?x_info() to reach that rfnoc path and pull information from the new eeprom_map_t.
* lib: Purge all references to boost::this_thread::sleep()Martin Braun2018-04-301-3/+4
| | | | Replace with std::this_thread::sleep_for().
* multi_usrp: Add API call to query the clock rate rangeMartin Braun2018-04-031-0/+17
|
* multi_usrp: Refactor gpio_attr methodsMartin Braun2018-03-301-117/+164
| | | | | | | | | - Fix indentation issues - Fix inconsistent formatting - Fix typos in user-facing messages - Fix inconsistent exception messages - Apply coding guideline formatting rules - Remove some code duplication
* fixup! usrp: Add set_gpio_attr overload that use stringTrung N Tran2018-03-141-2/+2
| | | | | set_gpio_attr did not return after completion. This leads to wrong error reporting.
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-141-1/+1
| | | | | | | | | | | | | | | | To avoid the proliferation of additional include directories and multiple ways of including project-local headers, we now default to moving all headers that are used across UHD into the uhdlib/ subdirectory. Some #include statements were also reordered as they were modified for closer compliance with the coding guidelines. Internal cpp source files should now include files like this: #include <uhdlib/rfnoc/ctrl_iface.hpp> Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* uhd: Move some gpio_defs constants definitions out of headersMartin Braun2018-02-271-0/+1
| | | | Reviewed-by: Trung Tran <trung.tran@ettus.com>
* usrp: Add set_gpio_attr overload that use stringTrung N Tran2018-02-211-22/+172
| | | | | | | | | | | | | 1/ multi_usrp.hpp; multi_usrp.cpp: added new functions - set_gpio_attr() that allow user to set certain attribute by string value. - get_gpio_string_attr() return string type value of certain attribute. 2/ gpio_defs.hpp; gpio_atr_3000.cpp : added new definition of SRC attribute. This commit enable user to use multi_usrp api to set_gpio_attr using string value. This is helpful; because the attribute can represent more than two state as of old API. This enable user to set SRC (source) that drive each GPIO bank's pin. Source can be either processing unit(PS) or radio frontend logic from FPGA logic.
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* multi_usrp: Fix compiler warningsMartin Braun2018-01-161-22/+41
| | | | Also elevated a UHD_LOG_ERROR() to an exception.
* usrp: add multiusrp api for gain profile.Trung N Tran2018-01-121-0/+72
|
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* multi_usrp: Expose APIs for TX LO controlsMartin Braun2017-12-061-0/+220
| | | | | Reviewed-By: Ashish Chaudhari <ashish@ettus.com> Reviewed-By: Derek Kozel <derek.kozel@ettus.com>
* uhd: Replaced many lexical_cast with appropriate C++11 equivalentsMartin Braun2017-06-291-3/+3
|
* multi_usrp: Added more checks for properties that may not existMartin Braun2017-05-151-3/+12
|
* Merge branch 'maint'Martin Braun2017-04-131-1/+1
|\
| * UHD: Fix get_normalized_tx_gain in multi_usrpDerek Kozel2017-04-091-1/+1
| |
| * rfnoc: legacy_compat gets its own set_{rx,tx}_rate() callsMartin Braun2016-11-291-0/+24
| | | | | | | | | | | | This avoids double-calling subscribers, and will fix the case where a rate change in a multi-channel scenario will break because the graph resolution is done before all rates are set.
* | logging: Demoted a number of DEBUG messages to TRACEMartin Braun2017-04-051-1/+1
| |
* | multi_usrp: Removed ordering req. from prop_tree path accessAshish Chaudhari2017-04-051-6/+18
| | | | | | | | | | | | | | - Path getters for mboard, rx_dsp and tx_dsp concat the numeric channel to the tree path instead of indexing a list. This allows for easier multi threaded tree construction because values can be placed in the tree in a random order.
* | utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-23/+23
| |
* | uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-101-12/+11
| | | | | | | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* | rfnoc: legacy_compat gets its own set_{rx,tx}_rate() callsMartin Braun2016-12-091-0/+24
|/ | | | | | This avoids double-calling subscribers, and will fix the case where a rate change in a multi-channel scenario will break because the graph resolution is done before all rates are set.
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-081-25/+25
| | | | | | | | types) - Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that).
* UHD: Fixed the max link warning for the case where there are multiple ↵Paul David2016-10-051-0/+2
| | | | motherboards
* multi_usrp: Fixed compiler warning on read_registerMartin Braun2016-08-111-2/+1
|
* Merging RFNoC support for X310Martin Braun2016-08-091-22/+48
|
* Improve LO APIs for daughterboards without configurable LOsDerek Kozel2016-08-091-5/+10
|
* Coerces dsp frequency to 0 if any channel uses an external LODerek Kozel2016-08-091-1/+19
|
* multi_usrp: Added LO control APIDerek Kozel2016-07-191-0/+161
|
* usrp3: Added new GPIO ATR 3000 coreAshish Chaudhari2015-09-291-8/+8
| | | | | | | | - Refactored GPIO ATR definitions - Added new 3000 core with a more efficient API - Added a separate db_gpio_atr core to control the ATR bus - Ported b2xx, e3xx and x3xx to the new core - Minor cleanup
* b200, multi_usrp: More consistent messages regarding auto MCRMartin Braun2015-09-171-1/+3
|
* multi_usrp: comment out for-now unused function to remove warningNicholas Corgan2015-08-141-2/+2
|
* multi_usrp: Disabled tuning messageMartin Braun2015-08-121-2/+2
|
* multi_usrp: Fixed bug where policy == none was not obeyedMartin Braun2015-08-121-2/+6
|
* uhd: Register API enhancementsAshish Chaudhari2015-08-061-4/+30
| | | | | - Added get_register_info function to get bitwidth and R/W access for a registers - Better error reporting
* uhd: Added APIs to multi_usrp to read/write device registersAshish Chaudhari2015-08-041-0/+90
| | | | | | - Added regmap object to soft_register library - Added a regmap_db object to hold multiple regmaps/dbs - Multiple soft_register enhancements
* Merge branch 'maint'Martin Braun2015-03-111-7/+7
|\ | | | | | | | | Conflicts: host/include/uhd/transport/vrt_if_packet.hpp
| * uhd: Fixed several type-cast related warnings for naggy compilersMartin Braun2015-03-111-1/+1
| |