Hi BLRF community,
I am using BladeRF 2.0 micro xA4.
I am using CLI. Please see configs as below:
^Cnitin@nitin-Vivobook: bladeRF-cli -i
bladeRF> info
Board: Nuand bladeRF 2.0 (bladerf2)
Serial #: ba8f129ed29f4d5ea9680fbd65469abf
VCTCXO DAC calibration: 0x1fff
FPGA size: 49 KLE
FPGA loaded: yes
Flash size: 32 Mbit
USB bus: 4
USB address: 3
USB speed: SuperSpeed
Backend: libusb
Instance: 0
bladeRF> version
bladeRF-cli version: 1.9.0-git-fe3304d7
libbladeRF version: 2.5.1-git-fe3304d7
Firmware version: 2.4.0-git-a3d5c55f
FPGA version: 0.15.3 (configured from SPI flash)
I understand that to use oversampling mode, we need to set bit mode to 8 bits.
I am doing that and trying to set higher sampling rate but it does not seem to work.
Can anybody tell what may be the issue:
set bitmode
Usage: set bitmode <8|16>
Bit Mode: 16 bit samples
bladeRF> set bitmode 8
Bit Mode: 8 bit samples
bladeRF> set samplerate 80M
[ERROR @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1000] bladerf2_set_rational_sample_rate: dev->board->set_sample_rate(dev, ch, integer_rate, &actual_integer_rate) failed: Provided parameter was out of the allowable range
I, N, D are respectively the Integer, Numerator, and Denominator settings for the Fractional PLL.
Error: Provided parameter was out of the allowable range
bladeRF> set samplerate 61.44M
Setting RX1 sample rate - requested: I= 61440000 N=0/D=1Hz, actual: I= 61440000 N=0/D=1Hz
Setting RX2 sample rate - requested: I= 61440000 N=0/D=1Hz, actual: I= 61440000 N=0/D=1Hz
Setting TX1 sample rate - requested: I= 61440000 N=0/D=1Hz, actual: I= 61440000 N=0/D=1Hz
Setting TX2 sample rate - requested: I= 61440000 N=0/D=1Hz, actual: I= 61440000 N=0/D=1Hz
I, N, D are respectively the Integer, Numerator, and Denominator settings for the Fractional PLL.
bladeRF> set samplerate 92.16M
[ERROR @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1000] bladerf2_set_rational_sample_rate: dev->board->set_sample_rate(dev, ch, integer_rate, &actual_integer_rate) failed: Provided parameter was out of the allowable range
I, N, D are respectively the Integer, Numerator, and Denominator settings for the Fractional PLL.
Error: Provided parameter was out of the allowable range
bladeRF>
bladeRF> set samplerate 80M
[ERROR @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1000] bladerf2_set_rational_sample_rate: dev->board->set_sample_rate(dev, ch, integer_rate, &actual_integer_rate) failed: Provided parameter was out of the allowable range
I, N, D are respectively the Integer, Numerator, and Denominator settings for the Fractional PLL.
Error: Provided parameter was out of the allowable range
bladeRF>
Oversampling mode - 8b mode
-
- Posts: 6
- Joined: Tue Nov 28, 2023 6:24 am
Oversampling mode - 8b mode
Cheers!
Nitin Jain
Bangalore, India
https://in.linkedin.com/in/nitjain
Nitin Jain
Bangalore, India
https://in.linkedin.com/in/nitjain
-
- Posts: 1
- Joined: Sat Aug 23, 2025 11:35 am
Re: Oversampling mode - 8b mode
You need to enable oversampling feature. Unfortunately this is not documented. I came along this thread and looked through the code myself and figured this out.
Code: Select all
gs@gs:~$ bladeRF-cli -i
bladeRF> set feature oversample
Bit Mode: 8 bit samples
Feature: Oversample enabled
Note: Sample rates must be reassigned
for OVERSAMPLE changes to take effect
bladeRF> set samplerate 92.16M
Setting RX1 sample rate - requested: I= 92160000 N=0/D=1Hz, actual: I= 92160000 N=0/D=1Hz
Setting RX2 sample rate - requested: I= 92160000 N=0/D=1Hz, actual: I= 92160000 N=0/D=1Hz
Setting TX1 sample rate - requested: I= 92160000 N=0/D=1Hz, actual: I= 92160000 N=0/D=1Hz
Setting TX2 sample rate - requested: I= 92160000 N=0/D=1Hz, actual: I= 92160000 N=0/D=1Hz
I, N, D are respectively the Integer, Numerator, and Denominator settings for the Fractional PLL.
bladeRF>