bladeRF USB 3.0 Superspeed Software Defined Radio Source Code
http://nuand.com
- C 45.8%
- VHDL 21%
- Verilog 15.8%
- Tcl 3.8%
- MATLAB 3.2%
- Other 10.3%
v2.6.0 (2025-05-06) -------------------------------- This version of libbladeRF is intended for use with: FX3 Firmware v2.6.0 FPGA v0.16.0 New Features: * Added SC16_Q11 packed sample format support, improving sample efficiency * Increased FX3 GPIF buffer sizes, significantly boosting USB throughput (~356MB/s) * Implemented dynamic Nios base address assignment based on RAM size * Added parallel build support for hosted FPGA variants (40, 115, A4, A5, A9) * Enabled elf-gdb and gdb-server support for improved FPGA debugging capability * Added git revision information to FPGA build outputs * bladeRF 2.0: Added support for gain calibration loading, enabling, and management * bladeRF 2.0: Introduced bladeRF-power CLI tool for managing gain calibration * bladeRF 2.0: Added bladerf_get_gain_target function for gain management * bladeRF 2.0: Added bladerf_format_to_string API call * bladeRF 2.0: Added bladerf_image_print_metadata API to display image metadata * bladeRF 2.0: Improved compatibility checking between FPGA and FX3 firmware GPIF buffers Improvements: * libbladeRF now compiles and runs under MinGW and MSVC on Windows platforms * Replaced libpthreadswin32 dependency with native libbladeRF threading macros * Improved error handling and reporting for out-of-range frequency and sample rate settings * Added detailed logging for USB transfer and Nios access timeouts * Updated Doxygen to v1.9.8, adding support for light/dark modes and modernized configuration * Improved GPIF buffer alignment handling for larger FX3 buffer sizes * Added CMake find_package() support for easier integration into external projects * Streamlined internal error checking macros, simplifying codebase * Enhanced sync_rx_meta example with additional argument parsing and MIMO support * Improved FPGA simulations for bladeRF 1.0 and bladeRF 2.0 micro Bug Fixes: * Fixed delayed sample and off-by-one timestamp issues on bladeRF 1.0 * Corrected TX meta sample gap issue when timestamp set to META_NOW * Resolved corrupted UART buffer in command_uart component * Fixed TX deadlock scenarios by refactoring RX/TX DMA prioritization * Addressed SC16_Q11 packed RX discontinuity issue on overflow condition * Fixed false timing paths and resolved multiple timing violations * Fixed calibration load check in bladerf_get_gain_calibration * Corrected RX meta packet timestamp and flags assignment * Fixed sync TX initialization bug Miscellaneous: * Updated API documentation to reflect larger GPIF buffer sizes * Improved FX3 SDK setup instructions in README * Minor typo and documentation corrections throughout the codebase |
||
|---|---|---|
| debian | ||
| doc | ||
| firmware_common | ||
| fpga_common | ||
| fx3_firmware | ||
| hdl | ||
| host | ||
| legal | ||
| thirdparty/analogdevicesinc | ||
| .clang-format | ||
| .gitignore | ||
| .gitmodules | ||
| CHANGELOG | ||
| CMakeLists.txt | ||
| CONTRIBUTORS | ||
| COPYING | ||
| README.md | ||
bladeRF Source
This repository contains all the source code required to program and interact with a bladeRF platform, including firmware for the Cypress FX3 USB controller, HDL for the Altera Cyclone IV FPGA, and C code for the host side libraries, drivers, and utilities. The source is organized as follows:
| Directory | Description |
|---|---|
| firmware_common | Source and header files common between firmware and host software |
| fx3_firmware | Firmware for the Cypress FX3 USB controller |
| hdl | All HDL code associated with the Cyclone IV FPGA |
| host | Host-side libraries, drivers, utilities and samples |
Quick Start
- Clone this repository via:
git clone https://github.com/Nuand/bladeRF.git - Fetch the latest pre-built bladeRF FPGA image. See the README.md in the hdl directory for more information.
- Fetch the latest pre-built bladeRF firmware image. See the README.md in the fx3_firmware directory for more information.
- Follow the instructions in the host directory to build and install libbladeRF and the bladeRF-cli utility.
- Attach the bladeRF board to your fastest USB port.
- You should now be able to see your device in the list output via
bladeRF-cli -p - You can view additional information about the device via
bladeRF-cli -e info -e version. - If any warnings indicate that a firmware update is needed, run:
bladeRF-cli -f <firmware_file>.
- If you ever find the device booting into the FX3 bootloader (e.g., if you unplug the device in the middle of a firmware upgrade), see the
recoverycommand in bladeRF-cli for additional details.
- See the overview of the bladeRF-cli for more information about loading the FPGA and using the command line interface tool
For more information, see the bladeRF wiki.
Build Variables
Below are global options to choose which parts of the bladeRF project should be built from the top level. Please see the fx3_firmware and host subdirectories for more specific options.
| Option | Description |
|---|---|
| -DENABLE_FX3_BUILD=<ON/OFF> | Enables building the FX3 firmware. Default: OFF |
| -DENABLE_HOST_BUILD=<ON/OFF> | Enables building the host library and utilities overall. Default: ON |