[Simulink] TRX buffer-overflow and firmware loopback error
Posted: Thu Jun 30, 2016 6:28 pm
Hi, I tried to transmit and receive signal with Simulink and met the following cases.
1. After transmitting and receiving with the lowest sampling rate,
I found missing IQ samples in receiving window. I attach an image[simple_trx.png] and Simulink program[simple_loopbacktest.slx.txt].
In this upper image, Number of samples to RX during each simulation step is 8 and very slow.
In this lower image, Number of samples to RX.. is 16 and over. Missing occurred in this lower case.
In my PC, Number of each missing IQ sample is always 8.
Why this missing occurred ?
I would to try more higher sampling rate with Simulink, and what kind of value set?
2. I can not use firmware loopback function with Simulink.
This error message displayed
Regards,
1. After transmitting and receiving with the lowest sampling rate,
I found missing IQ samples in receiving window. I attach an image[simple_trx.png] and Simulink program[simple_loopbacktest.slx.txt].
In this upper image, Number of samples to RX during each simulation step is 8 and very slow.
In this lower image, Number of samples to RX.. is 16 and over. Missing occurred in this lower case.
In my PC, Number of each missing IQ sample is always 8.
Why this missing occurred ?
I would to try more higher sampling rate with Simulink, and what kind of value set?
2. I can not use firmware loopback function with Simulink.
This error message displayed
Please tell me if there is anything I can do.'C:\Program Files\bladeRF.2016.05.rc2a2\matlab\bladeRF.m' at line 111
'C:\Program Files\bladeRF.2016.05.rc2a2\matlab\bladeRF_XCVR.m' at line 454
'C:\Program Files\bladeRF.2016.05.rc2a2\matlab\bladeRF_Simulink.m' at line 395'
libbladeRF error (-1) in bladerf_enable_module(): An unexpected error occurred
Regards,