Michael Ossmann
df6543073b
Add HackRF Pro to firmware/README
2025-12-30 20:13:04 -05:00
Michael Ossmann
0ab032c4fc
Rename hw_sync to trigger
...
Replace hw_sync_mode_t with bool.
2025-12-30 20:10:10 -05:00
Michael Ossmann
8e14cf6b0c
Make tuning_set_frequency() return type consistent
2025-12-30 19:52:05 -05:00
Michael Ossmann
4580824866
Don't commit to table-based tuning for non-praline
2025-12-30 19:42:42 -05:00
Michael Ossmann
c9c5e1bddd
Enable DC block by default
2025-12-30 18:21:35 -05:00
Michael Ossmann
d5361ea523
Don't use doubles in firmware
...
The FPU supports only single-precision floats.
2025-12-30 18:14:28 -05:00
Michael Ossmann
f6c23be2d9
Set default MAX2831 RX HPF to 30 kHz
...
The 100 Hz setting that is recommended by the data sheet doesn't seem to
work correctly. The other settings would be appropriate only with the
extended precision RX gateware.
The 600 kHz setting seems like it should be useful with higher sample
rates, but it increases LPF roll-off.
2025-12-30 18:08:13 -05:00
Michael Ossmann
980c87417e
Clean up compiler warnings
2025-12-30 18:07:18 -05:00
Michael Ossmann
6f02a4c544
Merge pull request #1630 from greatscottgadgets/revert-1610-generic-sgpio-intf
...
Revert "gateware: generic SGPIOInterface, simpler capture management, fix SB_MAC16 resamplers"
2025-12-23 19:01:54 -05:00
Michael Ossmann
0a9e24c7bd
Revert "gateware: generic SGPIOInterface, simpler capture management, fix SB_MAC16 resamplers"
2025-12-23 18:41:15 -05:00
Michael Ossmann
d1be4dba86
Merge pull request #1626 from mndza/prbs-null-check
...
Check for null values in PRBS self-test
2025-12-21 11:59:43 -05:00
Michael Ossmann
5d5c88ed1a
Merge pull request #1610 from mndza/generic-sgpio-intf
...
gateware: generic SGPIOInterface, simpler capture management, fix SB_MAC16 resamplers
2025-12-21 11:49:48 -05:00
mndza
985c18c950
Check for null values in PRBS self-test
2025-12-19 17:12:55 +01:00
mndza
91c005d13e
gateware: fix SB_MAC16 versions of the FIR decimator, interpolator
...
Simplified the filter architecture by using an adder tree for obtaining
the final sum of the subfilters (vs systolic array). Previously, no
backpressure (always_ready=True) worked fine but otherwise we lost
samples.
2025-12-19 17:03:05 +01:00
mndza
99f96d2498
gateware: generic SGPIOInterface and simpler capture management
2025-12-19 17:03:05 +01:00
Michael Ossmann
c011b78f40
Merge pull request #1614 from antoinevg/praline-fpga-regs-def
...
Add register definitions for the standard FPGA bitstream.
2025-12-19 11:01:20 -05:00
Antoine van Gelder
a53385af84
firmware: fix smol typo and off-by-one error
2025-12-19 17:40:11 +02:00
Antoine van Gelder
3faf82ede6
firmware: move fpga selftest to a separate file to resolve blinky linker issues
2025-12-19 16:10:15 +02:00
Antoine van Gelder
4e90ee5c51
firmware: add register definitions for standard fpga bitstream
2025-12-19 16:10:15 +02:00
Michael Ossmann
b9f28460d2
Merge pull request #1619 from antoinevg/praline-max2831-rx-hpf
...
Add support for setting the MAX2831 receiver's HPF corner frequency.
2025-12-19 08:35:01 -05:00
Michael Ossmann
0ea91e2fa0
Merge pull request #1620 from greatscottgadgets/pin-shutdown
...
Improve firmware boot process
2025-12-18 13:44:35 -05:00
Michael Ossmann
444f4311ec
Merge pull request #1622 from greatscottgadgets/loopback-thresholds
...
Adjust transceiver loopback self-test thresholds
2025-12-18 13:44:07 -05:00
Michael Ossmann
8e390c3b79
Adjust transceiver loopback self-test thresholds
2025-12-18 00:27:29 -05:00
Diego Hurtado
4ed9169f4e
fix gateware typo and update build, no DC block in loopback test ( #1621 )
2025-12-17 14:33:06 -05:00
Michael Ossmann
2aaa2213c9
Ensure clock generator off before turning on
...
Do not try to activate clock generator if power supply is disabled on
Praline.
2025-12-17 09:54:24 -05:00
Michael Ossmann
d36805da4e
Activate Praline FPGA and RF supplies selectively
...
Do not turn them on if running from RAM
2025-12-16 21:55:37 -05:00
Michael Ossmann
6f862a1349
Add pin_shutdown()
...
Portions of pin_setup() that establish a safe, low-power state are moved
into the new pin_shutdown(). Use pin_shutdown() to prepare for sleep or
reset or prior to calling pin_setup().
2025-12-16 21:52:53 -05:00
Michael Ossmann
44db1674d7
Use gateware default trigger setting on Praline
...
Don't try to talk to gateware before FPGA configuration
2025-12-16 21:31:48 -05:00
Michael Ossmann
22e56a7076
Simplify pin_setup()
2025-12-16 21:30:50 -05:00
Antoine van Gelder
7be3c7fdf1
firmware: add support for setting max2831 rx hpf corner frequency
2025-12-16 09:30:36 +02:00
Michael Ossmann
1925e5908a
Merge pull request #1615 from mndza/xcvr-loopback-extended
...
Extend self-tests
2025-12-13 11:05:12 -05:00
mndza
d8fa93dcda
Add FPGA SPI test
2025-12-11 18:22:17 +01:00
mndza
c7cf262486
Add skipped and timeout states as possible results for self-tests
2025-12-11 12:48:43 +01:00
mndza
86850fa14f
Extend transceiver loopback self-tests
2025-12-05 09:44:42 +01:00
Michael Ossmann
9039eb063f
Merge pull request #1616 from mndza/safe-pin-setup-fpga
...
Add safe defaults for the FPGA configuration pins in `pin_setup()`
2025-12-04 21:05:46 -05:00
Martin Ling
5ba4886ded
Merge pull request #1613 from antoinevg/fix-zlp-bug
...
Fix zlp bug when request response length falls on a packet boundary.
2025-12-04 16:14:52 +00:00
mndza
e4c0dd3cee
Add safe defaults for the FPGA configuration pins in pin_setup()
2025-12-04 11:17:41 +01:00
Antoine van Gelder
db73ecbf5b
firmware: fix zlp bug when IN transfer length falls on a packet boundary
2025-12-03 15:50:02 +02:00
Michael Ossmann
90e15ec85f
Merge pull request #1612 from martinling/new-rtc-test
...
New method to test RTC oscillator
2025-11-30 23:12:42 -05:00
Martin Ling
4fdd656d46
Add -o / --rtc-osc option to hackrf_debug usage message.
2025-11-30 14:58:05 +00:00
Martin Ling
9726cf56e5
Flip Si5351 register bits back again after testing them flipped.
...
Needed since other tests expect this register to have its initial value.
2025-11-27 04:53:05 +00:00
Martin Ling
23d69bf90c
New method to test RTC oscillator.
2025-11-27 04:41:09 +00:00
Michael Ossmann
00467d0506
Merge pull request #1611 from mndza/fpga-self-test
...
Do not halt when FPGA configuration fails: update report instead.
2025-11-26 19:19:11 -05:00
mndza
24b05d6426
Do not halt when FPGA configuration fails: update report instead.
2025-11-26 20:53:49 +01:00
Michael Ossmann
f5e5ed5ba2
Merge pull request #1608 from greatscottgadgets/fix-selftests
...
Fix self-tests
2025-11-25 21:03:58 -05:00
Michael Ossmann
cde5d754d3
Remove 32 kHz oscillator self-test
...
Reliable oscillator start-up requires several hundred milliseconds which
is longer than we are willing to wait at every boot. We could add an
on-demand test in the future instead of an automatic self-test.
2025-11-25 20:31:44 -05:00
Michael Ossmann
95e7e2a009
Fix readsel for RFFC5072 device ID read
2025-11-25 20:13:01 -05:00
Michael Ossmann
4832619823
Use MAX2831 RSSI mux and ADC for selftest
...
Co-authored-by: Martin Ling <martin-git@earth.li >
2025-11-25 20:12:27 -05:00
Michael Ossmann
29be31bf71
Add hackrf_debug option to read ADC
...
Co-authored-by: Martin Ling <martin-git@earth.li >
2025-11-25 20:08:20 -05:00
Martin Ling
692da36d76
Use _stricmp instead of strcasecmp on MSVC.
2025-11-25 10:16:48 +00:00