aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
Commit message (Collapse)AuthorAgeFilesLines
* basicrx/lfrx: Enable frontend muxing on X3x0Martin Braun2018-05-081-16/+46
| | | | | | The selection of frontend modes (AB, A, B, BA) is now enabled on X3x0. Unlike older USRPs, switching the frontend is done through the antenna API (e.g., usrp->set_rx_antenna("A")).
* dboard_iface: Add has_set_fe_connection() methodMartin Braun2018-05-081-0/+6
|
* basicrx: Refactor driverMartin Braun2018-05-081-42/+54
| | | | | | | | - Removal of some Boostisms - Proper use of lambdas - Replace magic constants with constexpr's No functional changes.
* uhd: Added LMX2592 driverDerek Kozel2018-05-032-0/+472
|
* lib: Purge use of boost::assign, except for uhd::dictMartin Braun2018-05-0213-844/+849
| | | | | | | Replaced with initialization lists. Note: uhd::dict does not work with initializer lists without making changes to said data structure. This commit has no functional changes, so keeping the boost::assigns for uhd::dict.
* mpmd: add missing virtual destructorsMark Meserve2018-05-022-0/+2
|
* 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-3028-88/+118
| | | | Replace with std::this_thread::sleep_for().
* lib: Change check_radio_config() to iterate over channels, not radios.Vidush2018-04-301-2/+2
|
* mpmd: Use separate rpc connection for claim loopTrung N Tran2018-04-302-27/+55
| | | | | We need a separate RPC connection for the claim loop such that it is not blocked by other long executions of rpc calls.
* ad9361: Fix bandwidth warnings and rangesVidush2018-04-274-30/+77
| | | | | | | Allows full bandwidth range to user. Reviewed-by: Michael West <michael.west@ettus.com> Reviewed-by: Martin Braun <martin.braun@ettus.com>
* ad936x: De-boostify ad936x_manager, minor cleanupMartin Braun2018-04-263-54/+90
| | | | | | | - Remove all use of boost::bind and boost::function - Demote some log messages to DEBUG - Change some formatting to match coding guidelines - B2xx/E310: Match changes in loopback function
* cores: rx_vita_core_3000: Replace boost::this_thread::sleep()Martin Braun2018-04-171-2/+3
| | | | Use std::this_thread::sleep_for() instead.
* gps_ctrl: Replace boost::this_thread::sleep()Martin Braun2018-04-171-26/+32
| | | | Use std::this_thread::sleep_for() instead.
* x300: Replace all references to boost::this_thread::sleep()Martin Braun2018-04-174-25/+34
| | | | Use std::this_thread::sleep_for() instead.
* b100: Remove some references to boost::assign and Boost time objectsMartin Braun2018-04-171-16/+23
|
* adf4002: Fixed register programming for power down bitSugandha Gupta2018-04-121-1/+1
| | | | | The bit shift for power down is one off with respect to the ADF4001/ADF4002 data sheet
* x300: handle bad weak_ptr during pcie discoveryMark Meserve2018-04-101-1/+9
|
* docs: Clarify that the magnesium/ dboard driver is used for N310/N300Martin Braun2018-04-101-1/+7
|
* fixup! mg: fix compiler warningsMartin Braun2018-04-091-10/+10
|
* lib: move atomic.hpp and system_time.hpp to uhdlibMartin Braun2018-04-064-5/+5
|
* mg: fix compiler warningsmichael-west2018-04-052-2/+2
|
* multi_usrp: Add API call to query the clock rate rangeMartin Braun2018-04-031-0/+17
|
* b200: Add clock rate rangeMartin Braun2018-04-031-0/+5
|
* mpmd: tighten reclaiming time.Trung N Tran2018-04-021-2/+3
| | | | | Reclaming interval was exec_time(claim+dump_logs)+MPMD_RECLAIM_INTERNVAL; this change will MAX(exec_time(claim+dump_logs),MPM_RECLAIM_INTERVAL)
* UBX: Change antenna functions to coercers on antenna/value propertiesmichael-west2018-03-301-4/+7
|
* dboard eeprom: Demote byte sum message to TRACEMartin Braun2018-03-301-2/+6
|
* rfnoc: Update logging in some blocksMartin Braun2018-03-301-13/+35
| | | | | | | | | | Updated the following blocks and components: Radio, DmaFIFO, block_ctrl_base and node_ctrl_base, blockdef_xml_impl, device3_impl. No functional changes. - Demoted some log messages - Consistent log style (use unique_id()) - Some adaptation of coding style where close to log statements
* x300: Update loggingMartin Braun2018-03-301-37/+37
| | | | | | | | | No functional changes. - Demote some messages to DEBUG or TRACE - Use consistent logging styles - In some cases, adapted code to coding style when near logging statements
* cores: Demote some log messages in time coreMartin Braun2018-03-301-2/+6
|
* 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
* mpmd: Fixed MPM marking wrong device as reachableBrent Stapleton2018-03-301-1/+12
| | | | | | | | During MPMd find routine, added a check when connecting to a CHDR interface to make sure we're talking to the correct device. Without this check MPMd would sometimes incorrectly mark a device as reachable because they shared an addr (ie. 192.168.10.2 existed on multiple devices).
* mpmd: Provide list of MPM devices to fail fast on findMartin Braun2018-03-292-1/+34
| | | | | | | | With this fix, uhd_find_devices --args type=b200, for example, will not stall in this function. Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com> Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* rfnoc radio: get_rx_stream resets sequence numBrent Stapleton2018-03-291-0/+5
| | | | | | Reset the RX sequence number whenever an RX streamer is created. Reviewed-by: Martin Braun <martin.braun@ettus.com>
* x300: Refactor clock and time source prop tree setupMartin Braun2018-03-291-12/+27
| | | | | | - Remove boost::bind - Remove boost::assign::list_of - No functional changes
* x300: Properly coerce master clock rate (tick rate)Martin Braun2018-03-291-4/+22
| | | | | | | | - A call to multi_usrp::set_master_clock_rate() on the X3x0 will now properly coerce the value, and show a warning when it had to coerce. It will not throw an exception. - Did a minirefactoring of the tick_rate property setup and removed two more boost::binds.
* usrp2: Modify trace log statement in ad9777 controlMartin Braun2018-03-281-1/+1
| | | | Reviewed-by: Derek Kozek <derek.kozel@ettus.com>
* usrp2: Re-add ability to modulate in the DACMartin Braun2018-03-283-7/+85
| | | | | | | | | | | This partially reverts b29e80cc. That commit fixed a bug with numerical overflows, but also removed the ability to tune using the DAC, effectively reducing the DSP tuning range. This commit allows to tune within +/- 200 MHz using a combination of both the DAC and the DSP tuning in the FPGA. Reviewed-by: Derek Kozek <derek.kozel@ettus.com>
* DDC/DUC: switch CORDIC -> DDS for all relevant variable namesRyan Marlow2018-03-222-12/+12
| | | | - Bump compat number for DDC/DUC to 2.0
* rfnoc: ctrl_iface cleanupMartin Braun2018-03-161-9/+3
| | | | | | | | | | - ctrl_iface is now longer a wb_iface. All it can do now is send command packets, and receive responses to those. - ctrl_iface does not store command time or tick rate - wb_iface_adapter is no longer a set of functors, but a wrapper around ctrl_iface. Command times are stored once, in the block. - DMA FIFO and radio block controllers have an easier time getting access to a timed_wb_iface
* rfnoc/x300: Make sure peek32() and peek64() are called with actual addressesMartin Braun2018-03-163-9/+19
| | | | Before, we were calling peeks with the number of the readback register.
* 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-14125-4255/+238
| | | | | | | | | | | | | | | | 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>
* mg: reduce to 2 radios for n310Trung N Tran2018-03-132-192/+52
|
* uhd: Fix some log statementsAndrej Rode2018-03-073-6/+5
| | | | Some log statements were incorrectly using multi-line log statements.
* uhd: Moved get_system_time outside of public APIMartin Braun2018-03-054-10/+15
| | | | | | | uhd::get_system_time() is an abstracted way of reading back a time, and is not UHD-specific. As such, there's no reason to keep it in the public part of the API where we're contractually obligated not to touch it. Instead, moving it to the internal API space.
* twinrx: correct the maximum daughterboard gainMark Meserve2018-03-021-1/+1
| | | | - changes static max gain value from 95 to 93 to match new gain tables
* n310: Make MPM report FPGA version and description, UHD read itMartin Braun2018-03-021-2/+6
| | | | | | | The FPGA and MPM version as well as the description of the device ("N300-Series Device") and its name (its the hostname) are now properly reported coming from MPM, properly saved in the prop tree, and uhd_usrp_probe can nicely display them this way.
* uhd: Move some gpio_defs constants definitions out of headersMartin Braun2018-02-272-1/+3
| | | | Reviewed-by: Trung Tran <trung.tran@ettus.com>
* fixup! x300,n230,e300: changes to adapt to new usrp APIMartin Braun2018-02-233-6/+6
| | | | Fixes some compiler warnings.