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();
}
}