UART0 receiving and baudrate issues

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UART0 receiving and baudrate issues

671 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Stefan Summerauer on Mon Oct 14 04:01:09 MST 2013
Hello

I want to configure the UART0  as an interrupt driven full duplex connection to my computer.
At baudrates up to 115200 sending and receiving works fine.
At higher baudrates following problem occurs: After getting an Receive Interrupt, in LPC_UART0->RBR is not the byte i have sent from my computer.
Sending data from the LPC1227 to the computer works fine, also at higher baudrates. So i think the baudrate is configured correctly.

My questions are:
What are the max UART0 baudrates of LPC1227 for sending and receiving? I can't find it in any datasheet.
Is there anything different at higher baudrates, when reading from the ReceiveBufferRegister in my UART0_IRQHandler .

Any ideas?
Labels (1)
0 Kudos
1 Reply

618 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Stefan Summerauer on Mon Oct 14 09:21:31 MST 2013
I found the problem.

The value of the DLL register must be 3 or greater if you use the FDR register. This information was in the usermanual ;-)
0 Kudos