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.

CC113L: Data receiption in manchester code in ook

Part Number: CC113L
Other Parts Discussed in Thread: CC1200,

Hi

I send a data packet from cc1200 evaluation borad and receive that data in ook modulation without manchester codding.

But when i send that data with the same frequency and symbol rate in manchester code and set cc113l in manchester decode enable, I receive no valid packet with cc113l.

Cc113 config is:

Base frequecy:433.99 Mhz

Rx filter BW : 833.33 khz

Xtal frequency:26Mhz

Data rate:12.3 kbaud

In transmiter also configs are:

Symbol rate 12.3 ksps

Bit rate : 6.15kbps

I hope somone help me solve the problem.

  • The CC113L does Manchester coding on preamble and sync word while CC1200 is only performing Manchester encoding/decoding on the payload (including optional length and address field) and the CRC.

    That means that if you want to receive Manchester encoded packets with the CC113L from the CC1200, the CC113L needs to use a 2 bytes sync word, while CC1200 should use 4 bytes:

    Example:

    CC113L: 0xD391

    CC1200: 0xA65A9656

    BR

    Siri

  • Unfortunately i config rceiver and transmitter with this syncwors but i can not receive with manchester decode enable :(
    Isn't any problem with data rate?
  • I tested the above with smartrf studio and did not have any problems. Please provide me with the RF parameters you are trying to use and I can try to set up a test for you. I need to know frequency, data rate, sync word you want to use etc.

    Siri
  • I can get Manchester up and running from CC1200 to CC113L in Studio but am not able to get OOK up and running. Can you please send me the settings you are using for both CC1200 and CC113L (OOK without Manchester) and I can try to add the MAnchester coding to that?

    Siri
  • This are my configs.
    Cc113 config is:

    Base frequecy:433.99 Mhz

    Rx filter BW : 833.33 khz

    Xtal frequency:26Mhz

    Data rate:12.3 kbaud

    In transmiter also configs are:

    Symbol rate 12.3 ksps

    Bit rate : 6.15kbps
  • Sync word for cc113 0xd391
    Sync word for cc1200 0xA65A9656
  • I really appreciate, i received packets in manchester code with a diffrent transmitter when i codded preamble and syncword as well as payload. your answer was very helpful.
    I could not find difference between this two ic with user manual documents.
  • Hi

    with some help from a colleague, I manage to find the following settings for you:

    CC113L:

    // Rf settings for CC113L
    RF_SETTINGS code rfSettings = {
        0x06,  // IOCFG0             GDO0 Output Pin Configuration
        0x47,  // FIFOTHR            RX FIFO Thresholds
        0x05,  // PKTCTRL0           Packet Automation Control
        0x06,  // FSCTRL1            Frequency Synthesizer Control
        0x21,  // FREQ2              Frequency Control Word, High Byte
        0x62,  // FREQ1              Frequency Control Word, Middle Byte
        0x76,  // FREQ0              Frequency Control Word, Low Byte
        0xC8,  // MDMCFG4            Modem Configuration
        0xF0,  // MDMCFG3            Modem Configuration
        0x3D,  // MDMCFG2            Modem Configuration
        0x22,  // MDMCFG1            Modem Configuration
        0x40,  // DEVIATN            Modem Deviation Setting
        0x18,  // MCSM0              Main Radio Control State Machine Configuration
        0x16,  // FOCCFG             Frequency Offset Compensation Configuration
        0x04,  // AGCCTRL2           AGC Control
        0x00,  // AGCCTRL1           AGC Control
        0xFB,  // RESERVED_0X20      Use setting from SmartRF Studio
        0xE9,  // FSCAL3             Frequency Synthesizer Calibration
        0x2A,  // FSCAL2             Frequency Synthesizer Calibration
        0x00,  // FSCAL1             Frequency Synthesizer Calibration
        0x1F,  // FSCAL0             Frequency Synthesizer Calibration
        0x81,  // TEST2              Various Test Settings
        0x35,  // TEST1              Various Test Settings
        0x09,  // TEST0              Various Test Settings
        0x80,  // RSSI               Received Signal Strength Indication
        0x01,  // MARCSTATE          Main Radio Control State Machine State
    };

    CC1200:

    // Rf settings for CC1200
    RF_SETTINGS code rfSettings = {
        0x06,  // IOCFG2              GPIO2 IO Pin Configuration
        0xA6,  // SYNC3               Sync Word Configuration [31:24]
        0x5A,  // SYNC2               Sync Word Configuration [23:16]
        0x96,  // SYNC1               Sync Word Configuration [15:8]
        0x56,  // SYNC0               Sync Word Configuration [7:0]
        0xAC,  // SYNC_CFG1           Sync Word Detection Configuration Reg. 1
        0xD7,  // DEVIATION_M         Frequency Deviation Configuration
        0x1A,  // MODCFG_DEV_E        Modulation Format and Frequency Deviation Configur..
        0x13,  // DCFILT_CFG          Digital DC Removal Configuration
        0x1E,  // PREAMBLE_CFG1       Preamble Length Configuration Reg. 1
        0xE3,  // PREAMBLE_CFG0       Preamble Detection Configuration Reg. 0
        0x80,  // IQIC                Digital Image Channel Compensation Configuration
        0x0D,  // CHAN_BW             Channel Filter Configuration
        0x66,  // MDMCFG1             General Modem Parameter Configuration Reg. 1
        0x02,  // MDMCFG0             General Modem Parameter Configuration Reg. 0
        0x74,  // SYMBOL_RATE2        Symbol Rate Configuration Exponent and Mantissa [1..
        0x26,  // SYMBOL_RATE1        Symbol Rate Configuration Mantissa [15:8]
        0xFE,  // SYMBOL_RATE0        Symbol Rate Configuration Mantissa [7:0]
        0x43,  // AGC_REF             AGC Reference Level Configuration
        0xEC,  // AGC_CS_THR          Carrier Sense Threshold Configuration
        0x31,  // AGC_CFG3            Automatic Gain Control Configuration Reg. 3
        0x24,  // AGC_CFG1            Automatic Gain Control Configuration Reg. 1
        0x9F,  // AGC_CFG0            Automatic Gain Control Configuration Reg. 0
        0x00,  // FIFO_CFG            FIFO Configuration
        0x12,  // FS_CFG              Frequency Synthesizer Configuration
        0x00,  // PKT_CFG2            Packet Configuration Reg. 2
        0x20,  // PKT_CFG0            Packet Configuration Reg. 0
        0x55,  // PA_CFG0             Power Amplifier Configuration Reg. 0
        0xBF,  // ASK_CFG             ASK Configuration
        0xFF,  // PKT_LEN             Packet Length Configuration
        0x1C,  // IF_MIX_CFG          IF Mix Configuration
        0x00,  // FREQOFF_CFG         Frequency Offset Correction Configuration
        0x8A,  // MDMCFG2             General Modem Parameter Configuration Reg. 2
        0x56,  // FREQ2               Frequency Configuration [23:16]
        0xCC,  // FREQ1               Frequency Configuration [15:8]
        0xCC,  // FREQ0               Frequency Configuration [7:0]
        0xEE,  // IF_ADC1             Analog to Digital Converter Configuration Reg. 1
        0x10,  // IF_ADC0             Analog to Digital Converter Configuration Reg. 0
        0x07,  // FS_DIG1             Frequency Synthesizer Digital Reg. 1
        0xA0,  // FS_DIG0             Frequency Synthesizer Digital Reg. 0
        0x40,  // FS_CAL1             Frequency Synthesizer Calibration Reg. 1
        0x0E,  // FS_CAL0             Frequency Synthesizer Calibration Reg. 0
        0x03,  // FS_DIVTWO           Frequency Synthesizer Divide by 2
        0x33,  // FS_DSM0             FS Digital Synthesizer Module Configuration Reg. 0
        0x17,  // FS_DVC0             Frequency Synthesizer Divider Chain Configuration ..
        0x00,  // FS_PFD              Frequency Synthesizer Phase Frequency Detector Con..
        0x6E,  // FS_PRE              Frequency Synthesizer Prescaler Configuration
        0x1C,  // FS_REG_DIV_CML      Frequency Synthesizer Divider Regulator Configurat..
        0xAC,  // FS_SPARE            Frequency Synthesizer Spare
        0xB5,  // FS_VCO0             FS Voltage Controlled Oscillator Configuration Reg..
        0x09,  // IFAMP               Intermediate Frequency Amplifier Configuration
        0x0E,  // XOSC5               Crystal Oscillator Configuration Reg. 5
        0x03,  // XOSC1               Crystal Oscillator Configuration Reg. 1
        0x20,  // PARTNUMBER          Part Number
        0x11,  // PARTVERSION         Part Revision
        0x10,  // MODEM_STATUS1       Modem Status Reg. 1
    };

    BR

    Siri