altos: Open up the DVGA gain to use all of the available settings
authorKeith Packard <keithp@keithp.com>
Tue, 30 Apr 2013 07:12:44 +0000 (00:12 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 8 May 2013 03:08:00 +0000 (20:08 -0700)
We usually work in RF quiet areas; let the AGC hardware try all of the
available gain settings.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/cc1111/ao_radio.c

index 4842486b5e170c5625a5c5a9f3190e2381b32a6b..88b8f686e21c09f1c8193076e0f12d5bf4cc2c0c 100644 (file)
@@ -187,7 +187,7 @@ static __code uint8_t radio_setup[] = {
                                 RF_BSCFG_BS_POST_KI_PRE_KI|
                                 RF_BSCFG_BS_POST_KP_PRE_KP|
                                 RF_BSCFG_BS_LIMIT_0),
                                 RF_BSCFG_BS_POST_KI_PRE_KI|
                                 RF_BSCFG_BS_POST_KP_PRE_KP|
                                 RF_BSCFG_BS_LIMIT_0),
-       RF_AGCCTRL2_OFF,        0x43,
+       RF_AGCCTRL2_OFF,        0x03,
        RF_AGCCTRL1_OFF,        0x40,
        RF_AGCCTRL0_OFF,        0x91,
 
        RF_AGCCTRL1_OFF,        0x40,
        RF_AGCCTRL0_OFF,        0x91,