At 10:47 AM 11/26/03 -0800, you wrote:
>Ok...Let me see If I understand this because Im a bit
>slow.........
> pclk = 15,000,000.
> Desired Baud Rate 57,600
>
>Gives ...BAUD CLOCK = (57,600x16) = 921600
>So my divider is pclk/BAUD CLOCK...
> 15,000,000/921600 = 16.27604
> =>DLM_BAUD = 0x00;
> =>DLL_BAUD = 0x10;
>Yes???
Yes
>Ignore decimal points??
Not quite. Normally you want to round to the nearest value and then check
the error. Depending on your clock frequency you will find that some
standard baud values may be simply inaccessible since the error is too high.
IE if your divide value worked out to 4.45, your mismatch to standard rate
would be > 10% and it is unlikely that you could connect.
However a 2% error 'should' work just fine.
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] Re: LPC Baud Rate Question???
2003-11-26 by Robert Adsett
Attachments
- No local attachments were found for this message.