File Exchange

image thumbnail

Communications Toolbox Support Package for BladeRF 2.0

version 0.0.13 (287 KB) by Victor Bursucianu
Prototype and test software-defined radio (SDR) systems using BladeRF 2.0 with MATLAB and Simulink. https://www.nuand.com/bladerf-2-0-micro/

11 Downloads

Updated 26 Mar 2020

GitHub view license on GitHub

----------------------------------------------------------------------------------------------------------------------------------------------
Experimental toolbox for BladeRF 2.0 with MATLAB and Simulink (Work in Progress).
----------------------------------------------------------------------------------------------------------------------------------------------
This package is based on the matlab bindings for bladerf from : https://github.com/vbursucianu/bladeRF
It has been modified to make it work with the bladeRF 2.0 and provides a convenient way to use the bladeRF 2.0 with Matlab/Simulink.

# Installation requirements:
Make sure you have libbladeRF and bladeRF-CLI installed. On windows you can easily install it via:
https://www.nuand.com/win_installers/
This installer should install everything in "C:\Program Files\bladeRF". In that location, delete the folder named "matlab" since this toolbox is meant to remplace it with the right files for the bladeRF 2.0
You can also install "libbladeRF" and "bladeRF-CLI" from source: https://github.com/vbursucianu/bladeRF

# Known issues (Work in progress):
- Rx Sampling Rate seems locked to 3 MSps for the Simulink Receiver.
- Simulink blocs does not gives the option for channel selection....yet

# What is working?:
- Matlab bindings are using the libbladerf library directly. It works well with the bladeRF2.0
- TX in simulink works well (however, more than 10 MSps can seriously impact output samples consistency (dropped samples)).

# Planned features:
- Channel Selection for simulink bloc.
- Input port for center frequency/sample rate for simulink bloc.

# Troubleshooting:
- If the library doesn't appear in Simulink:
1. Press F5 in the library browser to update the library index.
2. If it still doesn't appear, make sure that the toolbox is in the matlab path.

# Platform Compatibility:
Linux and MacOS will be tested once everything works on Windows.

Comments and Ratings (3)

Great. Hopefully MIMO will be introduced in simulink blocks.

Updates

0.0.13

Linking this toolbox to github until release 1.0.0

0.0.12

Corrected blocs options in library: "code generation" to "interpreted execution"

0.0.11

Project needs to be a Toolbox

0.0.10

Removed old version of library

0.0.9

Correction on blocs path and display

0.0.8

Correction on adding the blocs to the library path.

0.0.7

Making the project not a Toolbox

0.0.6

Change Package title name

0.0.5

Added a matlab file to include simulink blocs models

0.0.4

Adding All the required files to the project

0.0.3

Adding Simulink blocs for RX, TX and TRX

0.0.2

0.0.2: Added TX and RX Simulink Model to Package
0.0.1: Creation of the package

MATLAB Release Compatibility
Created with R2018b
Compatible with R2016a to R2019b
Platform Compatibility
Windows macOS Linux
Tags Add Tags