Commit Graph

7324 Commits

Author SHA1 Message Date
Brent Stapleton
300a5e3f6e mpm: initial commit of E320 code
Co-authored-by: Sugandha Gupta <sugandha.gupta@ettus.com>
2018-07-18 15:37:27 -07:00
Trung Tran
a1d6530ce5 manifest.txt: update N3xx,X3XX,E3XX fpga images 2018-07-18 12:58:36 -07:00
Martin Braun
2787e2dee4 mpm: mg: Adding fast-reinit mode
When a device is re-initialized without any changes (e.g.,
master_clock_rate, ref_clock_freq) then we can skip the initialization
sequence and move on. This shaves a significant amount of time from the
init sequence.

Fast re-init can be overridden by providing the `force_reinit=1` device
arg.
2018-07-17 10:49:21 -07:00
Martin Braun
4a4d1d797f mpm: mg: Move RF cal initialization after JESD init 2018-07-17 10:49:21 -07:00
Martin Braun
e364ad4281 mpm: mg: Store init args between runs 2018-07-17 10:49:21 -07:00
Martin Braun
c8c4cf1b0c mpm: Remove unused _init_args from PeriphManagerBase 2018-07-17 10:49:21 -07:00
Martin Braun
8e02dec0fb mpm: n3xx: mg: Refactor init code
All code relevant to initializing an N310/N300 daughterboard is moved to
its own module (mg_init.py).

No functional changes.
2018-07-17 10:49:21 -07:00
Martin Braun
2fce1974d9 mpm: n3xx: Remove unused imports 2018-07-17 10:49:21 -07:00
Martin Braun
6c7a4193a3 mpm: mg: Print AD9371 info as debug message during init 2018-07-17 10:49:21 -07:00
Martin Braun
de4545ed4f multi_usrp: Fix get_usrp_tx_info() for MPMD devices 2018-07-17 10:44:18 -07:00
Michael West
b75ca6cd91 UBX: Add support for phase synchronization at LTE clock rates 2018-07-17 09:35:31 -07:00
Michael West
08855405d6 X300: Change default dboard_clock_rate depending on master_clock_rate 2018-07-17 09:35:31 -07:00
Michael West
6094254768 X300: Add support for 11.52 MHz and 23.04 MHz references 2018-07-17 09:35:31 -07:00
Martin Braun
bf92922078 images: Exclude .bin X3x0 images from images packages 2018-07-17 09:35:31 -07:00
Martin Braun
09d7e9c4de devtest: Minor Python fixes
- Fix some Pylint warnings
- Improve output
2018-07-17 08:50:41 -07:00
Martin Braun
f682d333e8 fixup! lib: Purge some use of boost::system_time 2018-07-17 08:50:41 -07:00
Vidush
ee15dbebf7 B200: Fix SC8 RX Streaming
Coerces recv_frame_size to size of words (8 bytes) to prevent
USB_TRANSFER_OVERFLOW error.
2018-07-16 22:02:52 -07:00
Trung Tran
606d8fc36d mg: fix tx power issue
This commit will fix power issues with 2 radios configuration (UHD 3.12+).
Removed unused _master boolean.
CPLD path are now correct, each radio has its own CPLD object.
2018-07-14 11:21:26 -07:00
Martin Braun
8a3148eb25 cmake: Allow to override UHD_GIT_BRANCH from CMake
Use cmake -DUHD_GIT_BRANCH_OVERRIDE=$branchname. This can be helpful
when building from tarballs, but you need to have the branch
information.
2018-07-14 11:16:05 -07:00
michael-west
72e5fda932 fixup! B200: Check if recv_frame_size is larger than minimum value 2018-07-13 20:58:01 -07:00
Trung Tran
04987da515 cmake: add support to make python api installer on windows 2018-07-13 11:45:41 -07:00
Martin Braun
1f0a8561f0 cmake: Fix version numbering
UHD-* branches were being detected as "development", and #cmakedefine
does not like it when values are actually zero.
2018-07-13 11:44:04 -07:00
Martin Braun
02316d42fc cmake: Changing UHD version to 3.13 and flagging branch as development 2018-07-13 10:43:58 -07:00
Moritz Fischer
d31f463415 mpm: tools: eeprom-init: Fix issue with dt/mcu-compat number
Fix issue with dt-compat and mcu-compat numbers not working for
the case where 0 is a legitimate dt/mcu compat number.

This can happen if a Rev2 board (1 in hardware) shares a DT or
MCU firmware with the Rev1 board (0 in hardware).

Fixes 91a5518443 ("mpm: tools: Introduce dt-compat ...")
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2018-07-12 16:46:10 -07:00
Martin Braun
b17790f8de b200: Update FW and FPGA images
FPGA compat number bumped to 15. This includes fixes to resolve the
"lost EOB" issue on B2xx.
2018-07-12 16:45:50 -07:00
Martin Braun
82aef3c8dd b200: fw: Change USB2 Buffer Size and Buffer Count
Change FX3 firmware for USB2 so the eob flag is always seen,
particularly on packets that are a multiple of 512 bytes
in size.
2018-07-12 16:45:50 -07:00
Vidush
dcd76b9e20 B200: Check if recv_frame_size is larger than minimum value 2018-07-12 15:48:22 -07:00
Vidush
d6f1ff717d B200: Change Recv Frame Size to 8176
The default frame size is set to 8176.
If a frame size entered is a multiple of 512, the actual frame size
is set to the next lowest multiple of 24.

Both changes are made to ensure no packet gets stuck in the fx3.
2018-07-12 15:47:51 -07:00
Martin Braun
9df9bea6c1 lib: Purge some use of boost::system_time
These are all timeout loops, which now use
std::chrono::steady_clock::now() to check for timeout events.
2018-07-12 11:42:59 -07:00
Brent Stapleton
05722dcc51 mpm: n3xx: Factor out component updating
- Refactoring component (FPGA, DTS) updating functions out of
n3xx.py into their own components.py. The ZynqComponent class now
defines the methods to update these two components.
- Adding super().__init__() to the PeriphManagerBase class. This is
needed to get the multiple inheritance used in N3XX now to work, and
(apparently) good Python practice.
2018-07-11 12:42:45 -07:00
Derek Kozel
b39358f490 uhd: Expose DC Offset range via multi_usrp interface 2018-07-11 10:12:03 -07:00
Martin Braun
b185c9447a soft_register: Remove compiler warning, add unit test 2018-07-11 10:11:28 -07:00
Derek Kozel
8262797545 uhd: Warn when tuning with auto DSP frequency and an external LO
In LO sharing cases this can result in frequency errors between
channels.
2018-07-10 11:35:19 -07:00
Sugandha Gupta
30ecc840c9 legacy_compat: Fix tx/rx channel map initialization for all channels
This will populate tx/rx channel map (radio and port index) considering
number of channels, radios and mboards.

On TwinRX and N310, the default subdev spec will now include all
available channels.
2018-07-09 14:52:35 -07:00
Martin Braun
46ab88b42a images: e310: Update images to match merge from rfnoc-devel 2018-07-09 10:29:21 -07:00
Brent Stapleton
6eaf521d2b mpm: n3xx: Factor out GPSd Iface functions
- Refactoring GPSd interface to be instead wrapped by a
GPSDIfaceExtension class. This class will faciliate "extending" an
object, allowing that object to call the GPSDIfaceExtension methods as
their own.
- New MPM devices (or whatever else) can now use the GPSDIfaceExtension
class instead of writing their own GPSDIface handling functions.
- N3XX now instantiates a GPSDIfaceExtension object, and extends
itself. This means that an n3xx object can call the `get_gps_time`
method as its own, for example.
- N3XX must get through initialization in order for the GPSd methods
to be registered.
2018-07-06 15:00:20 -07:00
Brent Stapleton
9c2e1907e9 mpm: n3xx: Overridable crossbar base port
Moving the RFNoC crossbar base port to the class overridables. MPM
devices may need to reserve different numbers of ports for non-blocks;
this can now be done by overriding the crossbar_base_port.
2018-07-06 14:53:40 -07:00
Trung N Tran
7aee32ef9d e300: remove time spi 2018-07-06 12:10:53 -07:00
Martin Braun
4bbde64c70 fixup! e300: merge files from rfnoc-devel 2018-07-06 12:10:53 -07:00
Trung N Tran
ba5722f613 e300: merge files from rfnoc-devel
This disables the ability to do "network mode" on the E310.
2018-06-29 14:20:44 -07:00
Trung Tran
f5119fb5f0 rfnoc: Merge block controller header files from rfnoc-devel 2018-06-29 14:20:44 -07:00
Martin Braun
8f16f05b20 mpm: ad9371: Accept PID 0x01 as well as 0x03 2018-06-28 14:06:21 -07:00
Brent Stapleton
4f49b4a937 mpm: adding adf400x support to chips
Adding ADF400X driver to MPM. This uses the Boost.Python bound spidev,
and is largely a translation from the C++ driver in UHD.
2018-06-27 10:22:25 -07:00
Robin Coxe
74c4178139 Update ISE/Vivado versions in images.dox 2018-06-26 16:14:01 -07:00
Vidush
523994c793 fixup! Time_spec: Add Operators 2018-06-26 13:51:34 -07:00
Martin Braun
f2896713d4 Update README.md, LICENSE.md, and CONTRIBUTING.md 2018-06-26 08:56:32 -07:00
Martin Braun
e7511ac067 docs: Fixed a doxygen warning 2018-06-22 18:42:11 -07:00
Martin Braun
f5a322a834 UHD: Make ctrl_iface_impl deconstructor virtual 2018-06-22 18:42:11 -07:00
Martin Braun
bd3ad46148 UHD: Updated blockdef dest asserts 2018-06-22 18:42:11 -07:00
Martin Braun
c093665042 UHD: Update copyright dates 2018-06-22 18:42:11 -07:00