My cc1101 configuration settings.
CC1101 always receives, never transmits. Calibrate manually every 30 seconds as part of a cc1101 monitor routine.
const uint8_t CC1100_CONFIG[ ] =
{
0x0D , // IOCFG2 (0x00) serial data out
0x2E , // IOCFG1 (0x01) high impedence
0x0E , // IOCFG0 (0x02) carrier sense
0x47 , // FIFOTHR (0x03) TEST1=0x35,TEST2=0x81,0dBrx fifo=32
0xD3 , // SYNC1 (0x04)
0x91 , // SYNC0 (0x05)
0xFF , // PKTLEN (0x06)
0x00 , // PKTCTRL1 (0x07) no preamble qual,no rx fifo flush,no append, no addr chk
0x32 , // PKTCTRL0 (0x08) no whitening, asynchronous serial,no crc, infinite packet length
0x00 , // ADDR (0x09)
0x00 , // CHANNR (0x0A)
0x08 , // FSCTRL1 (0x0B)
0x00 , // FSCTRL0 (0x0C)
//-------------------------------------------
0x10 , // FREQ2 (0x0D)
0x13 , // FREQ1 (0x0E)
0x65 , // FREQ0 (0x0F)
//-------------------------------------------
0xC8 , // MDMCFG4 (0x10)
0x68 , // MDMCFG3 (0x11)
0xB0 , // MDMCFG2 (0x12) current optimized, ASK/OOK,disable manchester, no sync/preamble
0x22 , // MDMCFG1 (0x13) no fec, 4 preamble
0xF8 , // MDMCFG0 (0x14)
//-------------------------------------------
0x24 , // DEVIATN (0x15)
0x07 , // MCSM2 (0x16)
0x30 , // MCSM1 (0x17)
0x18 , // MCSM0 (0x18)
0x16 , // FOCCFGR (0x19)
0x6C , // BSCFG (0x1A)
//-------------------------------------------
0x06 , // AGCTRL2 (0x1B) DVGA=All, LNA=Max, Target=40
0x00 , // AGCTRL1 (0x1C)
0x91 , // AGCTRL0 (0x1D)
//-------------------------------------------
0x87 , // WOREVT1 (0x1E)
0x6B , // WOREVT0 (0x1F)
0xFB , // WORCTRL (0x20)
0x56 , // FREND1 (0x21)
0x11 , // FREND0 (0x22)
0xE9 , // FSCAL3 (0x23)
0x2A , // FSCAL2 (0x24)
0x00 , // FSCAL1 (0x25)
0x1F , // FSCAL0 (0x26)
0x41 , // RCCTRL1 (0x27)
0x00 , // RCCTRL0 (0x28)
0x59 , // FSTEST (0x29)
0x7F , // PTEST (0x2A)
0x3F , // AGCTEST (0x2B)
0x81 , // TEST2 (0x2C)
0x35 , // TEST1 (0x2D)
0x0B // TEST0 (0x2E)
} ;