Other Parts Discussed in Thread: CC115L,
CC115L发送的,CC113L能收到,但读出来的数据是乱码;配置是这样的
static const registerSetting_t preferredSettings[]=
{
{CC115L_IOCFG2, 0x29},
{CC115L_IOCFG1, 0x2E},
{CC115L_IOCFG0, 0x06},
{CC115L_FIFOTHR, 0X40},
{CC115L_SYNC1, 0XD3},
{CC115L_SYNC0, 0X91},
{CC115L_PKTCTRL0, 0x05},
{CC115L_CHANNR, 0x01},
{CC115L_FREQ2, 0x0C},
{CC115L_FREQ1, 0x1D},
{CC115L_FREQ0, 0x89},
{CC115L_MDMCFG4, 0x2D},
{CC115L_MDMCFG3, 0x3B},
{CC115L_MDMCFG2, 0x03},
{CC115L_DEVIATN, 0x62},
{CC115L_MCSM0, 0x18},
{CC115L_RESERVED_0X20, 0xFB},
{CC115L_FSCAL3, 0xEA},
{CC115L_FSCAL2, 0x2A},
{CC115L_FSCAL1, 0x00},
{CC115L_FSCAL0, 0x1F},
};
static const registerSetting_t preferredSettings[]=
{
{CC113L_IOCFG2, 0x29},
{CC113L_IOCFG1, 0x2E},
{CC113L_IOCFG0, 0x06},
{CC113L_FIFOTHR, 0X40},
{CC113L_SYNC1, 0XD3},
{CC113L_SYNC0, 0X91},
{CC113L_PKTCTRL0, 0x05},
{CC113L_CHANNR, 0x01},
{CC113L_FSCTRL1, 0x0C},
{CC113L_FREQ2, 0x0C},
{CC113L_FREQ1, 0x1D},
{CC113L_FREQ0, 0x89},
{CC113L_MDMCFG4, 0x2D},
{CC113L_MDMCFG3, 0x3B},
{CC113L_MDMCFG2, 0x03},
{CC113L_DEVIATN, 0x62},
{CC113L_MCSM0, 0x18},
{CC113L_FOCCFG, 0x1D},
{CC113L_BSCFG, 0x1C},
{CC113L_AGCCTRL2, 0xC7},
{CC113L_AGCCTRL1, 0x00},
{CC113L_AGCCTRL0, 0xB0},
{CC113L_RESERVED_0X20, 0xFB},
{CC113L_FREND1, 0xB6},
{CC113L_FSCAL3, 0xEA},
{CC113L_FSCAL2, 0x2A},
{CC113L_FSCAL1, 0x00},
{CC113L_FSCAL0, 0x1F},
};