Dropped samples error in Over the air LTE transmission
Show older comments
I am trying to implement over the air LTE transmission by following this link: https://in.mathworks.com/help/supportpkg/xilinxzynqbasedradio/examples/lte-transmitter-using-analog-devices-ad9361-ad9364.html
In, Transmission using SDR Hardware(code in above link),
bufferUnderflow = sdrTransmitter(txFrame(:,n));
if bufferUnderflow~=0
warning('Dropped samples')
bufferUnderflow's value is 1 always. Therefore, transmission is not happening due to dropped samples. Some problem is happening with sdrTransmitter object I think.
New to wireless communication and SDR.
Answers (1)
Neil MacEwen
on 12 Feb 2019
0 votes
Hi Mughda,
Underflows are not surprising when trying to stream data in real-time from MATLAB/Simulink to the SDR hardware. Either MATLAB may not keep up with the required sample rate on the hardware, or the Ethernet link between your host PC and the board may not be fast enough. Make sure you use a dedicated network card, or USB3 dongle on your PC.
You can use the transmitRepeat method to work around these limitations. This loads a set of samples onto the board and transmits it repeatedly onto the air. Please see this answer for futher details.
Thanks,
Neil
4 Comments
Mugdha Jadhao
on 15 Feb 2019
Neil MacEwen
on 20 Feb 2019
There could be lots of reasons you are not receiving the data, so it's hard for me to advise I'm afraid. I would start by double checking the data you are transmitting is good. When you use transmit repeat you repeatedly send the same vector of data over and over, so you may want to check that the beginning and end of your signal is going to loop nicely. I would recommend you send as many frames as you can, so that your receiver has as much chance as possible of grabbing a full frame.
Mugdha Jadhao
on 1 Mar 2019
Yaser Abdallah
on 27 Oct 2022
Hello Mr MacEwen,
I face the same problem (dropped samples), even though my USRP B210 is connected through USB 3.0!
I am trying to send and receive from two USRP-B210, following the example given from mathworks, but it is not possible at the moment. Any suggestion or idea please??
thanks
Categories
Find more on Communications Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!