aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
Commit message (Collapse)AuthorAgeFilesLines
...
* | ad9361: Prevent positive loop gain on Rx quadrature trackingTom Tsou2015-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch fixes a portion of #807 "B210: severe distortion on In-phase data for some gain settings" ADI recommends that the "Prevent Pos Loop Gain" setting be enabled to prevent the Rx quadrature tracking loop from becoming unstable at low power levels. ADI Linux kernel driver also reflects this setting. We do not follow the ADI recommendation. Adjust accordingly. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
* | ad9361: Invert phase on Rx LNA bypass pathTom Tsou2015-07-131-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch resolves issue #823 "B200: Receive RF DC calibration makes calibration worse below 34 dB" According to ADI reference documents, enabling any of the 3 LNA's in the receive path causes a 180 degree phase shift. Correspondingly, we invert the LNA bypass path (gain indices below 34 dB) to match. Testing, however, reveals that one of these statements or the polarity inversion setting itself is false. Disabling the switch results in expected behavior and proper phase alignment. Overall effect is up to 60 dB of DC offset suppression ahead of the Rx analog LPF. This reduces the problematic dependency on active baseband tracking and may resolves multiple tracking stability issues. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
* | x300: Fixed Windows build issue in x300_clock_ctrlAshish Chaudhari2015-07-091-3/+4
| |
* | Merge branch 'master' into x300/rev7_supportAshish Chaudhari2015-07-092-3/+3
|\ \
| * | Merge branch 'maint'Martin Braun2015-07-082-3/+3
| |\|
| | * B200: New AD9361 I/O timing programming to work with new b200_io.v logic design.Ian Buckley2015-07-082-3/+3
| | |
* | | Merge branch 'master' into x300/rev7_supportAshish Chaudhari2015-07-074-34/+39
|\| |
| * | Merge branch 'maint'Martin Braun2015-07-011-5/+6
| |\|
| | * b200: Codec loopback test now throws on failure.Martin Braun2015-07-011-5/+6
| | |
| | * b200: Modify initialization sequence to avoid warningsMartin Braun2015-06-292-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will set the actual default rate to an integer factor of whatever the tick rate is, but leave the property tree value at zero. This avoids warnings if the chosen tick rate is not a multiple of the previous default rate, but also returns a zero value for the rate when it has not been initialized, allowing the user to probe if the value has not yet been set.
| * | ad9361: brought in Boost.Assign std::map workaround for MSVC 2013Nicholas Corgan2015-06-291-4/+11
| | |
| * | b200: Modify initialization sequence to avoid warningsMartin Braun2015-06-293-25/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will set the actual default rate to an integer factor of whatever the tick rate is, but leave the property tree value at zero. This avoids warnings if the chosen tick rate is not a multiple of the previous default rate, but also returns a zero value for the rate when it has not been initialized, allowing the user to probe if the value has not yet been set.
* | | x300: Added FPGA->ADC Clock delay for rev 7+ boardsAshish Chaudhari2015-07-071-1/+1
| | |
* | | x300: Bumped FPGA compat number to 11Ashish Chaudhari2015-07-071-1/+1
| | |
* | | x300: Added self-cal to tune ADC source-sync data delaysAshish Chaudhari2015-07-073-50/+160
| | | | | | | | | | | | | | | | | | | | | - Self-calibration routine steps through various values of IDELAY taps on the SS data bits to detect metastability in the capture interface and computes an ideal delay tap value - Self calibration is triggered at device creation
* | | x300: Added self-cal to tune ADC clk delay at startupAshish Chaudhari2015-07-013-33/+239
| | | | | | | | | | | | | | | | | | | | | | | | - Self-calibration routine steps through various values of LMK delay to detect metastability in the SSCLK -> radio_clk crossing and computes an ideal delay for the ADC clock. - Self calibration is triggered at startup if the self_cal_adc_delay device arg is specified
* | | x300: Added set/get_clock_delay to x300_clock_ctrlAshish Chaudhari2015-07-012-17/+244
|/ / | | | | | | | | | | | | - This function allows delaying divider pairs using the digital and analog delay blocks in the LMK divider - ctrl object caches delay for later retrieval - Minor fixes to LMK regmap
* | Merge branch 'maint'Martin Braun2015-06-0910-24/+90
|\| | | | | | | | | | | | | Conflicts: host/lib/usrp/common/ad9361_ctrl.hpp host/lib/usrp/common/ad9361_driver/ad9361_device.h host/lib/usrp/e300/e300_remote_codec_ctrl.hpp
| * E300: Implement get_freq() for E300 network mode.michael-west2015-05-223-0/+18
| |
| * B200/E300: Fix incorrect readback of frequency.michael-west2015-05-226-3/+31
| | | | | | | | When the LO is tuned it changes the frequency on both channels. The frequency value read back for the first channel was not updated when the LO frequency for the other channel was tuned to a different value.
| * x300: Updated clock rate / ref freq warnings for clarityMartin Braun2015-05-221-16/+28
| |
| * ad9361: Minor clarifications on req_rate and baseband_bwMartin Braun2015-05-192-4/+13
| |
| * fixup! e300: gps: If gps is detected, set device time to gps time on init.Moritz Fischer2015-05-121-0/+3
| | | | | | | | Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* | fixup! e300: gps: If gps is detected, set device time to gps time on init.Moritz Fischer2015-05-141-0/+3
| | | | | | | | Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* | b200: Added another rate check for auto tick rate modeMartin Braun2015-05-111-0/+8
| |
* | b200: Removed stray messagesMartin Braun2015-05-111-2/+0
| |
* | Merge branch 'maint'Martin Braun2015-05-111-2/+1
|\| | | | | | | | | | | | | Conflicts: fpga-src host/CMakeLists.txt host/cmake/Modules/UHDVersion.cmake
| * b200: Changed the max byte rate over USB2Marcus Müller2015-05-061-2/+1
| | | | | | | | | | Max rate is now set to 53248000, allowing for more than 8MS/s, which is closer to the actual value that USB2 can handle.
| * B200: Made find function properly ignore missing "product" value (BUG #770)michael-west2015-05-051-3/+1
| |
* | b200: Replaced float comparisons with uhd::math::fp* operationsMartin Braun2015-05-071-5/+16
| |
* | B200: Made find function properly ignore missing "product" value (BUG #770)michael-west2015-05-041-3/+1
| |
* | Merge branch 'maint'Martin Braun2015-05-042-4/+8
|\|
| * e300: gps: If gps doesn't have lock return 0 as time.Moritz Fischer2015-05-012-11/+7
| | | | | | | | Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
| * e300: gps: Keep antenna power supply and pps running all the time.Moritz Fischer2015-05-012-6/+3
| | | | | | | | | | | | | | | | This is a change from behaviour so far. Before the GPS was only on while UHD is running. This behaviour was confusing users, and didn't match our other devices. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
| * e300: gps: If gps is detected, set device time to gps time on init.Moritz Fischer2015-05-011-0/+11
| | | | | | | | | | | | | | Before the device time wasn't set for E310 on initialization. This will allow 'query_gpsdo_sensors' to pass if gps has lock. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* | Merge branch 'master' into vivadoAshish Chaudhari2015-04-307-89/+196
|\ \
| * | Merge branch 'maint'Martin Braun2015-04-301-2/+2
| |\| | | | | | | | | | | | | | | | Conflicts: fpga-src host/CMakeLists.txt
| | * b200: Fixed compiler warningMartin Braun2015-04-301-2/+2
| | |
| * | Merge branch 'maint'Martin Braun2015-04-273-22/+29
| |\|
| | * b200: Added convenience subdev override for consistent subdev experienceMartin Braun2015-04-273-22/+29
| | |
| * | b200: Throw error for unreachable sampling ratesMartin Braun2015-04-241-1/+18
| | | | | | | | | | | | | | | When auto tick rate is used, and the sampling rate exceeds the limits, throw an error instead of coercing to the default rate.
| * | Merge branch 'maint'Martin Braun2015-04-243-5/+21
| |\|
| | * b200: Fixed FE swapping registerMartin Braun2015-04-242-5/+19
| | |
| | * ubx: pfd frequency fix (relevant for X300 operation)Michael West2015-04-231-0/+2
| | |
| * | b200: Bumped FPGA compat number to 7.Ashish Chaudhari2015-04-231-1/+1
| | |
| * | Merge branch 'maint'Ashish Chaudhari2015-04-232-16/+32
| |\| | | | | | | | | | | | | | | | Conflicts: host/lib/usrp/b200/b200_impl.cpp host/lib/usrp/b200/b200_impl.hpp
| | * b200: Bumped FPGA compat number to 6Ashish Chaudhari2015-04-231-1/+1
| | |
| | * Merge branch 'maint' into mwest/b200_rev5Ashish Chaudhari2015-04-234-5/+28
| | |\
| | * | B200: Bumped FPGA compat number to 5michael-west2015-04-172-5/+7
| | | | | | | | | | | | | | | | B200: Added bit to SR_MISC_OUT register to control ATR mapping from radio to frontend
| | * | b2x0: Cleaned up device lookup (moved all constants to one place)Martin Braun2015-04-163-47/+84
| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: host/lib/usrp/b200/b200_iface.hpp host/lib/usrp/b200/b200_impl.cpp