Add 12-bit Mode and Support For 122.88 Msps#1
Open
daniel-endraws wants to merge 71 commits intomasterfrom
Open
Add 12-bit Mode and Support For 122.88 Msps#1daniel-endraws wants to merge 71 commits intomasterfrom
daniel-endraws wants to merge 71 commits intomasterfrom
Conversation
… fixes (unused but set)
…ent switching modes midway through buf
… support extra buffering
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes to libbladeRF, FX3 firmware, and the FPGA to add support for a 12-bit packed format and boost maximum FX3 throughput to 3.054 Gbps. The following are from the
CHANGELOGs:libbladeRF v2.133.0 (2024-06-05)
This version of libbladeRF (modified from v2.5.0) is intended for use with:
FX3 Firmware v2.132.0
FPGA v0.143.1
These version numbers are indicated with a 1 in the MSB, the smallest width
being a byte, hence an added 2^7 = 128 to all previous version numbers.
New features:
BLADERF_FORMAT_SC12_Q11andBLADERF_FORMAT_SC12_Q11_METAfor RXextended when sent from the FPGA -> host, instead packed as 12 bits.
bladerf_sync_rx(), the 12 bit samples can be unpacked andbyte aligned into a buffer identical to
BLADERF_FORMAT_SC16_Q11usingbladerf_align_12_bit_buffer()orbladerf_align_and_deinterleave_12_bit_buffer()host/libraries/libbladeRF_test/test_rx_discont) has been updated to reflect this and can be called after building as./output/libbladeRF_test_rx_discont -c 1 -p 8192 -i 100000 -b 16384 -n 256 -x 31 -m 12m -s 122.88MBLADERF_META_STATUS_SW_OVERRUNandBLADERF_META_STATUS_HW_OVERRUNto distinguish between discontinuities detected in metadata mode leaving the
FPGA (HW) vs discontinuities experienced only by the host (SW).
are subsequently skipped
Bug fixes:
bladerf_set_sample_rateFX3 Firmware v2.132.0 (2023-06-05)
For the RX (device -> host):
benchmark/README.md)benchmarkdirectoryFPGA v0.143.1 (2024-06-05)
Add a 12-bit mode to overcome GPIF limitations for the bladerf2.
As a consequence of required changes to firmware,
packet mode is no longer supported.
Features:
Fixes: