• 易迪拓培训,专注于微波、射频、天线设计工程师的培养
首页 > 无线通信 > 技术讨论 > CC1101 在2FSK模式下怎么修改添加ASK模式?

CC1101 在2FSK模式下怎么修改添加ASK模式?

录入:edatop.com     点击:

CC1101 在2FSK模式下怎么修改添加ASK模式?



这是2FSK发送的寄存器配置,现在想修改添加ASK模式请问各位大神我应该怎么修改程序?

const RF_SETTINGS rfSettings = //channel number变了
{
0x00, //FSCTRL2;
0x08, // FSCTRL1 Frequency synthesizer control.
0x00, // FSCTRL0 Frequency synthesizer control.
0x10, // FREQ2 Frequency control word, high byte.
0xA3, // FREQ1 Frequency control word, middle byte.
0x72, // FREQ0 Frequency control word, low byte.

0x5C, // MDMCFG4 Modem configuration.
0x15, // MDMCFG3 Modem configuration.
0x03, // MDMCFG2 Modem configuration.
0x02, // MDMCFG1 Modem configuration.
0xF8, // MDMCFG0 Modem configuration.

0x0f, // CHANNR Channel number.
0x47, // DEVIATN Modem deviation setting (when FSK modulation is enabled).
0xB6, // FREND1 Front end RX configuration.
0x10, // FREND0 Front end RX 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.
0xB2, // AGCCTRL0 AGC control.

0xEA, // FSCAL3 Frequency synthesizer calibration.
0x2A, // FSCAL2 Frequency synthesizer calibration.
0x00, // FSCAL1 Frequency synthesizer calibration.
0x11, // FSCAL0 Frequency synthesizer calibration.
0x59, // FSTEST Frequency synthesizer calibration.
0x81, // TEST2 Various test settings.
0x35, // TEST1 Various test settings.
0x09, // TEST0 Various test settings.
0x2E, // IOCFG2 GDO2 output pin configuration.
0x06, // IOCFG0 GDO0 output pin configuration. Refer to SmartRF?Studio User Manual for detailed pseudo register explanation.

0x04, // PKTCTRL1 Packet automation control.
0x45, // PKTCTRL0 Packet automation control.
0x00, // ADDR Device address.
0xFF // PKTLEN Packet length.
};

怎么改呢?请各位大神指教。



修改MDMCFG2寄存器
6:4 bit
MOD_FORMAT[2:0]
建议通过SmartRF Studio 7来生成寄存器Table

上一篇:CC1101在快速接收两个数据包的处理方式?
下一篇:CC2564的MLDO要软件开关控制吗?

手机天线设计培训教程详情>>

手机天线设计培训教程 国内最全面、系统、专业的手机天线设计培训课程,没有之一;是您学习手机天线设计的最佳选择...【More..

射频和天线工程师培训课程详情>>

  网站地图