pothosware / SoapyBladeRF

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

libbladerf-v2 fixes #18

Closed sparklespdx closed 6 years ago

sparklespdx commented 6 years ago

1e6 sample rate is out of range for bladerf2, causing the libbladerf library to throw an error during init. 4e6 is a friendly value for both bladerf1 and bladerf2 boards.

I don't have a bladeRF1 board to test with and make sure this still works. This documentation indicates that 4e6 is a valid sample rate: https://github.com/Nuand/bladeRF/wiki/Getting-Started:-Verifying-Basic-Device-Operation

Follow up to issue #17 .

sparklespdx commented 6 years ago

I did my math wrong, the documentation says 40M which is 4e7. Nonetheless, the self test passes with this change.