https://github.com/Nuand/bladeRF/issues/955
and older issue related to same problem.
https://github.com/Nuand/bladeRF/issues/778
Setup:
bladeRF-cli version: 1.8.0-git-unknown
libbladeRF version: 2.4.1-git-unknown
Firmware version: 2.4.0-git-a3d5c55f
FPGA version: 0.14.0 (configured by USB host)
srsRAN_4G is latest (23.04 or 23.11)
When sample rate is changed on the fly (even if it is changed to same value), bladeRF 2.0 micro xa4 becomes unstable and gives out errors like:
command used from srsRAN_4G repo: ./lib/src/radio/test/benchmark_radio -s 11.52e6 -f 801.3e6 -t 10 -x -y
or ./lib/src/radio/test/benchmark_radio -s 1.92e6 -f 801.3e6 -t 10 -x -y
srsRAN_4G/lib/src/phy/rf/rf_soapy_imp.c
TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
or
host/libraries/libbladeRF/src/streaming/sync.c:336] wait_for_buffer: Timed out waiting for buf_ready after 400 ms
Due to above issue, srsRAN_4G has highly intermittent behaviour in completing network attach when srsUE and srsenb used.