aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tools: Add tool to analyze settling time of gain of freq changesMartin Braun2018-10-111-0/+249
| | | | | | | | | | | | | | This tool uses the Python API to acquire a snapshot of samples during a gain or frequency change. It can be used to analyze the settling time of analog components, as well as the accuracy in time. It has two combinable ways of analyzing the data: 1) Write it to a file, or 2) plot the time-domain data. Example: This would receive several seconds of data from an X3x0 device, tune to 1 GHz, and then bump the gain by 30 dB after a set amount of time: $ rx_settling_time.py -a type=x300 -f 1e9 -g 0 --new-gain 30 --plot
* uhd: Add benchmark_streamer exampleCiro Nishiguchi2018-10-112-0/+498
|
* uhd: Add traffic counter to null source sinkCiro Nishiguchi2018-10-112-0/+100
|
* mpmd: Increase rpcc timeout when calling set_time_source()Trung Tran2018-10-111-0/+2
| | | | | | | set_time_source() for N310 and N300 can take longer than the default RPC client timeout of 2 seconds due to dboard initialization. We need increase this timeout, by using the init timeout value which is 2 minutes.
* docs: Added TwinRX pageDerek Kozel2018-10-095-0/+91
|
* mpm: Add usrp_update_fsMartin Braun2018-10-092-0/+195
| | | | | | | This provides a new utility for MPM devices (usrp_update_fs.py), which goes through all the necessary steps to update a filesystem. Will trigger a mender update, but the tool is not specific to Mender and can be changed to use other methods in the future.
* mpm: Add __mpm_device__ as usrp_hwd module variableMartin Braun2018-10-092-0/+2
|
* uhd: Fix rounding in ddc/duc rate calculationCiro Nishiguchi2018-10-052-2/+2
| | | | | | | | The DDC and DUC convert the requested rate to an integer before selecting a decimated / interpolated rate. This causes the selection to select a lower rate than requested in some corner cases. The effect is more pronounced when the input rate of the DDC or the output rate of the DUC is very small.
* mg: fixup set_rx_antennaTrung Tran2018-10-041-1/+1
| | | | | | After going to 2 radios configuration (FPGA), the channnel value is passed into this set_rx_antenna now have value either 0 or 1. We want the mapping of {radio_channel:cpld_channel} = {0:CHAN1} or {1:CHAN2}.
* multi_usrp: move definition of constantsAndrew Lynch2018-10-042-2/+4
| | | | ALL_MBOARDS and ALL_CHANS will be exported on GCC and MSVC
* uhd: reconcile time_spec operators with boost conceptsMark Meserve2018-09-282-18/+14
| | | | | | - Removes operator+ which was ambiguously defined in some cases - Adds additive concept for time_spec_t and double operators - Remove unnecessary ctime header
* rfnoc: install the DMA FIFO block headerMarcus Müller2018-09-261-0/+1
| | | | Reported-by: Brian Padalino <bpadalino@gmail.com>
* e320: devtest: Reduce sample rate for 1G devtestSugandha Gupta2018-09-261-1/+1
| | | | | | The E320 default master clock rate is 16MHz, therefore we need to reduce the 2 channel receive rate to 8MHz in order to be able to meet the requested rate.
* n3xx: e320: fixing GPSDIface sensor namesBrent Stapleton2018-09-262-2/+2
| | | | | N3xx and E320 were registering GPSDIface names as get_*_sensor instead of just the sensor name. Fixing this to now register the sensor name.
* cores: Update rx_frontend_gen3.v controls for 1/4-rate mixerMartin Braun2018-09-254-10/+14
| | | | | | | This tracks the changes on rx_frontend_gen3.v, which was updated to use a quarter-rate downconverter instead of a generic CORDIC. The X3x0 FPGA compat number is incremented as the rx_frontend is part of the device architecture rather than an RFNoC block.
* e320: Fix master_clock_rate settingSugandha Gupta2018-09-241-0/+4
| | | | | | The master clock rate was getting overwritten while running the codec loopback self test. So now we save the current rate before running the test and then reapply it.
* e320: Add R&D testing procedureSugandha Gupta2018-09-242-13/+204
|
* examples: add rfnoc_radio_loopbackTrung Tran2018-09-142-0/+214
| | | | This example will allow an RF->RF loopback using RFNoC devices.
* uhd: rfnoc: add async message handlerTrung Tran2018-09-147-9/+421
|
* radio_ctrl: add disable time stampTrung Tran2018-09-143-0/+13
|
* devtest: n3x0: Enable rx_samples_to_file testSugandha Gupta2018-09-141-1/+1
|
* mg: clipping frequencyTrung Tran2018-09-142-4/+7
| | | | | Clipping requested frequency to acceptable ranges in Magnesium TX/RX set frequency functions.
* usb: fix dummy compilation in msvcMark Meserve2018-09-141-0/+8
|
* Import changelog from UHD-3.13 branchMartin Braun2018-09-131-0/+14
|
* x300_impl: remove default_buff_args propertiesTrung Tran2018-09-131-7/+0
| | | | ...that are already handled in udp_zero_copy.
* device3_io_impl: remove tx_hint[send_buff_size]Trung Tran2018-09-131-6/+0
| | | | | we're no longer need this. Because there are default send buff size in each transport type impl.
* mpmd: add link speed to xport udpTrung Tran2018-09-131-6/+29
| | | | This is used to determine send_buff_size and recv_buff_size
* mpm: add link_speed xport_infoTrung Tran2018-09-132-0/+22
|
* udp_zero_copy: add default xport params.Trung Tran2018-09-131-14/+58
|
* fixup! DDC/DUC: switch CORDIC -> DDS for all relevant variable namesmichael-west2018-09-132-12/+12
|
* host: lib: convert: Add CMake flag for NEON SIMDBrent Stapleton2018-09-121-1/+5
| | | | | | | Adding CMake flag to enable/disable NEON SIMD instructions. This is an addition to the previous checks (check for NEON headers and checking the size of pointers), so behavior is unchanged unless users specify that they do not want to use NEON instructions.
* devtest: e320: Re-enable rx_samples_to_file testSugandha Gupta2018-09-121-1/+1
| | | | | The test has been fixed in commit 9c7d251b32eb476e11f8fce13a797c4de9abc796 to parse for D and S correctly
* e320: gpio: Fix front panel GPIO readbackSugandha Gupta2018-09-122-2/+5
| | | | The gpio devtest passes after this fix. Enabling the test
* tools: Fix handling of 0-valued dt-compatAlex Williams2018-09-121-1/+3
| | | | | | A value of 0 for dt-compat would cause db-init to use the rev instead. This fixes the check to be on number of args instead of the dt-compat value.
* python: Fix duration of benchmark rateBrent Stapleton2018-09-121-1/+1
| | | | | | | | Duration of multichannel benchmark was 50 seconds longer than intended- a 50ms initialization delay was mistakenly multiplied by 1000. Fixes e735a63ff9e ("python: Adding Python API benchmark rate")
* docs: Minor tweaks to the Python API manual pageMartin Braun2018-09-101-2/+4
|
* n3xx: Get RFNoC crossbar baseport from FPGABrent Stapleton2018-09-064-4/+9
|
* e320: Get RFNoC crossbar baseport from FPGABrent Stapleton2018-09-062-2/+8
|
* mpm: tdc: update PDAC BIST and flatness test to use latest APIsDaniel Jepson2018-09-051-29/+35
|
* mpmd: add option to enum rfnoc blocks from argsTrung Tran2018-08-311-5/+21
|
* cmake: Check for rte_ethdev.h when finding DPDKAlex Williams2018-08-291-1/+9
| | | | | | | Ubuntu splits headers between the arch-specific and noarch directories, so we were only getting one of them. That caused build failure for DPDK. This fixes the issue by grabbing a fundamental header from the other set.
* uhd-dpdk: Add DPDK-based sockets-like libraryAlex Williams2018-08-2915-2/+2535
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This library makes available a userspace network stack with a socket-like interface for applications (except the sockets pass around pointers to buffers and use the buffers directly--It's sockets + a put/get for buffer management). Supported services are ARP and UDP. Destinations can be unicast or broadcast. Multicast is not currently supported. The implementation has two driver layers. The upper layer runs within the caller's context. The caller will make requests through lockless ring buffers (including socket creation and packet transmission), and the lower layer will implement the requests and provide a response. Currently, the lower layer runs in a separate I/O thread, and the caller will block until it receives a response. The I/O thread's main body is in src/uhd_dpdk_driver.c. You'll find that all I/O thread functions are prefixed by an underscore, and user thread functions do not. src/uhd_dpdk.c is used to initialize uhd-dpdk and bring up the network interfaces. src/uhd_dpdk_fops.c and src/uhd_dpdk_udp.c are for network services. The test is a benchmark of a flow control loop using a certain made-up protocol with credits and sequence number tracking.
* Examples: Fix channel argument for rx_samples_to_fileMichael West2018-08-291-18/+18
|
* utils: Factor wait_for_lo_lock() out of cal utilsMartin Braun2018-08-294-24/+19
|
* RFNoC: Add Replay API and exampleWade Fife2018-08-298-0/+842
|
* uhd: udp: 'all_matching' endpoint resolutionBrent Stapleton2018-08-291-1/+2
| | | | | | | | By default, Boost.ASIO uses 'address_configured' mode for UDP endpoint resolution, which "only return[s] IPv4 addresses if a non-loopback IPv4 address is configured for the system". This changes the resolver to use 'all_matching', which instead returns "all matching IPv6 and IPv4 addresses".
* Docs: Updated niusrprio DriverMichael West2018-08-291-36/+19
|
* uhd: utils: Add Zip test to downloaderBrent Stapleton2018-08-281-2/+15
| | | | | Users can supply the --test/-T option to test the downloaded archive before extracting it, using the Python zipfile.testzip() function.
* uhd: utils: Downloader logs no targets selectedBrent Stapleton2018-08-281-0/+5
| | | | | uhd_images_downloader: Adding INFO message when there is no target selected to download, as when the user misspells a target name.
* mpm: reset the RPC server upon reloadBrent Stapleton2018-08-271-0/+10
| | | | | | | | | | | When reloading the Periph Manager (as when we run the image loader), we need to run the RPCServer `__init__` function in order to reset the cache of RPC methods. Otherwise, that cache keeps stale references to old functions (and prevents garbage collection). It may be possible to reset the method cache some other way, but the `_methods` attribute of RPCServer is Cython, and doesn't seem to be accessible in our Python code.