各位老师,我公司原有的设备是CC1101(收发都有),现在想用新设备CC1310兼容旧设备,但发现旧设备开了FEC,那在CC1310里可以设置对应的寄存器吗?如果没有相关的寄存器,有没有软件的方法解决呢?CC1101设置如下:
RfWriteReg(CC2500_IOCFG0,0x06);
RfWriteReg(CC2500_FIFOTHR,0x47);
RfWriteReg(CC2500_FSCTRL1,0x06);
RfWriteReg(CC2500_FREQ2,0x10);
RfWriteReg(CC2500_FREQ1,0xA7);
RfWriteReg(CC2500_FREQ0,0x62);
RfWriteReg(CC2500_MDMCFG4,0xC8);
RfWriteReg(CC2500_MDMCFG3,0x8B);
RfWriteReg(CC2500_MDMCFG2,0x13);
RfWriteReg(CC2500_MDMCFG1,0xA2); //这里改成0x22就可以兼容了,但旧设备不能改啊
RfWriteReg(CC2500_DEVIATN,0x34);//RfWriteReg(CC2500_DEVIATN,0x15);
RfWriteReg(CC2500_MCSM0,0x18);
RfWriteReg(CC2500_FOCCFG,0x16);
RfWriteReg(CC2500_WORCTRL,0xFB);
RfWriteReg(CC2500_FSCAL3,0xE9);
RfWriteReg(CC2500_FSCAL2,0x2A);
RfWriteReg(CC2500_FSCAL1,0x00);
RfWriteReg(CC2500_FSCAL0,0x1F);
RfWriteReg(CC2500_TEST2,0x81);
RfWriteReg(CC2500_TEST1,0x35);
RfWriteReg(CC2500_TEST0,0x09);
RfWriteReg(CC2500_CHANNR,SysPara.Ch);
RfWriteReg(CC2500_ADDR,SysPara.RfAddr);
RfWriteReg(CC2500_PKTCTRL1,0x0E);
RfWriteReg(CC2500_PKTCTRL0,0x44);
RfWriteReg(CC2500_PKTLEN,0x05);
user5806587:
回复 Viki Shi:
谢谢您,我先看看资料哈
user5806587:
回复 Viki Shi:
谢谢Viki Shi老师的回答,问题解决了。
另外问一下CC1310的rfEasyLinkListenBeforeTalk例程是低功耗运行的吗
Viki Shi:
回复 user5806587:
是的,easylink的驱动程序里自动设置,一定时间不使用RF会进入休眠模式
user5806587:
回复 Viki Shi:
请问Viki Shi老师,CC1310加载TI-RTOS系统到稳定运行的时间大约是多少?