Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2-Channel Receive Error with libbladerf 2021.10 #44

Open
AlexFWulff opened this issue Nov 9, 2021 · 2 comments
Open

2-Channel Receive Error with libbladerf 2021.10 #44

AlexFWulff opened this issue Nov 9, 2021 · 2 comments

Comments

@AlexFWulff
Copy link

On libbladerf 2021.10 with a bladeRF Micro 2.0 xA4 the following Gist will not correctly receive samples:
https://gist.github.com/AlexFWulff/9c821eb999e9da86404a163fb35b2656

I consistently get errors from libbladerf and cannot receive samples properly. I downgraded libbladerf to 2019.07 (and also downgraded the firmware of my SDR and FPGA), and now this code works with no issues. It appears that somewhere between these two releases something was introduced that breaks 2-channel reception with SoapySDR. On either release I can receive from just one channel with no issues.

@guruofquality
Copy link
Contributor

Are there any samples being received, or do they just happen to be zeros, or randomly zeroed out?

I wonder if its a weird buffer size difference that no longer works for some reason. Can you print whats passed to bladerf_sync_config:

Futher do you ever see the code get to bladerf_sync_rx? https://github.com/pothosware/SoapyBladeRF/blob/master/bladeRF_Streaming.cpp#L324

@AlexFWulff
Copy link
Author

AlexFWulff commented Nov 21, 2021

Some samples are received some of the time, but never as many as requested and oftentimes the receive call will fail entirely. I posted more details on the Nuand forum here with the exact lines in which things are going wrong: https://nuand.com/forums/viewtopic.php?f=5&t=12874 - let me know if you still need more information!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants