aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/twinrx
Commit message (Collapse)AuthorAgeFilesLines
* uhd: skip formatting misc arrays, maps, etc.Brent Stapleton2019-01-161-0/+2
| | | | | | Various data structures are nicely formatted to be human-readable. clang-format makes these structures harder to read, so we can skip formatting these sections.
* TwinRX: Fix tuningMichael West2019-01-021-1/+1
| | | | | - Set SPI clock back to 3 MHz - Fix returned frequency for ADF5355 (rev A and B boards)
* TwinRX: Make routing to LO1 and LO2 mutually exclusivemichael-west2018-12-102-25/+15
|
* TwinRX: Tuning improvementsmichael-west2018-12-101-2/+7
| | | | | | - 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
* twinrx: enable ch1 lo amps if ch2 is using an external lo sourceMark Meserve2018-08-211-1/+13
| | | | | - AMP_LO1_EN_CH1 controls U2, the amp for the external LO1 port, so it must be set high if channel 2 is using an external LO (external or reimport)
* lib: Purge use of boost::assign, except for uhd::dictMartin Braun2018-05-021-770/+769
| | | | | | | 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-301-2/+3
| | | | Replace with std::this_thread::sleep_for().
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-143-4/+4
| | | | | | | | | | | | | | | | 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: Update license headersMartin Braun2018-02-197-7/+13
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* 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>
* Move all license headers to SPDX format.Martin Braun2017-12-226-72/+6
|
* TwinRX: Added ADF5356 synth and TwinRX Rev C supportDerek Kozel2017-12-083-38/+65
| | | | | | | | | 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>
* Merge branch 'maint'Martin Braun2017-06-273-16/+21
|\
| * twinrx: add reimport lo modeMark Meserve2017-06-153-16/+21
| |
* | utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-2/+3
| |
* | uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-101-3/+3
|/ | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* Moved default register values into ic_reg_mapDerek Kozel2017-01-301-0/+2
|
* lib: remove statements after throwAndrej Rode2017-01-121-1/+0
|
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-085-40/+40
| | | | | | | | 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).
* TwinRX: Remove unhelpful warningDerek Kozel2016-10-261-8/+0
|
* TwinRX: Use command time to schedule synchronous eventsDerek Kozel2016-10-262-0/+63
|
* TwinRX: Fixed missing and redundant writes to FE settingsDerek Kozel2016-08-261-0/+6
| | | | | | TwinRX's Nyquist expert now writes the frontend correction settings on every tune to a new frequency. This guarantees phase alignment when timed commands are used and introduces minimal overhead.
* Fix minor spelling errorDerek Kozel2016-08-091-1/+1
|
* Add sleep function to dboard_ifaceKevin Gilbert2016-08-051-4/+3
| | | | | Having this function allows a dboard_iface implementation to be aware of the timing of various calls such as SPI and register writes.
* Added TwinRX daughterboard control.Ashish Chaudhari2016-07-198-0/+3504