mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-07 07:48:15 +01:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user