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%
Due to an unconfirmed bug in the SDK's support for the GPIF II, it is not xpossible to switch a 16bit GPIF over to 32bit funtionality once the FX3 enumerates. As a temporary work around, the firmware now uses a 32bit GPIF bus when loading the Cyclone 4. This introduces some issues with headless execution because enabling 32bit mode disables the SPI peripheral, which is how the FX3 communicates with the SPI flash. Conversely, in headless mode the unit has no need to enter 32bit mode because it is not connected via USB3.0, therefore during headless mode the bladeRF can choose to configure the GPIF 2 into 16bit mode. |
||
|---|---|---|
| common | ||
| fx3_firmware | ||
| hdl | ||
| linux | ||
| COPYING | ||
| README | ||
This README details how to build the FSK bridge example To build and run the FSK bridge rea 1) Open existing hdl/quartus/bladerf.qsf project in Quartus a) Generate the Nios core i) Tools -> QSys -> File -> Open -> navigate to ./hdl/fpga/ip/altera/nios_system/nios_system.qsys ii) After opening qsys file, go to Generation tab, click the "Generate" button b) Compile the embedded Nios image i) Tools -> Nios II Software Build Tools for Eclipse I) File -> Import -> General -> Existing Projects into Workspace -> Next -> Browse to checkout root directory -> check both lms_spi_controller and lms_spi_controller_bsp -> Finish II) right click lms_spi_controller_bsp -> NIOS II -> Generate BSP III) right click lms_spi_controller -> Build IV) right click lms_spi_controller -> Make Targets -> Build... -> select mem_init_generate -> Build c) Synthesize FPGA image i) Processing -> Start Compilation 2) Compile driver and user mode applications a) cd linux/kernel ; make ; inmod bladeRF.ko b) cd ../apps; make c) To program the fpga execute ./simple_load c4images/blink.rbf i) Load bladerf.rbf from the quartus output_files directory 3) Use bladeRF as an FSK bridge!