I'm quite new to the CC430 and cannot seem to find a way to change the data rate of the communication. Im running the sample code "RF toggle Led Demo" and have loaded it onto two CC430F6137 and it works perfectly under the standard data rate of 38.38 kBaud. My goal is to get the CC430's to transfer data as fast as it will go (500 kBaud) but when using the values from Smart RF studio 7 no data will transfer. I can change everything back to default and it works so i'm pretty sure its a RF_settings issue. Is there something simple I am missing or setup incorrectly? Thanks RF_SETTINGS rfSettings = { 0x08, // FSCTRL1 Frequency synthesizer control. 0x00, // FSCTRL0 Frequency synthesizer control. 0x23, // FREQ2 Frequency control word, high byte. 0x31, // FREQ1 Frequency control word, middle byte. 0x3B, // FREQ0 Frequency control word, low byte. 0xCD, // MDMCFG4 Modem configuration. 0x3B, // MDMCFG3 Modem configuration. 0x13, // MDMCFG2 Modem configuration. 0x22, // MDMCFG1 Modem configuration. 0xF8, // MDMCFG0 Modem configuration. 0x00, // CHANNR Channel number. 0x34, // DEVIATN Modem deviation setting (when FSK modulation is enabled). 0x56, // FREND1 Front end RX configuration. 0x10, // FREND0 Front end TX configuration. 0x10, //18 // MCSM0 Main Radio Control State Machine configuration. 0x16, // FOCCFG Frequency Offset Compensation Configuration. 0x6C, // BSCFG Bit synchronization Configuration. 0x03, // AGCCTRL2 AGC control. 0x40, // AGCCTRL1 AGC control. 0x91, // AGCCTRL0 AGC control. 0xEA, //E9 // FSCAL3 Frequency synthesizer calibration. 0x2A, // FSCAL2 Frequency synthesizer calibration. 0x00, // FSCAL1 Frequency synthesizer calibration. 0x1F, // FSCAL0 Frequency synthesizer calibration. 0x59, // FSTEST Frequency synthesizer calibration. 0x81, // TEST2 Various test settings. 0x35, // TEST1 Various test settings. 0x09, // TEST0 Various test settings. 0x47, // FIFOTHR RXFIFO and TXFIFO thresholds. 0x29, // IOCFG2 GDO2 output pin configuration. 0x06, // IOCFG0 GDO0 output pin configuration. Refer to SmartRF® Studio User Manual for detailed pseudo register explanation. 0x04, // PKTCTRL1 Packet automation control. 0x05, //4 // PKTCTRL0 Packet automation control. 0x00, // ADDR Device address. 0x05 // PKTLEN Packet length. };
↧