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.

CC430F6137 & C1111 change frequency and baudrate

Other Parts Discussed in Thread: CC430F6137, SIMPLICITI, TEST2, CC1111EMK868-915

Hello!

I've got a little problem, I have a CC430F6137 and a C1111 usb dongle.

So I need to switch frequency band on 868MHz@250Kb/s. (Italian unlicensed band)

SmartRF Studio 7 crash during USB430FET firmware update. Luckily it did not brick the programmer.

Is there another way to change them via firmware or configuration files?

I'm using IAR 5.4.

Thank you in advance.

Marco De Biagi

  • Hi,

    you can use SmartRF Studio to generate header file containing the RF setting and compile it with your application code. Most of our example code use the same format for this (but please check).

    For example, this is one example to do it for SimpliciTI: http://processors.wiki.ti.com/index.php/SimpliciTI_-_Configuring_RF_Setting

  • Hi, 

    I follow the tutorial and below there is a list of registers both for CC430 and CC1111 exported by SmartRF studio. The option are 250kbaud and 868MHz. Why it doesn't work? 

    For CC430 

    #ifndef SMARTRF_CC430_H

    #define SMARTRF_CC430_H

    #define SMARTRF_RADIO_CC430

    #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 0x62

    #define SMARTRF_SETTING_FREQ0 0x76

    #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 0x10

    #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 0x80

    #define SMARTRF_SETTING_WOREVT0 0x00

    #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_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 0x06

    #endif

     

    And for CC1111

    #ifndef SMARTRF_CC1111_H

    #define SMARTRF_CC1111_H

    #define SMARTRF_RADIO_CC1111

    #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 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_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_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_TEST2 0x88

    #define SMARTRF_SETTING_TEST1 0x31

    #define SMARTRF_SETTING_TEST0 0x09

    #define SMARTRF_SETTING_PA_TABLE7 0x00

    #define SMARTRF_SETTING_PA_TABLE6 0x00

    #define SMARTRF_SETTING_PA_TABLE5 0x00

    #define SMARTRF_SETTING_PA_TABLE4 0x00

    #define SMARTRF_SETTING_PA_TABLE3 0x00

    #define SMARTRF_SETTING_PA_TABLE2 0x00

    #define SMARTRF_SETTING_PA_TABLE1 0x00

    #define SMARTRF_SETTING_PA_TABLE0 0x50

    #define SMARTRF_SETTING_IOCFG2 0x00

    #define SMARTRF_SETTING_IOCFG1 0x00

    #define SMARTRF_SETTING_IOCFG0 0x06

    #define SMARTRF_SETTING_PARTNUM 0x11

    #define SMARTRF_SETTING_VERSION 0x03

    #define SMARTRF_SETTING_FREQEST 0x00

    #define SMARTRF_SETTING_LQI 0x00

    #define SMARTRF_SETTING_RSSI 0x80

    #define SMARTRF_SETTING_MARCSTATE 0x01

    #define SMARTRF_SETTING_PKTSTATUS 0x00

    #define SMARTRF_SETTING_VCO_VC_DAC 0x94

    #endif

    Thanks,

    Daniel Magalotti

  • I will look at your settings, but as a first check, what HW are you using. The CC1111 usb dongle from TI has non optimal xtal load thus causing a quite large frequency offset, can this be why you can not get a link between the devices.

  • Hi, 

    I'm using a  CC430F6137 and a CC1111EMK868-915 usb dongle.

    Daniel

  • Note that you program one board to 868 MHz and one board to 868.3 MHz. I recommend that you start with letting SmartRF Studio control your HW and make sure you have a link up and running (be aware of freq offset between the different HW). When this works, you can import your settings to your SW and test this.