cwozny / sdr_channelizer

Software-defined radio implementation of a channelized scanning receiver
GNU Lesser General Public License v2.1
5 stars 1 forks source link

record_iq_blade overruns initially and every other sample batch #1

Open cwozny opened 2 years ago

cwozny commented 2 years ago

./blade_recorder 2400.0 56 60 55 0.5 10 Negotiated USB 3 link speed FPGA version: 0.14.0 Firmware version: 2.4.0-git-a3d5c55f Using bladerf2 serial number 90aa89283cc3495e9aa506b20b0f40a9 Frequency = 2400 MHz Sample Rate = 60 Msps Bandwidth = 56 MHz Disabled automatic gain control Gain = 55 dB Configured RX sync interface Enabled RX Overrun detected. 15748 valid samples were read. Overrun detected. 508 valid samples were read. Received 30000000 Overrun detected. 1195264 valid samples were read. Received 30000000 Overrun detected. 1211520 valid samples were read. ... Received 30000000 Overrun detected. 1211520 valid samples were read. Received 30000000 Disabled RX There were 18 overruns.

manoskav commented 1 year ago

Hello! Did you have any luck with this problem? I face exactly the same. 15748 valid in the first, 508 valid in the second sync_rx. However, I face it randomly if I disable the RF/ reinit sync config/ enable the RF again. My board is a bladeRF 2.0 micro xA4. Ubuntu 22.04.

cwozny commented 1 year ago

I have not resolved the issue unfortunately and haven't heard back from Nuand about it either.

nikhilnanda21 commented 1 year ago

@cwozny @manoskav any luck with this problem? I've been facing the same issue and haven't been able to figure it out :/ any help would be appreciated :)

manoskav commented 1 year ago

Hello,

I have not identified where the problem comes from and I could not solve it. As a workaround I make 2 dummy bladerf_sync_rx(..) calls after init_bladeRF(...) and I have no overruns after that. If you face overruns after that then you should check the write speed of your disk or the latency of anything you run between bladerf_sync_rx calls. Adding many buffers to bladerf_sync_config will also help to make your stream stable.

Hope this helps.