At 06:14 PM 11/5/04 +0000, you wrote: >i am using 14.746Mhz crystal for lpc210x.i want to
find baudrate
>setting for this crytal frequency.anybody explain with the formula
Well it will depend on the pll and vpb settings as well as the crystal speed.
Basically
divisor = vpbrate/(baud *16);
U0DLM = high 8 bits of divisor
U0DLL = low 8 bits of divisor
There is a generalized version in the uart driver in the lpc-newlib .
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. "
>
> hi,
>
> i am using 14.746Mhz crystal for lpc210x.i want to
> find baudrate
> setting for this crytal frequency.anybody explain
> with the formula
>
> rgds,
> mani
>
>
__________________________________
Reply by aravindar_manikandan●November 5, 20042004-11-05
hi,
i am using 14.746Mhz crystal for lpc210x.i want to find baudrate
setting for this crytal frequency.anybody explain with the formula