Commit graph

2,185 commits

Author SHA1 Message Date
Robert Ghilduta
b9c41b87e4 bladeRF-cli: clear up nomeclature in set samplerate 2023-02-28 04:42:00 -08:00
Robert Ghilduta
347fefe25a fix 2023-02-28 02:25:08 -08:00
Jan Hrach
2db3b8402b Add support for SC16_Q11_META to Python binding. 2023-02-28 00:04:27 -08:00
Josef Gajdusek
0e0102898a libbladeRF: Fix correction setting on bladerf2
The TXA output of the AD9361 is actually the high-frequency one
(and the table of correction registers reflects this).
2023-02-27 23:49:27 -08:00
Rick Farina (Zero_Chaos)
12699a5cf8 use file(GLOB) instead of just globbing
While *.h works for make, it fails when using ninja.  This fixes the bug
using cmake's file(GLOB) as suggested by DarthGandalf in
gentoo-dev-help on irc

https://bugs.gentoo.org/800791
2023-02-16 22:22:33 -08:00
Robert Ghilduta
41ef634609 Revert "libbladeRF: update compatibility for FPGA v0.15.0 from libbladeRF 2.4.0 to 2.5.0"
This reverts commit 0c9b7dfd83.
2023-02-14 00:56:56 -08:00
Robert Ghilduta
ad9fdff1ca libbladeRF: bump to version v2.5.0
Introduces 8bit SC8_Q11 mode, and overclocking mode changes for bladeRF 2.0 micro.
This commits also fixes several bugs, including a locking bug in libbladeRF.
Help menus and abbreviation support expanded in bladeRF-cli.
2023-02-13 03:28:19 -08:00
Robert Ghilduta
ce85cf17fb bladeRF-cli: bump to version 1.9.0
This version includes expanded support for abbreviations and improved help menus.
For example, set freq can be used as an alias for set frequency.
2023-02-13 03:28:19 -08:00
Robert Ghilduta
0c9b7dfd83 libbladeRF: update compatibility for FPGA v0.15.0 from libbladeRF 2.4.0 to 2.5.0 2023-02-13 03:28:19 -08:00
Robert Ghilduta
689d6da345 host: python v1.3.0 2023-02-13 03:28:19 -08:00
Robert Ghilduta
df5b47e651 libbladeRF: rename bladerf_set_feature to bladerf_enable_feature 2023-02-13 03:28:19 -08:00
Ryan Thompson
26bba04947 Revert "bladeRF-cli: experimental TX warning when OVERSAMPLE enabled"
This reverts commit 8b249c2446e5ab3c48b40d8b8518c441976fe1c0.
2023-02-13 03:28:19 -08:00
Ryan Thompson
ce979043b6 libbladeRF: oversample TX bandwidth limit extened
The TX bandwidth was previously constrained to 1/2 BW with the
oversample feature enabled. Now it reaches the whole bandwidth.
2023-02-13 03:28:19 -08:00
Ryan Thompson
a9d7824595 libbladeRF: 8bit format block for non-bladeRF 2.0 devices 2023-02-13 03:28:19 -08:00
Ryan Thompson
2291113eb1 libbladeRF: oversample gain limit implemented
It seems like the ad9361 resets the sample rate OC if the gain val > 11.
2023-02-13 03:28:19 -08:00
Ryan Thompson
de7ba9076b bladeRF-cli: 8bit mode requires bladeRF 2.0 device 2023-02-13 03:28:19 -08:00
Ryan Thompson
8b6323b7f3 bladeRF-cli: bitmode error handling cleaned up 2023-02-13 03:28:19 -08:00
Ryan Thompson
739946c676 bladeRF-cli: incorporated better error handling in set_feature 2023-02-13 03:28:19 -08:00
Ryan Thompson
8b47973dda libbladeRF: set feature blocks unsupported boards 2023-02-13 03:28:19 -08:00
Ryan Thompson
0dac86aaa8 bladeRF-cli: register clear moved to feature set
bladeRF reboot will take place when the the feature is set back to default. This resets the OC register config.
2023-02-13 03:28:19 -08:00
Ryan Thompson
06d2fb1b84 bladeRF-cli: 8bit binary file format added and 8bit RX write corrected 2023-02-13 03:28:19 -08:00
Ryan Thompson
c6095de4a8 bladeRF-cli: generalized CSV file format
With the introduction of 8bit formats, it doesn't make much sense to
make a 16bit CSV format. It works just the same as 8bit would.
2023-02-13 03:28:19 -08:00
Ryan Thompson
a37f40045e libbladeRF: BLADERF_FEATURE prefix prepended to feature names 2023-02-13 03:28:19 -08:00
Ryan Thompson
58bed4a3f3 libbladeRF: sync stream blocks 16bit format with OVERSAMPLE enabled 2023-02-13 03:28:19 -08:00
Ryan Thompson
92d77fb8fb bladeRF-cli: experimental TX warning when OVERSAMPLE enabled 2023-02-13 03:28:19 -08:00
Ryan Thompson
746e528718 bladeRF-cli: OVERSAMPLE feature assign warns user to set samplerate
The bitmode warning has been transferred to a feature set warning as
the feature is now responsible for telling libbladeRF to OC the
AD9361.
2023-02-13 03:28:19 -08:00
Ryan Thompson
28f3c7afb6 libbladeRF: get samplerate OC compensation move to libbladeRF
libbladeRF now doubles the returned sample rate when OVERSAMPLE feature
is enabled. This is necessary as the AD9361 is not self aware of its
overclock but libbladeRF is.
2023-02-13 03:28:19 -08:00
Ryan Thompson
da14b08f5c libbladeRF: OVERSAMPLE and DEFAULT sample rate guards implemented
Setting the sample rate will now check with the currently enabled 
feature. It tests if the sample rate is possible like before
and then checks if the currently enabled feature allows it.
2023-02-13 03:28:19 -08:00
Ryan Thompson
8903adb0ea libbladeRF: set samplerate OC compensation moved to libbladeRF
libbladeRF now halves the sent sample rate when OVERSAMPLE feature
is enabled. This is necessary as the AD9361 is not self aware of its
overclock but libbladeRF is.
2023-02-13 03:28:19 -08:00
Ryan Thompson
86a4cda5bd libbladeRF: AD9361 OC moved to libbladeRF
AD9361 OC moved from bladeRF-cli to libbladeRF
2023-02-13 03:28:19 -08:00
Ryan Thompson
8ab43dff7f bladeRF-cli: over sample feature blocks 16bit bitmode when enabled
When 8bit bitmode is enabled with oversample is set, the user is
notified that it is not permitted.
2023-02-13 03:28:19 -08:00
Ryan Thompson
d018efdde1 bladeRF-cli: OC now feature dependent 2023-02-13 03:28:19 -08:00
Ryan Thompson
89f909e174 bladeRF-cli: feature set/get added to cli 2023-02-13 03:28:19 -08:00
Ryan Thompson
eb1e7ed7e2 libbladeRF: feature set/get added to board 2023-02-13 03:28:19 -08:00
Ryan Thompson
1fa238d2d6 libbladeRF: features added to libbladeRF header 2023-02-13 03:28:19 -08:00
Ryan Thompson
e2f5b369d4 libbladeRF: usleep no longer necessary per fix to stream format config 2023-02-13 03:28:19 -08:00
Ryan Thompson
d27db404c4 bladeRF-cli: 8bit interactive help added to tx, rx, and generate 2023-02-13 03:28:19 -08:00
Ryan Thompson
711a1055b8 libbladeRF: carriage return included in libusb errors 2023-02-13 03:28:19 -08:00
Ryan Thompson
6c1ce329c9 bladeRF-cli: 8bit csv conversion notification
CSV conversion notification corrected for CSV->SC8 Q7 conversion
2023-02-13 03:28:19 -08:00
Ryan Thompson
dcd50e2bf3 bladeRF-cli: bitmode change limited
The bit mode is only assigned if the requested bit mode is different
than the current bit mode.
2023-02-13 03:28:19 -08:00
Ryan Thompson
14cc910436 bladeRF-cli: print samplerate 8bit mode support 2023-02-13 03:28:19 -08:00
Ryan Thompson
ae79cfa35c bladeRF-cli: set samplerate prints appropriate values for 8bit mode 2023-02-13 03:28:19 -08:00
Ryan Thompson
b87a231e5e bladeRF-cli: fast sample rate recommendation
Samples rates set between 61.44MHz and 122.88MHz will receive a
recommendation to swtich to 8bit mode.
2023-02-13 03:28:19 -08:00
Ryan Thompson
d44aeea715 bladeRF-cli: AD9361 OC added
Setting the bit mode to 8bit along with a sample rate reassignment
will over clock the AD9361
2023-02-13 03:28:19 -08:00
Ryan Thompson
5ce0abfba1 bladeRF-cli: rxtx_data resolved through cli_state 2023-02-13 03:28:19 -08:00
Ryan Thompson
b5d792a970 bladeRF-cli: tx_csv_to_sc16q11() changed to tx_csv_to_bladerf_format() 2023-02-13 03:28:19 -08:00
Ryan Thompson
3998f35749 bladeRF-cli: RX accepts 8bit samples
RX can decode and write incoming 8bit samples to a CSV
given the bitmode has been set to 8bit.
2023-02-13 03:28:19 -08:00
Ryan Thompson
da350b0b4a bladeRF-cli: generate magnitude reduced for 8bit samples 2023-02-13 03:28:19 -08:00
Robert Ghilduta
c15525d640 bladeRF-cli: 8bit CSV sample conversion implemented in TX 2023-02-13 03:28:19 -08:00
Ryan Thompson
6162224ebb bladeRF-cli: print and set bitmode functions implemented 2023-02-13 03:28:19 -08:00