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.

CC110L Fixed Packet Length Mode

Other Parts Discussed in Thread: CC110L

Hi,

I am having a little bit of trouble with the fixed length mode for CC110L. I am configuring CC110L to transmit 10 bytes and cc1111 to receive the 10 bytes but cc1111 seem to be receiving an extra byte. This is what I am sending:

c9 12 1e 33 74 9e 0c f4 d5 d4 

but cc1111 is receiving:

14:47:29.161 | c9 00 12 1e 33 74 9e 0c f4 d5 | -50

14:47:29.311 | c9 00 12 1e 33 74 9e 0c f4 d5 | -50

14:47:29.461 | c9 00 12 1e 33 74 9e 0c f4 d5 | -50

If I set the receiver to 11 bytes, I get:

14:48:52.797 | c9 00 12 1e 33 74 9e 0c f4 d5 d4 | -50

14:48:52.947 | c9 00 12 1e 33 74 9e 0c f4 d5 d4 | -50

14:48:53.097 | c9 00 12 1e 33 74 9e 0c f4 d5 d4 | -50

14:48:53.247 | c9 00 12 1e 33 74 9e 0c f4 d5 d4 | -50

which includes all the right bytes but again with 00 following c9.

Any thoughts what might be wrong? (attached are register values and snapshot of smartrf) Thanks.

<?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>CC110L</Devicename>
    <Description>Saved configuration data</Description>
    <registersettings>
        <Register>
            <Name>AGCCTRL2</Name>
            <Value>0x43</Value>
        </Register>
        <Register>
            <Name>CRC_REG</Name>
            <Value>0x05</Value>
        </Register>
        <Register>
            <Name>DEVIATN</Name>
            <Value>0x40</Value>
        </Register>
        <Register>
            <Name>FIFOTHR</Name>
            <Value>0x47</Value>
        </Register>
        <Register>
            <Name>FOCCFG</Name>
            <Value>0x16</Value>
        </Register>
        <Register>
            <Name>FREQ0</Name>
            <Value>0x89</Value>
        </Register>
        <Register>
            <Name>FREQ1</Name>
            <Value>0x1d</Value>
        </Register>
        <Register>
            <Name>FREQ2</Name>
            <Value>0x0c</Value>
        </Register>
        <Register>
            <Name>FSCAL0</Name>
            <Value>0x1f</Value>
        </Register>
        <Register>
            <Name>FSCAL1</Name>
            <Value>0x00</Value>
        </Register>
        <Register>
            <Name>FSCAL2</Name>
            <Value>0x2a</Value>
        </Register>
        <Register>
            <Name>FSCAL3</Name>
            <Value>0xe9</Value>
        </Register>
        <Register>
            <Name>FSCTRL1</Name>
            <Value>0x08</Value>
        </Register>
        <Register>
            <Name>IOCFG0</Name>
            <Value>0x06</Value>
        </Register>
        <Register>
            <Name>MARCSTATE</Name>
            <Value>0x01</Value>
        </Register>
        <Register>
            <Name>MCSM0</Name>
            <Value>0x18</Value>
        </Register>
        <Register>
            <Name>MDMCFG1</Name>
            <Value>0x02</Value>
        </Register>
        <Register>
            <Name>MDMCFG2</Name>
            <Value>0x93</Value>
        </Register>
        <Register>
            <Name>MDMCFG3</Name>
            <Value>0x83</Value>
        </Register>
        <Register>
            <Name>MDMCFG4</Name>
            <Value>0xc7</Value>
        </Register>
        <Register>
            <Name>PA_TABLE0</Name>
            <Value>0xc2</Value>
        </Register>
        <Register>
            <Name>PKTCTRL0</Name>
            <Value>0x00</Value>
        </Register>
        <Register>
            <Name>PKTLEN</Name>
            <Value>0x0a</Value>
        </Register>
        <Register>
            <Name>RESERVED_0x20</Name>
            <Value>0xfb</Value>
        </Register>
        <Register>
            <Name>RESERVED_0x29</Name>
            <Value>0x59</Value>
        </Register>
        <Register>
            <Name>RESERVED_0x2A</Name>
            <Value>0x7f</Value>
        </Register>
        <Register>
            <Name>RESERVED_0x2B</Name>
            <Value>0x3f</Value>
        </Register>
        <Register>
            <Name>RSSI</Name>
            <Value>0x80</Value>
        </Register>
        <Register>
            <Name>TEST1</Name>
            <Value>0x35</Value>
        </Register>
        <Register>
            <Name>TEST2</Name>
            <Value>0x81</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">2</Property>
    </dcpanel>
    <rfparameters>
        <Property name="Xtal frequency" role="46">26.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">10</Property>
        <Property name="m_edtPacketCount" role="42">100</Property>
        <Property name="m_edtPacketCountEsy" role="42">100</Property>
        <Property name="m_edtRandomPacketData" role="42">c9 12 1e 33 74 9e 0c f4 d5 d4 </Property>
        <Property name="m_edtPacketData" role="42">1e2d</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">2</Property>
        <Property name="m_chkInfiniteEsy" role="44">2</Property>
        <Property name="m_rbtRandom" role="45">1</Property>
        <Property name="m_rbtText" role="45">0</Property>
        <Property name="m_rbtHex" role="45">0</Property>
        <Property name="m_chkAdvanced" role="44">2</Property>
        <Property name="m_cmbSyncWord" role="46">3</Property>
        <Property name="m_cmbPreambleCount" role="46">0</Property>
        <Property name="m_chkAddress" role="44">0</Property>
        <Property name="m_edtAddress" role="42">13</Property>
        <Property name="m_cmbLengthConfig" role="46">0</Property>
        <Property name="m_edtLengthConfig" role="42">10</Property>
        <Property name="m_spnPktInterval" role="52">150</Property>
        <Property name="m_chkDefPktInterval" role="44">2</Property>
    </packettx>
    <packetrx>
        <Property name="m_edtPacketCount" role="42">100</Property>
        <Property name="m_edtPacketCountEsy" role="42">100</Property>
        <Property name="m_edtAccessAddress" role="42"></Property>
        <Property name="m_chkInfinite" role="44">0</Property>
        <Property name="m_chkInfiniteEsy" role="44">0</Property>
        <Property name="m_cmbViewFormat" role="46">0</Property>
        <Property name="m_chkSeqNbrIncluded" role="44">2</Property>
        <Property name="m_edtDumpFile" role="42"></Property>
        <Property name="m_chkAdvanced" role="44">0</Property>
        <Property name="m_chk802154gMode" role="44">0</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>
</dcpanelconfiguration>
<?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>CC1111</Devicename>
    <Description>Saved configuration data</Description>
    <registersettings>
        <Register>
            <Name>ADDR</Name>
            <Value>0x13</Value>
        </Register>
        <Register>
            <Name>DEVIATN</Name>
            <Value>0x41</Value>
        </Register>
        <Register>
            <Name>FOCCFG</Name>
            <Value>0x17</Value>
        </Register>
        <Register>
            <Name>FREQ0</Name>
            <Value>0x00</Value>
        </Register>
        <Register>
            <Name>FREQ1</Name>
            <Value>0x20</Value>
        </Register>
        <Register>
            <Name>FREQ2</Name>
            <Value>0x0d</Value>
        </Register>
        <Register>
            <Name>FSCAL0</Name>
            <Value>0x1f</Value>
        </Register>
        <Register>
            <Name>FSCAL1</Name>
            <Value>0x00</Value>
        </Register>
        <Register>
            <Name>FSCAL2</Name>
            <Value>0x2a</Value>
        </Register>
        <Register>
            <Name>FSCAL3</Name>
            <Value>0xe9</Value>
        </Register>
        <Register>
            <Name>FSCTRL1</Name>
            <Value>0x06</Value>
        </Register>
        <Register>
            <Name>LQI</Name>
            <Value>0x7f</Value>
        </Register>
        <Register>
            <Name>MCSM0</Name>
            <Value>0x18</Value>
        </Register>
        <Register>
            <Name>MDMCFG0</Name>
            <Value>0x11</Value>
        </Register>
        <Register>
            <Name>MDMCFG1</Name>
            <Value>0x23</Value>
        </Register>
        <Register>
            <Name>MDMCFG2</Name>
            <Value>0x13</Value>
        </Register>
        <Register>
            <Name>MDMCFG3</Name>
            <Value>0xa3</Value>
        </Register>
        <Register>
            <Name>MDMCFG4</Name>
            <Value>0xc7</Value>
        </Register>
        <Register>
            <Name>PA_TABLE0</Name>
            <Value>0x51</Value>
        </Register>
        <Register>
            <Name>PKTCTRL0</Name>
            <Value>0x00</Value>
        </Register>
        <Register>
            <Name>PKTLEN</Name>
            <Value>0x0a</Value>
        </Register>
        <Register>
            <Name>TEST1</Name>
            <Value>0x35</Value>
        </Register>
        <Register>
            <Name>TEST2</Name>
            <Value>0x81</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">3</Property>
    </dcpanel>
    <rfparameters>
        <Property role="46" name="Xtal frequency">48.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">10</Property>
        <Property role="42" name="m_edtPacketCount">100</Property>
        <Property role="42" name="m_edtPacketCountEsy">100</Property>
        <Property role="42" name="m_edtRandomPacketData">6c a1 66 5e 4e e1 30 9c </Property>
        <Property role="42" name="m_edtPacketData"></Property>
        <Property role="42" name="m_edtAccessAddress"></Property>
        <Property role="42" name="m_edtDeviceAddress"></Property>
        <Property role="44" name="m_chkAddSeqNbr">2</Property>
        <Property role="44" name="m_chkInfinite">0</Property>
        <Property role="44" name="m_chkInfiniteEsy">0</Property>
        <Property role="45" name="m_rbtRandom">1</Property>
        <Property role="45" name="m_rbtText">0</Property>
        <Property role="45" name="m_rbtHex">0</Property>
        <Property role="44" name="m_chkAdvanced">0</Property>
    </packettx>
    <packetrx>
        <Property role="42" name="m_edtPacketCount">100</Property>
        <Property role="42" name="m_edtPacketCountEsy">100</Property>
        <Property role="42" name="m_edtAccessAddress"></Property>
        <Property role="44" name="m_chkInfinite">2</Property>
        <Property role="44" name="m_chkInfiniteEsy">2</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">2</Property>
        <Property role="44" name="m_chk802154gMode">0</Property>
        <Property role="46" name="m_cmbSyncWord">3</Property>
        <Property role="46" name="m_cmbAddressConfig">0</Property>
        <Property role="44" name="m_chkAddress">0</Property>
        <Property role="44" name="m_chkFifoAutoFlush">0</Property>
        <Property role="42" name="m_edtAddress"></Property>
        <Property role="46" name="m_cmbLengthConfig">0</Property>
        <Property role="42" name="m_edtLengthConfig">10</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>
</dcpanelconfiguration>

When using the variable length mode, everything seem to work correctly. Any thoughts about what is happening. I am attaching my register configurations.