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.

CC1120 WOR sync word question.

Other Parts Discussed in Thread: CC1120, CC1200

Hi

Have question about sync word and receiveing data  in WOR in SmartRF Studio7.

On Tx side , have sync word  Sync3=AA , sync2=AA, sync1=F6, sync0=8D (W MBUS...)

and data :

                  25 44 08 07 06 05 04 03 02 01 4F 32 78 etc... (W MBUS packet)

On Rx side :

 if set same as Tx sync , have no receive ,but

 if set sync Sync3=AA , sync2=AA, sync1=F6, sync0=DE (by default)

 receive incomplete data , (25 44 08 07 miss) :

                   10:16:19.429 | 44 08 | 1798 | 05 04 03 02 01 4f 32 78 0a etc...

I don't understand why can't receive data with same sync as TX , and how receive complete data .

  • Have you set the RX/TX side to 2 byte sync? I got no problems using 0xF68D as sync word. If you still have problems, post your SmartRF Studio setup (xml) file

  • I have set as 4 byte length on rx side. Try to set 2 byte but have same problem ,

    here is setup xml file .

    5025.!N1a.Tx.fixData 2400.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE configuration SYSTEM "C:/Program Files (x86)/Texas Instruments/SmartRF Tools/SmartRF Studio 7/config/xml/configdata.dtd"[]>
    <dcpanelconfiguration>
        <Devicename>CC1120</Devicename>
        <Description>Saved configuration data</Description>
        <registersettings>
            <Register>
                <Name>AGC_CFG0</Name>
                <Value>0xcf</Value>
            </Register>
            <Register>
                <Name>AGC_CFG1</Name>
                <Value>0xa9</Value>
            </Register>
            <Register>
                <Name>AGC_CS_THR</Name>
                <Value>0x19</Value>
            </Register>
            <Register>
                <Name>AGC_GAIN1</Name>
                <Value>0x1a</Value>
            </Register>
            <Register>
                <Name>AGC_REF</Name>
                <Value>0x20</Value>
            </Register>
            <Register>
                <Name>CHAN_BW</Name>
                <Value>0x0d</Value>
            </Register>
            <Register>
                <Name>DCFILTOFFSET_I0</Name>
                <Value>0x76</Value>
            </Register>
            <Register>
                <Name>DCFILTOFFSET_I1</Name>
                <Value>0x17</Value>
            </Register>
            <Register>
                <Name>DCFILTOFFSET_Q0</Name>
                <Value>0xd0</Value>
            </Register>
            <Register>
                <Name>DCFILTOFFSET_Q1</Name>
                <Value>0x06</Value>
            </Register>
            <Register>
                <Name>DCFILT_CFG</Name>
                <Value>0x1c</Value>
            </Register>
            <Register>
                <Name>DEVIATION_M</Name>
                <Value>0x3a</Value>
            </Register>
            <Register>
                <Name>FIFO_CFG</Name>
                <Value>0x78</Value>
            </Register>
            <Register>
                <Name>FREQ0</Name>
                <Value>0xff</Value>
            </Register>
            <Register>
                <Name>FREQ1</Name>
                <Value>0xe4</Value>
            </Register>
            <Register>
                <Name>FREQ2</Name>
                <Value>0x69</Value>
            </Register>
            <Register>
                <Name>FREQOFF_CFG</Name>
                <Value>0x22</Value>
            </Register>
            <Register>
                <Name>FS_CAL0</Name>
                <Value>0x0e</Value>
            </Register>
            <Register>
                <Name>FS_CAL1</Name>
                <Value>0x40</Value>
            </Register>
            <Register>
                <Name>FS_CFG</Name>
                <Value>0x1a</Value>
            </Register>
            <Register>
                <Name>FS_DIG0</Name>
                <Value>0x5f</Value>
            </Register>
            <Register>
                <Name>FS_DIG1</Name>
                <Value>0x00</Value>
            </Register>
            <Register>
                <Name>FS_DIVTWO</Name>
                <Value>0x03</Value>
            </Register>
            <Register>
                <Name>FS_DSM0</Name>
                <Value>0x33</Value>
            </Register>
            <Register>
                <Name>FS_DVC0</Name>
                <Value>0x17</Value>
            </Register>
            <Register>
                <Name>FS_PFD</Name>
                <Value>0x50</Value>
            </Register>
            <Register>
                <Name>FS_PRE</Name>
                <Value>0x6e</Value>
            </Register>
            <Register>
                <Name>FS_REG_DIV_CML</Name>
                <Value>0x14</Value>
            </Register>
            <Register>
                <Name>FS_SPARE</Name>
                <Value>0xac</Value>
            </Register>
            <Register>
                <Name>FS_VCO0</Name>
                <Value>0xb4</Value>
            </Register>
            <Register>
                <Name>FS_VCO1</Name>
                <Value>0x9c</Value>
            </Register>
            <Register>
                <Name>FS_VCO4</Name>
                <Value>0x13</Value>
            </Register>
            <Register>
                <Name>IF_MIX_CFG</Name>
                <Value>0x00</Value>
            </Register>
            <Register>
                <Name>IOCFG0</Name>
                <Value>0x40</Value>
            </Register>
            <Register>
                <Name>IOCFG1</Name>
                <Value>0xb0</Value>
            </Register>
            <Register>
                <Name>IOCFG2</Name>
                <Value>0x06</Value>
            </Register>
            <Register>
                <Name>IOCFG3</Name>
                <Value>0xb0</Value>
            </Register>
            <Register>
                <Name>IQIC</Name>
                <Value>0xc6</Value>
            </Register>
            <Register>
                <Name>IQIE_I0</Name>
                <Value>0x2e</Value>
            </Register>
            <Register>
                <Name>IQIE_I1</Name>
                <Value>0xfc</Value>
            </Register>
            <Register>
                <Name>IQIE_Q0</Name>
                <Value>0x58</Value>
            </Register>
            <Register>
                <Name>IQIE_Q1</Name>
                <Value>0x05</Value>
            </Register>
            <Register>
                <Name>MDMCFG0</Name>
                <Value>0x05</Value>
            </Register>
            <Register>
                <Name>MODCFG_DEV_E</Name>
                <Value>0x0a</Value>
            </Register>
            <Register>
                <Name>MODEM_STATUS1</Name>
                <Value>0x10</Value>
            </Register>
            <Register>
                <Name>PARTNUMBER</Name>
                <Value>0x48</Value>
            </Register>
            <Register>
                <Name>PARTVERSION</Name>
                <Value>0x21</Value>
            </Register>
            <Register>
                <Name>PA_CFG0</Name>
                <Value>0x7e</Value>
            </Register>
            <Register>
                <Name>PKT_CFG1</Name>
                <Value>0x01</Value>
            </Register>
            <Register>
                <Name>PKT_LEN</Name>
                <Value>0x2c</Value>
            </Register>
            <Register>
                <Name>PREAMBLE_CFG1</Name>
                <Value>0x18</Value>
            </Register>
            <Register>
                <Name>SETTLING_CFG</Name>
                <Value>0x03</Value>
            </Register>
            <Register>
                <Name>SYMBOL_RATE2</Name>
                <Value>0x53</Value>
            </Register>
            <Register>
                <Name>SYNC0</Name>
                <Value>0x8d</Value>
            </Register>
            <Register>
                <Name>SYNC1</Name>
                <Value>0xf6</Value>
            </Register>
            <Register>
                <Name>SYNC2</Name>
                <Value>0xaa</Value>
            </Register>
            <Register>
                <Name>SYNC3</Name>
                <Value>0xaa</Value>
            </Register>
            <Register>
                <Name>SYNC_CFG0</Name>
                <Value>0x0b</Value>
            </Register>
            <Register>
                <Name>SYNC_CFG1</Name>
                <Value>0x08</Value>
            </Register>
            <Register>
                <Name>XOSC1</Name>
                <Value>0x03</Value>
            </Register>
            <Register>
                <Name>XOSC5</Name>
                <Value>0x0e</Value>
            </Register>
        </registersettings>
        <dcpanel>
            <Property role="44" name="m_chkRegView">2</Property>
            <Property role="44" name="m_chkRfParameters">2</Property>
            <Property role="37" name="m_tabUserMode">1</Property>
            <Property role="33" name="m_easyModeSettings">-1</Property>
            <Property role="33" name="m_typicalSettings">-1</Property>
            <Property role="37" name="m_testFuncPanel">2</Property>
        </dcpanel>
        <rfparameters>
            <Property role="46" name="m_cmbFrontends">0</Property>
            <Property role="44" name="m_chkHGMorBYP">2</Property>
            <Property role="46" name="m_cmbEmRevs">-1</Property>
            <Property role="46" name="Xtal frequency">32.000000</Property>
        </rfparameters>
        <conttx>
            <Property role="45" name="m_rbtModulated">1</Property>
            <Property role="45" name="m_rbtUnmodulated">0</Property>
            <Property role="46" name="m_cmbDataFormat">-1</Property>
            <Property role="44" name="m_chkFreqSweep">0</Property>
            <Property role="44" name="m_chkChanSweep">0</Property>
        </conttx>
        <contrx>
            <Property role="46" name="m_cmbDataFormat">-1</Property>
            <Property role="44" name="m_chkAutoScroll">2</Property>
        </contrx>
        <packettx>
            <Property role="42" name="m_edtPayloadSize">44</Property>
            <Property role="42" name="m_edtPacketCount">1</Property>
            <Property role="42" name="m_edtPacketCountEsy">100</Property>
            <Property role="42" name="m_edtRandomPacketData">06 b7 47 de b3 12 4d c8 43 bb 8b a6 1f 03 5a 7d 09 38 25 1f 5d d4 cb fc 96 f5 45 3b 13 0d 89 0a 1c db ae 32 20 9a 50 ee 40 78 36 fd 12 49 32 f6 9e 7d 49 dc ad 4f 14 f2 44 </Property>
            <Property role="42" name="m_edtPacketData">25 44 08 07 06 05 04 03 02 01 4F 32 78 0a 01 02 03 04 05 06 07 08 09 0b 01 02 03 04 10 66 05 06 07 08 09 0c 01 02 03 04 05 06 3E 5C</Property>
            <Property role="42" name="m_edtAccessAddress"></Property>
            <Property role="42" name="m_edtDeviceAddress"></Property>
            <Property role="44" name="m_chkAddSeqNbr">0</Property>
            <Property role="44" name="m_chkInfinite">0</Property>
            <Property role="44" name="m_chkInfiniteEsy">0</Property>
            <Property role="45" name="m_rbtRandom">0</Property>
            <Property role="45" name="m_rbtText">0</Property>
            <Property role="45" name="m_rbtHex">1</Property>
            <Property role="44" name="m_chkAdvanced">2</Property>
            <Property role="46" name="m_cmbSyncWord">-1</Property>
            <Property role="46" name="m_cmbPreambleCount">-1</Property>
            <Property role="44" name="m_chkAddress">0</Property>
            <Property role="42" name="m_edtAddress">0</Property>
            <Property role="46" name="m_cmbLengthConfig">0</Property>
            <Property role="42" name="m_edtLengthConfig">44</Property>
            <Property role="52" name="m_spnPktInterval">10</Property>
            <Property role="44" name="m_chkDefPktInterval">0</Property>
        </packettx>
        <packetrx>
            <Property role="42" name="m_edtPacketCount">1</Property>
            <Property role="42" name="m_edtPacketCountEsy">100</Property>
            <Property role="42" name="m_edtAccessAddress"></Property>
            <Property role="44" name="m_chkInfinite">0</Property>
            <Property role="44" name="m_chkInfiniteEsy">0</Property>
            <Property role="46" name="m_cmbViewFormat">0</Property>
            <Property role="44" name="m_chkSeqNbrIncluded">0</Property>
            <Property role="42" name="m_edtDumpFile"></Property>
            <Property role="44" name="m_chkAdvanced">0</Property>
            <Property role="44" name="m_chk802154gMode">0</Property>
        </packetrx>
        <commandpanel>
            <Property role="44" name="m_chkInsertLength">0</Property>
            <Property role="42" name="m_edtTxFifo"></Property>
            <Property role="42" name="m_edtRxFifo"></Property>
            <Property role="46" name="m_cmbInstrInput">-1</Property>
        </commandpanel>
        <packetRxSniffMode>
            <Property role="42" name="m_edtPreambleLength">8</Property>
            <Property role="42" name="m_edtCarrierSenseThreshold">-90</Property>
            <Property role="45" name="m_rbtRssi">1</Property>
            <Property role="45" name="m_rbtPreamble">0</Property>
        </packetRxSniffMode>
    </dcpanelconfiguration>
    
    1614.!WOR_N1a.Rx.FixData 2400 sync0.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE configuration SYSTEM "C:/Program Files (x86)/Texas Instruments/SmartRF Tools/SmartRF Studio 7/config/xml/configdata.dtd"[]>
    <dcpanelconfiguration>
        <Devicename>CC1120</Devicename>
        <Description>Saved configuration data</Description>
        <registersettings>
            <Register>
                <Name>AGC_CFG1</Name>
                <Value>0xa0</Value>
            </Register>
            <Register>
                <Name>AGC_CS_THR</Name>
                <Value>0x0c</Value>
            </Register>
            <Register>
                <Name>AGC_GAIN1</Name>
                <Value>0x1a</Value>
            </Register>
            <Register>
                <Name>AGC_REF</Name>
                <Value>0x20</Value>
            </Register>
            <Register>
                <Name>CHAN_BW</Name>
                <Value>0x0d</Value>
            </Register>
            <Register>
                <Name>DCFILTOFFSET_I0</Name>
                <Value>0xa3</Value>
            </Register>
            <Register>
                <Name>DCFILTOFFSET_I1</Name>
                <Value>0xf5</Value>
            </Register>
            <Register>
                <Name>DCFILTOFFSET_Q0</Name>
                <Value>0x0c</Value>
            </Register>
            <Register>
                <Name>DCFILTOFFSET_Q1</Name>
                <Value>0x0c</Value>
            </Register>
            <Register>
                <Name>DCFILT_CFG</Name>
                <Value>0x1c</Value>
            </Register>
            <Register>
                <Name>DEVIATION_M</Name>
                <Value>0x3a</Value>
            </Register>
            <Register>
                <Name>FIFO_CFG</Name>
                <Value>0x78</Value>
            </Register>
            <Register>
                <Name>FREQ0</Name>
                <Value>0xff</Value>
            </Register>
            <Register>
                <Name>FREQ1</Name>
                <Value>0xe4</Value>
            </Register>
            <Register>
                <Name>FREQ2</Name>
                <Value>0x69</Value>
            </Register>
            <Register>
                <Name>FREQOFF_CFG</Name>
                <Value>0x22</Value>
            </Register>
            <Register>
                <Name>FS_CAL0</Name>
                <Value>0x0e</Value>
            </Register>
            <Register>
                <Name>FS_CAL1</Name>
                <Value>0x40</Value>
            </Register>
            <Register>
                <Name>FS_CFG</Name>
                <Value>0x1a</Value>
            </Register>
            <Register>
                <Name>FS_CHP</Name>
                <Value>0x27</Value>
            </Register>
            <Register>
                <Name>FS_DIG0</Name>
                <Value>0x50</Value>
            </Register>
            <Register>
                <Name>FS_DIG1</Name>
                <Value>0x00</Value>
            </Register>
            <Register>
                <Name>FS_DIVTWO</Name>
                <Value>0x03</Value>
            </Register>
            <Register>
                <Name>FS_DSM0</Name>
                <Value>0x33</Value>
            </Register>
            <Register>
                <Name>FS_DSM1</Name>
                <Value>0x02</Value>
            </Register>
            <Register>
                <Name>FS_DVC0</Name>
                <Value>0x13</Value>
            </Register>
            <Register>
                <Name>FS_DVC1</Name>
                <Value>0xf3</Value>
            </Register>
            <Register>
                <Name>FS_PFD</Name>
                <Value>0x50</Value>
            </Register>
            <Register>
                <Name>FS_PRE</Name>
                <Value>0x6e</Value>
            </Register>
            <Register>
                <Name>FS_REG_DIV_CML</Name>
                <Value>0x14</Value>
            </Register>
            <Register>
                <Name>FS_SPARE</Name>
                <Value>0xac</Value>
            </Register>
            <Register>
                <Name>FS_VCO0</Name>
                <Value>0xb8</Value>
            </Register>
            <Register>
                <Name>FS_VCO1</Name>
                <Value>0x9c</Value>
            </Register>
            <Register>
                <Name>FS_VCO4</Name>
                <Value>0x11</Value>
            </Register>
            <Register>
                <Name>IF_MIX_CFG</Name>
                <Value>0x00</Value>
            </Register>
            <Register>
                <Name>IOCFG0</Name>
                <Value>0x40</Value>
            </Register>
            <Register>
                <Name>IOCFG1</Name>
                <Value>0xb0</Value>
            </Register>
            <Register>
                <Name>IOCFG2</Name>
                <Value>0x06</Value>
            </Register>
            <Register>
                <Name>IOCFG3</Name>
                <Value>0xb0</Value>
            </Register>
            <Register>
                <Name>IQIC</Name>
                <Value>0xc6</Value>
            </Register>
            <Register>
                <Name>IQIE_I0</Name>
                <Value>0x38</Value>
            </Register>
            <Register>
                <Name>IQIE_I1</Name>
                <Value>0x03</Value>
            </Register>
            <Register>
                <Name>IQIE_Q0</Name>
                <Value>0xb7</Value>
            </Register>
            <Register>
                <Name>IQIE_Q1</Name>
                <Value>0xf6</Value>
            </Register>
            <Register>
                <Name>MDMCFG0</Name>
                <Value>0x05</Value>
            </Register>
            <Register>
                <Name>MODCFG_DEV_E</Name>
                <Value>0x0a</Value>
            </Register>
            <Register>
                <Name>MODEM_STATUS1</Name>
                <Value>0x10</Value>
            </Register>
            <Register>
                <Name>PARTNUMBER</Name>
                <Value>0x48</Value>
            </Register>
            <Register>
                <Name>PARTVERSION</Name>
                <Value>0x21</Value>
            </Register>
            <Register>
                <Name>PA_CFG0</Name>
                <Value>0x7e</Value>
            </Register>
            <Register>
                <Name>PKT_CFG0</Name>
                <Value>0x20</Value>
            </Register>
            <Register>
                <Name>PKT_LEN</Name>
                <Value>0xff</Value>
            </Register>
            <Register>
                <Name>PREAMBLE_CFG1</Name>
                <Value>0x18</Value>
            </Register>
            <Register>
                <Name>RFEND_CFG0</Name>
                <Value>0x09</Value>
            </Register>
            <Register>
                <Name>SETTLING_CFG</Name>
                <Value>0x03</Value>
            </Register>
            <Register>
                <Name>SYMBOL_RATE2</Name>
                <Value>0x53</Value>
            </Register>
            <Register>
                <Name>SYNC1</Name>
                <Value>0xf6</Value>
            </Register>
            <Register>
                <Name>SYNC2</Name>
                <Value>0xaa</Value>
            </Register>
            <Register>
                <Name>SYNC3</Name>
                <Value>0xaa</Value>
            </Register>
            <Register>
                <Name>SYNC_CFG0</Name>
                <Value>0x0b</Value>
            </Register>
            <Register>
                <Name>SYNC_CFG1</Name>
                <Value>0x0b</Value>
            </Register>
            <Register>
                <Name>WOR_CFG0</Name>
                <Value>0x20</Value>
            </Register>
            <Register>
                <Name>WOR_EVENT0_LSB</Name>
                <Value>0x74</Value>
            </Register>
            <Register>
                <Name>WOR_EVENT0_MSB</Name>
                <Value>0x01</Value>
            </Register>
            <Register>
                <Name>XOSC2</Name>
                <Value>0x00</Value>
            </Register>
            <Register>
                <Name>XOSC5</Name>
                <Value>0x0e</Value>
            </Register>
        </registersettings>
        <dcpanel>
            <Property name="m_chkRegView" role="44">2</Property>
            <Property name="m_chkRfParameters" role="44">2</Property>
            <Property name="m_tabUserMode" role="37">1</Property>
            <Property name="m_easyModeSettings" role="33">-1</Property>
            <Property name="m_typicalSettings" role="33">-1</Property>
            <Property name="m_testFuncPanel" role="37">5</Property>
        </dcpanel>
        <rfparameters>
            <Property name="m_cmbFrontends" role="46">0</Property>
            <Property name="m_chkHGMorBYP" role="44">2</Property>
            <Property name="m_cmbEmRevs" role="46">-1</Property>
            <Property name="Xtal frequency" role="46">32.000000</Property>
        </rfparameters>
        <conttx>
            <Property name="m_rbtModulated" role="45">1</Property>
            <Property name="m_rbtUnmodulated" role="45">0</Property>
            <Property name="m_cmbDataFormat" role="46">-1</Property>
            <Property name="m_chkFreqSweep" role="44">0</Property>
            <Property name="m_chkChanSweep" role="44">0</Property>
        </conttx>
        <contrx>
            <Property name="m_cmbDataFormat" role="46">-1</Property>
            <Property name="m_chkAutoScroll" role="44">2</Property>
        </contrx>
        <packettx>
            <Property name="m_edtPayloadSize" role="42">53</Property>
            <Property name="m_edtPacketCount" role="42">1</Property>
            <Property name="m_edtPacketCountEsy" role="42">100</Property>
            <Property name="m_edtRandomPacketData" role="42">44 40 66 d0 6b c4 30 b7 32 3b a1 22 f6 22 91 9d e1 8b 1f da b0 ca 99 02 b9 72 9d 49 2c 80 7e c5 99 d5 e9 80 b2 ea c9 cc 53 bf 67 d6 bf 14 d6 7e 2d dc 8e 66 83 ef 57 49 61 ff 69 8f 61 </Property>
            <Property name="m_edtPacketData" role="42">3064203434206165203063203738203536203334203132203031203037203333203631203738203031203032203035203537203133</Property>
            <Property name="m_edtAccessAddress" role="42"></Property>
            <Property name="m_edtDeviceAddress" role="42"></Property>
            <Property name="m_chkAddSeqNbr" role="44">0</Property>
            <Property name="m_chkInfinite" role="44">0</Property>
            <Property name="m_chkInfiniteEsy" role="44">0</Property>
            <Property name="m_rbtRandom" role="45">0</Property>
            <Property name="m_rbtText" role="45">0</Property>
            <Property name="m_rbtHex" role="45">1</Property>
            <Property name="m_chkAdvanced" role="44">2</Property>
            <Property name="m_cmbSyncWord" role="46">-1</Property>
            <Property name="m_cmbPreambleCount" role="46">-1</Property>
            <Property name="m_chkAddress" role="44">0</Property>
            <Property name="m_edtAddress" role="42"></Property>
            <Property name="m_cmbLengthConfig" role="46">1</Property>
            <Property name="m_edtLengthConfig" role="42">255</Property>
            <Property name="m_spnPktInterval" role="52">250</Property>
            <Property name="m_chkDefPktInterval" role="44">2</Property>
        </packettx>
        <packetrx>
            <Property name="m_edtPacketCount" role="42">1</Property>
            <Property name="m_edtPacketCountEsy" role="42">100</Property>
            <Property name="m_edtAccessAddress" role="42"></Property>
            <Property name="m_chkInfinite" role="44">2</Property>
            <Property name="m_chkInfiniteEsy" role="44">2</Property>
            <Property name="m_cmbViewFormat" role="46">0</Property>
            <Property name="m_chkSeqNbrIncluded" role="44">0</Property>
            <Property name="m_edtDumpFile" role="42"></Property>
            <Property name="m_chkAdvanced" role="44">2</Property>
            <Property name="m_chk802154gMode" role="44">0</Property>
            <Property name="m_cmbSyncWord" role="46">-1</Property>
            <Property name="m_cmbAddressConfig" role="46">0</Property>
            <Property name="m_chkAddress" role="44">0</Property>
            <Property name="m_chkFifoAutoFlush" role="44">0</Property>
            <Property name="m_edtAddress" role="42"></Property>
            <Property name="m_cmbLengthConfig" role="46">1</Property>
            <Property name="m_edtLengthConfig" role="42">255</Property>
        </packetrx>
        <commandpanel>
            <Property name="m_chkInsertLength" role="44">0</Property>
            <Property name="m_edtTxFifo" role="42"></Property>
            <Property name="m_edtRxFifo" role="42"></Property>
            <Property name="m_cmbInstrInput" role="46">-1</Property>
        </commandpanel>
        <packetRxSniffMode>
            <Property name="m_edtPreambleLength" role="42">4</Property>
            <Property name="m_edtCarrierSenseThreshold" role="42">-90</Property>
            <Property name="m_rbtRssi" role="45">1</Property>
            <Property name="m_rbtPreamble" role="45">0</Property>
        </packetRxSniffMode>
    </dcpanelconfiguration>
    

  • - It looks like you have set up the Tx side with fixed packet length but the receiver with variable.

    - You send 4 bytes preamble but expect at least 8 to be able to receive all packets.

  • Please

    On Rx side , load rx setup and manual type :

    WOR_CFG1=0X08

    WOR_CFG0=0X20

    WOR_EVENT0_MSB=0X01//4 byte length

    WOR_EVENT0_MSB=0X74 //4 byte length

    PKT_CFG0=0X00 // fix data

    PKT_LEN=0XFF  //

    SYNC0=0X8D    // :) 

    and try , again .(On my PC for some reason setup registers  won't store like i set...)

    Now sync word is same as tx .

    But this is not solve my problem.

    Have almost same problem except one byte even more have not read .

                 12:52:30.932 | 08 07 | 1541 | 04 03 02 01 4f 32 78 0a  etc...

    if set PKT_LEN=0X2C   have no read data .

    My question is how set up register for WOR at sync word AA AA F6 8D to receive complete data .

    Im stack .

  • It could look like SmartRF Studio has a bug on how to display the received data when in sniff mode. Does it work if you use the sniff mode example here: http://www.ti.com/lit/zip/swrc253?

  • Hm , yes  . I have sometime problem with SmartRF studio .

    1. Wrong load data register from xml ,

    2 .Change some  registers setting in case of switch from "rx sniff" to "packet rx" etc...

    Thank you for code samples i will look about and write again .

  • Hi 

    Please take a look document . It is scanned spi protocol directly from control pins on TrxEB seting as WOR  . Scanning show all received data from radio modul . It is look same as on tx side .

    But on RFstudio appear   packet  without first 6 byte .

    It must be some bug ...

    But it is no matter for my application .

    Radio modul send all data from WOR mod and it is important . 

    Thank you for help  6204.W-MBUS WOR SM STUDIO.pdf

  • Hi Ter,
    I am also getting a problem while using SYNC WORD as ID numbers for 3 CC1120 modules in WSN. 
    I have 3 modules named A, B,C and I set SYNC_CFG0. SYNC_MODE =101 to  use 32 bits sync word (SYNC3, SYNC2, SYNC1, SYNC0) as ID in TX and RX like: 

    static void setSYNC ( unsigned char mode)
    {
      switch (mode)
      {
      case 'A': {
         writeByte = 0x93; cc112xSpiWriteReg(CC112X_SYNC3, &writeByte, 1);
         writeByte = 0x0B; cc112xSpiWriteReg(CC112X_SYNC2, &writeByte, 1);
         writeByte = 0x51; cc112xSpiWriteReg(CC112X_SYNC1, &writeByte, 1);
         writeByte = 0xDE; cc112xSpiWriteReg(CC112X_SYNC0, &writeByte, 1);
         break;
              }
      case 'B': {
         writeByte = 0x26; cc112xSpiWriteReg(CC112X_SYNC3, &writeByte, 1);
         writeByte = 0x33; cc112xSpiWriteReg(CC112X_SYNC2, &writeByte, 1);
         writeByte = 0xD9; cc112xSpiWriteReg(CC112X_SYNC1, &writeByte, 1);
         writeByte = 0xCC; cc112xSpiWriteReg(CC112X_SYNC0, &writeByte, 1);
         break;
              }
      case 'C': {
         writeByte = 0x53; cc112xSpiWriteReg(CC112X_SYNC3, &writeByte, 1);
         writeByte = 0x77; cc112xSpiWriteReg(CC112X_SYNC2, &writeByte, 1);
         writeByte = 0x23; cc112xSpiWriteReg(CC112X_SYNC1, &writeByte, 1);
         writeByte = 0xAA; cc112xSpiWriteReg(CC112X_SYNC0, &writeByte, 1);
         break;
              }
      default : {
         writeByte = 0x93; cc112xSpiWriteReg(CC112X_SYNC3, &writeByte, 1);
         writeByte = 0x0B; cc112xSpiWriteReg(CC112X_SYNC2, &writeByte, 1);
         writeByte = 0x51; cc112xSpiWriteReg(CC112X_SYNC1, &writeByte, 1);
         writeByte = 0xDE; cc112xSpiWriteReg(CC112X_SYNC0, &writeByte, 1);
         break;
              }
      }
      
    }

    the "C" module will be switched to setSYNC('A') (to receive from A) or setSYNC ('B') (to receive from B).

    while(1)
    {
            setSYNC('A');       // set to receive A
            runRX();           // if CRC is correct, set ok=1
            if(ok)
             {
               strobe_green_led();
               ok=0;
             }
            
            setSYNC('B');     // set to receive B
            runRX();             //  if CRC is correct, set ok=1
            if(ok)
             {
               strobe_red_led();
               ok=0;
             }
        __delay_cycles(100000);
    }

    And this is my issue. First test, I run only A module as TX ( use setSYNC('A'), but the C module gets problem: 
     + Sometime, sync word 'A' is detected (strobe green_led)
     + Sometime, sync word 'B' is detected (strobe red_led) without any B modules run !!
     + And sometime, it can't receive anythings ! :(
    Are there any problems with my sync word that I use ? Is SYNC_WORD the good way for ID number ? 
      thanks for your help !
           BRs

  • Using the SYNC word as ID is not optimal. The SYNC search on CC1120 is correlation based. Eq the receiver compares the incoming wave pattern with the wave pattern made by the programmed sync word. To avoid false syncs the selected sync word has to have good autocorrelation properties. If you run 'plot(xcorr(2*vector-1))' in Matlab where vector is the sync word you should only have a spike in the middle. On CC1200 you could use strickt sync word search on all 32 bit and in that case you may use the sync word as ID.

    Could you post the rest of your register settings?

  • Hi,
    I use example code (given by SmartRF studio) optimized for sensitivity 169Mhz, 1.2k bit rate, 2-FSK, narrowband, etc..And here is the rest: 

    static const registerSetting_t preferredSettings[]=    // TX
    {
    {CC112X_IOCFG3,            0xB0 },  //GPIO3 IO Pin Configuration
    {CC112X_IOCFG2,            0x06 },  //GPIO2 IO Pin Configuration
    {CC112X_IOCFG1,            0xB0 },  //GPIO1 IO Pin Configuration
    {CC112X_IOCFG0,            0x06 },  //GPIO0 IO Pin Configuration
    {CC112X_SYNC_CFG1,         0x0B },//Sync Word Detection Configuration Reg. 1
    {CC112X_DCFILT_CFG,        0x1C },  //Digital DC Removal Configuration
    {CC112X_IQIC,              0xC6 },  //Digital Image Channel Compensation Configuration
    {CC112X_MDMCFG0,           0x05 },  //General Modem Parameter Configuration Reg. 0
    {CC112X_AGC_REF,           0x20 },  //AGC Reference Level Configuration
    {CC112X_AGC_CS_THR,        0x19 },  //Carrier Sense Threshold Configuration
    {CC112X_AGC_CFG1,          0xA9 },  //Automatic Gain Control Configuration Reg. 1
    {CC112X_AGC_CFG0,          0xCF },  //Automatic Gain Control Configuration Reg. 0
    {CC112X_FIFO_CFG,          0x00 },  //FIFO Configuration
    {CC112X_SETTLING_CFG,      0x03 },  //Frequency Synthesizer Calibration and Settling Con..
    {CC112X_FS_CFG,            0x1A },  //Frequency Synthesizer Configuration
    {CC112X_PKT_CFG0,          0x20 },  //Packet Configuration Reg. 0
    {CC112X_PKT_LEN,           0xFF },  //Packet Length Configuration
    {CC112X_IF_MIX_CFG,        0x00 },  //IF Mix Configuration
    {CC112X_FREQOFF_CFG,       0x22 },  //Frequency Offset Correction Configuration
    {CC112X_FREQ2,             0x69 },  //Frequency Configuration [23:16]
    {CC112X_FREQ1,             0xA0 },  //Frequency Configuration [15:8]
    {CC112X_FS_DIG1,           0x00 },  //Frequency Synthesizer Digital Reg. 1
    {CC112X_FS_DIG0,           0x5F },  //Frequency Synthesizer Digital Reg. 0
    {CC112X_FS_CAL1,           0x40 },  //Frequency Synthesizer Calibration Reg. 1
    {CC112X_FS_CAL0,           0x0E },  //Frequency Synthesizer Calibration Reg. 0
    {CC112X_FS_DIVTWO,         0x03 },  //Frequency Synthesizer Divide by 2
    {CC112X_FS_DSM0,           0x33 },  //FS Digital Synthesizer Module Configuration Reg. 0
    {CC112X_FS_DVC0,           0x17 },  //Frequency Synthesizer Divider Chain Configuration ..
    {CC112X_FS_PFD,            0x50 },  //Frequency Synthesizer Phase Frequency Detector Con..
    {CC112X_FS_PRE,            0x6E },  //Frequency Synthesizer Prescaler Configuration
    {CC112X_FS_REG_DIV_CML,    0x14 },  //Frequency Synthesizer Divider Regulator Configurat..
    {CC112X_FS_SPARE,          0xAC },  //Frequency Synthesizer Spare
    {CC112X_FS_VCO0,           0xB4 },  //FS Voltage Controlled Oscillator Configuration Reg..
    {CC112X_XOSC5,             0x0E },  //Crystal Oscillator Configuration Reg. 5
    {CC112X_XOSC1,             0x03 },  //Crystal Oscillator Configuration Reg. 1

    As your opinion, SYNC_WORD is not the best way for ID ? I am testing by using different SYNC_WORD to receive signal from different TX modules, it seems like very "hard" to detect correctly sync word !!

    What do you think about the way that using different Packet_Length (check the first byte is RXFIFO) as different IDs 

    I want to read RSSI, I knew that RSSI will be updated after sync word detected. So, if I use the same sync word (as default setting) and identify based on only different Pack_length, how can I get "trust" RSSI values ?
       thanks for your help !

  • - Note that the OBW for a 1.2 kbps, 4 kHz deviation, 2FSK is 9.2 kHz. With a RX BW set to 10 kHz (I assume CHAN_BW is set to default since it's not listed) you will have trouble receiving with just a few 100 Hz offset between Rx and Tx. Either you have to use a TXCO or you should increase the RX BW. For test purposes, set RX BW equal to 25 kHz

    - ID: Depends on how many unique IDs you need. You can use address filtering and if required, use the last 8 bit of the SYNC word (turn on strict sync word search) Or use the first the first byte(s) in the payload as ID. Using the packet length byte is not a good idea since in effect it disable the packet handler.