Part Number: CC1101
Hi,
I have no problem detecting preamble with my CC1101 but I'm unable to detect the sync word. I set up pin interrupt on my MCU for GDO0 (0x08 preamble PQI) and GDO2 (0x06 sync word sent/received). The GDO0 asserts when starting TX on another CC1101 (same config used except of device address) but nothing happens then. GDO2 pin remains low and the receiving CC1101 stays in RX mode (set to switch to IDLE when a packet is received). Also the RX buffer is empty (checking the RXBYTES register).
At first, I used default register settings and only amended registers like base freq, data rate, sync word, device address etc. (cc1101_433MHz_GFSK_manual.xml - ignore GFSK in the file name please, it's 2-FSK)
Then, I used SmartRF studio to generate register settings (cc1101_433MHz_GFSK_SmartRF.xml)
The behavior was almost the same (preamble detected while sync word not), but dBm changed to cca -40 dBm with manual settings while only to cca -60dBm with those generated with SmartRf studio (both from cca -100dBm when transmitting CC1101 was quiet) when another CC1101 was transmitting.
The other difference was that the GDO0 pin (set to preamble detected) stayed high (until the end of transmitting - transimtter remained in TX state after finishing transmitting) ) with manual setting, but wen low very quickly with SmartRF studio settings. What's the desired behavior of the GDO0 pin here?
In the linked post, I read about synchronous and asynchronous mode advising that sync word detection doesn't work in asynchronous mode. Since my PKTCTRL0.PKT_FORMAT is set to Normal mode, how does sync word detection work here? Can't find more information about the Normal mode.
I'm not forced to stick with any particular RF settings (like frequency, modulation etc.) in my project.
So, I'd like to ask to find out why the sync word is not detected.
Thanks, Zdenek
<?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>CC1101</Devicename>
<Description>Saved configuration data</Description>
<registersettings>
<Register>
<Name>ADDR</Name>
<Value>0x02</Value>
</Register>
<Register>
<Name>AGCCTRL2</Name>
<Value>0x43</Value>
</Register>
<Register>
<Name>DEVIATN</Name>
<Value>0x35</Value>
</Register>
<Register>
<Name>FIFOTHR</Name>
<Value>0x47</Value>
</Register>
<Register>
<Name>FOCCFG</Name>
<Value>0x16</Value>
</Register>
<Register>
<Name>FREQ0</Name>
<Value>0x62</Value>
</Register>
<Register>
<Name>FREQ1</Name>
<Value>0xa7</Value>
</Register>
<Register>
<Name>FREQ2</Name>
<Value>0x10</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>IOCFG0</Name>
<Value>0x08</Value>
</Register>
<Register>
<Name>IOCFG2</Name>
<Value>0x06</Value>
</Register>
<Register>
<Name>MCSM0</Name>
<Value>0x18</Value>
</Register>
<Register>
<Name>MCSM1</Name>
<Value>0x32</Value>
</Register>
<Register>
<Name>MDMCFG2</Name>
<Value>0x13</Value>
</Register>
<Register>
<Name>MDMCFG3</Name>
<Value>0x83</Value>
</Register>
<Register>
<Name>MDMCFG4</Name>
<Value>0xca</Value>
</Register>
<Register>
<Name>PA_TABLE0</Name>
<Value>0x60</Value>
</Register>
<Register>
<Name>PKTCTRL0</Name>
<Value>0x05</Value>
</Register>
<Register>
<Name>PKTCTRL1</Name>
<Value>0xc5</Value>
</Register>
<Register>
<Name>TEST0</Name>
<Value>0x09</Value>
</Register>
<Register>
<Name>TEST1</Name>
<Value>0x35</Value>
</Register>
<Register>
<Name>TEST2</Name>
<Value>0x81</Value>
</Register>
<Register>
<Name>WORCTRL</Name>
<Value>0xfb</Value>
</Register>
</registersettings>
<dcpanel>
<Property role="44" name="m_chkRegView">2</Property>
<Property role="44" name="m_chkCmdView">0</Property>
<Property role="44" name="m_chkRfParameters">2</Property>
<Property role="46" name="m_cmbUserMode">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">26.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">30</Property>
<Property role="42" name="m_edtPacketCount">100</Property>
<Property role="42" name="m_edtPacketCountEsy">100</Property>
<Property role="42" name="m_edtRandomPacketData">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 </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">0</Property>
<Property role="44" name="m_chkInfiniteEsy">0</Property>
<Property role="46" name="m_cmbViewFormat">0</Property>
<Property role="44" name="m_chkSeqNbrIncluded">2</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>
</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>CC1101</Devicename>
<Description>Saved configuration data</Description>
<registersettings>
<Register>
<Name>ADDR</Name>
<Value>0x02</Value>
</Register>
<Register>
<Name>FIFOTHR</Name>
<Value>0x47</Value>
</Register>
<Register>
<Name>FOCCFG</Name>
<Value>0x76</Value>
</Register>
<Register>
<Name>FREQ0</Name>
<Value>0x62</Value>
</Register>
<Register>
<Name>FREQ1</Name>
<Value>0xa7</Value>
</Register>
<Register>
<Name>FREQ2</Name>
<Value>0x10</Value>
</Register>
<Register>
<Name>IOCFG0</Name>
<Value>0x08</Value>
</Register>
<Register>
<Name>IOCFG2</Name>
<Value>0x06</Value>
</Register>
<Register>
<Name>MCSM0</Name>
<Value>0x14</Value>
</Register>
<Register>
<Name>MDMCFG2</Name>
<Value>0x01</Value>
</Register>
<Register>
<Name>MDMCFG3</Name>
<Value>0xf8</Value>
</Register>
<Register>
<Name>MDMCFG4</Name>
<Value>0x88</Value>
</Register>
<Register>
<Name>PA_TABLE0</Name>
<Value>0x60</Value>
</Register>
<Register>
<Name>PKTCTRL1</Name>
<Value>0xa5</Value>
</Register>
</registersettings>
<dcpanel>
<Property name="m_chkRegView" role="44">2</Property>
<Property name="m_chkCmdView" role="44">0</Property>
<Property name="m_chkRfParameters" role="44">2</Property>
<Property name="m_cmbUserMode" role="46">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="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">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">30</Property>
<Property name="m_edtPacketCount" role="42">100</Property>
<Property name="m_edtPacketCountEsy" role="42">100</Property>
<Property name="m_edtRandomPacketData" role="42">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 </Property>
<Property name="m_edtPacketData" role="42"></Property>
<Property name="m_edtAccessAddress" role="42"></Property>
<Property name="m_edtDeviceAddress" role="42"></Property>
<Property name="m_chkAddSeqNbr" role="44">2</Property>
<Property name="m_chkInfinite" role="44">0</Property>
<Property name="m_chkInfiniteEsy" role="44">0</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">0</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>
