pothosware / SoapyBladeRF

Soapy SDR plugin for the Blade RF
https://github.com/pothosware/SoapyBladeRF/wiki
23 stars 20 forks source link

BladeRF wait_for_buffer error #58

Closed HaoxinSEU closed 1 year ago

HaoxinSEU commented 1 year ago

Hi all,

We are trying to control BladeRF by UHD through SoapyUHD and SoapyBladeRF plugins. When running the commands SoapySDRUtil --probe="driver=bladerf" and uhd_find_devices, both of them work well and we can detect the BladeRF. But when we try to run BladeRF, we get the following error:

[ERROR @ host/libraries/libbladeRF/src/streaming/sync.c:336] wait_for_buffer: Timed out waiting for buf_ready after 1 ms

We tried to downgrade the BladeRF's FPGA image and FX3 firmware to v0.11.0 (2019-07-31) and v2.3.2 ( 2018-12-16) respectively, but this doesn't solve the problem.

Does anyone have a solution for this problem? Thanks for your help!

Best, Haoxin

HaoxinSEU commented 1 year ago

Hi community,

We managed to solve this issue by updating to the latest versions of these libraries.

In the past we directly download SoapySDR, SoapyUHD and SoapyBladeRF packages by ppa, but it turned out that these packages are out-of-date and not the latest version. Therefore, we build these three libraries from the latest source code, and then install them.

By doing this, we can use UHD API to control the BladeRF hardware. For example, running uhd_find_devices command will successfully detect BladeRF and output correct parameters.

Best regards, Haoxin