TI中文支持网
TI专业的中文技术问题搜集分享网站

急求CC1310 2M速率的配置

官网上无线配置最高为500k,hsm是4M,请问1M、1.5M、2M等怎么配置,

Viki Shi:

可以参考SDK中的rfPacketErrorRate,可以修改为high speed 模式

user4967557:

回复 Viki Shi:

smartrf studio上最高配置为500K

Viki Shi:

回复 user4967557:

对,我去确认了一下,修改了答案,参考SDK中的rfPacketErrorRate,可以修改为high speed 模式

user4967557:

回复 Viki Shi:

high speed是4M,4M丢包很严重,有没有2M的配置????

user4967557:

回复 Viki Shi:

是的,那是4M的配置!!2M怎么配置呢?

Alvin Chen:

回复 user4967557:

建议使用1.5mbps。

#include DeviceFamily_constructPath(rf_patches/rf_patch_mce_ghs.h)
#include DeviceFamily_constructPath(rf_patches/rf_patch_rfe_ghs.h)
#include DeviceFamily_constructPath(rf_patches/rf_patch_cpe_ghs.h)

RF_Mode RF_prop_hs_4fsk =
{.rfMode=RF_MODE_PROPRIETARY_SUB_1,.cpePatchFxn=&enterGhsCpePatch,.mcePatchFxn=&rf_patch_mce_ghs,.rfePatchFxn=&rf_patch_rfe_ghs,
};

uint32_t pOverrides_hs_4fsk[] =
{// PHY: Use MCE RAM patch, RFE RAM patchMCE_RFE_OVERRIDE(1, 0, 0, 1, 0, 0),// Rx: Set anti-aliasing filter bandwidth to MaximumADI_HALFREG_OVERRIDE(0,61,0xF,0x0), // Synth: Set recommended RTRIM to 7HW_REG_OVERRIDE(0x4038,0x0037), // Synth: Configure fine calibration settingHW_REG_OVERRIDE(0x4020,0x7F00),// Synth: Configure fine calibration settingHW_REG_OVERRIDE(0x4064,0x0040),// Synth: Set Fref to 4 MHz(uint32_t)0x000684A3,// Synth: Configure fine calibration setting(uint32_t)0xC0040141,(uint32_t)0x0533B107,// Synth: Set loop bandwidth after lock (uint32_t)0xA480583,(uint32_t)0x7AB80603, // Synth: Configure VCO LDO (in ADI1, set VCOLDOCFG=0x9F to use voltage input reference)ADI_REG_OVERRIDE(1,4,0x9F), // Synth: Configure synth LDO (in ADI1, set SLDOCTL0.COMP_CAP=1)ADI_HALFREG_OVERRIDE(1,7,0×4,0x4), // Rx: Set LNA bias current trim offset to 3(uint32_t)0x00038883,// Rx: Set RSSI offset to adjust reported RSSI(uint32_t)0x00FB88A3,// Synth: Use 24 MHz XOSC as synth clock, enable extra PLL filtering(uint32_t)0x02010403,// Synth: Configure extra PLL filtering(uint32_t)0x00108463,// Synth: Increase synth programming timeout (0x04B0 RAT ticks = 300 us)(uint32_t)0x04B00243,//Configure thershold for Sync word detectionHW_REG_OVERRIDE(0x5104,0x302B),//Set FIFO threshold(uint32_t) 0x002C82C3,(uint32_t) 0x002882D3,// Rx: Do not freeze RSSI on sync found eventHW_REG_OVERRIDE(0x6084,0x25F1),// ****PA Ramping overridesHW_REG_OVERRIDE(0x6088,0x4121),HW_REG_OVERRIDE(0x608C,0x0A12), // ****Length of CW toneHW_REG_OVERRIDE(0x52B0,0x00F0),// DC estimationHW_REG_OVERRIDE(0x51F8,0x0F90), //Zero IF in TX(uint32_t) 0x00000343, // Tx: Set PA trim to max (in ADI0, set PACTL0=0xF8)ADI_REG_OVERRIDE(0,12,0xF8),// End Override(uint32_t)0xFFFFFFFF,
};

// CMD_PROP_RADIO_DIV_SETUP for 4FSK
rfc_CMD_PROP_RADIO_DIV_SETUP_t RF_cmdPropRadioDivSetup_4fsk =
{.commandNo = 0x3807,.status = 0x0000,.pNextOp = 0, // INSERT APPLICABLE POINTER: (uint8_t*)&xxx.startTime = 0x00000000,.startTrigger.triggerType = 0x0,.startTrigger.bEnaCmd = 0x0,.startTrigger.triggerNo = 0x0,.startTrigger.pastTrig = 0x0,.condition.rule = 0x1,.condition.nSkip = 0x0,.modulation.modType = 0x1, .modulation.deviation = 600, .symbolRate.preScale = 8,.symbolRate.rateWord = 262144, .rxBw = 48,.preamConf.nPreamBytes = 0x6, .preamConf.preamMode = 0x1,.formatConf.nSwBits = 0x20,.formatConf.bBitReversal = 0x0,.formatConf.bMsbFirst = 0x1,.formatConf.fecMode = 9,.formatConf.whitenMode = 0x0,.config.frontEndMode = 0x0,.config.biasMode = 0x1,.config.bNoFsPowerUp = 0x0,.txPower = 0xA73F, .pRegOverride = pOverrides_hs_4fsk,.centerFreq = 915,.intFreq = 0x0A66,.loDivider = 0x05,
};

//// Synth: Set Fref to 4 MHz(uint32_t)0x000684A3,

把这个值改成1.5mps,具体可以参考下面的链接:
e2e.ti.com/…/2352098

e2e.ti.com/…/2363574

user4967557:

回复 Alvin Chen:

只要修改
// // Synth: Set Fref to 4 MHz
(uint32_t)0x000684A3,
就行了吗

user5855964:

回复 Alvin Chen:

1.5M可以直接移植到Eaylink中的smartrf_settings.c吗?我移植不可以使用为什么了?

赞(0)
未经允许不得转载:TI中文支持网 » 急求CC1310 2M速率的配置
分享到: 更多 (0)