Skip to content

Instantly share code, notes, and snippets.

@gyaresu
Last active October 30, 2022 14:37
Show Gist options
  • Save gyaresu/d095cefae8a2869cc6ef11567e4a27fb to your computer and use it in GitHub Desktop.
Save gyaresu/d095cefae8a2869cc6ef11567e4a27fb to your computer and use it in GitHub Desktop.
rfcat config - GFSK, Manchester encoded
YardStick One:
In [19]: print(conf)
00000000 (62) RadioConfig: RadioConfig
00000000 (01) sync1: 0x000000ee (238)
00000001 (01) sync0: 0x000000ee (238)
00000002 (01) pktlen: 0x0000003d (61)
00000003 (01) pktctrl1: 0x00000001 (1)
00000004 (01) pktctrl0: 0x00000005 (5)
00000005 (01) addr: 0x000000db (219)
00000006 (01) channr: 0x00000000 (0)
00000007 (01) fsctrl1: 0x0000000c (12)
00000008 (01) fsctrl0: 0x00000000 (0)
00000009 (01) freq2: 0x00000012 (18)
0000000a (01) freq1: 0x0000000a (10)
0000000b (01) freq0: 0x000000aa (170)
0000000c (01) mdmcfg4: 0x000000c6 (198)
0000000d (01) mdmcfg3: 0x00000006 (6)
0000000e (01) mdmcfg2: 0x0000001a (26)
0000000f (01) mdmcfg1: 0x00000003 (3)
00000010 (01) mdmcfg0: 0x00000011 (17)
00000011 (01) deviatn: 0x00000036 (54)
00000012 (01) mcsm2: 0x00000007 (7)
00000013 (01) mcsm1: 0x0000000f (15)
00000014 (01) mcsm0: 0x00000018 (24)
00000015 (01) foccfg: 0x00000017 (23)
00000016 (01) bscfg: 0x0000006c (108)
00000017 (01) agcctrl2: 0x00000003 (3)
00000018 (01) agcctrl1: 0x00000040 (64)
00000019 (01) agcctrl0: 0x00000091 (145)
0000001a (01) frend1: 0x000000b6 (182)
0000001b (01) frend0: 0x00000010 (16)
0000001c (01) fscal3: 0x000000ef (239)
0000001d (01) fscal2: 0x0000002c (44)
0000001e (01) fscal1: 0x00000014 (20)
0000001f (01) fscal0: 0x0000001f (31)
00000020 (01) z0: 0x00000059 (89)
00000021 (01) z1: 0x0000003f (63)
00000022 (01) z2: 0x0000003f (63)
00000023 (01) test2: 0x00000088 (136)
00000024 (01) test1: 0x00000031 (49)
00000025 (01) test0: 0x00000009 (9)
00000026 (01) z3: 0x00000000 (0)
00000027 (01) pa_table7: 0x00000000 (0)
00000028 (01) pa_table6: 0x00000000 (0)
00000029 (01) pa_table5: 0x00000000 (0)
0000002a (01) pa_table4: 0x00000000 (0)
0000002b (01) pa_table3: 0x00000000 (0)
0000002c (01) pa_table2: 0x00000000 (0)
0000002d (01) pa_table1: 0x00000000 (0)
0000002e (01) pa_table0: 0x00000012 (18)
0000002f (01) iocfg2: 0x00000000 (0)
00000030 (01) iocfg1: 0x00000000 (0)
00000031 (01) iocfg0: 0x00000000 (0)
00000032 (01) z4: 0x00000000 (0)
00000033 (01) z5: 0x00000000 (0)
00000034 (01) z6: 0x00000000 (0)
00000035 (01) z7: 0x00000000 (0)
00000036 (01) partnum: 0x00000011 (17)
00000037 (01) chipid: 0x00000003 (3)
00000038 (01) freqest: 0x000000f8 (248)
00000039 (01) lqi: 0x00000000 (0)
0000003a (01) rssi: 0x000000c9 (201)
0000003b (01) marcstate: 0x0000000d (13)
0000003c (01) pkstatus: 0x00000030 (48)
0000003d (01) vco_vc_dac: 0x000000fd (253)
Arduino + cc1101
CC1101_PARTNUM0
CC1101_VERSION - 0x14
CC1101_MARCSTATE - 0x1
IOCFG2: GDO2 Output Pin Configuration - 0x2E
IOCFG1: GDO1 Output Pin Configuration - 0x2E
IOCFG0: GDO0 Output Pin Configuration - 0x6
FIFOTHR - RX FIFO and TX FIFO Thresholds - 0x47
SYNC1: Sync Word High Byte - 0xEE
SYNC0: Sync Word Low Byte - 0xEE
PKTLEN: Fixed = Packet Length; Variable = Maximum allowed. — 0x3D
PKTCTRL1: PQT / RSSI, LQI / Address Check / CRC OK - 0x1
PKTCTRL0: Data whitening / Packet format / CRC Check / Packet length - 0x5
ADDR - Device Address: 0xBD
FSCTRL1: 0x6
FSCTRL0: 0x0
FREQ2: 0x10
FREQ1: 0xA7
FREQ0: 0x62
MDMCFG4: Channel BW - 0xC6
MDMCFG3: Data Rate (Baud) - 0xE7
MDMCFG2: Modulation / Manchester / Sync Mode - 0x1A
MDMCFG1: FEC / Num Preamble / Channel Spacing - 0x2
MDMCFG0: Mantissa of channel spacing - 0x11
Deviation - 0x36
FREND1: Front end RX configuration - 0xB6
FREND0: Front end TX configuration - 0x11
device initialized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment