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.
This commit is contained in:
Michael Ossmann
2025-12-30 11:19:11 -05:00
parent 980c87417e
commit f6c23be2d9

View File

@@ -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);