aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'maint'Martin Braun2016-04-222-10/+18
|\ | | | | | | | | | | | | Conflicts: fpga-src host/cmake/Modules/UHDVersion.cmake host/lib/usrp/b200/b200_impl.cpp
| * b200: Fixed setting of max rateMartin Braun2016-04-222-10/+18
| | | | | | | | | | | | | | 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>
* | Merge branch 'maint'Martin Braun2016-04-201-0/+2
|\|
| * e3xx: spi: Fix issue introduced in 1b149f56Moritz Fischer2016-04-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kernels (3.15+) introduce the possibility to do DUAL and QUAD spi operations via spidev. Prior to this commit nothing was setting the {tx,rx}_nbits members of the struct spi_ioc_transfer. from include/uapi/linux/spi/spidev.h struct spi_ioc_transfer { __u64 tx_buf; __u64 rx_buf; __u32 len; __u32 speed_hz; __u16 delay_usecs; __u8 bits_per_word; __u8 cs_change; __u8 tx_nbits; __u8 rx_nbits; __u16 pad; }; This turns into an issue on more recent kernels, where it turns all transactions into QUAD transactions, while the controller actually doesn't support that mode of operation. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* | vita core: Fix the hard reset issue by flushing the flow control windowPaul David2016-04-181-0/+13
| |
* | transport optimize: Integrated the transport offloading into the X3XX codebasePaul David2016-04-184-53/+226
| |
* | Added option for writes to specify a SPI speedDerek Kozel2016-04-081-6/+20
| |
* | Merge branch 'maint'Martin Braun2016-04-071-2/+2
|\| | | | | | | | | Conflicts: host/lib/usrp/cores/gpio_core_200.cpp
| * gpio core: Fixed a mismatch in the address assignment for RX and full duplexPaul David2016-04-061-2/+2
| |
* | E310: Radio reset fixmichael-west2016-03-291-1/+1
| | | | | | | | | | | | - Updated images - E310: Bumped compat number to 16 for radio reset fix - Update fpga-src submodule pointer
* | Merge branch 'maint'Martin Braun2016-03-291-1/+1
|\|
| * ubx: Changed member declaration to satisfy debug builds on WindowsMartin Braun2016-03-291-1/+1
| |
| * Added missing stdint.h includeNicholas Corgan2016-03-221-1/+2
| |
* | x300: DSP updates to support heterodyne dboardsAshish Chaudhari2016-03-212-2/+7
| |
* | dboard_iface: Added method to configure front connection and settingsAshish Chaudhari2016-03-217-0/+36
| |
* | usrp3: Added RX DSP support for heterodyne samplingAshish Chaudhari2016-03-215-17/+46
| | | | | | | | | | | | | | | | | | - 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
* | usrp: Added fe_connection type and unit testAshish Chaudhari2016-03-212-0/+68
| | | | | | | | | | - Wraps a sampling mode and IF frequency - Built-in parser to deduce swap,invert,mode bits from string connection
* | Updated code to work for new minimum dependenciesNicholas Corgan2016-03-212-2/+3
| | | | | | | | | | * Removed code referencing now-unsupported versions of Boost * Added <stdint.h> includes where needed
* | Merge branch 'maint'Martin Braun2016-03-114-5/+8
|\|
| * Fixed minor warnings:Nicholas Corgan2016-03-042-3/+3
| | | | | | | | | | | | * nirio_driver_iface_win: labeled unused variable for MinGW builds * b200_impl: fixed unreferenced variable warning * n200_image_loader: fixed signed vs. unsigned comparison
| * x300: Added power cycle message to uhd_image_loaderMartin Braun2016-03-031-0/+2
| |
| * e300: Fixed a memory leak in udev codeMarcus Müller2016-03-031-2/+3
| | | | | | | | | | When querying temp mboard sensor on e300, sysfs attributes are read through udev.
* | 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.
* | dboards: Added APIs to get RX and TX frontend namesAshish Chaudhari2016-02-261-1/+21
| |
* | dboards: Added ability to register a per-dboard container classAshish Chaudhari2016-02-263-40/+101
| | | | | | | | | | | | | | | | | | | | - The typical dboard classes are actually "subdev" classes i.e. there is one instance per dboard subdev (front-end). This makes it hard to implement shared functionality between multiple front-ends. - This changes adds the ability to create a container class which is created per group of subdevs and each subdev gets a pointer to the container class for cross linkage.
* | dboard: Made dboard class dtors virtualAshish Chaudhari2016-02-2612-39/+43
| | | | | | | | | | - Interface and all base classes have virtual destructors - Wrapped UBX dtor in UHD_SAFE_CALL
* | Merge branch 'maint'Ashish Chaudhari2016-02-187-99/+340
|\| | | | | | | | | | | Conflicts: host/lib/usrp/cores/gpio_core_200.cpp host/lib/usrp/dboard/db_ubx.cpp
| * UBX: Phase synchronizationmichael-west2016-02-187-99/+340
| | | | | | | | | | | | | | - Disabled MAX2871 VCO auto selection for phase sync - Added checks for new phase sync constraints recently published by Maxim - Added dboard_clock_rate option for X300 - Adjusted timing of SYNC signal relative to dboard referenc clock
* | x300: Added capability to write_spi to BOTH channels in dboard_ifaceAshish Chaudhari2016-02-181-6/+8
| |
* | db_manager: Cleaned up iface pointer in subtree after errorAshish Chaudhari2016-02-181-0/+1
| |
* | x300,e300: Fixed IQ swapping issue in RX frontendAshish Chaudhari2016-02-172-10/+4
| | | | | | | | - DB connection mapping is implemented in DDC chain. FE corrections module does not swap
* | usrp: Refactored dboard_iface for all productsAshish Chaudhari2016-02-1611-264/+411
| | | | | | | | | | | | | | - Made dboard_iface an interface! Removed PIMPL - Added unit "BOTH" to dboard API and expanded GPIO API width to 32 - Removed gpio_debug_mux. No product ever used that - Refactored gpio_atr cores to work with new dboard_iface
* | dboard: Added restricted dboard registration capabilityAshish Chaudhari2016-02-1611-24/+42
| | | | | | | | | | | | - Moved dboard iface initialization to dboard_manager - Added a restricted register function. Restricted dboards don't expose their control iface in the property tree
* | b200: Removed superfluous function declarationMartin Braun2016-02-151-1/+0
| |
* | adf435x: Refactored ADF435X control codeAshish Chaudhari2016-02-1213-678/+524
| | | | | | | | | | | | - Removed adf435x_common and replaced with a real encapsulated interface - Looks similar to the MAX287X code - Updated all DB classes to use the new common code
* | prop_tree: Multiple API enhancements to uhd::propertyAshish Chaudhari2016-02-1127-396/+396
| | | | | | | | | | | | | | | | | | - 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'Martin Braun2016-02-081-2/+2
|\|
| * B200: Fix for increasing retune timesmichael-west2016-02-051-2/+2
| |
* | math: Removed now superfluous constants. Removes a lot of compiler warningsMartin Braun2016-02-041-1/+0
| |
* | cores: Factored out some common codeMartin Braun2016-01-267-144/+121
| |
* | Merge branch 'maint'Martin Braun2016-01-211-3/+1
|\|
| * cmake: removed unnecessary includeNicholas Corgan2016-01-181-3/+1
| |
* | n230: fixed header locationNicholas Corgan2016-01-152-2/+126
| |
* | n230: Multiple usability improvementsAshish Chaudhari2016-01-136-49/+111
| | | | | | | | | | | | | | - Improved FW/FPGA compat mismatch error messages - Added power-cycle message to loader - Disabled "SW too new for HW" version check - Added retry mechanism in n230_find to allow for ARP updates
* | n230: Bumped N230 firmware compat number to 32Ashish Chaudhari2016-01-131-1/+1
| |
* | bugfix#366: X300: PCIe: Live load of firmware failsAshish Chaudhari2016-01-111-0/+2
| |
* | usrp3,n230: Moved all shared FW-Host headers to the host dirAshish Chaudhari2016-01-089-9/+378
| |
* | n230: fixed string formatting warningNicholas Corgan2016-01-081-2/+5
| |
* | n230: Added hardware compatibility version checks to UHDAshish Chaudhari2016-01-082-2/+53
| |