关于CC1120的sniff模式的疑问
CC1120的sniff模式,配置如下,但现在发现个问题。就是如果速率是1.2k,10k,25k的时候通讯基本正常。偶尔会收不到一次。但是速率用50k的时候就接收不到东西了。这是为什么?是哪里配置出错了么?还有就是为什么CC112X_PREAMBLE_CFG0需要配成0x2F才能收到东西?意思是PQT_ERROR会收到16个以上的错误么?这是又为什么?如果可以,希望能给我一套可用的sniff参数配置,需求主要有三点是:50k以上的通讯速率,500ms的唤醒周期,PQT检测。
{CC112X_IOCFG3, 0xB0},
{CC112X_IOCFG2, 0x06},
{CC112X_IOCFG1, 0xB0},
{CC112X_IOCFG0, 0x13},
{CC112X_SYNC_CFG1, 0x0B},
{CC112X_DEVIATION_M, 0x48},
{CC112X_MODCFG_DEV_E, 0x0D},
{CC112X_DCFILT_CFG, 0x1C},
{CC112X_PREAMBLE_CFG0, 0x2F},
{CC112X_IQIC, 0x00},
{CC112X_CHAN_BW, 0x01},
{CC112X_MDMCFG0, 0x05},
{CC112X_AGC_CS_THR, 0xF5},
{CC112X_AGC_CFG1, 0xA0},
{CC112X_SETTLING_CFG, 0x03},
{CC112X_FS_CFG, 0x12},
{CC112X_WOR_CFG0, 0x20},
{CC112X_WOR_EVENT0_MSB, 0x02},
{CC112X_WOR_EVENT0_LSB, 0x14},
{CC112X_PKT_CFG0, 0x00},
{CC112X_RFEND_CFG0, 0x0C},
{CC112X_PKT_LEN, 0x10},
{CC112X_IF_MIX_CFG, 0x00},
{CC112X_FREQOFF_CFG, 0x22},
{CC112X_DRATE2, 0x74},
{CC112X_DRATE1, 0x7A},
{CC112X_DRATE0, 0xE1},
{CC112X_FREQ2, 0x6B},
{CC112X_FREQ1, 0x83},
{CC112X_FREQ0, 0x2F},
{CC112X_FS_DIG1, 0x00},
{CC112X_FS_DIG0, 0x5F},
{CC112X_FS_CAL1, 0x40},
{CC112X_FS_CAL0, 0x0E},
{CC112X_FS_divTWO, 0x03},
{CC112X_FS_DSM0, 0x33},
{CC112X_FS_DVC0, 0x17},
{CC112X_FS_PFD, 0x50},
{CC112X_FS_PRE, 0x6E},
{CC112X_FS_REG_div_CML, 0x14},
{CC112X_FS_SPARE, 0xAC},
{CC112X_FS_VCO0, 0xB4},
{CC112X_XOSC5, 0x0E},
{CC112X_XOSC1, 0x03},
{CC112X_PARTNUMBER, 0x48},
{CC112X_PARTVERSION, 0x21},
{CC112X_RX_STATUS, 0x10},
{0XFFFF, 0xFF},
请问CC1120是和CC1120通讯吗?还是和其他的sub-1G芯片通讯?
你可以参考CC1200, 38.4 kbps 的寄存器配置, 见文档 SWRA428 Page 22。