summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-06-17 12:42:32 -0700
committerKeith Packard <keithp@keithp.com>2012-06-17 12:42:32 -0700
commit5df94f74522357e062f4ec2786ff825381b2fb10 (patch)
tree9da9ba2ab8b366025533f486fcdebdc223678710
parente856df474c386b8df3d2bd9e87b766ae0439efbf (diff)
altos: Crank cc1120 power down to 0dBm to avoid crashing CPU
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>
-rw-r--r--src/drivers/ao_cc1120_CC1120.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/ao_cc1120_CC1120.h b/src/drivers/ao_cc1120_CC1120.h
index f86fd384..c900b7f9 100644
--- a/src/drivers/ao_cc1120_CC1120.h
+++ b/src/drivers/ao_cc1120_CC1120.h
@@ -71,7 +71,8 @@
CC1120_PKT_CFG0, 0x00, /* Packet Configuration, Reg 0 */
CC1120_RFEND_CFG1, 0x0f, /* RFEND Configuration, Reg 1 */
CC1120_RFEND_CFG0, 0x00, /* RFEND Configuration, Reg 0 */
- CC1120_PA_CFG2, 0x3f, /* Power Amplifier Configuration, Reg 2 */
+ // CC1120_PA_CFG2, 0x3f, /* Power Amplifier Configuration, Reg 2 */
+ CC1120_PA_CFG2, 0x23, /* Power Amplifier Configuration, Reg 2 */
CC1120_PA_CFG1, 0x56, /* Power Amplifier Configuration, Reg 1 */
CC1120_PA_CFG0, 0x7b, /* Power Amplifier Configuration, Reg 0 */
CC1120_PKT_LEN, 0xff, /* Packet Length Configuration */