Clock setting can't return successfully - LPC1837-Xplorer

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Clock setting can't return successfully - LPC1837-Xplorer

284 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by braincs on Sun Jun 08 08:36:36 MST 2014
Hi everyone,

When I was debugging LED blinky project on LPC1837-Xplorer, it get stuck in the Clock setting for timer. I used LPC1830-Xplorer example code without any modification. Does anyone have suggestion for this situation?

Thank you.
Braincs
Labels (1)
0 Kudos
1 Reply

261 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by braincs on Mon Jun 09 04:35:43 MST 2014
Hello,

More information: every time it is stuck in this place
        while ( !(TIM_GetIntStatus(LPC_TIMER1,TIM_MR1_INT)));
TIM_ClearIntPending(LPC_TIMER1,(TIM_INT_TYPE)1);

in the timer_delay_ms() function. I guess there is no timer interrupt. Any suggestion or idea will be highly welcomed and appreciated.

Braincs
0 Kudos