aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e300
Commit message (Collapse)AuthorAgeFilesLines
* uhd: Replace clocking_mode_t unscoped enum with scoped versionMartin Braun2017-02-171-1/+1
| | | | | 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-104-16/+18
| | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* lib: add default ctors to structs and initialize members properlyAndrej Rode2017-01-123-1/+4
|
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-0817-362/+362
| | | | | | | | 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).
* Fix warning in e300_remote_codec_ctrl.cpp for gcc.Philip Balister2016-10-181-2/+2
| | | | | | | | The bigger question is why uhd forces the e300 code to have an implementation of an empty function. But, suppress the warning and let people fight about design later. Signed-off-by: Philip Balister <philip@opensdr.com>
* ad936x: Loopback check now takes peeker/poker functors instead of assuming ↵Martin Braun2016-08-091-5/+10
| | | | any kind of interface
* ad9361: Added option for safe SPIJonathon Pendlum2016-08-091-0/+3
| | | | - Also added check for reading chip ID
* 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>
* | 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
* | 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-2/+3
|\|
| * 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.
* | x300,e300: Fixed IQ swapping issue in RX frontendAshish Chaudhari2016-02-171-4/+2
| | | | | | | | - DB connection mapping is implemented in DDC chain. FE corrections module does not swap
* | prop_tree: Multiple API enhancements to uhd::propertyAshish Chaudhari2016-02-111-29/+29
| | | | | | | | | | | | | | | | | | - 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 Braun2015-12-185-15/+29
|\|
| * 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 incompatible maint mergeAshish Chaudhari2015-12-151-1/+1
| | | | | | | | | | | | | | - b200: compat 14 - b200mini: compat 5 - e3xx: compat 15 - x3xx: compat 20
* | Merge branch 'maint'Ashish Chaudhari2015-12-153-5/+29
|\| | | | | | | | | | | | | 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,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
| |
* | Merge branch 'maint'Martin Braun2015-12-091-1/+3
|\|
| * e300: added virtual destructor to e300_sensor_manager classNicholas Corgan2015-12-081-1/+3
| |
* | x3xx,e3xx: Bumped FPGA compat number after register overlap fixAshish Chaudhari2015-11-241-1/+1
| | | | | | | | | | - e300: compat 13 - x300: compat 18
* | radio: Fixed overlapping register for LED and FPGPIO coreAshish Chaudhari2015-11-241-1/+1
| |
* | cmake: Register components earlierMartin Braun2015-11-161-2/+0
| | | | | | | | | | | | | | | | | | | | All device-specific CMake components are now registered in one place, before the host/lib/ subdirs are sourced. This way, there are no cyclic dependencies. This solves the issue where ENABLE_X300=Off could disable USB, but preserves the fix where ENABLE_X300=Off would still build some X300 codes.
* | Merge branch 'maint'Ashish Chaudhari2015-10-161-0/+2
|\|
| * 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
* | b2xx,e3xx,x300: Bumped compat numbers after GPIO ATR refactoringAshish Chaudhari2015-10-161-1/+1
| | | | | | | | | | | | | | - b200: compat 12 - b200mini: compat 3 - e300: compat 12 - x300: compat 17
* | Merge branch 'ashish/gpio_atr_redux' into master-stagingAshish Chaudhari2015-10-152-50/+13
|\ \ | | | | | | | | | | | | | | | Conflicts: host/lib/usrp/cores/CMakeLists.txt host/lib/usrp/x300/x300_impl.hpp
| * | usrp3: Added new GPIO ATR 3000 coreAshish Chaudhari2015-09-292-50/+13
| | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | fixup! x300: Added DMA FIFO support to X300Ashish Chaudhari2015-09-302-2/+0
|/ /
* / b2xx,e3xx,x300: Bumped compat numbers for 3.9.1 UHD releaseAshish Chaudhari2015-09-081-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
|