Content originally posted in LPCWare by Muis on Tue Jan 22 00:31:53 MST 2013
Quote: MikeSimmonds
[FONT=Tahoma][SIZE=1]
You don't say what device you are using, but I can tell that it is not the same as mine.
[/SIZE][/FONT]
It's a LPC11U35, and aside for the difference that the UART register is called LPC_USART it's UART should be very similar to your LPC1768.
Quote: MikeSimmonds
[FONT=Tahoma][SIZE=1]
Are you running on the internal RC oscillator, they are not always 100% accurate.
[/SIZE][/FONT]
Yes. But its accuracy (1%) should be enough for UART, and as long as I dont use the clock divider, everything is fine.
Quote: MikeSimmonds
[FONT=Tahoma][SIZE=1]
Do you have to change other dividers (peripheral clock).
[/SIZE][/FONT]
I believe the LPC11xx series dont have a dedicated peripheral clock. You can specify dividers for individual peripherals, but there is not global divider as far as I know.