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.

LAUNCHXL-CC1312R1: ADCBuf打开后再关闭无法进入低功耗模式

Part Number: LAUNCHXL-CC1312R1
Other Parts Discussed in Thread: ENERGYTRACE

在simplelink_cc13xx_cc26xx_sdk_6_10_00_29\examples\rtos\CC1312R1_LAUNCHXL\easylink\rfEasyLinkNp例程中修改了主任务逻辑,挂起等待来自串口的信号量,通常情况下关闭串口外设后进入休眠状态,电流大约3uA,但添加了ADCBuf并使能采集ADC数据后再通过ADCBuf_convertCancel,ADCBuf_close关闭ADCBuf以及关闭串口,系统并没有进入低功耗状态,电流大约810uA。

操作系统应该是tirtos7,通过EnergyTrace++对比分析了下,相比原来只使能串口用Task_sleep进入休眠,在使能然后关闭ADCBuf后通过Task_sleep进入休眠,原本应该关闭的PERIPH_PD没有关闭。