How nuand/bladerf works
This project is a mixed-hardware and software system that targets a bladeRF radio platform. Its purpose is to implement all the necessary components that allow communication between the host computer and the bladeRF board’s FPGA and USB controller (the Cypress FX3). The repository is split into clearly defined components:
• The FX3 firmware, which runs on the Cypress FX3 USB controller and handles the USB communication with the host.
• The FPGA HDL, which is the code for the Cyclone IV FPGA responsible for handling radio signal processing.
• The host-side libraries, drivers, utilities, and command line tools (bladeRF-cli) that interact with the hardware via the USB interface.
• A common firmware component (firmware_common) used by both FX3 firmware and host code for shared functionality.
Host Application Layer
– Include the host-side components such as:
• The libbladeRF library (drivers, libraries, and common utilities).
• The bladeRF-cli utility, examples, and any other host utilities.
– Represent the use of CMake build scripts, source files in the “host” directory, and supportive third-party libraries.
– Indicate that these components ultimately issue commands and receive data via a USB interface.
FX3 Firmware Layer
– Show the fx3_firmware component (firmware for the Cypress FX3 USB controller).
– Note how this module contains USB protocol handling, interfaces to the FPGA, and common utility code (from firmware_common).
FPGA HDL Layer
– Represent the FPGA block based on Cyclone IV with its HDL code (from the “hdl” directory).
– Indicate that this component is responsible for radio signal processing and low-level hardware functionality.
– Include subcomponents if desired: for example, IP blocks for clock control, data formatting, and digital signal processing modules (e.g., those imported from third-party sources or created in-house).
Shared/Supporting Components
– Reference the firmware_common directory which supplies headers and source files shared between the FX3 firmware and host-side utilities.
– Optionally include build/configuration files (CMakeLists.txt, debian packaging, etc.) which show how the system is assembled.
Interactions and Data Flow
– Connect FX3 Firmware to the FPGA (HDL) block, showing that commands and data pass from the controller to the FPGA.