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.

CC2540芯片,在TI官方给的代码中,设置PM3,为什么要调用函数 LL_PowerOnReq( wakeForRF )

Other Parts Discussed in Thread: CC2540

Hi各位:

      我在调用函数halSleep( uint32 osal_timeout ),设置CC2540为PM3时,电流总是0.1mA左右,与CC2540手册中给出的0.4毫安相差了进1000倍,

我调试后发现,我设置的PM3下定时器2时打开的,而且打开定时器2的代码就是LL_PowerOnReq( wakeForRF ),我不知道为什么TI官方给的代码中,

在函数halSleep里要调用LL_PowerOnReq( wakeForRF )。

     请高手指导,谢谢各位