We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi I have written a simple code for lpc2103 to starting use of that, But this simple program dose not work after downloading on chip via J-LINK V.8 . When I debug the program, it stymies in PLL what for lock loop in startup code.
Please help me to solve this problem.
This is the code I have written .
core: LPC2103 Xtal frequency: 12MHz MSEL:5 PSEL:2
code:
int main (void) { IODIR=(1<<18); while(1) { IOSET=(1<<18); delay_ms(15); IOCLR=(1<<18); delay_ms(15); } }
The program stop here:
; Wait until PLL Locked PLL_Loop LDR R3, [R0, #PLLSTAT_OFS] ANDS R3, R3, #PLLSTAT_PLOCK BEQ PLL_Loop