This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

fwScheduleTask函数延迟的具体时间如何配置计算

Other Parts Discussed in Thread: CC2652R

项目使用芯片CC2652R,使用Sensor Controller中的I2C来采集数据。

具体为I2C采集一次数据后,fwScheduleTask(1),然后重新采集数据,如此循环。

通过实验发现,fwScheduleTask(1)前后两次采集的时间间隔是10s,但是并没有在文档中和Sensor Controller中看到具体的配置

  • 你可以在help中查看fwScheduleTask的说明

    Prototype: fwScheduleTask(delay)
    Schedules the next upcoming execution of this task, in number of ticks.
    Parameter value(s)
    delay - Delay until next execution (1 = the next tick, 0 = no execution scheduled)