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.

睡眠咨询



我debug跟踪,发现已经没有任何事件了(if (idx < tasksCnt)这个条件不满足了)。但是还是不进睡眠,osal_pwrmgr_powerconserve()里面的if ( pwrmgr_attribute.pwrmgr_task_state == 0 )一直不满足不能进入睡眠,是不是我开启了串口DMA的问题(因为DMA需要时钟)??如果用串口中断这种方式是不是可以保证进入睡眠呢???怎么搞呢???