cc1125进入pwd模式后测试电流有50uA, 手册上是0.4uA。
static const registerSetting_t preferredSettings[]={
{CC112X_IOCFG3, 0x06},
{CC112X_SYNC_CFG1, 0x0B},
{CC112X_DEVIATION_M, 0xA3},
{CC112X_MODCFG_DEV_E, 0x0A},
{CC112X_DCFILT_CFG, 0x1C},
{CC112X_FREQ_IF_CFG, 0x33},
{CC112X_IQIC, 0x46},
{CC112X_CHAN_BW, 0x42},
{CC112X_MDMCFG0, 0x05},
{CC112X_SYMBOL_RATE2, 0x4F}, {CC112X_SYMBOL_RATE1, 0x75},
{CC112X_SYMBOL_RATE0, 0x10},
{CC112X_AGC_REF, 0x20},
{CC112X_AGC_CS_THR, 0x19},
{CC112X_AGC_CFG1, 0xA9},
{CC112X_AGC_CFG0, 0xCF},
{CC112X_FIFO_CFG, 0x00},
{CC112X_SETTLING_CFG, 0x0B}, //0x03
{CC112X_FS_CFG, 0x14},
{CC112X_PKT_CFG0, 0x20},
{CC112X_PA_CFG2, 0x7F},
{CC112X_PA_CFG0, 0x7E},
{CC112X_PKT_LEN, 0xFF},
{CC112X_IF_MIX_CFG, 0x00},
{CC112X_FREQOFF_CFG, 0x22},
{CC112X_FREQ2, 0x56},
{CC112X_FREQ1, 0xec}, //99 ec
{CC112X_FREQ0, 0x28}, //99 28
{CC112X_IF_ADC0, 0x05},
{CC112X_FS_DIG1, 0x00},
{CC112X_FS_DIG0, 0x50},
{CC112X_FS_CAL1, 0x40},
{CC112X_FS_CAL0, 0x0E},
{CC112X_FS_DIVTWO, 0x03},
{CC112X_FS_DSM1, 0x02},
{CC112X_FS_DSM0, 0x33},
{CC112X_FS_DVC1, 0xF3},
{CC112X_FS_DVC0, 0x13},
{CC112X_FS_PFD, 0x50},
{CC112X_FS_PRE, 0x6E},
{CC112X_FS_REG_DIV_CML, 0x14},
{CC112X_FS_SPARE, 0xAC},
{CC112X_FS_VCO0, 0xB8},
{CC112X_XOSC5, 0x0E},
{CC112X_XOSC3, 0xC7},
};
这是寄存器参数配置。
进入PWD模式除了发送
trxSpiCmdStrobe(CC120X_SPWD);
这个指令还需要做其他处理吗。
进入PWD模式之后要发送数据需要重新配置寄存器,和ManualCalibration操作吗?
直接进入ILDE状态发送数据可以吗?
Viki Shi:
trxSpiCmdStrobe(CC120X_SPWD)这个指令就能进入PWD模式。
请问是否在TI开发板上测试,或者手边有没有TI开发板可以辅助测试?
user1779030:
回复 Viki Shi:
没有TI开发板,MCU是用的stm32l0
进入PWD模式之后要发送数据需要重新配置寄存器,和ManualCalibration操作吗?
Susan Yang:
回复 user1779030:
您现在是否可以尝试监控SPI来检查是否实际发送了SPWD选通信号(0x39)?