LPC55S28JBD100 after wakeup and reset not entering state machine

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

LPC55S28JBD100 after wakeup and reset not entering state machine

435 次查看
Am-Dev
Contributor I

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?

0 项奖励
回复
1 回复

391 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

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

 

0 项奖励
回复