From f6c23be2d9afc023f12dce7bdb971b161bfd7942 Mon Sep 17 00:00:00 2001 From: Michael Ossmann Date: Tue, 30 Dec 2025 11:19:11 -0500 Subject: [PATCH] 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. --- firmware/common/max2831.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/common/max2831.c b/firmware/common/max2831.c index 15b14bdb..e1619a63 100644 --- a/firmware/common/max2831.c +++ b/firmware/common/max2831.c @@ -83,7 +83,7 @@ void max2831_setup(max2831_driver_t* const drv) //set_MAX2831_TXVGA_GAIN(0x3f); /* maximum gain */ set_MAX2831_TXVGA_GAIN(drv, 0x00); /* minimum gain */ - //set_MAX2831_RX_HPF_SEL(drv, MAX2831_RX_HPF_100_HZ); + set_MAX2831_RX_HPF_SEL(drv, MAX2831_RX_HPF_30_KHZ); set_MAX2831_LNA_GAIN(drv, MAX2831_LNA_GAIN_MAX); /* maximum gain */ set_MAX2831_RXVGA_GAIN(drv, 0x18);