Comments (6)
I have the same problem, the buffer constantly drops after 10 seconds and it doesn't matter what the width is
from bladerf.
I have the same issue
from bladerf.
[ERROR @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:77] Failed to receive NIOS II response: File or device I/O failure
[ERROR @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1969] bladerf2_set_correction: ad9361_spi_write(phy->spi, reg, data) failed: An unexpected error occurred
[ERROR] [1724744970] [crates/sensor/src/lib.rs:172] BladeRF error: BladeRFError(Unexpected) at crates/sensor/src/lib.rs:172
This error also happens
from bladerf.
This is a bug with many causes. On the RPi5 I would suggest trying to power the bladeRF separately via the DC barrel connector.
@ccgauche If you are in VM, please ensure xHCI accleration/passthrough is enabled.
@Andrii067 With regards to buffers dropping, it is imperative that the thread calling bladerf_sync_rx() receives samples then saves them and immediately comes back to calling bladerf_sync_rx(). DSP should be left for another thread.
from bladerf.
@rghilduta I also tried with the blade powered from the barrel jack and the error still happens... I'm running flat raspbian on my RPi5...
bladeRF> print
RX1 Bandwidth: 18000000 Hz (Range: [200000, 56000000])
RX2 Bandwidth: 18000000 Hz (Range: [200000, 56000000])
TX1 Bandwidth: 18000000 Hz (Range: [200000, 56000000])
TX2 Bandwidth: 18000000 Hz (Range: [200000, 56000000])
RX1 Frequency: 2400000000 Hz (Range: [70000000, 6000000000])
RX2 Frequency: 2400000000 Hz (Range: [70000000, 6000000000])
TX1 Frequency: 2400000000 Hz (Range: [47000000, 6000000000])
TX2 Frequency: 2400000000 Hz (Range: [47000000, 6000000000])
Tuning Mode: Host
Bit Mode: 16 bit samples
Feature: Default enabled
RX1 AGC: Enabled
RX2 AGC: Enabled
Clock reference: none
Clock input: Onboard VCTCXO
Clock output: Disabled
RX1 RSSI: preamble = 0 dB, symbol = -52 dB
RX2 RSSI: preamble = 0 dB, symbol = -52 dB
Loopback mode: none
RX mux: BASEBAND - Baseband samples
RX FIR Filter: normal (default)
TX FIR Filter: bypass (default)
Gain RX1 overall: 60 dB (Range: [-15, 60])
full: 71 dB (Range: [-4, 71])
Gain RX2 overall: 60 dB (Range: [-15, 60])
full: 71 dB (Range: [-4, 71])
Gain TX1 overall: 56 dB (Range: [-23.75, 66])
dsa: -90 dB (Range: [-89.75, 0])
Gain TX2 overall: 56 dB (Range: [-23.75, 66])
dsa: -90 dB (Range: [-89.75, 0])
RX1 sample rate: 30720000 0/1 (Range: [520834, 61440000])
RX2 sample rate: 30720000 0/1 (Range: [520834, 61440000])
TX1 sample rate: 30720000 0/1 (Range: [520834, 61440000])
TX2 sample rate: 30720000 0/1 (Range: [520834, 61440000])
Bias Tee (RX1): off
Bias Tee (RX2): off
Bias Tee (TX1): off
Bias Tee (TX2): off
Current VCTCXO trim: 0x1d23
Stored VCTCXO trim: 0x1d23
Hardware status:
RFIC status:
Tuning Mode: Host
Temperature: 37.7 degrees C
CTRL_OUT: 0xf8 (0x035=0x00, 0x036=0xff)
Power source: DC Barrel
Power monitor: 4.844 V, 0.55 A, 2.66 W
RF routing:
RX1: RFIC 0x0 (A_BAL ) <= SW 0x0 (OPEN )
RX2: RFIC 0x0 (A_BAL ) <= SW 0x0 (OPEN )
TX1: RFIC 0x0 (TXA ) => SW 0x0 (OPEN )
TX2: RFIC 0x0 (TXA ) => SW 0x0 (OPEN )
On the jack barrel. My DC barrel is rated for 5V - 2A. I can try to find another one if it's not enough but from the bladeRF docs I've seen it should be enough. Also I'm only using the bladeRF RX so I should need less power ?
from bladerf.
Edit:
The issue doesn't arises on x86 computers nor the khadas VIM3 ARM board running the same exact software stack as the RPi5. Thus either pointing toward an issue with the USB Controller on the RPi or the Power delivery on the RPi USB ports. Through the issue also happens while plugged with the DC Barrel (maybe an issue with my power cord?)
from bladerf.
Related Issues (20)
- Impossible to get 122 MSp/s samplerate on BladeRF xA4 with no signal interruptions HOT 1
- Creating rbf file to blink leds on Bladerf A4
- Synchronization of TX and RX Signals in BladeRF 2.0 xA9 HOT 7
- missing trigger functionality api's in bladerf python binding
- Micro phase coherence for four channel HOT 1
- segfault in bladeRF-cli when compiled from latest master (2fbae2c38b377cfbee98c281789cd43d1f1b55e4) HOT 1
- bladeRF-cli Segmentation fault HOT 2
- bladerf_get_gain_modes implemented inconsistently between bladeRF1 and bladeRF2.
- Windows installer link results in a 404 not found HOT 2
- Problem instaling Mac OSX HOT 9
- Fix Argument Order in calloc Call in fir_filter.c HOT 1
- Update PPA HOT 1
- Below are my query on BladeRF regarding API to get the response HOT 1
- Not able to plot IQ data received from bladerf -cli command received sample.csv file.
- Modify device serial number HOT 3
- Memory allocation error HOT 1
- Maximum bandwidth in oversample mode
- Compile error in function `bladerf_get_gain_calibration` HOT 1
- When using oversample mode, bladerf_set_frequency also modifies sample rate
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bladerf.