How are Rx Samples Received in the Source Code?
Posted: Wed Mar 25, 2015 1:56 pm
Hi,
I've actually deleted a previous post (posted in Software) in order to ask this question a better way - and I think it's probably more relevant to troubleshooting.
When I currently receive samples, I use bladerf_dev(), which allows so many samples to be received (eg, n=5000).
I was wondering how I would continuously receive samples? For example, if I wanted to continuously output these samples to an IQ Plot?
The reason I ask is that calling the bladerf_dev(RX) function repeatedled (e.g. in a loop) seems to cause the samples not to be flushed properly, meaning that you end up receiving old samples. I can see this happening as when I receive a transmitted signal, then turn off that transmitted signal, the bladeRF continues to receive it!. This perplexed me to say the least
NB: I'm currently using Simulink/Matlab. Is this something that needs to be done via the C code underneath the Matlab layer?
Cheers,
MB
I've actually deleted a previous post (posted in Software) in order to ask this question a better way - and I think it's probably more relevant to troubleshooting.
When I currently receive samples, I use bladerf_dev(), which allows so many samples to be received (eg, n=5000).
I was wondering how I would continuously receive samples? For example, if I wanted to continuously output these samples to an IQ Plot?
The reason I ask is that calling the bladerf_dev(RX) function repeatedled (e.g. in a loop) seems to cause the samples not to be flushed properly, meaning that you end up receiving old samples. I can see this happening as when I receive a transmitted signal, then turn off that transmitted signal, the bladeRF continues to receive it!. This perplexed me to say the least

NB: I'm currently using Simulink/Matlab. Is this something that needs to be done via the C code underneath the Matlab layer?
Cheers,
MB