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.

cc2530 唤醒后, 初始化定时器,以及DMA模拟红外信号,后面就进入低功耗。 程序出现问题

周期唤醒后:

MicroWait(100);
调用红外发射函数(设置T1CTL,T3CTL, Set up DMA channel 等等)
osal_pwrmgr_device(PWRMGR_BATTERY);
osal_pwrmgr_task_state(SampleApp_TaskID,PWRMGR_CONSERVE); 

这样写有问题吗?  如果不加 红外发射函数, 程序是正常的。

我在想,红外发射也需要一些时间, 而此时可能已经进入低功耗了。导致 还未发射完,程序已低功耗,从而出现问题。