Boiler Plate Example not working (MacOS)

Having issues with the site, hardware, source code, or any other issues?

Moderator: robert.ghilduta

Post Reply
eric.uthoff
Posts: 1
Joined: Mon Aug 26, 2019 11:02 am

Boiler Plate Example not working (MacOS)

Post by eric.uthoff » Mon Aug 26, 2019 11:10 am

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

robert.ghilduta
Posts: 60
Joined: Thu Feb 28, 2013 11:14 pm

Re: Boiler Plate Example not working (MacOS)

Post by robert.ghilduta » Wed Aug 28, 2019 3:17 am

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?

Post Reply