TX=0dBm and RX=-30dBm are measurement targets set by the calibration
setup. These values are not to be changed unless the test measurement
setup has changed.
Adds the gain calibration tables along with the prototype for
bladerf_load_gain_calibration(). Also copies the stored calibration
references to the output directory.
"Invalid operation or parameter" was the bladeRF error code returned
when samples were unallocated. Now, a log error is triggered saying
"bladerf_sync_tx: samples is null" and the return value is a bladeRF
memory error.
Outputs the current quick retune parameters of a bladeRF
device to standard output. It is useful for debugging and verifying the
configuration of quick tune settings.
This isolates the gain differentiation on init from the CLI or Gnuradio.
Refer to the instructions below.
Instructions:
cd bladeRF/host/libraries/libbladeRF_test/test_gain_compare/
python -m venv env
source ./env/bin/activate
pip3 install -r requirements.txt
cd bladeRF/host/build
make -j`nproc` && sudo make install
./output/libbladeRF_test_gain_compare
cd ../libraries/libbladeRF_test/test_gain_compare/
mv ~/code/bladeRF/host/build/dual_test.bin .
python3 view_binary.py -n 2
This provides a way to test MIMO and SISO power measurements through
the CLI. The power for both channels under SISO and MIMO should be
about the same.
Instructions
---------------
python -m venv env
source ./env/bin/activate
pip install -r requirements.txt
Ch1 & Ch2:
bladeRF-cli -s bladerf_script_ch12.sh
python view_binary.py -n 2
Ch1:
bladeRF-cli -s bladerf_script_ch1.sh
python view_binary.py -n 1
Ch2:
bladeRF-cli -s bladerf_script_ch2.sh
python view_binary.py -n 1
Resolves Nios and FX3 lockup when SI53304 clock select assignments are
made. The FX3 pclk and Nios system PLLs lose lock when the SI53304
transitions between clock sources and this prevents invalid cycles from
making it through.
This fixes the first sample being dropped in both meta and non-meta modes.
fifo_write is now asserted through procedure and executes on HOLDOFF exit.
Regression test results:
$ make test_libbladeRF
[ OK ] libbladeRF.scheduled_retune (19450 ms)
[----------] 29 tests from libbladeRF (297804 ms total)
[==========] 29 tests from 1 test suite ran. (297804 ms total)
[ PASSED ] 29 tests.
$ make test_hdl
[----------] 31 tests from hdl (1354828 ms total)
[----------] 32 tests from hdl/verify (2319711 ms total)
[==========] 63 tests from 2 test suites ran. (3674539 ms total)
[ PASSED ] 63 tests.