aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard
Commit message (Collapse)AuthorAgeFilesLines
* uhd: initial commit of UHD support for E320Brent Stapleton2018-07-1810-0/+1866
| | | | Co-authored-by: Sugandha Gupta <sugandha.gupta@ettus.com>
* UBX: Add support for phase synchronization at LTE clock ratesMichael West2018-07-171-12/+18
|
* mg: fix tx power issueTrung Tran2018-07-144-27/+4
| | | | | | This commit will fix power issues with 2 radios configuration (UHD 3.12+). Removed unused _master boolean. CPLD path are now correct, each radio has its own CPLD object.
* mg: remove set_rpc_lockTrung Tran2018-06-182-14/+1
|
* cmake: Add ENABLE_N300 targetMartin Braun2018-06-113-21/+27
| | | | | | | | | | Driver support for N310/N300 was previously implied by ENABLE_MPMD, which had two issues: 1) It was not clear that ENABLE_MPMD was actually enabling the N3x0 2) It did not allow to enable mpmd support without N3x0 support This resolves these issues.
* mg: Rename _L to _log_prefixMartin Braun2018-05-312-12/+12
| | | | Avoids clashes with ctype.h.
* 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")).
* 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.
* lib: Purge use of boost::assign, except for uhd::dictMartin Braun2018-05-024-786/+783
| | | | | | | 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.
* lib: Purge all references to boost::this_thread::sleep()Martin Braun2018-04-305-12/+17
| | | | Replace with std::this_thread::sleep_for().
* 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
|
* mg: fix compiler warningsmichael-west2018-04-052-2/+2
|
* UBX: Change antenna functions to coercers on antenna/value propertiesmichael-west2018-03-301-4/+7
|
* rfnoc/x300: Make sure peek32() and peek64() are called with actual addressesMartin Braun2018-03-161-4/+8
| | | | Before, we were calling peeks with the number of the readback register.
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-1411-18/+19
| | | | | | | | | | | | | | | | 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
|
* 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
* n3xx: add front panel gpio control registersTrung N Tran2018-02-212-7/+127
|
* uhd: Update license headersMartin Braun2018-02-1945-44/+72
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* mg: Fixed typo in set_rx_bandwidth()Martin Braun2018-02-151-2/+4
|
* mg: turn on tx power amplifiers when idleTrung N Tran2018-02-141-2/+3
| | | | | | Without turning on tx power amplifer when being idle, the TX settling time is 100ms. Turning these power amplifiers on "all time" results in tx settling time around 140us.
* mg: Temporarily disable concurrency in parts of set_rpc_client()Martin Braun2018-02-092-1/+15
| | | | | | There is an issue with parallel inits and liberio which crops up during initialization. This is not a fix but is a workaround which enables the parallel initialization of devices using liberio.
* mg: Fix some compiler warningsMartin Braun2018-02-081-20/+39
| | | | | - Superfluous captures in lambdas - Make use of new TX bandwidth API
* mg : implement set_bandwidthTrung N Tran2018-02-084-17/+27
|
* UBX: Add support for CAL antenna for rev Emichael-west2018-02-081-1/+4
|
* mg: Remove superfluous DEBUG message, minor formattingMartin Braun2018-01-181-10/+12
| | | | Fixed indents to 4 spaces in get_?x_lo_source().
* mg: Fix various compiler warningsMartin Braun2018-01-163-47/+48
| | | | | | - Made const constexpr where sensible - Moved non-global constants to their local scope - Changed const char * to const char[] where they should
* mg: Fix missing return value for half-dB stepsMartin Braun2018-01-161-0/+1
|
* fixup! UBX: Add implementation of TDD xcvr mode and force TX PA on in TDD ↵michael-west2018-01-161-1/+7
| | | | mode to reduce transient at start of transmission
* mg: add clip function on setting individual gain.Trung Tran2018-01-121-8/+19
| | | | Reviewed-by: Martin Braun <martin.braun@ettus.com>
* mg: add facility that handle individual gainTrung N Tran2018-01-125-12/+348
| | | | | | | -Create name for each gain/att element -Create property tree entry for each gain and their handlers. -Create gain profile that control how gain distributed. Right now, it is either "default" or "manual".
* fixup! TwinRX: Added ADF5356 synth and TwinRX Rev C supportDerek Kozel2018-01-121-1/+1
| | | | | | The phase detector frequency value was incorrect for the Rev C LO1 Reviewed-by: Mark Meserve <mark.meserve@ni.com>
* mg: fix update_freq direction in set_rx_lo_freqTrung N Tran2018-01-091-1/+1
|
* fixup! mg: Use enums for all bands, move freq mapping to single locationMartin Braun2018-01-081-0/+1
|
* mg: Use enums for all bands, move freq mapping to single locationMartin Braun2018-01-089-109/+339
| | | | | | | | This removes the need to re-implement the band checks (in particular, the low band check) in multiple places, potentially causing confusion. Signed-off-by: Trung Tran <trung.tran@ettus.com> Reviewed-by: Trung Tran <trung.tran@ettus.com>
* mg: Remove superfluous UHD_VARMartin Braun2018-01-081-1/+0
|
* eiscat: Remove superfluous UHD_VARMartin Braun2018-01-081-2/+0
|
* Move all headers to SPDX format, harmonize license headersMartin Braun2017-12-225-65/+10
|
* mg: Add 'identify' block arg, will toggle LEDs for identificationMartin Braun2017-12-225-1/+51
|
* mg: Set default spp at ctor time, when xports have been init'dMartin Braun2017-12-221-0/+12
|
* mg: Don't set default rate before having RPC accessMartin Braun2017-12-221-2/+0
| | | | | This will do nothing useful, but will print warnings that clock rates don't match. So let's remove that setting.
* mg: Renamed lowband LO to 'lowband'Martin Braun2017-12-221-1/+1
| | | | Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* mg: Use floating point comparison for all frequenciesTrung N Tran2017-12-222-23/+23
| | | | Reviewed-by: Martin Braun <martin.braun@ettus.com>
* mg: Fix tx low band frequencyTrung N Tran2017-12-221-3/+2
| | | | Reviewed-by: Martin Braun <martin.braun@ettus.com>
* mg: external LO need update correct freqTrung N Tran2017-12-221-2/+13
| | | | Need to update rf freq to half of ad9371
* mg: Fix reading back output sampling rateMartin Braun2017-12-222-7/+0
| | | | Reviewed-By: Trung Tran <trung.tran@ettus.com>
* mg: Add LO specific properties and methodsTrung N Tran2017-12-224-57/+515
| | | | | | | | This change adds extra hooks to the property tree to make LOs accessible thru the property tree. These can be used by multi_usrp api. Reviewed-By: Martin Braun <martin.braun@ettus.com>
* n3xx: fix TX power lossTrung N Tran2017-12-221-0/+1
| | | | Need to set RF frequency after set_tx_frequency done.
* mg: Update gain immediately after setting frequencyTrung N Tran2017-12-222-5/+37
| | | | | | | We want to have set frequency and set gain atomic. i.e if user set gain and tune to different frequency, they expect the gain won't change. Reviewed-By: Martin Braun <martin.braun@ettus.com>