hi Robert,
>>uart0 interrupt is enabled in startup.s section of
the code.
and i am setting the Pll configuration in main which
is executed later
>>the REG defination is as below
#define REG(addr) (*(volatile unsigned long*)(addr))
>>SYS_xxxx ARE ADDRESS for the respective pll
registers
hope to get this thing running
thanks
shridhar
--- Robert Adsett
<subscriptions@...> wrote:
> At 07:31 PM 7/8/04 +0000, you wrote:
> >hi all,
> >i am trying to boost the PRocessor clock to near
> full speed by
> >setting the PLL registers
> >but PLL is not locking .
> > am i making any mistake in configuring the PLL
> >here is my pll setting code
> >
> >void SetPLLtoMaxSpeed()
> >{
> >
> >
> > // set PLL multiplier & divisor.
> > // values computed from config.h
> > REG(SYSCON_PLLCFG)= 0x23;
> //where
> > M=4,P=2, fosc=14.7456MHz,Fcclk=58.98MHz
> > REG(SYSCON_PLLFEED) = 0xAA;
> > REG(SYSCON_PLLFEED) = 0x55;
>
> Some basic questions.
>
> There are no interrupts enabled?
> What is the definition of REG (I am assuming that
> SYSCON... etc are simple
> numeric constants)?
>
> There is working code doing this in the newlib-lpc
> library (it goes so far
> as to take in the oscillator frequency and desired
> operating frequency and
> use them to calculate the required settings)
>
http://www.aeolusdevelopment.com/Articles/download.html
>
> That might be worth comparing to even if you don't
> use it.
>
> Robert
>
> " 'Freedom' has no meaning of itself. There are
> always restrictions,
> be they legal, genetic, or physical. If you don't
> believe me, try to
> chew a radio signal. "
>
> Kelvin Throop, III
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mailMessage
Re: [lpc2000] pll configuration problem
2004-07-08 by shridhar joshi
Attachments
- No local attachments were found for this message.