Commit Graph

1244 Commits

Author SHA1 Message Date
Michael Ossmann
ec784cbfbc Change from 5th order to 3rd order DSM modulator 2026-01-29 18:59:25 +00:00
Mike Walters
72636b53f5 Move dithering disable to rffc5071_setup 2026-01-29 18:03:57 +00:00
Michael Ossmann
b516631743 Use lower feedback divider when possible
This reverts a previous change that was a workaround for tuning glitches
in sweep mode. Increase of TVCO is a better solution.
2026-01-29 17:43:54 +00:00
Michael Ossmann
40bdea769b Increase RFFC5072 VCO warm-up time TVCO 2026-01-29 17:43:47 +00:00
Michael Ossmann
38abc35e23 Output RFFC5072 LD to test point on HackRF One 2026-01-29 17:42:28 +00:00
Michael Ossmann
845c0c8394 Enable RFFC5072 reference oscillator standby 2026-01-29 17:42:28 +00:00
Michael Ossmann
e95b3afbc3 Zero only the bits we want to be zero
Previously we zeroed all RFFC5072 frequency synthesizer control
registers, resulting in an invalid configuration which could adversely
affect start-up if the part is enabled before a valid frequency is set.
2026-01-29 17:42:28 +00:00
Martin Ling
f4e120e50d Test RFFC5072 PLL lock during startup. 2026-01-26 19:00:53 +00:00
Michael Ossmann
85b57c01c3 Set version to 2026.01.2+ 2026-01-16 18:15:12 -05:00
Michael Ossmann
c228504784 Set version to 2026.01.2 2026-01-16 17:04:43 -05:00
Michael Ossmann
a5af0edabb Ignore re-tune requests
If the requested frequency is the same as the already-configured
frequency, ignore the tuning request.
2026-01-13 14:54:26 -05:00
mndza
76318321f5 gateware: fix HalfBandInterpolator backpressure issues 2026-01-09 16:24:55 +01:00
mndza
29bfc3b78b gateware: fix occasional IQ swap in half-band decimator
Prevent loosing track of the IQ time-multiplexing state within the FIR
filter.
2026-01-09 16:19:45 +01:00
mndza
4724eb5644 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.
2026-01-09 16:19:44 +01:00
mndza
70c211d0ff gateware: generic SGPIOInterface and simpler capture management 2026-01-09 12:33:11 +01:00
Martin Ling
46a9a6e881 Fix clock generator initialisation on rad1o.
On the CCC 2015 rad1o badge, the Si5351C clock generator is powered
by the RF section supply (named VDD on the schematic).

So clock_gen_init() must be called after enable_rf_power().

Since the Si5351C is off when the RF power is off, there should be
no need for the shutdown/init calls at startup.
2026-01-06 16:35:12 +00:00
Michael Ossmann
ca209ed928 Set version to 2026.01.1+ 2026-01-04 22:09:40 -05:00
Michael Ossmann
3793493e02 Set version to 2026.01.1 2026-01-04 21:11:34 -05:00
Michael Ossmann
cd4eb19a2b Merge pull request #1631 from greatscottgadgets/praline-legacy
Add HackRF Pro legacy radio mode
2026-01-03 22:44:28 -05:00
Michael Ossmann
b225a8a7e3 Fix RFFC5072 GPO bug on Jawbreaker 2026-01-03 19:03:15 -05:00
Michael Ossmann
eb9b1e0ffe Improve tuning tables 2026-01-02 16:27:54 -05:00
Michael Ossmann
9949100982 Don't try to self-test during clockgen shutdown 2026-01-01 15:41:23 -05:00
Michael Ossmann
6c25a06d16 Merge pull request #1625 from greatscottgadgets/tx-filters
Praline TX filter bandwidth
2026-01-01 13:46:18 -05:00
Michael Ossmann
ed2e2ce2d2 Use consistent feedback divider in RFFC5072 2025-12-31 14:05:13 -05:00
Michael Ossmann
636f8bde6e Add special tuning configuration case at 0 Hz 2025-12-30 22:07:30 -05:00
Michael Ossmann
5766678b6f Don't repeat tuning and baseband filter setting 2025-12-30 22:04:07 -05:00
Michael Ossmann
1ad8adb449 Automatically configure Praline baseband LPF
For compatibility with old host software, the analog baseband filter is
automatically selected based on the sample rate and offset tuning
configuration. The bandwidth set by legacy vendor request is ignored.
2025-12-30 21:57:58 -05:00
Michael Ossmann
d8a9d445f5 Rename tuning config tables 2025-12-30 21:42:30 -05:00
Michael Ossmann
fc4b9aca68 Implement automatic offset tuning
Add RX tuning table
2025-12-30 21:42:19 -05:00
Michael Ossmann
7e1c17593d Move tuning config search to radio_set_frequency() 2025-12-30 21:42:01 -05:00
Michael Ossmann
10e8b0d934 Decimate automatically in RX and RX sweep modes 2025-12-30 20:35:25 -05:00
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
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
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
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
0e869d31f7 Use measured MAX2831 TX filter bandwidth 2025-12-18 18:20:27 -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