Adapting FM Simulink Matlab for HackRF One

we want to adapt a FM example for  HackRF one,now we want to discuss about challenges and enovations.We use this link for start. So we first start with  a FM broadcast modulator,it can show wave file on spectrum you can see screent shot of it.

 

Now when i added sink HackRF one it returns some errors:

Error reported by S-function 'hackrf_sink' in 'doc_fmbroadcast/HackRF Sink':
Frame size must be a power of two (<= 2^18)
Component: Simulink | Category: Block error
Error in port widths or dimensions. Output port 1 of 'doc_fmbroadcast/Matrix Concatenate' is a [4410×1] matrix.

As for USRP it works like charm…

 

I started a very accurate examine that technical detail is shared on issue simulink-hackrf github.You can download simulink RX FM HackRFOne file from here.Finally you can see video on you that i run FM receiver with HackRF One in Matlab.

For FM Transmit i work on it, i soon share it.So we try many for sending FM but we had loud noise sound so we has not any good progress you can see in below video FM problem in matlab.

 

 

Sharing is caring!

Leave a Reply

Your email address will not be published. Required fields are marked *