• Not Answered

CC1111 and CC1101 unable to communicate

Dear,

I'm try to establishing a communication between CC1101 evalboard and CC1111DK_Dongle board but I'm not able to do that.

The registers setting (standard setting of smartRF) of both radio are listed above.

Can you help me? Are these settings correctly defined?

 

BR,

 

Giordano

CC1101

 

// 868.3 250Kpbs

 

/*#define SMARTRF_SETTING_IOCFG2           0x29

#define SMARTRF_SETTING_IOCFG1           0x2E

#define SMARTRF_SETTING_IOCFG0           0x06

#define SMARTRF_SETTING_FIFOTHR          0x07

#define SMARTRF_SETTING_SYNC1            0xD3

#define SMARTRF_SETTING_SYNC0            0x91

#define SMARTRF_SETTING_PKTLEN           0xFF

#define SMARTRF_SETTING_PKTCTRL1         0x04

#define SMARTRF_SETTING_PKTCTRL0         0x05

#define SMARTRF_SETTING_ADDR             0x00

#define SMARTRF_SETTING_CHANNR           0x00

#define SMARTRF_SETTING_FSCTRL1          0x0C

#define SMARTRF_SETTING_FSCTRL0          0x00

#define SMARTRF_SETTING_FREQ2            0x21

#define SMARTRF_SETTING_FREQ1            0x65

#define SMARTRF_SETTING_FREQ0            0x6A

#define SMARTRF_SETTING_MDMCFG4          0x2D

#define SMARTRF_SETTING_MDMCFG3          0x3B

#define SMARTRF_SETTING_MDMCFG2          0x13

#define SMARTRF_SETTING_MDMCFG1          0x22

#define SMARTRF_SETTING_MDMCFG0          0xF8

#define SMARTRF_SETTING_DEVIATN          0x62

#define SMARTRF_SETTING_MCSM2            0x07

#define SMARTRF_SETTING_MCSM1            0x30

#define SMARTRF_SETTING_MCSM0            0x18

#define SMARTRF_SETTING_FOCCFG           0x1D

#define SMARTRF_SETTING_BSCFG            0x1C

#define SMARTRF_SETTING_AGCCTRL2         0xC7

#define SMARTRF_SETTING_AGCCTRL1         0x00

#define SMARTRF_SETTING_AGCCTRL0         0xB0

#define SMARTRF_SETTING_WOREVT1          0x87

#define SMARTRF_SETTING_WOREVT0          0x6B

#define SMARTRF_SETTING_WORCTRL          0xFB

#define SMARTRF_SETTING_FREND1           0xB6

#define SMARTRF_SETTING_FREND0           0x10

#define SMARTRF_SETTING_FSCAL3           0xEA

#define SMARTRF_SETTING_FSCAL2           0x2A

#define SMARTRF_SETTING_FSCAL1           0x00

#define SMARTRF_SETTING_FSCAL0           0x1F

#define SMARTRF_SETTING_RCCTRL1          0x41

#define SMARTRF_SETTING_RCCTRL0          0x00

#define SMARTRF_SETTING_FSTEST           0x59

#define SMARTRF_SETTING_PTEST            0x7F

#define SMARTRF_SETTING_AGCTEST          0x3F

#define SMARTRF_SETTING_TEST2            0x88

#define SMARTRF_SETTING_TEST1            0x31

#define SMARTRF_SETTING_TEST0            0x09

#define SMARTRF_SETTING_PARTNUM          0x00

#define SMARTRF_SETTING_VERSION          0x04

#define SMARTRF_SETTING_FREQEST          0x00

#define SMARTRF_SETTING_LQI              0x00

#define SMARTRF_SETTING_RSSI             0x00

#define SMARTRF_SETTING_MARCSTATE        0x00

#define SMARTRF_SETTING_WORTIME1         0x00

#define SMARTRF_SETTING_WORTIME0         0x00

#define SMARTRF_SETTING_PKTSTATUS        0x00

#define SMARTRF_SETTING_VCO_VC_DAC       0x00

#define SMARTRF_SETTING_TXBYTES          0x00

#define SMARTRF_SETTING_RXBYTES          0x00

#define SMARTRF_SETTING_RCCTRL1_STATUS   0x00

#define SMARTRF_SETTING_RCCTRL0_STATUS   0x00*/

 

/***********************************************************************/

 

/************************* 868.3 38.4Kbps BW540 dev 127 ****************/

 

#define SMARTRF_SETTING_IOCFG2           0x29

#define SMARTRF_SETTING_IOCFG1           0x2E

#define SMARTRF_SETTING_IOCFG0           0x06

#define SMARTRF_SETTING_FIFOTHR          0x07

#define SMARTRF_SETTING_SYNC1            0xD3

#define SMARTRF_SETTING_SYNC0            0x91

#define SMARTRF_SETTING_PKTLEN           0xFF

#define SMARTRF_SETTING_PKTCTRL1         0x04

#define SMARTRF_SETTING_PKTCTRL0         0x05

#define SMARTRF_SETTING_ADDR             0x00

#define SMARTRF_SETTING_CHANNR           0x00

#define SMARTRF_SETTING_FSCTRL1          0x0C

#define SMARTRF_SETTING_FSCTRL0          0x00

#define SMARTRF_SETTING_FREQ2            0x21

#define SMARTRF_SETTING_FREQ1            0x65

#define SMARTRF_SETTING_FREQ0            0x6A

#define SMARTRF_SETTING_MDMCFG4          0x2A

#define SMARTRF_SETTING_MDMCFG3          0x83

#define SMARTRF_SETTING_MDMCFG2          0x13

#define SMARTRF_SETTING_MDMCFG1          0x22

#define SMARTRF_SETTING_MDMCFG0          0xF8

#define SMARTRF_SETTING_DEVIATN          0x62

#define SMARTRF_SETTING_MCSM2            0x07

#define SMARTRF_SETTING_MCSM1            0x30

#define SMARTRF_SETTING_MCSM0            0x18

#define SMARTRF_SETTING_FOCCFG           0x1D

#define SMARTRF_SETTING_BSCFG            0x1C

#define SMARTRF_SETTING_AGCCTRL2         0xC7

#define SMARTRF_SETTING_AGCCTRL1         0x00

#define SMARTRF_SETTING_AGCCTRL0         0xB0

#define SMARTRF_SETTING_WOREVT1          0x87

#define SMARTRF_SETTING_WOREVT0          0x6B

#define SMARTRF_SETTING_WORCTRL          0xFB

#define SMARTRF_SETTING_FREND1           0xB6

#define SMARTRF_SETTING_FREND0           0x10

#define SMARTRF_SETTING_FSCAL3           0xE9

#define SMARTRF_SETTING_FSCAL2           0x2A

#define SMARTRF_SETTING_FSCAL1           0x00

#define SMARTRF_SETTING_FSCAL0           0x1F

#define SMARTRF_SETTING_RCCTRL1          0x41

#define SMARTRF_SETTING_RCCTRL0          0x00

#define SMARTRF_SETTING_FSTEST           0x59

#define SMARTRF_SETTING_PTEST            0x7F

#define SMARTRF_SETTING_AGCTEST          0x3F

#define SMARTRF_SETTING_TEST2            0x88

#define SMARTRF_SETTING_TEST1            0x31

#define SMARTRF_SETTING_TEST0            0x09

#define SMARTRF_SETTING_PARTNUM          0x00

#define SMARTRF_SETTING_VERSION          0x04

#define SMARTRF_SETTING_FREQEST          0x00

#define SMARTRF_SETTING_LQI              0x00

#define SMARTRF_SETTING_RSSI             0x00

#define SMARTRF_SETTING_MARCSTATE        0x00

#define SMARTRF_SETTING_WORTIME1         0x00

#define SMARTRF_SETTING_WORTIME0         0x00

#define SMARTRF_SETTING_PKTSTATUS        0x00

#define SMARTRF_SETTING_VCO_VC_DAC       0x00

#define SMARTRF_SETTING_TXBYTES          0x00

#define SMARTRF_SETTING_RXBYTES          0x00

#define SMARTRF_SETTING_RCCTRL1_STATUS   0x00

#define SMARTRF_SETTING_RCCTRL0_STATUS   0x00

 

/****************************************************************************/

 

 

/************************* 868.3 125 Kbps BW540 dev 127 ****************/

//#define SMARTRF_SETTING_IOCFG2           0x29

//#define SMARTRF_SETTING_IOCFG1           0x2E

//#define SMARTRF_SETTING_IOCFG0           0x06

//#define SMARTRF_SETTING_FIFOTHR          0x07

//#define SMARTRF_SETTING_SYNC1            0xD3

//#define SMARTRF_SETTING_SYNC0            0x91

//#define SMARTRF_SETTING_PKTLEN           0xFF

//#define SMARTRF_SETTING_PKTCTRL1         0x04

//#define SMARTRF_SETTING_PKTCTRL0         0x05

//#define SMARTRF_SETTING_ADDR             0x00

//#define SMARTRF_SETTING_CHANNR           0x00

//#define SMARTRF_SETTING_FSCTRL1          0x0C

//#define SMARTRF_SETTING_FSCTRL0          0x00

//#define SMARTRF_SETTING_FREQ2            0x21

//#define SMARTRF_SETTING_FREQ1            0x65

//#define SMARTRF_SETTING_FREQ0            0x6A

//#define SMARTRF_SETTING_MDMCFG4          0x2C

//#define SMARTRF_SETTING_MDMCFG3          0x3B

//#define SMARTRF_SETTING_MDMCFG2          0x13

//#define SMARTRF_SETTING_MDMCFG1          0x22

//#define SMARTRF_SETTING_MDMCFG0          0xF8

//#define SMARTRF_SETTING_DEVIATN          0x62

//#define SMARTRF_SETTING_MCSM2            0x07

//#define SMARTRF_SETTING_MCSM1            0x30

//#define SMARTRF_SETTING_MCSM0            0x18

//#define SMARTRF_SETTING_FOCCFG           0x1D

//#define SMARTRF_SETTING_BSCFG            0x1C

//#define SMARTRF_SETTING_AGCCTRL2         0xC7

//#define SMARTRF_SETTING_AGCCTRL1         0x00

//#define SMARTRF_SETTING_AGCCTRL0         0xB0

//#define SMARTRF_SETTING_WOREVT1          0x87

//#define SMARTRF_SETTING_WOREVT0          0x6B

//#define SMARTRF_SETTING_WORCTRL          0xFB

//#define SMARTRF_SETTING_FREND1           0xB6

//#define SMARTRF_SETTING_FREND0           0x10

//#define SMARTRF_SETTING_FSCAL3           0xEA

//#define SMARTRF_SETTING_FSCAL2           0x2A

//#define SMARTRF_SETTING_FSCAL1           0x00

//#define SMARTRF_SETTING_FSCAL0           0x1F

//#define SMARTRF_SETTING_RCCTRL1          0x41

//#define SMARTRF_SETTING_RCCTRL0          0x00

//#define SMARTRF_SETTING_FSTEST           0x59

//#define SMARTRF_SETTING_PTEST            0x7F

//#define SMARTRF_SETTING_AGCTEST          0x3F

//#define SMARTRF_SETTING_TEST2            0x88

//#define SMARTRF_SETTING_TEST1            0x31

//#define SMARTRF_SETTING_TEST0            0x09

//#define SMARTRF_SETTING_PARTNUM          0x00

//#define SMARTRF_SETTING_VERSION          0x04

//#define SMARTRF_SETTING_FREQEST          0x00

//#define SMARTRF_SETTING_LQI              0x00

//#define SMARTRF_SETTING_RSSI             0x00

//#define SMARTRF_SETTING_MARCSTATE        0x00

//#define SMARTRF_SETTING_WORTIME1         0x00

//#define SMARTRF_SETTING_WORTIME0         0x00

//#define SMARTRF_SETTING_PKTSTATUS        0x00

//#define SMARTRF_SETTING_VCO_VC_DAC       0x00

//#define SMARTRF_SETTING_TXBYTES          0x00

//#define SMARTRF_SETTING_RXBYTES          0x00

//#define SMARTRF_SETTING_RCCTRL1_STATUS   0x00

//#define SMARTRF_SETTING_RCCTRL0_STATUS   0x00

 

 

/************************* 868.3 175 Kbps BW540 dev 127 ****************/

 

//#define SMARTRF_SETTING_IOCFG2           0x29

//#define SMARTRF_SETTING_IOCFG1           0x2E

//#define SMARTRF_SETTING_IOCFG0           0x06

//#define SMARTRF_SETTING_FIFOTHR          0x07

//#define SMARTRF_SETTING_SYNC1            0xD3

//#define SMARTRF_SETTING_SYNC0            0x91

//#define SMARTRF_SETTING_PKTLEN           0xFF

//#define SMARTRF_SETTING_PKTCTRL1         0x04

//#define SMARTRF_SETTING_PKTCTRL0         0x05

//#define SMARTRF_SETTING_ADDR             0x00

//#define SMARTRF_SETTING_CHANNR           0x00

//#define SMARTRF_SETTING_FSCTRL1          0x0C

//#define SMARTRF_SETTING_FSCTRL0          0x00

//#define SMARTRF_SETTING_FREQ2            0x21

//#define SMARTRF_SETTING_FREQ1            0x65

//#define SMARTRF_SETTING_FREQ0            0x6A

//#define SMARTRF_SETTING_MDMCFG4          0x2C

//#define SMARTRF_SETTING_MDMCFG3          0xB9

//#define SMARTRF_SETTING_MDMCFG2          0x13

//#define SMARTRF_SETTING_MDMCFG1          0x22

//#define SMARTRF_SETTING_MDMCFG0          0xF8

//#define SMARTRF_SETTING_DEVIATN          0x62

//#define SMARTRF_SETTING_MCSM2            0x07

//#define SMARTRF_SETTING_MCSM1            0x30

//#define SMARTRF_SETTING_MCSM0            0x18

//#define SMARTRF_SETTING_FOCCFG           0x1D

//#define SMARTRF_SETTING_BSCFG            0x1C

//#define SMARTRF_SETTING_AGCCTRL2         0xC7

//#define SMARTRF_SETTING_AGCCTRL1         0x00

//#define SMARTRF_SETTING_AGCCTRL0         0xB0

//#define SMARTRF_SETTING_WOREVT1          0x87

//#define SMARTRF_SETTING_WOREVT0          0x6B

//#define SMARTRF_SETTING_WORCTRL          0xFB

//#define SMARTRF_SETTING_FREND1           0xB6

//#define SMARTRF_SETTING_FREND0           0x10

//#define SMARTRF_SETTING_FSCAL3           0xEA

//#define SMARTRF_SETTING_FSCAL2           0x2A

//#define SMARTRF_SETTING_FSCAL1           0x00

//#define SMARTRF_SETTING_FSCAL0           0x1F

//#define SMARTRF_SETTING_RCCTRL1          0x41

//#define SMARTRF_SETTING_RCCTRL0          0x00

//#define SMARTRF_SETTING_FSTEST           0x59

//#define SMARTRF_SETTING_PTEST            0x7F

//#define SMARTRF_SETTING_AGCTEST          0x3F

//#define SMARTRF_SETTING_TEST2            0x88

//#define SMARTRF_SETTING_TEST1            0x31

//#define SMARTRF_SETTING_TEST0            0x09

//#define SMARTRF_SETTING_PARTNUM          0x00

//#define SMARTRF_SETTING_VERSION          0x04

//#define SMARTRF_SETTING_FREQEST          0x00

//#define SMARTRF_SETTING_LQI              0x00

//#define SMARTRF_SETTING_RSSI             0x00

//#define SMARTRF_SETTING_MARCSTATE        0x00

//#define SMARTRF_SETTING_WORTIME1         0x00

//#define SMARTRF_SETTING_WORTIME0         0x00

//#define SMARTRF_SETTING_PKTSTATUS        0x00

//#define SMARTRF_SETTING_VCO_VC_DAC       0x00

//#define SMARTRF_SETTING_TXBYTES          0x00

//#define SMARTRF_SETTING_RXBYTES          0x00

//#define SMARTRF_SETTING_RCCTRL1_STATUS   0x00

//#define SMARTRF_SETTING_RCCTRL0_STATUS   0x00

 

 

-----------------------------------------------------------------------------------------------------------------------

 

cc1111

 

// 868.3 250Kbps

//#define SMARTRF_SETTING_FSCTRL1     0x0C

//#define SMARTRF_SETTING_FSCTRL0     0x00

//#define SMARTRF_SETTING_FREQ2       0x24

//#define SMARTRF_SETTING_FREQ1       0x2D

//#define SMARTRF_SETTING_FREQ0       0xDD

//#define SMARTRF_SETTING_MDMCFG4     0x1D

//#define SMARTRF_SETTING_MDMCFG3     0x55

//#define SMARTRF_SETTING_MDMCFG2     0x13

//#define SMARTRF_SETTING_MDMCFG1     0x23

//#define SMARTRF_SETTING_MDMCFG0     0x11

//#define SMARTRF_SETTING_CHANNR      0x00

//#define SMARTRF_SETTING_DEVIATN     0x63

//#define SMARTRF_SETTING_FREND1      0xB6

//#define SMARTRF_SETTING_FREND0      0x10

//#define SMARTRF_SETTING_MCSM0       0x18

//#define SMARTRF_SETTING_FOCCFG      0x1D

//#define SMARTRF_SETTING_BSCFG       0x1C

//#define SMARTRF_SETTING_AGCCTRL2    0xC7

//#define SMARTRF_SETTING_AGCCTRL1    0x00

//#define SMARTRF_SETTING_AGCCTRL0    0xB0

//#define SMARTRF_SETTING_FSCAL3      0xEA

//#define SMARTRF_SETTING_FSCAL2      0x2A

//#define SMARTRF_SETTING_FSCAL1      0x00

//#define SMARTRF_SETTING_FSCAL0      0x1F

//#define SMARTRF_SETTING_TEST2       0x88

//#define SMARTRF_SETTING_TEST1       0x31

//#define SMARTRF_SETTING_TEST0       0x09

//#define SMARTRF_SETTING_PA_TABLE0   0xC2

//#define SMARTRF_SETTING_PKTCTRL1    0x04

//#define SMARTRF_SETTING_PKTCTRL0    0x05

//#define SMARTRF_SETTING_ADDR        0x00

//#define SMARTRF_SETTING_PKTLEN      0xFF

//#define SMARTRF_SETTING_RCCTRL0_STATUS   0x00

 

 

 

/************************************************* 38.4 127 DEV 600 BW ******************/

 

#define SMARTRF_SETTING_FSCTRL1     0x0C

#define SMARTRF_SETTING_FSCTRL0     0x00

#define SMARTRF_SETTING_FREQ2       0x24

#define SMARTRF_SETTING_FREQ1       0x2D

#define SMARTRF_SETTING_FREQ0       0xDD

#define SMARTRF_SETTING_MDMCFG4     0x1A

#define SMARTRF_SETTING_MDMCFG3     0xA3

#define SMARTRF_SETTING_MDMCFG2     0x13

#define SMARTRF_SETTING_MDMCFG1     0x23

#define SMARTRF_SETTING_MDMCFG0     0x11

#define SMARTRF_SETTING_CHANNR      0x00

#define SMARTRF_SETTING_DEVIATN     0x63

#define SMARTRF_SETTING_FREND1      0xB6

#define SMARTRF_SETTING_FREND0      0x10

#define SMARTRF_SETTING_MCSM0       0x18

#define SMARTRF_SETTING_FOCCFG      0x1D

#define SMARTRF_SETTING_BSCFG       0x1C

#define SMARTRF_SETTING_AGCCTRL2    0xC7

#define SMARTRF_SETTING_AGCCTRL1    0x00

#define SMARTRF_SETTING_AGCCTRL0    0xB0

#define SMARTRF_SETTING_FSCAL3      0xE9

#define SMARTRF_SETTING_FSCAL2      0x2A

#define SMARTRF_SETTING_FSCAL1      0x00

#define SMARTRF_SETTING_FSCAL0      0x1F

#define SMARTRF_SETTING_TEST2       0x88

#define SMARTRF_SETTING_TEST1       0x31

#define SMARTRF_SETTING_TEST0       0x09

#define SMARTRF_SETTING_PA_TABLE0   0x50

#define SMARTRF_SETTING_PKTCTRL1    0x04

#define SMARTRF_SETTING_PKTCTRL0    0x05

#define SMARTRF_SETTING_ADDR        0x00

#define SMARTRF_SETTING_PKTLEN      0xFF

 

/************************************************* 125 127 DEV 600 BW ******************/

 

//#define SMARTRF_SETTING_FSCTRL1     0x0C

//#define SMARTRF_SETTING_FSCTRL0     0x00

//#define SMARTRF_SETTING_FREQ2       0x24

//#define SMARTRF_SETTING_FREQ1       0x2D

//#define SMARTRF_SETTING_FREQ0       0xDD

//#define SMARTRF_SETTING_MDMCFG4     0x1C

//#define SMARTRF_SETTING_MDMCFG3     0x55

//#define SMARTRF_SETTING_MDMCFG2     0x13

//#define SMARTRF_SETTING_MDMCFG1     0x23

//#define SMARTRF_SETTING_MDMCFG0     0x11

//#define SMARTRF_SETTING_CHANNR      0x00

//#define SMARTRF_SETTING_DEVIATN     0x63

//#define SMARTRF_SETTING_FREND1      0xB6

//#define SMARTRF_SETTING_FREND0      0x10

//#define SMARTRF_SETTING_MCSM0       0x18

//#define SMARTRF_SETTING_FOCCFG      0x1D

//#define SMARTRF_SETTING_BSCFG       0x1C

//#define SMARTRF_SETTING_AGCCTRL2    0xC7

//#define SMARTRF_SETTING_AGCCTRL1    0x00

//#define SMARTRF_SETTING_AGCCTRL0    0xB0

//#define SMARTRF_SETTING_FSCAL3      0xEA

//#define SMARTRF_SETTING_FSCAL2      0x2A

//#define SMARTRF_SETTING_FSCAL1      0x00

//#define SMARTRF_SETTING_FSCAL0      0x1F

//#define SMARTRF_SETTING_TEST2       0x88

//#define SMARTRF_SETTING_TEST1       0x31

//#define SMARTRF_SETTING_TEST0       0x09

//#define SMARTRF_SETTING_PA_TABLE0   0x50

//#define SMARTRF_SETTING_PKTCTRL1    0x04

//#define SMARTRF_SETTING_PKTCTRL0    0x05

//#define SMARTRF_SETTING_ADDR        0x00

//#define SMARTRF_SETTING_PKTLEN      0xFF

 

/************************************************* 175 127 DEV 600 BW ******************/

//#define SMARTRF_SETTING_FSCTRL1     0x0C

//#define SMARTRF_SETTING_FSCTRL0     0x00

//#define SMARTRF_SETTING_FREQ2       0x24

//#define SMARTRF_SETTING_FREQ1       0x2D

//#define SMARTRF_SETTING_FREQ0       0xDD

//#define SMARTRF_SETTING_MDMCFG4     0x1C

//#define SMARTRF_SETTING_MDMCFG3     0xDE

//#define SMARTRF_SETTING_MDMCFG2     0x13

//#define SMARTRF_SETTING_MDMCFG1     0x23

//#define SMARTRF_SETTING_MDMCFG0     0x11

//#define SMARTRF_SETTING_CHANNR      0x00

//#define SMARTRF_SETTING_DEVIATN     0x63

//#define SMARTRF_SETTING_FREND1      0xB6

//#define SMARTRF_SETTING_FREND0      0x10

//#define SMARTRF_SETTING_MCSM0       0x18

//#define SMARTRF_SETTING_FOCCFG      0x1D

//#define SMARTRF_SETTING_BSCFG       0x1C

//#define SMARTRF_SETTING_AGCCTRL2    0xC7

//#define SMARTRF_SETTING_AGCCTRL1    0x00

//#define SMARTRF_SETTING_AGCCTRL0    0xB0

//#define SMARTRF_SETTING_FSCAL3      0xEA

//#define SMARTRF_SETTING_FSCAL2      0x2A

//#define SMARTRF_SETTING_FSCAL1      0x00

//#define SMARTRF_SETTING_FSCAL0      0x1F

//#define SMARTRF_SETTING_TEST2       0x88

//#define SMARTRF_SETTING_TEST1       0x31

//#define SMARTRF_SETTING_TEST0       0x09

//#define SMARTRF_SETTING_PA_TABLE0   0x50

//#define SMARTRF_SETTING_PKTCTRL1    0x04

//#define SMARTRF_SETTING_PKTCTRL0    0x05

//#define SMARTRF_SETTING_ADDR        0x00

//#define SMARTRF_SETTING_PKTLEN      0xFF

 

6 Replies

  • Hi

    See attached SmartRF Studio 7 config files for CC1101 and CC1111 register settings.

    5460.cc1101_250_kbps.xml

    7282.cc1111_250_kbps.xml

  • In reply to Martin B:

    Hi Martin,

    thanks, can you cut and paste the two files? The server give me an "access denied" and I can't download these files.

     

    Thanks,

    Giordano

     

  • In reply to G.M.:

    Here you go.

    /* Deviation = 126.953125 */
    /* Base frequency = 868.299866 */
    /* Carrier frequency = 868.299866 */
    /* Channel number = 0 */
    /* Carrier frequency = 868.299866 */
    /* Modulated = true */
    /* Modulation format = GFSK */
    /* Manchester enable = false */
    /* Sync word qualifier mode = 30/32 sync word bits detected */
    /* Preamble count = 4 */
    /* Channel spacing = 199.951172 */
    /* Carrier frequency = 868.299866 */
    /* Data rate = 249.939 */
    /* RX filter BW = 541.666667 */
    /* Data format = Normal mode */
    /* CRC enable = true */
    /* Whitening = false */
    /* Device address = 0 */
    /* Address config = No address check */
    /* CRC autoflush = false */
    /* PA ramping = false */
    /* TX power = 0 */
    /***************************************************************
     *  SmartRF Studio(tm) Export
     *
     *  Radio register settings specifed with C-code
     *  compatible #define statements.
     *
     *  RF device: CC1101
     *
     ***************************************************************/

    #ifndef SMARTRF_CC1101_H
    #define SMARTRF_CC1101_H

    #define SMARTRF_RADIO_CC1101
    #define SMARTRF_SETTING_IOCFG0       0x06
    #define SMARTRF_SETTING_PKTCTRL0     0x05
    #define SMARTRF_SETTING_FSCTRL1      0x12
    #define SMARTRF_SETTING_FREQ2        0x21
    #define SMARTRF_SETTING_FREQ1        0x65
    #define SMARTRF_SETTING_FREQ0        0x6A
    #define SMARTRF_SETTING_MDMCFG4      0x2D
    #define SMARTRF_SETTING_MDMCFG3      0x3B
    #define SMARTRF_SETTING_MDMCFG2      0x93
    #define SMARTRF_SETTING_DEVIATN      0x62
    #define SMARTRF_SETTING_MCSM0        0x18
    #define SMARTRF_SETTING_FOCCFG       0x1D
    #define SMARTRF_SETTING_BSCFG        0x1C
    #define SMARTRF_SETTING_AGCCTRL2     0xC7
    #define SMARTRF_SETTING_AGCCTRL1     0x00
    #define SMARTRF_SETTING_AGCCTRL0     0xB0
    #define SMARTRF_SETTING_WORCTRL      0xFB
    #define SMARTRF_SETTING_FREND1       0xB6
    #define SMARTRF_SETTING_FSCAL3       0xEA
    #define SMARTRF_SETTING_FSCAL2       0x2A
    #define SMARTRF_SETTING_FSCAL1       0x00
    #define SMARTRF_SETTING_FSCAL0       0x1F
    #define SMARTRF_SETTING_TEST0        0x09
    #define SMARTRF_SETTING_RSSI         0x80
    #define SMARTRF_SETTING_MARCSTATE    0x01
    #define SMARTRF_SETTING_VCO_VC_DAC   0x94

    #endif

     

    /***************************************************************
     *  SmartRF Studio(tm) Export
     *
     *  Radio register settings specifed with C-code
     *  compatible #define statements.
     *
     *  RF device: CC1111
     *
     ***************************************************************/

    #ifndef SMARTRF_CC1111_H
    #define SMARTRF_CC1111_H

    #define SMARTRF_RADIO_CC1111
    #define SMARTRF_SETTING_PKTCTRL0    0x05
    #define SMARTRF_SETTING_FSCTRL1     0x0C
    #define SMARTRF_SETTING_FREQ2       0x24
    #define SMARTRF_SETTING_FREQ1       0x2D
    #define SMARTRF_SETTING_FREQ0       0xDD
    #define SMARTRF_SETTING_MDMCFG4     0x1D
    #define SMARTRF_SETTING_MDMCFG3     0x55
    #define SMARTRF_SETTING_MDMCFG2     0x13
    #define SMARTRF_SETTING_MDMCFG1     0x23
    #define SMARTRF_SETTING_MDMCFG0     0x11
    #define SMARTRF_SETTING_DEVIATN     0x63
    #define SMARTRF_SETTING_MCSM0       0x18
    #define SMARTRF_SETTING_FOCCFG      0x1D
    #define SMARTRF_SETTING_BSCFG       0x1C
    #define SMARTRF_SETTING_AGCCTRL2    0xC7
    #define SMARTRF_SETTING_AGCCTRL1    0x00
    #define SMARTRF_SETTING_AGCCTRL0    0xB0
    #define SMARTRF_SETTING_FREND1      0xB6
    #define SMARTRF_SETTING_FSCAL3      0xEA
    #define SMARTRF_SETTING_FSCAL2      0x2A
    #define SMARTRF_SETTING_FSCAL1      0x00
    #define SMARTRF_SETTING_FSCAL0      0x1F
    #define SMARTRF_SETTING_TEST2       0x88
    #define SMARTRF_SETTING_TEST1       0x31
    #define SMARTRF_SETTING_TEST0       0x09
    #define SMARTRF_SETTING_PA_TABLE0   0x50

    #endif

  • In reply to Martin B:

    Hi Martin,

    do you have the same configuration parameter for baude of 38.4Kbaud optimized for sensitivity?

    If I use standard value provide by SmartRF studio the CC1101 and CC1111 don't communicate...for example the default base frequency of CC1101 will be 867.9999MHz and for CC1111 is 868.2999 MHz. I tried to set the same value (868.29999MHz) in both radio, but never changed.

     

    Thanks,

    BR,

    Giordano

  • In reply to G.M.:

    It should work with the SmartRF Studio settings as long as you correct the two radios to the same frequency. The rest of the parameters can be used as is.

    Try these settings:

    /* Deviation = 20.629883 */
    /* Base frequency = 868.299866 */
    /* Carrier frequency = 868.299866 */
    /* Channel number = 0 */
    /* Carrier frequency = 868.299866 */
    /* Modulated = true */
    /* Modulation format = GFSK */
    /* Manchester enable = false */
    /* Sync word qualifier mode = 30/32 sync word bits detected */
    /* Preamble count = 4 */
    /* Channel spacing = 199.951172 */
    /* Carrier frequency = 868.299866 */
    /* Data rate = 38.3835 */
    /* RX filter BW = 101.562500 */
    /* Data format = Normal mode */
    /* CRC enable = true */
    /* Whitening = false */
    /* Device address = 0 */
    /* Address config = No address check */
    /* CRC autoflush = false */
    /* PA ramping = false */
    /* TX power = 0 */
    /***************************************************************
     *  SmartRF Studio(tm) Export
     *
     *  Radio register settings specifed with C-code
     *  compatible #define statements.
     *
     *  RF device: CC1101
     *
     ***************************************************************/

    #ifndef SMARTRF_CC1101_H
    #define SMARTRF_CC1101_H

    #define SMARTRF_RADIO_CC1101
    #define SMARTRF_SETTING_IOCFG0       0x06
    #define SMARTRF_SETTING_FIFOTHR      0x47
    #define SMARTRF_SETTING_PKTCTRL0     0x05
    #define SMARTRF_SETTING_FSCTRL1      0x06
    #define SMARTRF_SETTING_FREQ2        0x21
    #define SMARTRF_SETTING_FREQ1        0x65
    #define SMARTRF_SETTING_FREQ0        0x6A
    #define SMARTRF_SETTING_MDMCFG4      0xCA
    #define SMARTRF_SETTING_MDMCFG3      0x83
    #define SMARTRF_SETTING_MDMCFG2      0x13
    #define SMARTRF_SETTING_DEVIATN      0x35
    #define SMARTRF_SETTING_MCSM0        0x18
    #define SMARTRF_SETTING_FOCCFG       0x16
    #define SMARTRF_SETTING_AGCCTRL2     0x43
    #define SMARTRF_SETTING_WORCTRL      0xFB
    #define SMARTRF_SETTING_FSCAL3       0xE9
    #define SMARTRF_SETTING_FSCAL2       0x2A
    #define SMARTRF_SETTING_FSCAL1       0x00
    #define SMARTRF_SETTING_FSCAL0       0x1F
    #define SMARTRF_SETTING_TEST2        0x81
    #define SMARTRF_SETTING_TEST1        0x35
    #define SMARTRF_SETTING_TEST0        0x09
    #define SMARTRF_SETTING_RSSI         0x80
    #define SMARTRF_SETTING_MARCSTATE    0x01
    #define SMARTRF_SETTING_VCO_VC_DAC   0x94

    #endif

    /***************************************************************
     *  SmartRF Studio(tm) Export
     *
     *  Radio register settings specifed with C-code
     *  compatible #define statements.
     *
     *  RF device: CC1111
     *
     ***************************************************************/

    #ifndef SMARTRF_CC1111_H
    #define SMARTRF_CC1111_H

    #define SMARTRF_RADIO_CC1111
    #define SMARTRF_SETTING_PKTCTRL0    0x05
    #define SMARTRF_SETTING_FSCTRL1     0x06
    #define SMARTRF_SETTING_FREQ2       0x24
    #define SMARTRF_SETTING_FREQ1       0x2D
    #define SMARTRF_SETTING_FREQ0       0xDD
    #define SMARTRF_SETTING_MDMCFG4     0xCA
    #define SMARTRF_SETTING_MDMCFG3     0xA3
    #define SMARTRF_SETTING_MDMCFG2     0x13
    #define SMARTRF_SETTING_MDMCFG1     0x23
    #define SMARTRF_SETTING_MDMCFG0     0x11
    #define SMARTRF_SETTING_DEVIATN     0x36
    #define SMARTRF_SETTING_MCSM0       0x18
    #define SMARTRF_SETTING_FOCCFG      0x16
    #define SMARTRF_SETTING_AGCCTRL2    0x43
    #define SMARTRF_SETTING_FSCAL3      0xE9
    #define SMARTRF_SETTING_FSCAL2      0x2A
    #define SMARTRF_SETTING_FSCAL1      0x00
    #define SMARTRF_SETTING_FSCAL0      0x1F
    #define SMARTRF_SETTING_TEST2       0x81
    #define SMARTRF_SETTING_TEST1       0x35
    #define SMARTRF_SETTING_TEST0       0x09
    #define SMARTRF_SETTING_PA_TABLE0   0x50
    #define SMARTRF_SETTING_LQI         0x7F

    #endif

     

  • In reply to Martin B:

    Hi Martin , 

                  I would like to communicate between a CC1100 radio and a CC1111 USB dongle. I have the radio registers for the CC1100 and I tried to create the corresponding register values for the CC1111. But I was unable to receive any messages from the CC1100 radio. Could you please verify and correct.

    CC1100 Radio Registers

     IOCFG2    = 0x2E;   /*  Radio Test Signal Configuration (P1_7)              */
     IOCFG1    = 0x07;   /*  Radio Test Signal Configuration (P1_6)              */
     IOCFG0    = 0x2E;   /*  Radio Test Signal Configuration (P1_5)              */
     FIFOTHR  = 0x07;
     SYNC1     = 0xD3;   /*  Sync word, high byte                                */
     SYNC0     = 0x91;   /*  Sync word, low byte                                 */
     PKTLEN    = 0x3F;   /*  Packet length                                       */
     PKTCTRL1  = 0x0C;   /*  Packet automation control                           */
     PKTCTRL0  = 0x45;   /*  Packet automation control                           */
     ADDR      = 0x00;   /*  Device address                                      */
     CHANNR    = 0x00;   /*  Channel number                                      */
     FSCTRL1   = 0x06;   /*+  Frequency synthesizer control                       */
     FSCTRL0   = 0x04;   /*+  Frequency synthesizer control                       */
     FREQ2     = 0x21;   /*  Frequency control word, high byte                   */
     FREQ1     = 0x65;   /*  Frequency control word, middle byte                 */
     FREQ0     = 0x6A;   /*  Frequency control word, low byte                    */
     MDMCFG4   = 0xF6;   /*  Modem configuration                                 */
     MDMCFG3   = 0x83;   /*  Modem configuration                                 */
     MDMCFG2   = 0x13;   /*  Modem configuration                                 */
     MDMCFG1   = 0x22;   /*  Modem configuration                                 */
     MDMCFG0   = 0xF8;   /*  Modem configuration                                 */
     DEVIATN   = 0x15;   /*  Modem deviation setting                             */
     MCSM2     = 0x07;   /*  Main Radio Control State Machine configuration      */
     MCSM1     = 0x00;   /*  Main Radio Control State Machine configuration      */
     MCSM0     = 0x18;   /*  Main Radio Control State Machine configuration      */
     FOCCFG    = 0x16;   /*  Frequency Offset Compensation configuration         */
     BSCFG     = 0x6C;   /*  Bit Synchronization configuration                   */
     AGCCTRL2  = 0x03;   /*  AGC control                                         */
     AGCCTRL1  = 0x40;   /*  AGC control                                         */
     AGCCTRL0  = 0x91;   /*  AGC control                                         */
     WOREVT1  = 0x87
     WOREVT0   = 0x6B;
     WORCTRL  = 0xF8;
     FREND1    = 0x56;   /*  Front end RX configuration                          */
     FREND0    = 0x17;   /*  Front end TX configuration                          */
     FSCAL3    = 0xE9;   /*  Frequency synthesizer calibration                   */
     FSCAL2    = 0x2A;   /*  Frequency synthesizer calibration                   */
     FSCAL1    = 0x00;   /*  Frequency synthesizer calibration                   */
     FSCAL0    = 0x1F;  /*  Frequency synthesizer calibration                   */
     TEST2     = 0x81;   /*  Various test settings                               */
     TEST1     = 0x35;   /*  Various test settings                               */
     TEST0     = 0x09;   /*  Various test settings                               */
    CC1111 Radio Registers
     WORCTRL   = 0xA2;     /*  Sleep Timer Control                                */
     WOREVT0   = 0x6B;     /*  Sleep Timer Event0 Timeout Low                     */
     WOREVT1   = 0x87;
     IOCFG2    = 0x2E;   /*  Radio Test Signal Configuration (P1_7)              */
     IOCFG1    = 0x07;   /*  Radio Test Signal Configuration (P1_6)              */
     IOCFG0    = 0x2E;   /*  Radio Test Signal Configuration (P1_5)              */
     SYNC1     = 0xD3;   /*  Sync word, high byte                                */
     SYNC0     = 0x91;   /*  Sync word, low byte                                 */
     PKTLEN    = 0x3F;   /*  Packet length                                       */
     PKTCTRL1  = 0x04;   /*  Packet automation control                           */
     PKTCTRL0  = 0x45;   /*  Packet automation control                           */
     ADDR      = 0x00;   /*  Device address                                      */
     CHANNR    = 0x00;   /*  Channel number                                      */
     FSCTRL1   = 0x06;   /*+  Frequency synthesizer control                       */
     FSCTRL0   = 0x04;   /*+  Frequency synthesizer control                       */
     FREQ2     = 0x24;   /*  Frequency control word, high byte                   */
     FREQ1     = 0x2D;   /*  Frequency control word, middle byte                 */
     FREQ0     = 0xDD;   /*  Frequency control word, low byte                    */
     MDMCFG4   = 0xE7;   /*  Modem configuration                                 */
     MDMCFG3   = 0x30;   /*  Modem configuration                                 */
     MDMCFG2   = 0x13;   /*  Modem configuration                                 */
     MDMCFG1   = 0x23;   /*  Modem configuration                                 */
     MDMCFG0   = 0x0C;   /*  Modem configuration                                 */
     DEVIATN   = 0x15;   /*  Modem deviation setting                             */
     MCSM2     = 0x07;   /*  Main Radio Control State Machine configuration      */
     MCSM1     = 0x30;   /*  Main Radio Control State Machine configuration      */
     MCSM0     = 0x18;   /*  Main Radio Control State Machine configuration      */
     FOCCFG    = 0x16;   /*  Frequency Offset Compensation configuration         */
     BSCFG     = 0x6C;   /*  Bit Synchronization configuration                   */
     AGCCTRL2  = 0x03;   /*  AGC control                                         */
     AGCCTRL1  = 0x40;   /*  AGC control                                         */
     AGCCTRL0  = 0x91;   /*  AGC control                                         */
     FREND1    = 0x56;   /*  Front end RX configuration                          */
     FREND0    = 0x17;   /*  Front end TX configuration                          */
     FSCAL3    = 0xE9;   /*  Frequency synthesizer calibration                   */
     FSCAL2    = 0x2A;   /*  Frequency synthesizer calibration                   */
     FSCAL1    = 0x00;   /*  Frequency synthesizer calibration                   */
     FSCAL0    = 0x1F;  /*  Frequency synthesizer calibration                   */
     TEST2     = 0x81;   /*  Various test settings                               */
     TEST1     = 0x35;   /*  Various test settings                               */
     TEST0     = 0x09;   /*  Various test settings                               */
    Thanks