之前已经实现了两片CC1101的收发功能,后来需要修改freq和MDMCFG寄存器的参数,
CC1101_WriteReg(CC1101_REG_FREQ2, 0x10); CC1101_WriteReg(CC1101_REG_FREQ1, 0xA7); CC1101_WriteReg(CC1101_REG_FREQ0, 0x62); CC1101_WriteReg(CC1101_REG_MDMCFG4, 0xCA); CC1101_WriteReg(CC1101_REG_MDMCFG3, 0x83); CC1101_WriteReg(CC1101_REG_MDMCFG2, 0x03); CC1101_WriteReg(CC1101_REG_MDMCFG1, 0x22); CC1101_WriteReg(CC1101_REG_MDMCFG0, 0xF8);
另一片cc1101采用查询gdo2引脚接收数据,但gdo2电平不变了
请问是什么问题?
Butterfly:
两边频点一样吗?频谱仪有没有看过