From 4d8e7ec8d8903006669c304870fa876888669e34 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Thu, 17 Sep 2015 21:43:14 +0200 Subject: [PATCH] Change some defaults for RF settings --- extdrv/cc1101.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extdrv/cc1101.c b/extdrv/cc1101.c index 0d3746f..36d269a 100644 --- a/extdrv/cc1101.c +++ b/extdrv/cc1101.c @@ -408,12 +408,12 @@ static uint8_t rf_init_settings[] = { CC1101_REGS(gdo_config[2]), 0x07, /* GDO_0 - Assert on CRC OK | Disable temp sensor */ /* RX FIFO and TX FIFO thresholds - 0x03 - FIFOTHR */ - CC1101_REGS(fifo_thresholds), 0x07, /* Bytes in TX FIFO:33 - Bytes in RX FIFO:32 */ + CC1101_REGS(fifo_thresholds), 0x47, /* ADC_retention - Bytes in TX FIFO:33 - Bytes in RX FIFO:32 */ /* Packet length - 0x06 - PKTLEN */ CC1101_REGS(packet_length), 0x3F, /* Max packet length of 63 bytes */ /* Packet automation control - 0x07 .. 0x08 - PKTCTRL1..0 */ - CC1101_REGS(pkt_ctrl[0]), 0x07, /* Accept all sync, No CRC auto flush, Append, Addr check and Bcast */ + CC1101_REGS(pkt_ctrl[0]), 0x0F, /* Accept all sync, CRC err auto flush, Append, Addr check and Bcast */ CC1101_REGS(pkt_ctrl[1]), 0x05, /* No data Whitening, Use fifos, CRC check, Variable pkt length */ /* Device address - 0x09 - ADDR */ -- 2.43.0