Commit graph

128 commits

Author SHA1 Message Date
Martin Braun
4f948e2c8b Move all license headers to SPDX format. 2017-12-22 10:45:51 -08:00
Martin Braun
77adcffe06 multi_usrp: Expose APIs for TX LO controls
Reviewed-By: Ashish Chaudhari <ashish@ettus.com>
Reviewed-By: Derek Kozel <derek.kozel@ettus.com>
2017-12-06 10:59:28 -08:00
Martin Braun
47cdd6319c uhd: Replaced many lexical_cast with appropriate C++11 equivalents 2017-06-29 13:40:07 -07:00
Martin Braun
3e7403db5d multi_usrp: Added more checks for properties that may not exist 2017-05-15 13:55:47 -07:00
Martin Braun
2790b51f30 Merge branch 'maint' 2017-04-13 15:33:03 -07:00
Derek Kozel
b59d5407dc UHD: Fix get_normalized_tx_gain in multi_usrp 2017-04-09 15:35:45 -07:00
Martin Braun
af75b87e51 logging: Demoted a number of DEBUG messages to TRACE 2017-04-05 23:18:08 -07:00
Ashish Chaudhari
15d9c6850c multi_usrp: Removed ordering req. from prop_tree path access
- Path getters for mboard, rx_dsp and tx_dsp concat the numeric
  channel to the tree path instead of indexing a list. This allows
  for easier multi threaded tree construction because values
  can be placed in the tree in a random order.
2017-04-05 17:16:31 -07:00
Andrej Rode
21aad77c9c utils: introduce new logging API and remove msg API 2017-02-20 17:13:15 -08:00
Andrej Rode
26cc20847c uhd: replace BOOST_FOREACH with C++11 range-based for loop
Note: This is the first commit that uses for-range, and range-based
for-loops are now usable for UHD development.
2017-02-10 16:44:33 -08:00
Martin Braun
37b3b32c07 rfnoc: legacy_compat gets its own set_{rx,tx}_rate() calls
This avoids double-calling subscribers, and will fix the case where a
rate change in a multi-channel scenario will break because the graph
resolution is done before all rates are set.
2016-12-09 11:24:29 -08:00
Martin Braun
0d42e86098 rfnoc: legacy_compat gets its own set_{rx,tx}_rate() calls
This avoids double-calling subscribers, and will fix the case where a
rate change in a multi-channel scenario will break because the graph
resolution is done before all rates are set.
2016-11-29 08:48:51 -08:00
Martin Braun
99c2730bc9 Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width 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).
2016-11-08 08:02:22 -08:00
Paul David
90a2ce4432 UHD: Fixed the max link warning for the case where there are multiple motherboards 2016-10-05 14:36:17 -07:00
Martin Braun
33b6951524 multi_usrp: Fixed compiler warning on read_register 2016-08-11 11:18:00 -07:00
Martin Braun
3bf4b000f7 Merging RFNoC support for X310 2016-08-09 12:42:52 -07:00
Derek Kozel
560e664199 Improve LO APIs for daughterboards without configurable LOs 2016-08-09 10:21:41 -07:00
Derek Kozel
1137dc4726 Coerces dsp frequency to 0 if any channel uses an external LO 2016-08-09 10:19:30 -07:00
Derek Kozel
b4412c79c0 multi_usrp: Added LO control API 2016-07-19 09:28:03 -07:00
Ashish Chaudhari
e4c9656ac2 usrp3: Added new GPIO ATR 3000 core
- Refactored GPIO ATR definitions
- Added new 3000 core with a more efficient API
- Added a separate db_gpio_atr core to control the ATR bus
- Ported b2xx, e3xx and x3xx to the new core
- Minor cleanup
2015-09-29 15:53:43 -07:00
Martin Braun
0975f65da5 b200, multi_usrp: More consistent messages regarding auto MCR 2015-09-17 16:45:41 -07:00
Nicholas Corgan
7e476226e6 multi_usrp: comment out for-now unused function to remove warning 2015-08-14 12:30:53 -07:00
Martin Braun
60394a7092 multi_usrp: Disabled tuning message 2015-08-12 18:08:53 -07:00
Martin Braun
aa1784e4d3 multi_usrp: Fixed bug where policy == none was not obeyed 2015-08-12 18:08:53 -07:00
Ashish Chaudhari
cc6853bd47 uhd: Register API enhancements
- Added get_register_info function to get bitwidth and R/W access for a registers
- Better error reporting
2015-08-06 10:23:10 -05:00
Ashish Chaudhari
d49ca2cf0f uhd: Added APIs to multi_usrp to read/write device registers
- Added regmap object to soft_register library
- Added a regmap_db object to hold multiple regmaps/dbs
- Multiple soft_register enhancements
2015-08-04 16:09:40 -05:00
Martin Braun
2e594ae877 Merge branch 'maint'
Conflicts:
	host/include/uhd/transport/vrt_if_packet.hpp
2015-03-11 17:05:10 -07:00
Martin Braun
cc7d37f114 uhd: Fixed several type-cast related warnings for naggy compilers 2015-03-11 16:58:23 -07:00
Martin Braun
fae746179c uhd: Fixed multiple compiler warnings (unused variables, missing literal f) 2015-03-11 16:58:09 -07:00
Julian Arnold
a55b5a097d uhd: Introduced filter API.
This is a unified API to access filters on USRP devices. Filters
can be accessed through the property tree, or multi_usrp.
2015-03-09 17:39:32 -07:00
Julian Arnold
33edac3434 uhd: AGC support 2015-03-05 17:18:54 -08:00
Julian Arnold
4602ea9148 uhd: iq imbalance correction api 2015-02-20 11:00:33 -08:00
Martin Braun
7d97ab6001 multi_usrp: Added a normalized gain setting
Adds more methods: {set,get}_normalized_{tx,rx}_gain() which
allow changing and reading back the gain within [0, 1].
2015-02-12 20:04:35 +01:00
Martin Braun
d15fe9bc22 Merge branch 'maint' 2015-01-12 14:25:17 +01:00
michael-west
f3556c72bb uhd: Fix for BUG #650: multi_usrp::get_usrp_tx/rx_info returning incorrect dboard info for second mboard 2015-01-12 14:09:45 +01:00
Martin Braun
acb76266a9 multi_usrp: Handle auto_tick_rate properly 2014-11-21 15:08:31 +01:00
Ben Hilburn
62b267412e UHD Tune: Clipping RF LO freq to FE's range in MANUAL tune. 2014-10-29 17:03:04 -07:00
Ben Hilburn
47534e78f8 uhd: Improved tuning code and corresponding outputs/warnings
* Added convenience function for frequency comparisons
* ABI change required
2014-10-07 14:57:03 +02:00
Ben Hilburn
4448843ca7 uhd: fixed RX and TX DSP cores for 3rd generation products 2014-10-07 14:35:40 +02:00
Ben Hilburn
fe88d80653 significant changes to multi_usrp tuning algorithms - changing DSP tuning 2014-10-07 13:58:12 +02:00
Nicholas Corgan
654c5b06c0 Added missing pure virtual destructors to base classes 2014-09-01 17:58:24 +02:00
Martin Braun
83249208bd Merge branch 'maint' 2014-08-18 23:05:48 +02:00
michael-west
8055ac0d4f - Fixes for channel alignment
- Added analog delay for radio clock
	- Added analog delay for DAC reference clocks
	- Removed resetting of clock control
	- Removed setting of reference clock and PPS to external sources during initialization
- Fixes for set_time_unknown_pps
	- Removed wait for PPS edge after setting time from GPSDO
	- Changed set_time_unknonw_pps to time out based on system time rather than device VITA time
2014-08-18 22:52:53 +02:00
Nicholas Corgan
a6e18604be OctoClock firmware upgrade, added host driver
* OctoClock can communicate with UHD over Ethernet
* Can read NMEA strings from GPSDO and send to host
* Added multi_usrp_clock class for clock devices
* uhd::device can now filter to return only USRP devices or clock devices
* New OctoClock bootloader can accept firmware download over Ethernet
* Added octoclock_burn_eeprom,octoclock_firmware_burner utilities
* Added test_clock_synch example to show clock API
2014-07-23 07:37:32 -07:00
Martin Braun
03e49fc9ab multi_usrp: Throws warnings for some tree props
Until now, multi would simply access some property and assume it exists.
A call for set_tx_dc_offset() on a B210 would thus throw errors.
This checks for B-series-only leaf nodes before doing anything and
displays a warning instead.
2014-05-05 15:50:53 +02:00
Martin Braun
e238c178b2 multi_usrp: Fixed bug which caused unspecified OTW-format to crash apps 2014-04-15 18:17:01 +02:00
Martin Braun
d52f44904d uhd: multi_usrp now understands link rate info and can check for it 2014-04-10 21:03:10 +02:00
Martin Braun
cbd800a252 uhd: Addressed Balints and Bens comments for subdev addressing 2014-03-17 17:53:45 +01:00
Ben Hilburn
bb90f235d6 Merge branch 'origin/martin/subdev_spec_bug_B' 2014-03-14 10:58:39 -07:00
Martin Braun
7f24da588e Removed spurious UHD_VAR. 2014-03-10 11:46:02 +01:00