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, IIIMessage
Re: [lpc2100] PLL
2003-12-26 by Robert Adsett
Attachments
- No local attachments were found for this message.