请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:CC1310 工具/软件:
您好:
在开始主例程之前,我使用 CW 2 秒,这样我就可以看到,频率是正确的...
这适用于 50kps 2-GFKS 25kHz 偏差。
现在我们想更改为 5kps 长距离,但 CW doese 不再编译...
void CW(uint16_t Time)
{
/* Configure the radio for Proprietary mode */
RF_Params rfParams;
RF_Params_init(&rfParams);
/* Explicitly configure CW (1) or Modulated (0). Default modulated mode is PRBS-15. */
RF_cmdTxTest.config.bUseCw = 1;
/* Request access to the radio */
rfHandle = RF_open(&rfObject, &RF_prop, (RF_RadioSetup *) &RF_cmdPropRadioDivSetup, &rfParams);
// Set a relative end trigger 500ms after execution start.
RF_cmdTxTest.endTrigger.triggerType = TRIG_REL_START;
RF_cmdTxTest.endTime = EasyLink_ms_To_RadioTime(Time);
/* Send CMD_FS and wait until it has completed */
RF_runCmd(rfHandle, (RF_Op *) &RF_cmdFs, RF_PriorityNormal, NULL, 0);
RF_runCmd(rfHandle, (RF_Op *) &RF_cmdTxTest, RF_PriorityNormal, NULL, 0);
RF_cmdPropTx.status = IDLE;
}
远距离模式下似乎不存在 RF_cmdTxTest.config.bUseCw:
有没有其他方法做一个 CW 在远距离一段时间?
BR Andreas