基于sdk的例程开发的自己的工程,原来的驱动是基于simplelink_cc13x0_sdk_4_10_03_10\examples\rtos\CC1310_LAUNCHXL\drivers\rfPacketRx
跳频时调用如下接口:
RF_cmdFs_channel.frequency = centerFreq_buf; //centerFreq_buf为根据某一频点计算的值
RF_cmdFs_channel.fractFreq = fractFreq_buf; //fractFreq_buf为根据某一频点计算的值
RF_postCmd(rfHandle, (RF_Op*)&RF_cmdFs_channel, RF_PriorityNormal, NULL, 0);
不能实现跳频,我不是基于EasyLink开发的,而是基于sdk最底层的驱动,请问怎么操作?跳频前后是否要调用其他接口呢?
尝试过重新rfHandle = RF_open(&rfObject, &RF_prop, (RF_RadioSetup*)&RF_cmdPropRadioDivSetup, &rfParams);再调用RF_postCmd(rfHandle, (RF_Op*)&RF_cmdFs_channel, RF_PriorityNormal, NULL, 0);
也是不行的