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
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
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
8b47973dda
libbladeRF: set feature blocks unsupported boards
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
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
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
711a1055b8
libbladeRF: carriage return included in libusb errors
2023-02-13 03:28:19 -08:00
Robert Ghilduta
bed0a3b8fb
libbladeRF: add missing sc8 <-> sample conversion
2023-02-13 03:28:19 -08:00
Ryan Thompson
cf32dd6516
libbladeRF: synchronous stream accepts 8bit format
...
Although it is recognized, we're running into a segmentation fault because of it.
2023-02-13 03:28:19 -08:00
Ryan Thompson
4150c8fa9b
host: test_digital_loopback bitmode select added
...
The digital loopback test now allows for the selection of 8bit or 16bit
mode from the command line using -b or --bitmode command line
arguments.
2023-02-13 03:28:19 -08:00
Ryan Thompson
aa3717a2af
hdl: FPGA version update v0.15.0
...
FPGA version updated to v0.15.0 to represent the addition of 8bit mode.
2023-02-13 03:28:19 -08:00
Ryan Thompson
5b4f3cbbf8
libbladeRF: 8bit fpga version check implemented
...
async.c and sync.c throw an error if 8bit mode is detected with an fpga
version < 0.15.0
2023-02-13 03:28:19 -08:00
Robert Ghilduta
78affc3823
libbladeRF: add 8bit sample mode support
2023-02-13 03:28:19 -08:00
Robert Ghilduta
1da981fdd7
libbladeRF: define 8bit sample mode macro
2023-02-13 03:28:19 -08:00
Ryan Thompson
6c20bc9e06
host: test_digital_loopback RX stream enable fix
...
rx module in test_digital_loopback now waits for a running tx stream before enabling
2023-02-13 03:28:19 -08:00
Ryan Thompson
ea0edf3f52
host: comments added to test_digital_loopback
...
clarified rx, tx, and loopback initializations and enabled stream
sections
2023-02-13 03:28:19 -08:00
Ryan Thompson
15b7d9c3b6
host: squashed cmake warnings
...
updated cmake requirement from 2.8 to 2.8.12
2023-02-13 03:28:19 -08:00
josh-sw-is-fun
11ba36daa3
libbladeRF: Use mutex around stream config/deconfig
...
Running test_digital_loopback on bladeRF A4, the TX/RX threads cause timeout
in nios_access.c with 'Failed to receive NIOS II response'.
Using libusb backend in docker Ubuntu 22.04 container.
2022-12-01 23:20:02 -08:00
Milosch Meriac
0ffb795c45
Fix broken memcpy
...
Code copies data from pointer location instead from pointer target - resulting in invalid copied data and overreading from the pointer pointr position.
2022-07-24 05:17:02 -07:00
Gregory R. Warnes
d097b96c36
Standardize version information.
2022-04-03 19:54:51 -07:00
Gregory R. Warnes
bcea4c95f1
Add missing loopback type 'RFIC_BIST'.
2022-04-03 19:54:25 -07:00
Gregory R. Warnes
f5526a1f76
More of add explicit conversion of channel enum strings
...
to values.
2022-04-03 19:54:13 -07:00
Gregory R. Warnes
cca85d3f9c
Merge PR773: Fix return value in error path, and write error message to log.
2022-04-03 19:52:12 -07:00
Gregory R. Warnes
7b3cf9df36
Add special case for loading windows DLL in python
...
bindings.
2022-04-03 19:51:57 -07:00
Gregory R. Warnes
8019032d3d
Fix handling of module default value for calibrate method.
2022-04-03 19:50:44 -07:00
Gregory R. Warnes
0f97fe70fb
MATLAB isn't automatically handling conversion of
...
the `bladerf_channel` enum strings because
`bladerf_channel` is declared as an int, rather than
as an enum.
To resolve this, add a new static method
`bladeRF.str2ch` to handle the conversion
and use it to wrap appropriate `obj.channel`
and `obj.module` arguments in function calls.
Further, replace enum strings
`BLADERF_CORR_LMS_DCOFF...` --> `BLADERF_CORR_DCOFF...`
and
`BLADERF_CORR_FPGA_PHASE...` --> `BLADERF_CORR_PHASE...`
because MATLAB doesn't pick up the #define
which does so for the C code.
2022-04-03 19:50:32 -07:00
Milosch Meriac
1ebd2f708d
Add support for xA5 W25Q64JV flash chip
...
- enable detection of WINBOND W25Q64JV chip
- add debug output to enable chip ID output for debugging future misdetection issues
2022-04-03 19:48:18 -07:00
Robert Ghilduta
f5d52f3f24
host: python v1.2.1
2022-04-03 19:39:10 -07:00
Robert Ghilduta
cc50e218f9
matlab: bump to v1.0.5
2022-04-03 19:39:10 -07:00
Robert Ghilduta
8f8847f936
libbladeRF: bump to version v2.4.1
...
Fix packet mode bugs, and add support for bladeRF 2.0 micro xA5, and Wishbone
master NiOS peripheral.
2022-04-03 19:39:10 -07:00
Robert Ghilduta
d16046acf3
hdl: bump version to 0.14.0
2022-04-03 19:39:10 -07:00
Robert Ghilduta
54c519079e
libbladeRF: add Wishbone master control functions
2022-04-03 19:39:10 -07:00
Robert Ghilduta
a348a7a667
libbladeRF: fix enabling packet mode on bladeRF 1.0
2022-04-03 19:39:10 -07:00
Robert Ghilduta
7740242c7b
add bladeRF 2.0 micro xA5 support to libbladeRF and FPGA
2022-04-03 19:39:10 -07:00