File Exchange

image thumbnail

Communications Toolbox Support Package for BladeRF 2.0

version 0.0.13 (274 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/

339 Downloads

Updated 26 Mar 2020

From 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.

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.