Skip to content
forked from Nuand/bladeRF

bladeRF USB 3.0 Superspeed Software Defined Radio Source Code

License

Notifications You must be signed in to change notification settings

dragorn/bladeRF

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 driver, library, and command line interface.

The source is organized as follows:

Directory Description
common Source and header files common across the platform
fx3_firmware Firmware for the Cypress FX3 USB controller
hdl All HDL code associated with the Cyclone IV FPGA
linux The linux kernel driver, library and command-line interface for interacting with a bladeRF device

Quick Start

It is not necessary to rebuild the Cypress FX3 firmware (hooray!), and there are pre-built FPGA images that will get you underway.

  1. Compile and install the kernel driver, libbladeRF library, and command-line application, in that order.
  2. Download pre-compiled FPGA binaries from http://nuand.com/fpga. You'll want hostedx40.rbf if you've got the 40 kLE board, or hostedx115.rbf if you have a 115 kLE board.
  3. Attach the bladeRF board to your fastest USB port.
  4. You should have a /dev/bladerf0 character device file. Make sure it is chowned and/or chmodded as you'd like it. (Please see linux/kernel/README.md for a note about udev.)
  5. Try ./bladeRF-cli -d /dev/bladerf0 -l /path/to/fpga.rbf to load an FPGA image and open a dialogue with your bladeRF board, per the advice in linux/apps/README.md.

If you've made it this far, congratulations! You can read (or write) raw samples in a variety of formats using the bladeRF-cli tool, or you can use third-party tools that support the bladeRF.

Building for use with GNU Radio

Directions for building and using this with GNU Radio have been compiled by kb3gtn.

Building Procedure

Each subsection of the source code can be built by itself and maintains their own README files for building. The recommended build flow is as such:

About

bladeRF USB 3.0 Superspeed Software Defined Radio Source Code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 51.6%
  • VHDL 29.2%
  • Verilog 11.2%
  • Tcl 7.0%
  • Other 1.0%