This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CC1101:中继器- Rx 模式、无法接收数据

Guru**** 2539500 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/988306/cc1101-repeater---rx-mode-cannot-receive-data

器件型号:CC1101
主题中讨论的其他器件:CC 调试器

嗨、大家好、

我现在正在挣扎几天、需要一些建议。 我想为我的智能家居构建一个射频中继器。

我能够以串行同步模式接收数据、但我更喜欢 FIFO 解决方案、但我找不到正确的设置。

一位朋友用 RTL-SDR 为我录制了信号:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

ff555555565a99a6a5aa5669a659969aa96aaa99aa99599a995966
ff555555565a99a6a5aa5669a659969aa96aaa99aa99599a995966

我想第一部分是前导码还是唤醒? 为什么会有延迟?

该信号的正确 Sync0和 Sync1是什么? 我累了0x55、0x55;0x56、0x5A;0xFF、0x55。

我也无法检测 CRC 和有效载荷。

以下是我的默认设置(通过 RF Studio 生成):

#define CC1101_DEFVAL_IOCFG2     0x2E        // GDO2 Output Pin Configuration
#define CC1101_DEFVAL_IOCFG1     0x2E        // GDO1 Output Pin Configuration
#define CC1101_DEFVAL_IOCFG0     0x06        // GDO0 Output Pin Configuration
#define CC1101_DEFVAL_FIFOTHR    0x47        // RX FIFO and TX FIFO Thresholds

#define CC1101_DEFVAL_SYNC1      0x55        // Synchronization word, high byte 
#define CC1101_DEFVAL_SYNC0      0x55        // Synchronization word, low byte  

#define CC1101_DEFVAL_PKTLEN     0x50        // Packet Length
#define CC1101_DEFVAL_PKTCTRL1   0x04        // Packet Automation Control
#define CC1101_DEFVAL_PKTCTRL0   0x00        // Packet Automation Control

#define CC1101_DEFVAL_ADDR       0x00        // Device Address
#define CC1101_DEFVAL_CHANNR     0x00        // Channel Number

#define CC1101_DEFVAL_FSCTRL1    0x06        // Frequency Synthesizer Control
#define CC1101_DEFVAL_FSCTRL0    0x00        // Frequency Synthesizer Control

// Carrier frequency = 433.92 MHz
#define CC1101_DEFVAL_FREQ2_433  0x10        // Frequency Control Word, High Byte
#define CC1101_DEFVAL_FREQ1_433  0xB0        // Frequency Control Word, Middle Byte
#define CC1101_DEFVAL_FREQ0_433  0x71        // Frequency Control Word, Low Byte              

#define CC1101_DEFVAL_MDMCFG4    0xF6        // Modem Configuration
#define CC1101_DEFVAL_MDMCFG3    0x9F        // Modem Configuration                          
#define CC1101_DEFVAL_MDMCFG2    0x31        // Modem Configuration
#define CC1101_DEFVAL_MDMCFG1    0x02        // Modem Configuration                         
#define CC1101_DEFVAL_MDMCFG0    0xF8        // Modem Configuration       

#define CC1101_DEFVAL_DEVIATN    0x15        // Modem Deviation Setting
#define CC1101_DEFVAL_MCSM2      0x07        // Main Radio Control State Machine Configuration
#define CC1101_DEFVAL_MCSM1      0x20        // Main Radio Control State Machine Configuration
#define CC1101_DEFVAL_MCSM0      0x18        // Main Radio Control State Machine Configuration

#define CC1101_DEFVAL_FOCCFG     0x16        // Frequency Offset Compensation Configuration
#define CC1101_DEFVAL_BSCFG      0x6C        // Bit Synchronization Configuration
#define CC1101_DEFVAL_AGCCTRL2   0x04        // AGC Control
#define CC1101_DEFVAL_AGCCTRL1   0x40        // AGC Control
#define CC1101_DEFVAL_AGCCTRL0   0x91        // AGC Control

#define CC1101_DEFVAL_WOREVT1    0x87        // High Byte Event0 Timeout
#define CC1101_DEFVAL_WOREVT0    0x6B        // Low Byte Event0 Timeout
#define CC1101_DEFVAL_WORCTRL    0xFB        // Wake On Radio Control
#define CC1101_DEFVAL_FREND1     0x56        // Front End RX Configuration
#define CC1101_DEFVAL_FREND0     0x11        // Front End TX Configuration
#define CC1101_DEFVAL_FSCAL3     0xE9        // Frequency Synthesizer Calibration
#define CC1101_DEFVAL_FSCAL2     0x2A        // Frequency Synthesizer Calibration
#define CC1101_DEFVAL_FSCAL1     0x00        // Frequency Synthesizer Calibration
#define CC1101_DEFVAL_FSCAL0     0x1F        // Frequency Synthesizer Calibration
#define CC1101_DEFVAL_RCCTRL1    0x41        // RC Oscillator Configuration
#define CC1101_DEFVAL_RCCTRL0    0x00        // RC Oscillator Configuration
#define CC1101_DEFVAL_FSTEST     0x59        // Frequency Synthesizer Calibration Control
#define CC1101_DEFVAL_PTEST      0x7F        // Production Test
#define CC1101_DEFVAL_AGCTEST    0x3F        // AGC Test
#define CC1101_DEFVAL_TEST2      0x88        // Various Test Settings                                            
#define CC1101_DEFVAL_TEST1      0x35        // Various Test Settings                         
#define CC1101_DEFVAL_TEST0      0x0B        // Various Test Settings                         

我期待获得任何建议!

此致 Fabi

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    数据流是否使用曼彻斯特编码?  

    " 串行 同步模式":该模式的工作方式与 FIFO 模式基本相同、唯一的区别是输出在一个引脚上输出、而不是在 FIFIO 上输出。

    对于这种类型的工作、请考虑使用 SmartRF Studio、您可以更轻松地查看接收到的内容等

    当我们对您尝试重复的信号一无所知时、我们所能提供的帮助非常有限。  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    今天我购买了 CC 调试器。 希望我能在几天内提供更多信息。

    此致。