aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e300
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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.
* e3xx: Added FPGA loading code for speedgrade 3 devices.Moritz Fischer2015-12-165-15/+29
| | | | Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* b2xx,e3xx,x300: Bumped FPGA compat numbers after SW time-sync changesAshish Chaudhari2015-12-101-1/+1
| | | | | | | - b200: compat 13 - b200mini: compat 4 - e3xx: compat 14 - x3xx: compat 19
* Bumped FPGA compat numbers for B200, X300, and E300.michael-west2015-12-101-1/+1
|
* B200/E300: Set time sync on clock rate change to current time of first radiomichael-west2015-12-102-4/+10
|
* B210/E300: Re-sync times after master clock rate change.michael-west2015-12-101-0/+3
|
* E300/X300: Add VITA time synchronization on internal signalmichael-west2015-12-102-4/+19
|
* e300: added virtual destructor to e300_sensor_manager classNicholas Corgan2015-12-081-1/+3
|
* e3xx: sysfs: Drop reference when we're done.Moritz Fischer2015-10-141-0/+2
| | | | Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* b2xx,e3xx,x300: Bumped compat numbers for 3.9.1 UHD releaseAshish Chaudhari2015-09-031-1/+1
| | | | | | | - b200: compat 11 - b200mini: compat 2 - e300: compat 11 - x300: compat 15
* Fixed minor warningsNicholas Corgan2015-09-011-1/+1
| | | | | | * Unreferenced exceptions in try-catch statements * Incorrect function documentation * Unlabelled unused variables
* B2XX: Added B200mini supportmichael-west2015-08-171-0/+5
|
* b200,e300,x300: Updated compat number for release 3.9.0Ashish Chaudhari2015-08-141-1/+1
| | | | | | - b200: compat 10 - e300: compat 10 - x300: compat 14
* UHD: Remove initialization of time to GPS time.michael-west2015-08-121-20/+0
|
* cmake: added variable to LIBUHD_REGISTER_COMPONENT macro to make required, ↵Nicholas Corgan2015-08-111-1/+1
| | | | | | set LibUHD to required * If required component's dependencies aren't met, CMake will throw an error unless user specifically disables it
* e300: Fix internal GPIO register settingTom Tsou2015-08-101-1/+1
| | | | | | | | | | | | | | | Resolves issue #890 "E300: Does not transmit on master" Fixes GPIO register mismatch introduced by c2827e9a0b. "x300, e300: Moved common register names to radio namespace" With register correction, transmit and LED behaviour performs as expected. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
* e300: added -DE300_FORCE_NETWORK flag to CMake configurationNicholas Corgan2015-08-102-2/+18
| | | | | | * Fixes building E300 support in native mode on any Linux system with libudev headers * Added E300_NATIVE check to e300_common.cpp * Improved network mode documentation
* x300, e300: Moved common register names to radio namespaceMartin Braun2015-08-072-40/+52
| | | | This preps the code for merging common registers altogether.
* e300: Made network mode not crash when attempting to user filter APIMartin Braun2015-08-062-8/+2
|
* e300: Fix lacking subscriber call to update LO freq and bandselsMartin Braun2015-08-061-0/+3
|
* fixup! e300 + cmake merge conflict resolutionMartin Braun2015-07-291-2/+2
|
* gps: gpsd: Adding gpsd_iface to interface with gpsd.Moritz Fischer2015-07-2911-1540/+86
| | | | | | | | | | | | | | | | | | | | | | | The gpsd_iface class might be useful for more than just e3x0, it therefore belongs into lib/usrp instead of lib/usrp/e300. A new UHD component is being registered, to cope with the additional dependency. If libgps is not found, UHD and E300 will be compiled without GPS support. This has several consequences: - The E310 GPSDO should now work transparently over network - Users can use the GPS through gpsd for other applications *while* running UHD applications - We now have a dependency on libgps We need currently at least version 3.11 (while running 3.14), on the device. Older versions do work if 3.10 runs on both sides e.g Reviewed-by: Martin Braun <martin.braun@ettus.com> Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* cores: Moved subtree populate code to DSP cores (X3x0, E310)Martin Braun2015-07-291-26/+10
|
* cores: Moved subtree populate code to frontend coresMartin Braun2015-07-291-22/+2
|
* e300: Perif setup vs. prop tree separation refactoringMartin Braun2015-07-291-27/+44
|
* ad9361/b200/e300: Refactored AD936x + perifs managementMartin Braun2015-07-294-93/+27
| | | | | | - Created AD936x manager class - Moved functionality from B2x0 and E310 into manager - Separated property tree + perifs initialization in both device classes
* e3xx: Make frame sizes configurable.Moritz Fischer2015-07-282-6/+20
| | | | | | | | | | UHD 3.8.5 increased the TX framesize from 2048 to 4096, this can lead to issues in 2x2. The behaviour can avoided by specifying send_frame_size = 2048 for these scenarios. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* e300: Removed unused constant MAX_TICK_RATEMarcus Müller2015-07-271-1/+0
|
* Merge branch 'maint'Martin Braun2015-07-201-3/+3
|\ | | | | | | | | Conflicts: host/include/uhd/transport/nirio/nirio_driver_iface.h
| * e3xx: eeprom: Fix off by one error in serial number writing code.Moritz Fischer2015-07-161-1/+1
| | | | | | | | Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
| * e3xx: Make all e3xx motherboards show up as such.Moritz Fischer2015-07-161-2/+2
| | | | | | | | | | | | | | All currently available e3xx daugherboards are equivalent from a UHD perspective, so make them consistently show up as "E3XX". Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* | Added uhd::image_loader class and uhd_image_loader utilityNicholas Corgan2015-07-153-30/+76
| | | | | | | | | | | | * Single class for loading firmware/FPGA images onto devices instead of multiple utilities * Loading functions are registered for each device, corresponding to their --args="type=foo" name * Deprecation warnings added to all product-specific image loading utilities
* | Merge branch 'maint'Martin Braun2015-07-143-24/+34
|\| | | | | | | | | | | | | | | | | | | Conflicts: fpga-src host/CMakeLists.txt host/cmake/Modules/UHDVersion.cmake host/lib/usrp/b200/b200_impl.hpp host/lib/usrp/e300/e300_fpga_defs.hpp host/lib/usrp/x300/x300_fw_common.h
| * e3xx: Fixup for idle image to follow naming convention.Moritz Fischer2015-07-141-2/+2
| | | | | | | | Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
| * e3xx: Bump compat number from 6 -> 8.Moritz Fischer2015-07-141-1/+1
| | | | | | | | Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
| * e3xx: Increase TX buffer size to PAGE_SIZE.Moritz Fischer2015-07-141-1/+1
| | | | | | | | | | | | | | | | This was originally limited because it performed poor, however, with refactoring that has been done since release, this now gives better performance. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
| * e3xx: Load idle image on shutdown.Moritz Fischer2015-07-142-23/+33
| | | | | | | | | | | | | | | | | | | | This commit will have UHD load the idle fpga image on destruction of e300_impl. Note: This requires usrp_e310_idle_fpga.bit to be present in the UHD images directory. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* | e3xx: Bump compat number to match change on maint.Moritz Fischer2015-07-131-1/+1
| | | | | | | | Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* | Merge branch 'maint'Martin Braun2015-06-094-1/+19
|\| | | | | | | | | | | | | 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-221-0/+1
| | | | | | | | 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.
| * 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>
* | 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>
* | e300: Increase FPGA compatibility numberJonathon Pendlum2015-04-291-1/+1
| |
* | e300: Adjusted minimum frequency to account for MIMO modeJonathon Pendlum2015-04-291-1/+1
| | | | | | | | - In MIMO mode, tick rate will be 1/2 the interface rate