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.

CC1310 TIMER问题

Other Parts Discussed in Thread: CC1310

HI,

我现在使用的是rfwsnNode开发的CC1310,我开了一个定时器 每隔4分半钟,串口发送一次数据,我发现定时的时间长了,就有点偏移了。

定时配置如下:

    Clock_Params clkParams;
    Clock_Params_init(&clkParams);

    clkParams.period = 0;
    clkParams.startFlag = FALSE;
    Clock_construct(&fastReportTimeoutClock, fastReportTimeoutCallback, 1, &clkParams);
    fastReportTimeoutClockHandle = Clock_handle(&fastReportTimeoutClock);

串口打印如下:

主循环里面没有其他的事件 ,只有定时器事件,没事处理时一直在pending。偏移问题,这是为什么呢?是因为休眠的原因吗?

谢谢!