如题,使用CC1101芯片数据手册参考设计,使用433M 频段,收发有效通信距离只在20m左右,通过打印RSSI 值 最小的RSSI值只有-20左右,小于-20的值就接收不到数据了。
寄存器配置情况如下:
0x0C, // FSCTRL1 Frequency synthesizer control.
0x00, // FSCTRL0 Frequency synthesizer control.
0x10, // FREQ2 Frequency control word, high byte.
0xA7, // FREQ1 Frequency control word, middle byte.
0x62, // FREQ0 Frequency control word, low byte.
0x2d, // MDMCFG4 Modem configuration.
0x3B, // MDMCFG3 Modem configuration.
0x13, // MDMCFG2 Modem configuration.2BYTE SYN WORD
0x22, // MDMCFG1 Modem configuration.
0xF8, // MDMCFG0 Modem configuration.
0x00, // CHANNR Channel number.
0x62, // DEVIATN Modem deviation setting (when FSK modulation is enabled).
0xB6, // FREND1 Front end RX configuration.
0x10, // FREND0 Front end TX configuration.
0x18, // MCSM0 Main Radio Control State Machine configuration.
0x1D, // FOCCFG Frequency Offset Compensation Configuration.
0x1C, // BSCFG Bit synchronization Configuration.
0xC7, // AGCCTRL2 AGC control.
0x00, // AGCCTRL1 AGC control.
0xB0, // AGCCTRL0 AGC control.
0xEA, // FSCAL3 Frequency synthesizer calibration.
0x2A, // FSCAL2 Frequency synthesizer calibration.
0x00, // FSCAL1 Frequency synthesizer calibration.
0x1F, // FSCAL0 Frequency synthesizer calibration.
0x59, // FSTEST Frequency synthesizer calibration.
0x88, // TEST2 Various test settings.
0x31, // TEST1 Various test settings.
0x09, // TEST0 Various test settings.
0x07, // FIFOTHR RXFIFO and TXFIFO thresholds.
0x29, // IOCFG2 GDO2 output pin configuration.
0x06, // IOCFG0D GDO0 output pin configuration. 0x07, // PKTCTRL1 Packet automation control.
0x05, // PKTCTRL0 Packet automation control.
0x00, // ADDR Device address.
0xFF // PKTLEN Packet length.
请工程师或者各位同仁分析一下会是哪里出现的问题
Susan Yang:
-20是正常的吧 建议您根据smartrf studio 进行寄存器配置
Butterfly:
先排除下是硬件还是软件问题,寄存器配置用SmartRF Studio推荐的生成
硬件-20就收不到了,应该比较好查,原理图和参考设计先对比下