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.

进入低功耗问题

hel_sleep.c下halSleep()函数中 

if ((macTimeout != 0) && (macTimeout < timeout))
    {
      timeout = macTimeout;
    }

如果if ((macTimeout != 0) && (macTimeout < timeout))改为if  (macTimeout < timeout)就可以进入PM3低功耗,有2.5ua的电流。如果依照以前的判断句就i是2.5UA隔两秒就会闪到100ua左右一次。