Page 1 of 1

Boiler Plate Example not working (MacOS)

Posted: Mon Aug 26, 2019 11:10 am
by eric.uthoff
Operating System: MacOS Mojave (10.14.6)

bladeRF-cli version: 1.8.0-git-994b19a7
libbladeRF version: 2.2.1-git-994b19a7

Firmware version: 2.3.2
FPGA version: 0.11.0 (configured by USB host)

Issue: I copied and built the "boilerplate" configuration example from the libbladeRF documentation site: https://www.nuand.com/bladeRF-doc/libbl ... plate.html. When I run I get the following error:

Failed to set samplerate = 300000: Provided parameter was out of the allowable range
Failed to configure RX channel. Exiting.

Doesn't seem to matter what I set the sample rate to I always get this error.

Other info:
libusb installed via homebrew
build libbladeRF from source (v2.2.1)
downloaded and loaded pre-built binaries for firmware and FPGA

Re: Boiler Plate Example not working (MacOS)

Posted: Wed Aug 28, 2019 3:17 am
by robert.ghilduta
To enable more verbose logs, try to call bladerf_log_set_verbosity() with BLADERF_LOG_LEVEL_VERBOSE .
Afterwards, could you please try to set the samplerate and bandwidth to 2000000 for both RX and TX?