Other Parts Discussed in Thread: MSP430G2553, CC1101
Hi guys!
I have been set GDO0 to 0x06 (SYNC Word detected) and connected it to my uC (MSP430G2553). I wait to GDO0 interrupt my uC and read RXBYTES before read RXBUFFER. When an interrupt occurred, i read RXBYTES and its always zero (0x00).
I try to read RXBuffer but it contains trash... can anybody help me to solve this problem?
I configured the CC1101 register like this:
static const registerSetting_t tagsettings[]=
{
{CC1101_IOCFG0, 0x06},
{CC1101_FIFOTHR, 0x41},
{CC1101_SYNC1, 0xC9},
{CC1101_SYNC0, 0x9E},
{CC1101_PKTLEN, 0x9E},
{CC1101_PKTCTRL1, 0x0C},
{CC1101_PKTCTRL0, 0x01},
{CC1101_ADDR, 0x09},
{CC1101_FSCTRL1, 0x06},
{CC1101_FSCTRL0, 0x00},
{CC1101_FREQ2, 0x21},
{CC1101_FREQ1, 0x63},
{CC1101_FREQ0, 0x02},
{CC1101_MDMCFG4, 0xCA},
{CC1101_MDMCFG3, 0x83},
{CC1101_MDMCFG2, 0x13},
{CC1101_MDMCFG1, 0xA2},
{CC1101_MDMCFG0, 0xF8},
{CC1101_DEVIATN, 0x34},
//{CC1101_MCSM2, 0x10},
{CC1101_MCSM1, 0x30},
{CC1101_MCSM0, 0x38},
{CC1101_FOCCFG, 0x16},
{CC1101_BSCFG, 0x6C},
{CC1101_WORCTRL, 0xFB},
{CC1101_FSCAL3, 0xEF},
{CC1101_FSCAL2, 0x0C},
{CC1101_FSCAL1, 0x3B},
{CC1101_FSCAL0, 0x1F},
{CC1101_TEST2, 0x88},
{CC1101_TEST1, 0x31},
{CC1101_TEST0, 0x09},
};


