aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common
Commit message (Collapse)AuthorAgeFilesLines
* lmx2592: Better "abs()" compiler compatibilityMichael Dickens2018-12-121-3/+3
| | | | Use "std::abs" instead of "abs" for better compiler compatibility
* TwinRX: Tuning improvementsmichael-west2018-12-101-5/+5
| | | | | | - 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
* cmake: Update coding style to use lowercase commandsMartin Braun2018-11-141-6/+6
| | | | | | | | | | | | | | | | | 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!)
* lmx2592: remove initial scratch register readbackMark Meserve2018-10-171-24/+0
| | | | | - This is the only read operation in the driver, so removing it simplifies the driver's requirements significantly.
* lmx2592: add spur dodgingMark Meserve2018-10-171-22/+326
|
* lib: ad9361: De-boostify AD9361 driverMartin Braun2018-10-172-106/+195
| | | | No functional or API changes.
* b100: Move fifo_ctrl_excelsior to b100 subdirMartin Braun2018-07-312-290/+0
| | | | | This device is the only one using it, and no one will ever use it going forward.
* lmx2592: fix calibration start during tuningMark Meserve2018-07-311-1/+3
| | | | - This bug could cause LO to not lock properly after a set_frequency call
* lmx2592: always mux lock detect after initMark Meserve2018-07-311-9/+5
|
* uhd: initial commit of UHD support for E320Brent Stapleton2018-07-182-10/+2
| | | | Co-authored-by: Sugandha Gupta <sugandha.gupta@ettus.com>
* mpm: initial commit of E320 codeBrent Stapleton2018-07-181-0/+15
| | | | Co-authored-by: Sugandha Gupta <sugandha.gupta@ettus.com>
* e300: remove time spiTrung N Tran2018-07-061-36/+1
|
* ad9361: Add API to set 1R1T/2R2T timing modesSugandha Gupta2018-06-153-0/+63
| | | | | LVDS interface can support both timing modes 1R1T/2R2T The API sets the required bit in catalina registers.
* LMX2592: Fix PFD calculationDerek Kozel2018-06-121-1/+1
|
* LMX2592: Skip output div-by-3 due to harmonicsDerek Kozel2018-06-061-0/+6
|
* lib: Remove some unnecessary use of boost::posix_timeMartin Braun2018-05-141-6/+6
| | | | Replace by std::chrono.
* uhd: Added LMX2592 driverDerek Kozel2018-05-032-0/+472
|
* lib: Purge all references to boost::this_thread::sleep()Martin Braun2018-04-302-26/+27
| | | | Replace with std::this_thread::sleep_for().
* 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-261-42/+76
| | | | | | | - 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
* 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
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-1426-2917/+15
| | | | | | | | | | | | | | | | 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: Moved get_system_time outside of public APIMartin Braun2018-03-051-2/+4
| | | | | | | 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.
* uhd: Update license headersMartin Braun2018-02-1932-31/+59
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* uhdlib: Update constrained_device_args_tMartin Braun2018-01-181-271/+0
| | | | | | | - Allow enums to be non-consecutive - Move to uhdlib/ - Add unit tests - Updated N230 use of constrained_device_args_t
* Move all headers to SPDX format, harmonize license headersMartin Braun2017-12-222-26/+4
|
* mpm: LMK code now throws on incorrect chip IDMartin Braun2017-12-222-4/+14
|
* mpm: Fixed a plethora of SPI-related issuesMartin Braun2017-12-222-9/+17
|
* lmk: Update LMK04828 driver with values for MagnesiumDerek Kozel2017-12-222-49/+69
|
* Initial commit for N3xx development.Martin Braun2017-12-223-0/+127
| | | | | | | | | | | | | | - Creates mpm/ subdirectory - First pass at hardware daemon/MPM - New code for LMK04828, AD9371 - spidev integration Contributions by: Martin Braun <martin.braun@ettus.com> Derek Kozel <derek.kozel@ettus.com> Mark Meserve <mark.meserve@ni.com> Andrej Rode <andrej.rode@ettus.com>
* Clean up build processMartin Braun2017-12-221-4/+9
| | | | | | - Removed stale files (i2c_core_100, spi_core_100) - Made more compilation condiational; disabling some devices will disable dependencies as well so they don't get compiled in by default.
* Move all license headers to SPDX format.Martin Braun2017-12-2229-348/+29
|
* TwinRX: Added ADF5356 synth and TwinRX Rev C supportDerek Kozel2017-12-085-413/+495
| | | | | | | | | ADF5355 and ADF5356 support merged into adf535x class Default register values moved into regmap Reviewed-By: Martin Braun <martin.braun@ettus.com> Reviewed-By: Ashish Chaudhari <ashish@ettus.com> Reviewed-By: Mark Meserve <mark.meserve@ni.com>
* adf435x: Add APIs for cp current and aux levelAlex Williams2017-10-301-8/+75
|
* docs: Fixed doxygen warningssugandhagupta2017-06-291-18/+20
|
* utils: add set_thread_name API call, move thread_priority to threadAndrej Rode2017-06-291-1/+1
|
* uhd: Replaced many lexical_cast with appropriate C++11 equivalentsMartin Braun2017-06-291-5/+4
|
* ad9361: Reconfigure Rx HB filters with MCR >58 MHzTom Tsou2017-06-281-1/+2
| | | | | | | | | | | Disable halfband HB3 (shortest and closest filter to the ADC) and enable HB2 (larger and second closest filter to the ADC). This significantly reduces HB excess bandwidth rolloff and reduces the effective noise floor by ~20 dB at rates above 58 MHz. The filter change has no effect at clock rates below 58 MHz. Fixes #1542 "Significant raise in noise floor using MCR above 58MHz"
* Merge branch 'maint'Martin Braun2017-06-271-1/+5
|\
| * X300: Dual channel TX performance improvementsMichael West2017-06-261-1/+5
| |
* | uhd: Removed unused code in recv_packet_demuxer_proxy_3000Martin Braun2017-04-121-30/+3
| | | | | | | | | | All this code required defining RECV_PACKET_DEMUXER_3000_THREAD_SAFE, which we never set.
* | utils: Replaced uhd::atomic_uint32_t with std::atomicMartin Braun2017-04-121-4/+4
| |
* | logging: Demoted more DEBUG to TRACEMartin Braun2017-04-063-25/+27
| |
* | utils: add cmake switch to disable fastpath loggingAndrej Rode2017-04-061-3/+12
| |
* | Merge branch 'maint'Martin Braun2017-03-241-0/+6
|\|
| * max2871: fix for not writing register 0 when requiredMark Meserve2017-03-211-0/+6
| |
* | Merge branch 'maint'Martin Braun2017-03-011-8/+5
|\|
| * Fix max values for MOD2 and FRAC2Mark Meserve2017-02-201-2/+2
| |
| * Revise calculation of ADF5355 FRAC2 registerMark Meserve2017-02-201-7/+4
| | | | | | | | | | Corrected residue formula Fixed cast to uint16_t that was behaving differently in msvc14 32-bit vs 64-bit
* | Merge branch 'maint'Martin Braun2017-02-201-1/+5
|\|