LOW POWER MODE IN FREERTOS

cancel
Showing results for 
Search instead for 
Did you mean: 

LOW POWER MODE IN FREERTOS

591 Views
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 Kudos
1 Reply

157 Views
Contributor II

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

0 Kudos