Hello,
I'm using a LPC55S28JBD100, and i'm creating a project using a state machine. In this i setup the enviroment, and then after some time, the micro goes in deeppowerdown. After the wakeup or the reset of the board, the pin and the clock init correctly, but, using a led blink with ctimer it not work. I have tried use the blink inside all state, and inside the cicle, but it trigger one time and after that not work. I have tried also create the fault handler but never trigger. What can it be?
Hi,
As you know that exiting from deep power-down mode follows up reset process.
Regarding your issue, if you do not use an interrupt, while you declare a delay() function, then toggle a LED, is it okay?
for(;;)
{
delay();
//toggle LED
}
void delay(void)
{
uint32_t index;
for(index=0; index<100000; index++)
{
__asm("nop);
}
}
I suppose that there is issue for the CTimer interrupt.
If it is convenient, pls post your code so that we can duplicate the issue.
Hope it can help you
BR
XiangJun Rong