Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2100] PLL

2003-12-26 by Robert Adsett

At 02:42 PM 12/26/03 -0600, you wrote:
>On Fri, 26 Dec 2003 14:36:29 -0500, Robert Adsett wrote:
>
>It appears to work just fine.  A little hard to tell what the internal
>clock frequency actually is, but serial port seems to work as expected.
>
>Robert
>===============================================================
>Thanks Robert.  I assume you mean the serial port is working at
>1/2 the data rate compared to when the PLL was configured with
>M=6,P=2 using the same crystal.
>
>-Bill

Actually my test program corrects the baud rate based on what it thinks the 
CPU frequency is, so since I can still receive the output and it prints 
that it thinks the internal rate is 30MHz....

Hmm, I should be able to fool the timer by setting the cpu clock after it 
inits....

---

That's a little more definitive.  Start up timer with cpu frequency at 
10MHz, then switch CPU freq to 30MHz and use timer to toggle output pin 
every '1 sec'.  Measure high time

High time = 333ms

IE internal clock is 3X what it was when timer was started.

Looks good to me.

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

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.