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

Consider supplying the quick_tune parameter to bladerf_schedule_retune() when the XB-200 is enabled. #54

Open
ratzrattillo opened this issue Jun 23, 2022 · 4 comments

Comments

@ratzrattillo
Copy link

When trying to tune to frequencies below 300Mhz using BladeRF 1.0 with the XB-200 extension board enabled, the following error message is shown usuallly:
[ERROR @ host/libraries/libbladeRF/src/board/bladerf1/bladerf1.c:2398] Consider supplying the quick_tune parameter to bladerf_schedule_retune() when the XB-200 is enabled.

Would it be possible to automatically supply this quick_tune parameter in SoapySDR, so that the error disappears?

@guruofquality guruofquality transferred this issue from pothosware/SoapySDR Jun 28, 2022
@guruofquality
Copy link
Contributor

@ratzrattillo Can you make a merge request for the change? There are a number of cases that setFrequency handles for v1 vs v1 with and without quick tune. I think with the right getters it could be automatic for the XB-200. Take a look at the setFrequency code here: https://github.com/pothosware/SoapyBladeRF/blob/master/bladeRF_Settings.cpp#L429

@ratzrattillo
Copy link
Author

I tried to experiment and figure out how to do it. I compiled both SoapySDR and the SoapyBladeRF module from source. However, my BladeRF is not even detected when compiling the latest master branch for both projects.
Using: SoapySDRUtil.exe --find

######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

[ERROR] SoapySDR::loadModule(C:\Program Files (x86)\SoapySDR/lib/SoapySDR/modules0.8-2/bladeRFSupport.dll)
  bladerf failed ABI check: Library ABI=0.8-2, Module ABI=0.8
No devices found!

Is there a new release planned soon, so the ABIs will amtch again?
Can the ABI version be adjusted by the developers?

@ratzrattillo
Copy link
Author

While still being interested in using the bladerf after compiling from source and solving the ABI issue, i opened an issue in the main bladerf repository from NUAND, referencing this error, suggesting also a way to mitigate it:

Nuand/bladeRF#882

Just FYI @guruofquality

@guruofquality
Copy link
Contributor

referencing this error, suggesting also a way to mitigate it:

cool

Is there a new release planned soon, so the ABIs will amtch again?
Can the ABI version be adjusted by the developers?

The error just means the version of the headers the bladeRFSupport.dll was compiled against dont match the version of the runtime library SoapySDR.dll So you have some kind of dev environment or %PATH% issue.

The print of mismatch is sanity check to avoid what would otherwise be unexplained crashiness

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