Part Number:CC1310Other Parts Discussed in Thread:CC1101, , CCSTUDIO
我之前使用的是500kbps,工作正常。
500kbps,175khz dev, 1243K带宽。
后来为了兼容其他射频芯片,改为250kbps,125khz dev, 622K带宽的参数,在SmartRF Studio 7上面收发数据正常(另一侧是cc1101,相同配置),然后根据studio生成 配置文件,
在仿真cc1310时,始终无法接收数据,
发送数据没有问题,可以被cc1101接收到。
Kevin Qiu1:
CC101与CC1310t通信参考里面的步骤:tps://dev.ti.com/tirex/content/simplelink_cc13x0_sdk_4_10_01_01/docs/proprietary-rf/proprietary-rf-users-guide/proprietary-rf/cc1101-migration.html#how-do-i-get-a-link-between-cc1101-and-proprfdevice
yang bo 说:在仿真cc1310时,始终无法接收数据,
将hex文件下载到CC1310中是否可以正常接收?对照上面的步骤再检查一下
,
yang bo:
直接运行也不能正常接收。
另外参考步骤我也看了,依照步骤做了一遍,还是不行。
我做了很多次的实验,
第一步,原项目是500kbps的,没有修改smartrf_settings.c里面的配置的时候,是可以收到数据包的。
第二步,然后我在smartRF_Studio 7上面直接连接cc1310芯片,配置250kbps, 此时在smartRF_Studio 7上面,cc1310和cc1101之间的收发都是正常的,cc1310发送,cc1101可以收到, cc1101发送,cc1310可以收到数据。
第三步,将smartRF_Studio 7中生成 cc1310的配置文件,smartrf_settings.c,然后把里面的内容拷贝到 原项目中的smartrf_settings.c,用ccstudio仿真cc1310芯片,可以发送数据, 并且被第二步的cc1101接收到, 但是cc1101发送数据,cc1310始终收不到。 hex文件下载到芯片里面也不行。
第四步,将smartrf_settings.c文件恢复为500kbps,发现可以收到数据。
我多试了几次,发现配置成250kbps,设置波特率的寄存器值可以不一样, 我测试出来了两个配置文件, 都是250kbps,都可以和cc1101相同配置通信,但两个cc1310的寄存器值是不同的, 我把这些配置文件也附件上面。 这两个配置文件,发现一个symborRate 是0x00D55505,另一个是0x01000006.
CC1101_250kbps.xml
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE configuration SYSTEM "E:/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>AGCCTRL0</Name><Value>0xb0</Value></Register><Register><Name>AGCCTRL1</Name><Value>0x00</Value></Register><Register><Name>AGCCTRL2</Name><Value>0xc7</Value></Register><Register><Name>BSCFG</Name><Value>0x1c</Value></Register><Register><Name>DEVIATN</Name><Value>0x62</Value></Register><Register><Name>FOCCFG</Name><Value>0x1d</Value></Register><Register><Name>FREND1</Name><Value>0xb6</Value></Register><Register><Name>FREQ0</Name><Value>0x3b</Value></Register><Register><Name>FREQ1</Name><Value>0x31</Value></Register><Register><Name>FREQ2</Name><Value>0x23</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>0xea</Value></Register><Register><Name>FSCTRL1</Name><Value>0x0c</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>MDMCFG2</Name><Value>0x07</Value></Register><Register><Name>MDMCFG3</Name><Value>0x3b</Value></Register><Register><Name>MDMCFG4</Name><Value>0x0d</Value></Register><Register><Name>PA_TABLE0</Name><Value>0x8e</Value></Register><Register><Name>PKTCTRL0</Name><Value>0x05</Value></Register><Register><Name>RSSI</Name><Value>0x80</Value></Register><Register><Name>TEST0</Name><Value>0x09</Value></Register><Register><Name>VCO_VC_DAC</Name><Value>0x94</Value></Register><Register><Name>VERSION</Name><Value>0x14</Value></Register><Register><Name>WORCTRL</Name><Value>0xfb</Value></Register></registersettings><dcpanel><Property name="m_chkRegView" role="44">0</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="m_cmbAntList" 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">56</Property><Property name="m_edtPacketCount" role="42">100</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 </Property><Property name="m_edtPacketData" role="42">3535203535203535203933203062203531206465203039203030203266206532206431203837206537203238203638206666206162203266</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">0</Property><Property name="m_rbtText" role="45">0</Property><Property name="m_rbtHex" role="45">1</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">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">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>CC1310_250kbps.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>CC1310_PG21</Devicename><Description>Saved configuration data</Description><Patch><Define>RF_MODE_PROPRIETARY_SUB_1</Define><Cpe>rf_patch_cpe_genfsk</Cpe><Mce></Mce><Rfe>rf_patch_rfe_genfsk</Rfe></Patch><commandsettings><Command name="CMD_TX_TEST"><Field name="commandNo">0x00000808</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="config">0x0000000a</Field><Field name="txWord">0x0000aaaa</Field><Field name="endTrigger">0x00000001</Field><Field name="syncWord">0xd391d391</Field><Field name="endTime">0x00000000</Field></Command><Command name="CMD_SYNC_STOP_RAT"><Field name="commandNo">0x00000809</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field><Field name="rat0">0x00000000</Field></Command><Command name="CMD_SYNC_START_RAT"><Field name="commandNo">0x0000080a</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field><Field name="rat0">0x00000000</Field></Command><Command name="CMD_STOP"><Field name="commandNo">0x00000402</Field></Command><Command name="CMD_SCH_IMM"><Field name="commandNo">0x00000810</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field><Field name="cmdrVal">0x00000000</Field><Field name="cmdstaVal">0x00000000</Field></Command><Command name="CMD_RX_TEST"><Field name="commandNo">0x00000807</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="config">0x00000004</Field><Field name="endTrigger">0x00000001</Field><Field name="syncWord">0xd391d391</Field><Field name="endTime">0x00000000</Field></Command><Command name="CMD_RADIO_SETUP"><Field name="commandNo">0x00000802</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="mode">0x00000001</Field><Field name="loDivider">0x00000000</Field><Field name="config">0x00000000</Field><Field name="txPower">0x00000000</Field><Field name="pRegOverride">0x00000000</Field><OverrideField name="pRegOverride"><OverrideBuffer name="TX power override"><Element32b>ADI_REG_OVERRIDE(0,12,0xF8)</Element32b></OverrideBuffer></OverrideField></Command><Command name="CMD_PROP_TX_ADV"><Field name="commandNo">0x00003803</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="pktConf">0x00000000</Field><Field name="numHdrBits">0x00000010</Field><Field name="pktLen">0x00000014</Field><Field name="startConf">0x00000000</Field><Field name="preTrigger">0x00000000</Field><Field name="preTime">0x00000000</Field><Field name="syncWord">0xd391d391</Field><Field name="pPkt">0x00000000</Field></Command><Command name="CMD_PROP_TX"><Field name="commandNo">0x00003801</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="pktConf">0x00000018</Field><Field name="pktLen">0x00000014</Field><Field name="syncWord">0xd391d391</Field><Field name="pPkt">0x00000000</Field></Command><Command name="CMD_PROP_RX_SNIFF"><Field name="commandNo">0x00003808</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="pktConf">0x00000000</Field><Field name="rxConf">0x00000000</Field><Field name="syncWord">0x00000000</Field><Field name="maxPktLen">0x00000000</Field><Field name="address0">0x00000000</Field><Field name="address1">0x00000000</Field><Field name="endTrigger">0x00000000</Field><Field name="endTime">0x00000000</Field><Field name="pQueue">0x00000000</Field><Field name="pOutput">0x00000000</Field><Field name="csConf">0x00000000</Field><Field name="rssiThr">0x00000000</Field><Field name="numRssiIdle">0x00000000</Field><Field name="numRssiBusy">0x00000000</Field><Field name="corrPeriod">0x00000000</Field><Field name="corrConfig">0x00000000</Field><Field name="csEndTrigger">0x00000000</Field><Field name="csEndTime">0x00000000</Field></Command><Command name="CMD_PROP_RX_ADV_SNIFF"><Field name="commandNo">0x00003809</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="pktConf">0x00000000</Field><Field name="rxConf">0x00000000</Field><Field name="syncWord0">0x00000000</Field><Field name="syncWord1">0x00000000</Field><Field name="maxPktLen">0x00000000</Field><Field name="hdrConf">0x00000000</Field><Field name="addrConf">0x00000000</Field><Field name="lenOffset">0x00000000</Field><Field name="endTrigger">0x00000000</Field><Field name="endTime">0x00000000</Field><Field name="pAddr">0x00000000</Field><Field name="pQueue">0x00000000</Field><Field name="pOutput">0x00000000</Field><Field name="csConf">0x00000000</Field><Field name="rssiThr">0x00000000</Field><Field name="numRssiIdle">0x00000000</Field><Field name="numRssiBusy">0x00000000</Field><Field name="corrPeriod">0x00000000</Field><Field name="corrConfig">0x00000000</Field><Field name="csEndTrigger">0x00000000</Field><Field name="csEndTime">0x00000000</Field></Command><Command name="CMD_PROP_RX_ADV"><Field name="commandNo">0x00003804</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="pktConf">0x00000000</Field><Field name="rxConf">0x00000000</Field><Field name="syncWord0">0xd391d391</Field><Field name="syncWord1">0x00000000</Field><Field name="maxPktLen">0x000000ff</Field><Field name="hdrConf">0x00000000</Field><Field name="addrConf">0x00000000</Field><Field name="lenOffset">0x00000000</Field><Field name="endTrigger">0x00000000</Field><Field name="endTime">0x00000000</Field><Field name="pAddr">0x00000000</Field><Field name="pQueue">0x00000000</Field><Field name="pOutput">0x00000000</Field></Command><Command name="CMD_PROP_RX"><Field name="commandNo">0x00003802</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="pktConf">0x00000018</Field><Field name="rxConf">0x00000088</Field><Field name="syncWord">0xd391d391</Field><Field name="maxPktLen">0x000000ff</Field><Field name="address0">0x000000aa</Field><Field name="address1">0x000000bb</Field><Field name="endTrigger">0x00000001</Field><Field name="endTime">0x00000000</Field><Field name="pQueue">0x00000000</Field><Field name="pOutput">0x00000000</Field></Command><Command name="CMD_PROP_RADIO_SETUP"><Field name="commandNo">0x00003806</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="modulation">0x00000000</Field><Field name="symbolRate">0x00000000</Field><Field name="rxBw">0x00000000</Field><Field name="preamConf">0x00000000</Field><Field name="formatConf">0x00000000</Field><Field name="config">0x00000000</Field><Field name="txPower">0x00000000</Field><Field name="pRegOverride">0x00000000</Field><OverrideField name="pRegOverride"><OverrideBuffer name="TX power override"><Element32b>ADI_REG_OVERRIDE(0,12,0xF8)</Element32b></OverrideBuffer></OverrideField></Command><Command name="CMD_PROP_RADIO_DIV_SETUP"><Field name="commandNo">0x00003807</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="modulation">0x00000fa1</Field><Field name="symbolRate">0x01000006</Field><Field name="rxBw">0x0000002c</Field><Field name="preamConf">0x00000004</Field><Field name="formatConf">0x000000a0</Field><Field name="config">0x00000008</Field><Field name="txPower">0x0000a73f</Field><Field name="pRegOverride">0x00000000</Field><Field name="centerFreq">0x00000393</Field><Field name="intFreq">0x00008000</Field><Field name="loDivider">0x00000005</Field><OverrideField name="pRegOverride"><OverrideBuffer name="override_use_patch_prop_genfsk.xml"><Element32b>MCE_RFE_OVERRIDE(0,4,0,1,0,0)</Element32b></OverrideBuffer><OverrideBuffer name="override_synth_prop_863_930_div5.xml"><Element32b>HW_REG_OVERRIDE(0x4038,0x0037)</Element32b><Element32b>0x000684A3</Element32b><Element32b>HW_REG_OVERRIDE(0x4020,0x7F00)</Element32b><Element32b>HW_REG_OVERRIDE(0x4064,0x0040)</Element32b><Element32b>0xB1070503</Element32b><Element32b>0x05330523</Element32b><Element32b>0x0A480583</Element32b><Element32b>0x7AB80603</Element32b><Element32b>ADI_REG_OVERRIDE(1,4,0x9F)</Element32b><Element32b>ADI_HALFREG_OVERRIDE(1,7,0x4,0x4)</Element32b><Element32b>0x02010403</Element32b><Element32b>0x00108463</Element32b><Element32b>0x04B00243</Element32b></OverrideBuffer><OverrideBuffer name="override_synth_disable_bias_div5.xml"><Element32b>HW32_ARRAY_OVERRIDE(0x405C,1)</Element32b><Element32b>0x18000200</Element32b></OverrideBuffer><OverrideBuffer name="override_phy_rx_aaf_bw_0x0.xml"><Element32b>ADI_HALFREG_OVERRIDE(0,61,0xF,0x0)</Element32b></OverrideBuffer><OverrideBuffer name="override_phy_gfsk_rx.xml"><Element32b>0x00038883</Element32b><Element32b>HW_REG_OVERRIDE(0x6084,0x35F1)</Element32b></OverrideBuffer><OverrideBuffer name="override_phy_gfsk_pa_ramp_5us_agc_reflevel_0x24.xml"><Element32b>HW_REG_OVERRIDE(0x6088,0x1024)</Element32b><Element32b>HW_REG_OVERRIDE(0x608C,0x0813)</Element32b></OverrideBuffer><OverrideBuffer name="override_phy_rx_rssi_offset_5db.xml"><Element32b>0x00FB88A3</Element32b></OverrideBuffer><OverrideBuffer name="TX power override"><Element32b>ADI_REG_OVERRIDE(0,12,0xF8)</Element32b></OverrideBuffer></OverrideField></Command><Command name="CMD_PROP_CS"><Field name="commandNo">0x00003805</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="csFsConf">0x00000000</Field><Field name="csConf">0x00000000</Field><Field name="rssiThr">0x00000000</Field><Field name="numRssiIdle">0x00000000</Field><Field name="numRssiBusy">0x00000000</Field><Field name="corrPeriod">0x00000000</Field><Field name="corrConfig">0x00000000</Field><Field name="csEndTrigger">0x00000000</Field><Field name="csEndTime">0x00000000</Field></Command><Command name="CMD_PATTERN_CHECK"><Field name="commandNo">0x00000813</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field><Field name="patternOpt">0x00000000</Field><Field name="pNextOpIfOk">0x00000000</Field><Field name="pValue">0x00000000</Field><Field name="mask">0x00000000</Field><Field name="compareVal">0x00000000</Field></Command><Command name="CMD_NOP"><Field name="commandNo">0x00000801</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field></Command><Command name="CMD_FS_POWERUP"><Field name="commandNo">0x0000080c</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field><Field name="pRegOverride">0x00000000</Field></Command><Command name="CMD_FS_POWERDOWN"><Field name="commandNo">0x0000080d</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field></Command><Command name="CMD_FS_OFF"><Field name="commandNo">0x00000804</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field></Command><Command name="CMD_FS"><Field name="commandNo">0x00000803</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="frequency">0x00000393</Field><Field name="fractFreq">0x00000000</Field><Field name="synthConf">0x00000000</Field></Command><Command name="CMD_COUNT_BRANCH"><Field name="commandNo">0x00000812</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field><Field name="counter">0x00000000</Field><Field name="pNextOpIfOk">0x00000000</Field></Command><Command name="CMD_COUNT"><Field name="commandNo">0x0000080b</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field><Field name="counter">0x00000000</Field></Command><Command name="CMD_ABORT"><Field name="commandNo">0x00000401</Field></Command></commandsettings><dcpanel><Property role="44" name="m_chkCmdView">2</Property><Property role="44" name="m_chkRfParameters">2</Property><Property role="33" name="m_typicalSettings">Settings for 779 - 930 MHz band;500 kbps, 2-GFSK, 175 kHz deviation</Property><Property role="37" name="m_testFuncPanel">3</Property></dcpanel><targetconfig><Property role="46" name="m_cmbBoardSelection">0</Property><Property role="44" name="m_chkDcDc">2</Property></targetconfig><rfparameters><Property role="65535" name="txPower">14</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">0</Property><Property role="44" name="m_chkAutoScroll">2</Property></contrx><packettx><Property role="42" name="m_edtPacketCount">100</Property><Property role="42" name="m_edtFixedPktLength">30</Property><Property role="42" name="m_edtPacketData">ab 36 24 5d 94 79 9b 75 19 c7 5c 73 9c 09 79 b1 5f 85 f0 c7 </Property><Property role="42" name="m_edtAccessAddress"></Property><Property role="44" name="m_chkAddSeqNbr">0</Property><Property role="44" name="m_chkInfinite">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><Property role="46" name="m_cmbLengthConfig">0</Property><Property role="42" name="m_edtFixedPktLength">30</Property><Property role="20" name="m_grp802154g">0</Property><Property role="42" name="m_edt802154gPktLength">20</Property><Property role="45" name="m_rbt802154g2BCrc">1</Property><Property role="45" name="m_rbt802154g4BCrc">0</Property><Property role="44" name="m_chk802154gWhitening">2</Property><Property role="44" name="m_chkFEC">0</Property><Property role="46" name="m_cmbPreambleCount">5</Property><Property role="44" name="m_chkAddress">0</Property><Property role="46" name="m_cmbSyncMode">24</Property></packettx><packetview><Property role="42" name="m_edtPktLength">30</Property><Property role="42" name="m_edtAddress">AA</Property><Property role="41" name="m_lblFrmPayload">ea fd 81 6e 2e 89 13 56 de 7e 65 11 d5 5b c4 4b 62 44 9b 51 ee 0d 3a c5 df 95 d7 95 bc 55 </Property></packetview><packetrx><Property role="42" name="m_edtPacketCount">100</Property><Property role="42" name="m_edtAccessAddress">0xd391d391</Property><Property role="44" name="m_chkInfinite">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">0</Property><Property role="44" name="m_chk802154gMode">0</Property></packetrx> </dcpanelconfiguration>CC1310_250kbps_1.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>CC1310_PG21</Devicename><Description>Saved configuration data</Description><Patch><Define>RF_MODE_PROPRIETARY_SUB_1</Define><Cpe>rf_patch_cpe_genfsk</Cpe><Mce></Mce><Rfe>rf_patch_rfe_genfsk</Rfe></Patch><commandsettings><Command name="CMD_TX_TEST"><Field name="commandNo">0x00000808</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="config">0x0000000a</Field><Field name="txWord">0x0000aaaa</Field><Field name="endTrigger">0x00000001</Field><Field name="syncWord">0xd391d391</Field><Field name="endTime">0x00000000</Field></Command><Command name="CMD_SYNC_STOP_RAT"><Field name="commandNo">0x00000809</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field><Field name="rat0">0x00000000</Field></Command><Command name="CMD_SYNC_START_RAT"><Field name="commandNo">0x0000080a</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field><Field name="rat0">0x00000000</Field></Command><Command name="CMD_STOP"><Field name="commandNo">0x00000402</Field></Command><Command name="CMD_SCH_IMM"><Field name="commandNo">0x00000810</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field><Field name="cmdrVal">0x00000000</Field><Field name="cmdstaVal">0x00000000</Field></Command><Command name="CMD_RX_TEST"><Field name="commandNo">0x00000807</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="config">0x00000004</Field><Field name="endTrigger">0x00000001</Field><Field name="syncWord">0xd391d391</Field><Field name="endTime">0x00000000</Field></Command><Command name="CMD_RADIO_SETUP"><Field name="commandNo">0x00000802</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="mode">0x00000001</Field><Field name="loDivider">0x00000000</Field><Field name="config">0x00000000</Field><Field name="txPower">0x00000000</Field><Field name="pRegOverride">0x00000000</Field><OverrideField name="pRegOverride"><OverrideBuffer name="TX power override"><Element32b>ADI_REG_OVERRIDE(0,12,0xF8)</Element32b></OverrideBuffer></OverrideField></Command><Command name="CMD_PROP_TX_ADV"><Field name="commandNo">0x00003803</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="pktConf">0x00000000</Field><Field name="numHdrBits">0x00000010</Field><Field name="pktLen">0x00000014</Field><Field name="startConf">0x00000000</Field><Field name="preTrigger">0x00000000</Field><Field name="preTime">0x00000000</Field><Field name="syncWord">0xd391d391</Field><Field name="pPkt">0x00000000</Field></Command><Command name="CMD_PROP_TX"><Field name="commandNo">0x00003801</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="pktConf">0x00000018</Field><Field name="pktLen">0x00000014</Field><Field name="syncWord">0xd391d391</Field><Field name="pPkt">0x00000000</Field></Command><Command name="CMD_PROP_RX_SNIFF"><Field name="commandNo">0x00003808</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="pktConf">0x00000000</Field><Field name="rxConf">0x00000000</Field><Field name="syncWord">0x00000000</Field><Field name="maxPktLen">0x00000000</Field><Field name="address0">0x00000000</Field><Field name="address1">0x00000000</Field><Field name="endTrigger">0x00000000</Field><Field name="endTime">0x00000000</Field><Field name="pQueue">0x00000000</Field><Field name="pOutput">0x00000000</Field><Field name="csConf">0x00000000</Field><Field name="rssiThr">0x00000000</Field><Field name="numRssiIdle">0x00000000</Field><Field name="numRssiBusy">0x00000000</Field><Field name="corrPeriod">0x00000000</Field><Field name="corrConfig">0x00000000</Field><Field name="csEndTrigger">0x00000000</Field><Field name="csEndTime">0x00000000</Field></Command><Command name="CMD_PROP_RX_ADV_SNIFF"><Field name="commandNo">0x00003809</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="pktConf">0x00000000</Field><Field name="rxConf">0x00000000</Field><Field name="syncWord0">0x00000000</Field><Field name="syncWord1">0x00000000</Field><Field name="maxPktLen">0x00000000</Field><Field name="hdrConf">0x00000000</Field><Field name="addrConf">0x00000000</Field><Field name="lenOffset">0x00000000</Field><Field name="endTrigger">0x00000000</Field><Field name="endTime">0x00000000</Field><Field name="pAddr">0x00000000</Field><Field name="pQueue">0x00000000</Field><Field name="pOutput">0x00000000</Field><Field name="csConf">0x00000000</Field><Field name="rssiThr">0x00000000</Field><Field name="numRssiIdle">0x00000000</Field><Field name="numRssiBusy">0x00000000</Field><Field name="corrPeriod">0x00000000</Field><Field name="corrConfig">0x00000000</Field><Field name="csEndTrigger">0x00000000</Field><Field name="csEndTime">0x00000000</Field></Command><Command name="CMD_PROP_RX_ADV"><Field name="commandNo">0x00003804</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="pktConf">0x00000000</Field><Field name="rxConf">0x00000000</Field><Field name="syncWord0">0xd391d391</Field><Field name="syncWord1">0x00000000</Field><Field name="maxPktLen">0x000000ff</Field><Field name="hdrConf">0x00000000</Field><Field name="addrConf">0x00000000</Field><Field name="lenOffset">0x00000000</Field><Field name="endTrigger">0x00000000</Field><Field name="endTime">0x00000000</Field><Field name="pAddr">0x00000000</Field><Field name="pQueue">0x00000000</Field><Field name="pOutput">0x00000000</Field></Command><Command name="CMD_PROP_RX"><Field name="commandNo">0x00003802</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="pktConf">0x00000018</Field><Field name="rxConf">0x00000088</Field><Field name="syncWord">0xd391d391</Field><Field name="maxPktLen">0x000000ff</Field><Field name="address0">0x000000aa</Field><Field name="address1">0x000000bb</Field><Field name="endTrigger">0x00000001</Field><Field name="endTime">0x00000000</Field><Field name="pQueue">0x00000000</Field><Field name="pOutput">0x00000000</Field></Command><Command name="CMD_PROP_RADIO_SETUP"><Field name="commandNo">0x00003806</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="modulation">0x00000000</Field><Field name="symbolRate">0x00000000</Field><Field name="rxBw">0x00000000</Field><Field name="preamConf">0x00000000</Field><Field name="formatConf">0x00000000</Field><Field name="config">0x00000000</Field><Field name="txPower">0x00000000</Field><Field name="pRegOverride">0x00000000</Field><OverrideField name="pRegOverride"><OverrideBuffer name="TX power override"><Element32b>ADI_REG_OVERRIDE(0,12,0xF8)</Element32b></OverrideBuffer></OverrideField></Command><Command name="CMD_PROP_RADIO_DIV_SETUP"><Field name="commandNo">0x00003807</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="modulation">0x00000fa1</Field><Field name="symbolRate">0x00d55505</Field><Field name="rxBw">0x0000002c</Field><Field name="preamConf">0x00000004</Field><Field name="formatConf">0x000000a0</Field><Field name="config">0x00000008</Field><Field name="txPower">0x0000a73f</Field><Field name="pRegOverride">0x00000000</Field><Field name="centerFreq">0x00000393</Field><Field name="intFreq">0x00008000</Field><Field name="loDivider">0x00000005</Field><OverrideField name="pRegOverride"><OverrideBuffer name="override_use_patch_prop_genfsk.xml"><Element32b>MCE_RFE_OVERRIDE(0,4,0,1,0,0)</Element32b></OverrideBuffer><OverrideBuffer name="override_synth_prop_863_930_div5.xml"><Element32b>HW_REG_OVERRIDE(0x4038,0x0037)</Element32b><Element32b>0x000684A3</Element32b><Element32b>HW_REG_OVERRIDE(0x4020,0x7F00)</Element32b><Element32b>HW_REG_OVERRIDE(0x4064,0x0040)</Element32b><Element32b>0xB1070503</Element32b><Element32b>0x05330523</Element32b><Element32b>0x0A480583</Element32b><Element32b>0x7AB80603</Element32b><Element32b>ADI_REG_OVERRIDE(1,4,0x9F)</Element32b><Element32b>ADI_HALFREG_OVERRIDE(1,7,0x4,0x4)</Element32b><Element32b>0x02010403</Element32b><Element32b>0x00108463</Element32b><Element32b>0x04B00243</Element32b></OverrideBuffer><OverrideBuffer name="override_synth_disable_bias_div5.xml"><Element32b>HW32_ARRAY_OVERRIDE(0x405C,1)</Element32b><Element32b>0x18000200</Element32b></OverrideBuffer><OverrideBuffer name="override_phy_rx_aaf_bw_0x0.xml"><Element32b>ADI_HALFREG_OVERRIDE(0,61,0xF,0x0)</Element32b></OverrideBuffer><OverrideBuffer name="override_phy_gfsk_rx.xml"><Element32b>0x00038883</Element32b><Element32b>HW_REG_OVERRIDE(0x6084,0x35F1)</Element32b></OverrideBuffer><OverrideBuffer name="override_phy_gfsk_pa_ramp_5us_agc_reflevel_0x1e.xml"><Element32b>HW_REG_OVERRIDE(0x6088,0x101E)</Element32b><Element32b>HW_REG_OVERRIDE(0x608C,0x0813)</Element32b></OverrideBuffer><OverrideBuffer name="override_phy_rx_rssi_offset_5db.xml"><Element32b>0x00FB88A3</Element32b></OverrideBuffer><OverrideBuffer name="TX power override"><Element32b>ADI_REG_OVERRIDE(0,12,0xF8)</Element32b></OverrideBuffer></OverrideField></Command><Command name="CMD_PROP_CS"><Field name="commandNo">0x00003805</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="csFsConf">0x00000000</Field><Field name="csConf">0x00000000</Field><Field name="rssiThr">0x00000000</Field><Field name="numRssiIdle">0x00000000</Field><Field name="numRssiBusy">0x00000000</Field><Field name="corrPeriod">0x00000000</Field><Field name="corrConfig">0x00000000</Field><Field name="csEndTrigger">0x00000000</Field><Field name="csEndTime">0x00000000</Field></Command><Command name="CMD_PATTERN_CHECK"><Field name="commandNo">0x00000813</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field><Field name="patternOpt">0x00000000</Field><Field name="pNextOpIfOk">0x00000000</Field><Field name="pValue">0x00000000</Field><Field name="mask">0x00000000</Field><Field name="compareVal">0x00000000</Field></Command><Command name="CMD_NOP"><Field name="commandNo">0x00000801</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field></Command><Command name="CMD_FS_POWERUP"><Field name="commandNo">0x0000080c</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field><Field name="pRegOverride">0x00000000</Field></Command><Command name="CMD_FS_POWERDOWN"><Field name="commandNo">0x0000080d</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field></Command><Command name="CMD_FS_OFF"><Field name="commandNo">0x00000804</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field></Command><Command name="CMD_FS"><Field name="commandNo">0x00000803</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000001</Field><Field name="frequency">0x00000393</Field><Field name="fractFreq">0x00000000</Field><Field name="synthConf">0x00000000</Field></Command><Command name="CMD_COUNT_BRANCH"><Field name="commandNo">0x00000812</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field><Field name="counter">0x00000000</Field><Field name="pNextOpIfOk">0x00000000</Field></Command><Command name="CMD_COUNT"><Field name="commandNo">0x0000080b</Field><Field name="status">0x00000000</Field><Field name="pNextOp">0x00000000</Field><Field name="startTime">0x00000000</Field><Field name="startTrigger">0x00000000</Field><Field name="condition">0x00000000</Field><Field name="counter">0x00000000</Field></Command><Command name="CMD_ABORT"><Field name="commandNo">0x00000401</Field></Command></commandsettings><dcpanel><Property name="m_chkCmdView" role="44">2</Property><Property name="m_chkRfParameters" role="44">2</Property><Property name="m_typicalSettings" role="33">Settings for 779 - 930 MHz band;300 kbps, 2-GFSK, 105 kHz deviation</Property><Property name="m_testFuncPanel" role="37">2</Property></dcpanel><targetconfig><Property name="m_cmbBoardSelection" role="46">0</Property><Property name="m_chkDcDc" role="44">2</Property></targetconfig><rfparameters><Property name="txPower" role="65535">14</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">0</Property><Property name="m_chkAutoScroll" role="44">2</Property></contrx><packettx><Property name="m_edtPacketCount" role="42">100</Property><Property name="m_edtFixedPktLength" role="42">20</Property><Property name="m_edtPacketData" role="42">0a c7 f1 c1 18 ac 57 95 cd 3c d5 c8 6a 08 cf 01 88 90 d4 63 </Property><Property name="m_edtAccessAddress" role="42"></Property><Property name="m_chkAddSeqNbr" role="44">0</Property><Property name="m_chkInfinite" 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><Property name="m_cmbLengthConfig" role="46">0</Property><Property name="m_edtFixedPktLength" role="42">20</Property><Property name="m_grp802154g" role="20">0</Property><Property name="m_edt802154gPktLength" role="42">20</Property><Property name="m_rbt802154g2BCrc" role="45">1</Property><Property name="m_rbt802154g4BCrc" role="45">0</Property><Property name="m_chk802154gWhitening" role="44">2</Property><Property name="m_chkFEC" role="44">0</Property><Property name="m_cmbPreambleCount" role="46">5</Property><Property name="m_chkAddress" role="44">0</Property><Property name="m_cmbSyncMode" role="46">24</Property></packettx><packetview><Property name="m_edtPktLength" role="42">20</Property><Property name="m_edtAddress" role="42"></Property><Property name="m_lblFrmPayload" role="41">0a c7 f1 c1 18 ac 57 95 cd 3c d5 c8 6a 08 cf 01 88 90 d4 63 </Property></packetview><packetrx><Property name="m_edtPacketCount" role="42">100</Property><Property name="m_edtAccessAddress" role="42">0xd391d391</Property><Property name="m_chkInfinite" role="44">0</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">0</Property><Property name="m_chk802154gMode" role="44">0</Property></packetrx> </dcpanelconfiguration>
,
Kevin Qiu1:
如果在smartRF_Studio 7上可以正常收发数据,那导出配置文件后将程序下载到板子上应该也可以正常通信
yang bo 说:第三步,将smartRF_Studio 7中生成 cc1310的配置文件,smartrf_settings.c,然后把里面的内容拷贝到 原项目中的smartrf_settings.c,用ccstudio仿真cc1310芯片,可以发送数据, 并且被第二步的cc1101接收到, 但是cc1101发送数据,cc1310始终收不到
速率改为250kbps后,带宽也变小了,发射可以接收不行,可能是存在频偏
窄带对频率精度要求很高,测一下频率看看
,
yang bo:
我在SMartRF Studio上面测试出来了, 如果cc1310一上电就接收数据,在SmartRF Studio上面也是收不到数据的, 必须先发送一包数据,然后再接收数据包就可以了, 500kbps没有这个现象,你们也帮忙看看是为啥? 250kbps要先发送,才能接收。
,
yang bo:
很抱歉,只是SMartRF Studio上面先发送数据,然后 可以接收, 代码里面还是不行。
,
Kevin Qiu1:
yang bo 说:只是SMartRF Studio上面先发送数据,然后 可以接收, 代码里面还是不行
上面的说的频率测了吗,是否存在频偏
将CC1101和CC1310射频参数的截图传上来,这样看起来更直观一些