altos: Crank cc1120 power down to 0dBm to avoid crashing CPU
authorKeith Packard <keithp@keithp.com>
Sun, 17 Jun 2012 19:42:32 +0000 (12:42 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 17 Jun 2012 19:42:32 +0000 (12:42 -0700)
Looks like RFI from the transmitter is confusing the CPU; lower the
1120 power output from +14dBm to +0dBm to keep the CPU happy.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_cc1120_CC1120.h

index f86fd3846462d3d42cd8555ee6b7511f6fac2920..c900b7f9c2bb4aaa74f825a3db054305f91163aa 100644 (file)
@@ -71,7 +71,8 @@
         CC1120_PKT_CFG0,                       0x00,       /* Packet Configuration, Reg 0 */\r
         CC1120_RFEND_CFG1,                     0x0f,       /* RFEND Configuration, Reg 1 */\r
         CC1120_RFEND_CFG0,                     0x00,       /* RFEND Configuration, Reg 0 */\r
-        CC1120_PA_CFG2,                        0x3f,       /* Power Amplifier Configuration, Reg 2 */\r
+       //        CC1120_PA_CFG2,                        0x3f,       /* Power Amplifier Configuration, Reg 2 */\r
+       CC1120_PA_CFG2,                        0x23,       /* Power Amplifier Configuration, Reg 2 */\r
         CC1120_PA_CFG1,                        0x56,       /* Power Amplifier Configuration, Reg 1 */\r
         CC1120_PA_CFG0,                        0x7b,       /* Power Amplifier Configuration, Reg 0 */\r
         CC1120_PKT_LEN,                        0xff,       /* Packet Length Configuration */\r