Commit graph

1,639 commits

Author SHA1 Message Date
Jon Szymaniak
ab441d15cb bladeRF-cli: Fixed errors and inconsistencies in interactive help text 2015-07-15 22:26:23 -04:00
Jon Szymaniak
093aed7288 fpga_common/lms: Fixed #405: Fail to exit loopback mode for f >= 1.5 GHz
This defect was introduced when changing the second parameter to
lms_select_band().
2015-07-15 18:45:19 -04:00
Jon Szymaniak
774e60b5d5 libbladeRF: Made some verbose log output clearer 2015-07-14 11:04:36 -04:00
Jon Szymaniak
9dad01f9fa libbladeRF: Fix #404, XB-200 filter bank selection regression in 41476cb
The fix for issue #394 introduced another defect via:

    /* Update state information regarding automatically selected filter.
     * Invalidate the entry if we're not performing automatic selection. */
    if (filter == BLADERF_XB200_AUTO_1DB || filter == BLADERF_XB200_AUTO_3DB) {
        dev->auto_filter[module] = filter;
    } else {
        dev->auto_filter[module] = -1;
    }

The problem is that xb200_auto_filter_selection() ends up calling this with
filter set to the desired filterbank. We should only apply this state update
when getting called from bladerf_xb200_set_filterbank(), and not when we're
updating the filter selection from xb200_auto_filter_selection().
2015-07-13 14:58:59 -04:00
Brian Padalino
067bd41944 hdl: Updating atsc_tx FPGA image.
New NIOS implementation was not ported over to the atsc_tx image
which was causing issues building.  Updated the top level to be
more in-line with the hosted image.
2015-07-10 15:30:20 -04:00
Jon Szymaniak
c2b3881a50 bladeRF-cli: Flush zero samples through the device at the end of a TX
When the file to TX does not have any sort of "padding" zero samples
at the end, there's a risk that we'll turn off the TX front-end
before the samples are actually transmitted.

As a "quick and dirty" solution, we just flush (num_buffers + 1)
buffers worth of 0+0j after completing the TX of the file.
2015-07-09 11:17:51 -04:00
Jon Szymaniak
cddfaf4f5f host/misc/matlab: Added load/save_grcomplex.m 2015-07-08 13:00:28 -04:00
Jon Szymaniak
c6fb26e203 host/misc/matlab: Corrected indexing
This worked, but wasn't technically correct.
2015-07-08 13:00:28 -04:00
Jon Szymaniak
962d7b2be9 libbladeRF: Support matching a subset of a serial number
Users no longer have to enter the entire serial number when using
bladerf_open() or bladerf_open_with_devinfo(). Instead, the
shortest unambiguous subset (starting at the first character) can
be used.

For example, for a bladeRF with serial f12ce1037830a1b27f3ceeba1f521413,
one could open it via the device string:
    "*:serial=f12c"

If the requested serial number subset is ambiguous, then libbladeRF
will open whichever matching device it encounters first.
2015-07-05 13:48:04 -04:00
Jon Szymaniak
63003562c9 Merge pull request #402 from rtucker/dev-jynik-vs-the-changelog-rebase 2015.06-rc1.1
Fixup debian/changelog

Pulling this in to fix the mess I made and then proceeding to don a dunce cap and go sit in the corner.
😞
2015-07-01 21:58:44 -04:00
Ryan Tucker
23c62d0d3d fixup debian/changelog
Bring 2015.02 entry back, run through dch to bump timestamp
and clean up formatting.

stray lines wander in
entire revisions gone
there's an app for this
2015-07-01 20:12:21 -04:00
Jon Szymaniak
0fe4e0266b debian/changelog: Fixed stray line 2015-06-30 22:12:50 -04:00
Jon Szymaniak
b6cf480fcd Updated top-level CHANGELOG and debian/ for 2015-06-RC1 release 2015.06-rc1 2015-06-30 19:56:40 -04:00
Jon Szymaniak
974e8ecfd9 bladeRF-cli: Updated version to v1.2.0 bladeRF-cli_v1.2.0 2015-06-30 18:58:12 -04:00
Jon Szymaniak
ab73e39006 libbladeRF: Updated version to v1.4.0 libbladeRF_v1.4.0 2015-06-30 18:58:12 -04:00
Jon Szymaniak
5517732a24 libbladeRF: Updated version compat table for FPGA v0.3.3 fpga_v0.3.3 2015-06-30 18:58:12 -04:00
bglod
cd9d7ec4cf hdl: Incremented FPGA_VERSION_PATCH 2015-06-30 18:58:12 -04:00
bglod
d1a2371505 nios: Fixed file permissions
devices.c should not have been executable.
2015-06-30 18:13:15 -04:00
bglod
ed178de538 hdl: Update references to renamed SPI controller
SPI entity renamed to lms6_spi_controller, updated all references accordingly.
2015-06-30 18:13:15 -04:00
bglod
acef5cecd6 hdl: Renamed 'spi' to 'lms6_spi_controller'
Rename is in preparation for LMS6-specific optimizations.
2015-06-30 18:13:15 -04:00
bglod
e5f1bc71c5 hdl: Fixed LMS SPI timing constraints
Reduced SPI clock frequency to 20 MHz.
2015-06-30 18:13:15 -04:00
Jon Szymaniak
993b3e1fbb hdl: Check for Quartus 15 in build script
Provide clear and concise feedback early, rather than a long
set of unintuitive errors.
2015-06-29 20:45:27 -04:00
Jon Szymaniak
d723a1446e nios: Fixed typo in README 2015-06-24 14:47:44 -04:00
Jon Szymaniak
93b91fd40a libbladeRF: Added verbose output for nios access operations 2015-06-24 10:51:54 -04:00
Jon Szymaniak
2ecffd28bd libbladeRF: Fixed build of dummy backend 2015-06-24 10:43:50 -04:00
Jon Szymaniak
948fbad00b libbladeRF: Added additional notes about bladerf_dac_read() 2015-06-23 23:17:11 -04:00
Jon Szymaniak
57d47acbdb libbladeRF: Readback of current VCTCXO dac for FPGA >= v0.3.2 2015-06-23 23:12:04 -04:00
Jon Szymaniak
914c8c59f5 hdl: Updated FPGA version to v0.3.2 fpga_v0.3.2
Patch version bumped due to bug fix.
2015-06-23 23:12:04 -04:00
Jon Szymaniak
c0cbeeab24 libbladeRF: Fixed pkt_8x16 read operation
The data wasn't being provided back to the caller.
2015-06-23 23:12:04 -04:00
Jon Szymaniak
23ecfad9ed fpga_common: Fixed data unpacking for pkt_8x16 format 2015-06-23 23:12:04 -04:00
Jon Szymaniak
94594c73c7 nios: Fixed VCTCXO readback
The read operation was being performed on the wrong interface.
2015-06-23 23:12:04 -04:00
Jon Szymaniak
7ff879ff44 bladeRF-cli: Added 'print trimdac' support 2015-06-23 23:12:04 -04:00
Jon Szymaniak
c9acfecef4 libbladeRF: Added vctcxo trim dac readback support 2015-06-22 22:47:18 -04:00
Jon Szymaniak
a2743426ef libbladeRF: Minor cleanup in XB200 path selection
Added checks of user-supplied module and path. Minor stylistic cleanup.
2015-06-22 11:43:18 -04:00
Jon Szymaniak
41476cbbce libbladeRF: Fixed #394, xb200 filterbank code cleanup
This fixes #394, in which selecting one of the auto filter selection
options prevents one of the specific settings from being used.

Some further cleanup and additional error checking has been
added to the xb200 filter bank functions.
2015-06-22 11:25:09 -04:00
Jon Szymaniak
f59f0709d0 libbladeRF: Added check_module() for use throughout lib code
There's a lot of bladerf_module checks in the codebase in one
form or another. These should get switched over to use check_module().
2015-06-22 10:43:06 -04:00
Jon Szymaniak
23dfcd17de hdl/CHANGELOG: Updated to note switch to Quartus II 15.0 2015-06-21 23:10:47 -04:00
Jon Szymaniak
bf9f8a62a4 host: Moved device config helpers to host/common
People may find these useful when developing their own tools or
contributions to the bladeRF codebase.
2015-06-21 23:07:40 -04:00
Jon Szymaniak
07e64a8a53 bladeRF-cli: Remove unneeded casts 2015-06-21 22:53:40 -04:00
Jon Szymaniak
3cfb507f91 host_common: Use size_t for array length, MSVC build fix
size_t or unsigned int are preferred for variables that describe
the length of an array.

This change fixes an additional MSVC build issue caused by
test_scheduled_retune.
2015-06-21 22:52:19 -04:00
Jon Szymaniak
830d542f2a CONTRIBUTORS typo fix 2015-06-19 13:16:18 -04:00
Jon Szymaniak
176011629c CONTRIBUTORS update
Welcome aboard, Brian!
2015-06-19 00:01:27 -04:00
Jon Szymaniak
7399dc5600 libbladeRF: Bumped version to v1.3.1 libbladeRF_v1.3.1
This version uses the NIOS II packet handlers introduced in
FPGA v0.3.x.
2015-06-18 20:20:58 -04:00
Jon Szymaniak
0ce918f4c0 libbladeRF/doc: Updated tune timing results for new SPI controller 2015-06-18 20:20:58 -04:00
Jon Szymaniak
be019d6a3a fpga_common: Addressed MSVC type conversion warnings
These type conversions (and associated truncations) are intentional.
2015-06-18 20:20:58 -04:00
Jon Szymaniak
81a330f010 fpga_common: Added missing #include's 2015-06-18 20:20:58 -04:00
Jon Szymaniak
8d5f58dfa9 libbladeRF: Fixed MSVC build issues for test_scheduled_retune 2015-06-18 20:20:58 -04:00
Jon Szymaniak
9dd6954613 libbladeRF: Moved IQ corr gain offset adjustment to top-level
Instead of duplicating this in the NIOS II pkt routines, it makes
more sense to have this up at the "top" in bladerf.c.

Backend code shouldn't need to understand the "meaning" of values
and need to adjust them -- it should only be concerned with
moving data to/from the device.
2015-06-18 20:20:58 -04:00
Jon Szymaniak
2ffec7f041 libbladeRF/doc: Added description of BLADERF_FORCE_LEGACY_NIOS_PKT 2015-06-18 20:20:58 -04:00
Jon Szymaniak
74104f1245 libbladeRF: Support schedule retune even if nios legacy pkt format is used
The retune packet is introduced in FPGA v0.2.0 and is unrelated to the
legacy packet formats. It can be used when legacy packet support is
disabled.
2015-06-18 20:20:58 -04:00