This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC1101: cc1101 error rate problem

Part Number: CC1101
Other Parts Discussed in Thread: TEST2

Hello everyone,

I have a cc1101 question asking for help.

I transmit data using cc1101. when the data rate at 2kbps the transmition is good , but when the speed reaches 250kbps, the packet loss rate increase to 30%.

2kbps and 250kbps send and receive configuration files are as follows.

All the configuration file are exported from smartRf studio.

// Sync word qualifier mode = 30/32 sync word bits detected
// CRC autoflush = false
// Channel spacing = 199.951172
// Data format = Normal mode
// Data rate = 2.39897
// RX filter BW = 58.035714
// PA ramping = false
// Preamble count = 4
// Whitening = false
// Address config = No address check
// Carrier frequency = 433.999969
// Device address = 0
// TX power = 0
// Manchester enable = false
// CRC enable = true
// Deviation = 5.157471
// Packet length mode = Variable packet length mode. Packet length configured by the first byte after sync word
// Packet length = 255
// Modulation format = GFSK
// Base frequency = 433.999969
// Modulated = true
// Channel number = 0
// PA table
#define PA_TABLE {0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,}

static const registerSetting_t preferredSettings[]=
{
{CC1101_IOCFG0, 0x06},
{CC1101_FIFOTHR, 0x47},
{CC1101_PKTCTRL0, 0x05},
{CC1101_FSCTRL1, 0x06},
{CC1101_FREQ2, 0x10},
{CC1101_FREQ1, 0xB1},
{CC1101_FREQ0, 0x3B},
{CC1101_MDMCFG4, 0xF6},
{CC1101_MDMCFG3, 0x83},
{CC1101_MDMCFG2, 0x13},
{CC1101_DEVIATN, 0x15},
{CC1101_MCSM0, 0x18},
{CC1101_FOCCFG, 0x16},
{CC1101_WORCTRL, 0xFB},
{CC1101_FSCAL3, 0xE9},
{CC1101_FSCAL2, 0x2A},
{CC1101_FSCAL1, 0x00},
{CC1101_FSCAL0, 0x1F},
{CC1101_TEST2, 0x81},
{CC1101_TEST1, 0x35},
{CC1101_TEST0, 0x09},
};

// Sync word qualifier mode = 30/32 sync word bits detected
// CRC autoflush = false
// Channel spacing = 199.951172
// Data format = Normal mode
// Data rate = 249.939
// RX filter BW = 541.666667
// PA ramping = false
// Preamble count = 4
// Whitening = false
// Address config = No address check
// Carrier frequency = 433.999969
// Device address = 0
// TX power = 0
// Manchester enable = false
// CRC enable = true
// Deviation = 126.953125
// Packet length mode = Variable packet length mode. Packet length configured by the first byte after sync word
// Packet length = 255
// Modulation format = GFSK
// Base frequency = 433.999969
// Modulated = true
// Channel number = 0
// PA table
#define PA_TABLE {0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,}

static const registerSetting_t preferredSettings[]=
{
{CC1101_IOCFG0, 0x06},
{CC1101_PKTCTRL0, 0x05},
{CC1101_FSCTRL1, 0x0C},
{CC1101_FREQ2, 0x10},
{CC1101_FREQ1, 0xB1},
{CC1101_FREQ0, 0x3B},
{CC1101_MDMCFG4, 0x2D},
{CC1101_MDMCFG3, 0x3B},
{CC1101_MDMCFG2, 0x13},
{CC1101_DEVIATN, 0x62},
{CC1101_MCSM0, 0x18},
{CC1101_FOCCFG, 0x1D},
{CC1101_BSCFG, 0x1C},
{CC1101_AGCCTRL2, 0xC7},
{CC1101_AGCCTRL1, 0x00},
{CC1101_AGCCTRL0, 0xB0},
{CC1101_WORCTRL, 0xFB},
{CC1101_FREND1, 0xB6},
{CC1101_FSCAL3, 0xEA},
{CC1101_FSCAL2, 0x2A},
{CC1101_FSCAL1, 0x00},
{CC1101_FSCAL0, 0x1F},
{CC1101_TEST0, 0x09},
};

  • Hi

    I have looked at your settings and can confirm that they are OK. I have also tested them with SmartRF Studio and I do not see any packet errors on any of the data rates.

    Are you using SmartRF Studio when you are testing or are you running your own code? If you are running your own code, could there be something that is preventing you from process the received packets at a fast enough rate so that the low data rate is OK but not the fast one? From an RF perspective the settings are OK.

    BR

    Siri