SingingCat 0
application
ti1101-settings.h
1#include "main-header.h"
2
3// RF settings for CC1101
4
5
6// RF settings for CC1101
7
8/* Device address = 0 */
9/* Channel spacing = 199.951172 */
10/* Carrier frequency = 867.999939 */
11/* Preamble count = 4 */
12/* Whitening = false */
13/* Data format = Normal mode */
14/* Data rate = 4.79794 */
15/* CRC autoflush = false */
16/* PA ramping = false */
17/* Deviation = 25.390625 */
18/* Packet length mode = Variable packet length mode. Packet length configured by the first byte after sync word */
19/* Manchester enable = false */
20/* Address config = No address check */
21/* Channel number = 0 */
22/* RX filter BW = 101.562500 */
23/* CRC enable = true */
24/* Modulated = true */
25/* Modulation format = GFSK */
26/* Base frequency = 867.999939 */
27/* Sync word qualifier mode = 30/32 sync word bits detected */
28/* TX power = 0 */
29/* Packet length = 255 */
30
31
32const byte RFSETTINGS[] = { \
33 0x0000, 0x29, /* iocfg2: GDO2 Output Pin Configuration */ \
34 0x0001, 0x2E, /* iocfg1: GDO1 Output Pin Configuration */ \
35 0x0002, 0x41, /* iocfg0: GDO0 Output Pin Configuration (or 0x06) */ \
36 0x0003, 0x41, /* fifothr: RX FIFO and TX FIFO Thresholds */ \
37 0x0007, 0x00, /* pktctrl1: Packet Automation Control */ \
38 0x0008, 0x41, /* pktctrl0: Packet Automation Control (or 0x45) */ \
39 0x0009, 0x00, /* addr: Device Address */ \
40 0x000b, 0x06, /* fsctrl1: Frequency Synthesizer Control */ \
41 0x000d, 0x21, /* freq2: Frequency Control Word, High Byte */ \
42 0x000e, 0x62, /* freq1: Frequency Control Word, Middle Byte */ \
43 0x000f, 0x76, /* freq0: Frequency Control Word, Low Byte */ \
44 0x0010, 0xC7, /* mdmcfg4: Modem Configuration */ \
45 0x0011, 0x83, /* mdmcfg3: Modem Configuration */ \
46 0x0012, 0x13, /* mdmcfg2: Modem Configuration */ \
47 0x0015, 0x40, /* deviatn: Modem Deviation Setting */ \
48 0x0016, 0x07, /* mcsm2: Main Radio Control State Machine Configuration */ \
49 0x0017, 0x0f, /* mcsm1: Main Radio Control State Machine Configuration */ \
50 0x0018, 0x18, /* mcsm0: Main Radio Control State Machine Configuration */ \
51 0x0019, 0x16, /* foccfg: Frequency Offset Compensation Configuration */ \
52 0x001b, 0x43, /* agcctrl2: AGC Control */ \
53 0x0020, 0xFB, /* worctrl: Wake On Radio Control */ \
54 0x0023, 0xE9, /* fscal3: Frequency Synthesizer Calibration */ \
55 0x0024, 0x2A, /* fscal2: Frequency Synthesizer Calibration */ \
56 0x0025, 0x00, /* fscal1: Frequency Synthesizer Calibration */ \
57 0x0026, 0x1F, /* fscal0: Frequency Synthesizer Calibration */ \
58 0x002c, 0x81, /* test2: Various Test Settings */ \
59 0x002d, 0x35, /* test1: Various Test Settings */ \
60 0x002e, 0x09, /* test0: Various Test Settings */ \
61 0, 0,
62};