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.

在hal_sleep.c 的hal_sleep()加了一句打印

Genius 3030 points

Other Parts Discussed in Thread: Z-STACK, CC2530

void halSleep( uint32 osal_timeout )
{

...

 halPwrMgtMode = (timeout == 0) ? HAL_SLEEP_DEEP : HAL_SLEEP_TIMER;
 printf("sp %d %lu\n", halPwrMgtMode, timeout);

...

}

打印如下,怎么进入了PM3还会一直唤醒?

[14:08:20.852] sp 3 0

sp 3 0

sp 3 0

[14:08:20.864] sp 3 0

sp 3 0

[14:08:20.875] sp 3 0

sp 3 0

[14:08:20.895] sp 3 0

[14:08:20.901] sp 3 0

sp 3 0

[14:08:20.909] sp 3 0

[14:08:20.925] sp 3 0

[14:08:20.937] sp 3 0

sp 3 0

sp 3 0

....省略几千行打印