aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/b200/b200_impl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* b200: Fix compiler warnings related to type conversionsMartin Braun2019-01-071-6/+6
| | | | | | | These compiler warnings mostly pop up on MSVC. Most of them are due to inconsistent usage of size_t, uint{8,16,32}_t, and even int. This commit changes types mostly such that variables have the correct type to begin with, although it also contains a few explicit type-casts.
* B200: Restore asynchronous reset of AD936x.michael-west2018-10-171-1/+10
|
* b200: Enable access to user regs via the 'enable_user_regs' argMartin Braun2018-08-161-4/+24
|
* b200: Remove superfluous fake lambdaMartin Braun2018-08-161-11/+10
| | | | No functional changes. Cleanup only. A little less Boost.
* B200: Fix SC8 RX StreamingVidush2018-07-161-9/+18
| | | | | Coerces recv_frame_size to size of words (8 bytes) to prevent USB_TRANSFER_OVERFLOW error.
* fixup! B200: Check if recv_frame_size is larger than minimum valuemichael-west2018-07-131-12/+19
|
* B200: Check if recv_frame_size is larger than minimum valueVidush2018-07-121-0/+8
|
* B200: Change Recv Frame Size to 8176Vidush2018-07-121-2/+17
| | | | | | | | The default frame size is set to 8176. If a frame size entered is a multiple of 512, the actual frame size is set to the next lowest multiple of 24. Both changes are made to ensure no packet gets stuck in the fx3.
* lib: Purge some use of boost::system_timeMartin Braun2018-07-121-1/+0
| | | | | These are all timeout loops, which now use std::chrono::steady_clock::now() to check for timeout events.
* B200: Enforce min_tick_rateVidush2018-06-211-0/+11
|
* lib: Remove some unnecessary use of boost::posix_timeMartin Braun2018-05-141-7/+11
| | | | Replace by std::chrono.
* lib: Purge use of boost::assign, except for uhd::dictMartin Braun2018-05-021-10/+10
| | | | | | | 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.
* ad936x: De-boostify ad936x_manager, minor cleanupMartin Braun2018-04-261-6/+7
| | | | | | | - 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
* b200: Add clock rate rangeMartin Braun2018-04-031-0/+5
|
* uhd: Fix some log statementsAndrej Rode2018-03-071-2/+2
| | | | Some log statements were incorrectly using multi-line log statements.
* fixup! x300,n230,e300: changes to adapt to new usrp APIMartin Braun2018-02-231-2/+2
| | | | Fixes some compiler warnings.
* fixup! x300,n230,e300,b200: changes to adapt to new usrp APITrung N Tran2018-02-221-6/+29
|
* 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.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* uhd: Changed mboard_eeprom_t interface, refactored MB EEPROM codeMartin Braun2017-09-291-7/+2
| | | | | | | | | | | | - uhd::usrp::mboard_eeprom_t is now simply a map. Its commit() method has no utility being a public API call, because the user never gets access to the appropriate I2C object (Minor API breakage) - The central mboard_eeprom.cpp file was broken up and put into many smaller compilation units in every device's implementation folder. - Renamed some of the constants (e.g. B000_* -> USRP1_*, N100_* -> N200_*) - Removed the N000_* EEPROM code, because, well, you know, there's no such device
* utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-17/+16
|
* uhd: Replace clocking_mode_t unscoped enum with scoped versionMartin Braun2017-02-171-2/+2
| | | | | This is not a functional change, but it marks the usage of scoped enums in UHD. Commits past this one may also use this C++11 feature.
* uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-101-13/+13
| | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-081-26/+26
| | | | | | | | 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).
* b200: Make sure no GPS settings are applied when no gpsdo present.Martin Braun2016-10-181-1/+4
| | | | | | | This changes the exception message thrown when gpsdo is selected as a clock source, but does not change the exception. Note that before, during its first run, the B2x0 would happily accept gpsdo as a clock source even when none was present.
* Merge branch 'UHD-3.9.LTS' into maintMartin Braun2016-09-021-4/+4
|\ | | | | | | | | | | | | | | This provides the GPS fixes. Conflicts: host/CMakeLists.txt tools/debs/upload_debs.sh
| * B200: GPSDO fixesmichael-west2016-09-021-4/+4
| | | | | | | | | | | | | | - Fix initialization order - Initialize to proper baud rate divisor - Remove unused function to change baud rate divisor - Simplify UART code so it does not strip or add characters
* | Revert "B200: Adding separate B200 radio control code"Martin Braun2016-08-231-6/+6
| | | | | | | | This reverts commit 5d360ab43eca63e3f12f0e5abde5a3186b7f12dc.
* | ad936x: Loopback check now takes peeker/poker functors instead of assuming ↵Martin Braun2016-08-091-2/+6
| | | | | | | | any kind of interface
* | B200: Adding separate B200 radio control codemichael-west2016-07-221-4/+4
| |
* | Merge branch 'maint'Martin Braun2016-06-231-5/+7
|\| | | | | | | | | Conflicts: host/lib/usrp/b200/b200_impl.cpp
| * b200: Update DSPs after changing tick rateMartin Braun2016-06-221-6/+8
| | | | | | | | | | Reviewed-By: Andrew Lynch <andrew.lynch@ni.com> Reviewed-By: Michael West <michael.west@ettus.com>
* | Merge branch 'maint'Martin Braun2016-05-061-4/+8
|\| | | | | | | | | | | Conflicts: host/CMakeLists.txt host/lib/usrp/b200/b200_impl.cpp
| * b200: Changed implicit conversion to explicit conversion for wptrAndrew Lynch2016-05-051-2/+2
| |
| * b200: Changed tree sptr in lambda to wptrAndrew Lynch2016-05-041-2/+6
| |
* | Merge branch 'maint'Martin Braun2016-04-221-0/+9
|\| | | | | | | | | | | | | Conflicts: fpga-src host/cmake/Modules/UHDVersion.cmake host/lib/usrp/b200/b200_impl.cpp
| * b200: Fixed setting of max rateMartin Braun2016-04-221-0/+9
| | | | | | | | | | | | | | DSP rates are now being tracked as in whether or not they've been set. We can disregard unset DSPs for the automatic clock rate calculation. Reviewed-By: Derek Kozel <derek.kozel@ettus.com>
* | usrp3: Added RX DSP support for heterodyne samplingAshish Chaudhari2016-03-211-1/+1
| | | | | | | | | | | | | | | | | | - rx_dsp_core: set_mux takes in a fe_connection obj to determine IQ mapping and sampling mode parameters - rx_dsp_core: Support a non-zero IF for downconversion The current strategy applies a software DSP freq offset which eats into the range of the CORDIC which is OK because heterodyne assumes real-mode sampling
* | Merge branch 'maint'Martin Braun2016-03-111-1/+1
|\|
| * Fixed minor warnings:Nicholas Corgan2016-03-041-1/+1
| | | | | | | | | | | | * nirio_driver_iface_win: labeled unused variable for MinGW builds * b200_impl: fixed unreferenced variable warning * n200_image_loader: fixed signed vs. unsigned comparison
* | Merge branch 'maint'Martin Braun2016-02-291-4/+6
|\|
| * Enable multiple programs to use USB USRPs on WindowsDerek Kozel2016-02-291-4/+6
| | | | | | | | | | | | | | Window's WinUSB driver doesn't support multiple processes accessing a single USB device and libusb_open returns LIBUSB_ACCESS_ERROR when trying to access an already claimed USRP. One device access did not catch this exception and caused UHD to error during USRP discovery.
* | prop_tree: Multiple API enhancements to uhd::propertyAshish Chaudhari2016-02-111-34/+34
| | | | | | | | | | | | | | | | | | - Added desired and coerced values and accessors to property - Added support to register desired subscribers - set APIs don't reallocate storage for a property value - Renamed callback method registration APIs - Registering 2 coercers or publishers for a property will throw - Registering a coercer and a publisher for the same property will throw
* | Merge branch 'maint'Ashish Chaudhari2015-12-151-21/+39
|\| | | | | | | | | | | | | Conflicts: host/lib/usrp/b200/b200_impl.hpp host/lib/usrp/e300/e300_fpga_defs.hpp host/lib/usrp/x300/x300_fw_common.h
| * B2xx: Added B205mini support.michael-west2015-12-101-14/+16
| | | | | | | | | | | | - Add support to b200_impl - New INF file - Removed references to old 'B205' name
| * B200/E300: Set time sync on clock rate change to current time of first radiomichael-west2015-12-101-3/+8
| |
| * B210/E300: Re-sync times after master clock rate change.michael-west2015-12-101-0/+3
| |
| * B210: Add VITA time synchronization on internal signalmichael-west2015-12-101-7/+15
| |
| * b2xx: Removed DCM reset bit (obsolete)Martin Braun2015-09-031-1/+1
| |
| * b200mini: Change AD9364 interface timing for new IO design.Ian Buckley2015-09-031-17/+3
| | | | | | | | Removes all DCM reset codes.