LOW POWER MODE IN FREERTOS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LOW POWER MODE IN FREERTOS

1,292 次查看
zhanhui
Contributor II

Hi

    Now i am test the low power mode in freertos,but it seem fail,I was use the S32K144-Q100 DEMO borad.

    I create a task1(LED) to toggle the LED GREEN ,

204952_204952.pngpastedImage_1.png

      And TASK2 to scan the SW2 ,if press the key SW2,it enter the low power mode(the "5" is STOP1 ),and before enter into the low power mode, i disable the systick

204954_204954.pngpastedImage_4.png

 

   Then i enable the SW3 (PTC13) interrupt to wake up the mcu from the low power mode(STOP1) ,and it wil toggle the RED LED。

204955_204955.pngpastedImage_7.png

      When the mcu begin to run,the green led is toggle ,and the i press the SW2 ,it like enter to the stop mode,and the GREEN led keep the  previous state before enter into stop mode,but PRESS SW3,the interrput  can't wake up from stop mode ,it didn't work.

      The Attached is my project ,can you help me sovle the issue?THANKS!!

0 项奖励
1 回复

858 次查看
zhanhui
Contributor II

Today i test again the project,it seems to good work...

0 项奖励