Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Thanks man. That's what I ended up doing to find and fix the problem.
The file seems to belong to the NXP CodeRed group and the risk is that every time I upgrade I inherit settings that work for somebody else.
My final solution is to move the code onto my board.c file and leave it there. ...
One of the delivered settings in System_LPC13xx.c is to start up the System Oscillator. On the board there is no crystal attached so the system oscillator likely was doing something bad which affected the SYSPLL.
My solution is pull out the code I need to my own file (that won't get stomped on...
I'm shooting from the hip here, but go through the datasheet for your device and read about the registers associated with timer0. Things you want to look for is the 'Timer reload value', the clock source for the timer, and make sure the timer is configured as a 16 bit timer.
There are a couple problems
You're calling delay() in your isr and the main loop. It's using the same memory locations for looping in both invocations. They're going to step on each other.
Do you have your logic backwards?
The while(1) loop should display the current picture, and the timed isr...
[SOLVED] LPC1313 locks up waiting for SYSPLL (IAR/J-Link toolchain)
I am hoping that someone finds this problem familiar.
During startup and using an unmodified SystemInit() function in system_LPC13xx.c ...
#if (SYSPLL_SETUP) /* System PLL Setup */...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.