Can't wake up MKL26Z256VLH4 through reset

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can't wake up MKL26Z256VLH4 through reset

674件の閲覧回数
An95
Contributor I

I have enabled deep sleep mode by loading the following code. The controller is not waking up by reset.

#include"MKL26Z4.h"
#include "board.h"
#include "fsl_uart.h"

#include "pin_mux.h"
#include "clock_config.h"

int main()
{
    SCB->SCR |= 1<<2; /* Enable deep-sleep feature */
    while(1)
    {
        __WFI();
    }
}
0 件の賞賛
返信
1 返信

663件の閲覧回数
Miguel04
NXP TechSupport
NXP TechSupport

Hi @An95 

When you press the reset button the code in the memory will start running, so it will enter in deepsleep mode immediately after the reset. Do you have a routine to wake up your board?

Best Regards, Miguel.

0 件の賞賛
返信