求CC1200 433mHz寄存器配置
问题简述:
采用smartRF给出的配置,发送可以,接收不行,发送的信号强度用仪器测得可达到10DBm,接收端接收不到任何信号。
smartRF给出的配置如下:
// Carrier frequency = 433.999939
// Manchester enable = false
// Packet length mode = Variable
// Packet length = 255
// Whitening = false
// Device address = 0
// Symbol rate = 100
// Modulation format = 2-GFSK
// Address config = No address check
// Deviation = 49.896240
// Bit rate = 100
// RX filter BW = 208.333333
// Packet bit length = 0
static const registerSetting_t preferredSettings[]=
{
{CC1200_IOCFG2, 0x06},
{CC1200_SYNC_CFG1, 0xA8},
{CC1200_SYNC_CFG0, 0x23},
{CC1200_DEVIATION_M, 0x47},
{CC1200_MODCFG_DEV_E, 0x0C},
{CC1200_DCFILT_CFG, 0x4B},
{CC1200_PREAMBLE_CFG0, 0x8A},
{CC1200_IQIC, 0xD8},
{CC1200_CHAN_BW, 0x08},
{CC1200_MDMCFG1, 0x42},
{CC1200_MDMCFG0, 0x05},
{CC1200_SYMBOL_RATE2, 0xA4},
{CC1200_SYMBOL_RATE1, 0x7A},
{CC1200_SYMBOL_RATE0, 0xE1},
{CC1200_AGC_REF, 0x2A},
{CC1200_AGC_CS_THR, 0xF6},
{CC1200_AGC_CFG1, 0x12},
{CC1200_AGC_CFG0, 0x80},
{CC1200_FIFO_CFG, 0x00},
{CC1200_FS_CFG, 0x14},
{CC1200_PKT_CFG2, 0x00},
{CC1200_PKT_CFG0, 0x20},
{CC1200_PKT_LEN, 0xFF},
{CC1200_IF_MIX_CFG, 0x1C},
{CC1200_TOC_CFG, 0x03},
{CC1200_MDMCFG2, 0x02},
{CC1200_FREQ2, 0x56},
{CC1200_FREQ1, 0xCC},
{CC1200_FREQ0, 0xCC},
{CC1200_IF_ADC1, 0xEE},
{CC1200_IF_ADC0, 0x10},
{CC1200_FS_DIG1, 0x04},
{CC1200_FS_DIG0, 0x50},
{CC1200_FS_CAL1, 0x40},
{CC1200_FS_CAL0, 0x0E},
{CC1200_FS_divTWO, 0x03},
{CC1200_FS_DSM0, 0x33},
{CC1200_FS_DVC1, 0xF7},
{CC1200_FS_DVC0, 0x0F},
{CC1200_FS_PFD, 0x00},
{CC1200_FS_PRE, 0x6E},
{CC1200_FS_REG_div_CML, 0x1C},
{CC1200_FS_SPARE, 0xAC},
{CC1200_FS_VCO0, 0xB5},
{CC1200_IFAMP, 0x09},
{CC1200_XOSC5, 0x0E},
{CC1200_XOSC1, 0x03},
};
哪位做过cc1200的兄弟,帮忙解决一下,或提供一下正确的配置,万分感谢!
Miller, 可以从如下入手。
TI smartRFstudio的默认配置。有用TI的开发板做过验证么?
本地晶振的中心频率调过吗?
BR. Albin
如果是用的SmartRF Studio 里面的默认配置,应该配置没有问题。很可能是频率误差造成。可以用频谱仪看一下Tx端发Continuous Tx 的频率误差。
“接收不到任何信号”是什么意思?可以拿一块TI的评估板用SmartRF Studio通过PC控制,设置为接收状态,看能否收到。
问题已解决,因SPI操作问题导致,还是要多谢各位