Basic usage for bladerf_sink and bladerf_source in Simulink

Follow our development of DSP and SDR tutorials

Moderator: robert.ghilduta

Post Reply
fumiko
Posts: 6
Joined: Sun Mar 22, 2015 11:15 pm

Basic usage for bladerf_sink and bladerf_source in Simulink

Post by fumiko » Wed Mar 25, 2015 1:05 am

Hello,

What kind of data can I use bladerf_{sink, source} and bladerf_dev ?

There are three modules in Simulink, bladerf_sink, bladerf_source, and bladerf_dev.

The bladerf_dev module uses int16_t for calling bladerf_sync_tx and bladerf_sync_rx functions in bladerf_dev.cpp,
however the bladerf_sink module uses uint16_t for calling bladerf_sync_tx function in bladerf_sink.cpp.
The bladerf_source uses uint16_t for receiving data from bladerf_sink_rx function.

I think each function needs the different data from Simulink.
Does anybody teach me examples for three functions ?

There are Simulink's pre-build code in Nuand's github.
https://github.com/Nuand/Simulink-MATLA ... rf_dev.cpp
https://github.com/Nuand/Simulink-MATLA ... f_sink.cpp
https://github.com/Nuand/Simulink-MATLA ... source.cpp


Thanks,

Post Reply