Re: Philips LPC UART & CAN baud rates with 1 XTAL
- From: "Meindert Sprang" <ms@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 31 Jan 2006 15:23:57 +0100
"StanV" <jonsquire2000@xxxxxxxxxxx> wrote in message
news:1138716687.106436.115810@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi all,
>
> Anyone some advice or experience on calculating the Xtal freq for a
> LPC22xx ARM7.
>
> I just don't find a correct value to generate stnadard UART baudrates
> (9600, 19200, 38400..) and standard CAN-bus speeds (125,250,500,1000)
>
> At this moment i have a 17.456MHz Xtal and this is working fine for the
> UART.
>
> For the CAN-bus, a multiple of 8Mhz should work fine.
I use 8MHz and 16MHz crystals in many of my designs and the baudrates
generated with that clock are close enough to the desired values. I have
never had problems up to 57600.
The largest error occurs at 8MHz and 57600, where it is 3.5% off.
Meindert
.
- References:
- Philips LPC UART & CAN baud rates with 1 XTAL
- From: StanV
- Philips LPC UART & CAN baud rates with 1 XTAL
- Prev by Date: Simulatring I2C communications in AVRStudio?
- Next by Date: Automated Test Solution for Arm7 and Nucleus C?
- Previous by thread: Philips LPC UART & CAN baud rates with 1 XTAL
- Next by thread: Simulatring I2C communications in AVRStudio?
- Index(es):