Commit graph

1,626 commits

Author SHA1 Message Date
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
Jon Szymaniak
9d99b887fc nios: Added missing trim DAC and IQ Correction writes in pkt_8x16 2015-06-18 20:20:58 -04:00
Jon Szymaniak
cdbb82e956 hdl: Updated LMS SPI clock timing constraint to reduce negative slack
This is a minor improvement, but the timing still fails.
2015-06-18 20:20:58 -04:00
Jon Szymaniak
aa75d1ee68 libbladeRF: Updated version compat table for FPGA v0.3.1 2015-06-18 20:20:58 -04:00
Jon Szymaniak
a9a4569f2d hdl: Updated CHANGELOG for v0.3.1 changes fpga_v0.3.1 2015-06-18 20:20:58 -04:00
bglod
45e71e8e4c Renamed state. No functional change. 2015-06-18 20:20:58 -04:00
bglod
7b27ab35a2 hdl: Added custom SPI controller for LMS6002D chip.
Testbenches work, but are not production-ready (messy and should add
automated checking for pass/fail).

Edited nios_system to use the new SPI controller. Base address for LMS
reads/writes changed to 0x9200.
2015-06-18 20:20:58 -04:00
Jon Szymaniak
518097b6dd nios: Added README.md 2015-06-18 20:20:58 -04:00
Jon Szymaniak
d28a953ab9 libbladeRF: Use updated NIOS II packet formats for FPGA >= v0.3.0 2015-06-18 20:20:58 -04:00
Jon Szymaniak
b8143bd342 libbladeRF: Read device capabilities in backend FPGA load implementation
The backend may need to make decisions about what it needs to do
after loading an FPGA. Combined with the fact that the backend is
responsible for defining the initial capabilities, it's more sensible to
have the capabilities mask filled in during the backend open().
2015-06-18 20:20:58 -04:00
Jon Szymaniak
075b514fe1 hdl: Updated CHANGELOG for v0.3.0 changes fpga_v0.3.0 2015-06-18 20:20:58 -04:00
Jon Szymaniak
8a9572780c hdl, nios: Added 8x8, 8x16, 8x32, 8x64, and 32x32 packet handlers
This packet handlers replace the pkt_legacy function to use
message formats that require only a single request to perform
the specific action.
2015-06-18 20:20:58 -04:00
Jon Szymaniak
a11dec30e5 hdl: Updated CHANGELOG for v0.2.0 changes fpga_v0.2.0 2015-06-18 20:20:58 -04:00
Jon Szymaniak
f1caba32ca nios: Use magic packet prefix from common header 2015-06-18 20:20:58 -04:00