UART0 receiving and baudrate issues

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

UART0 receiving and baudrate issues

1,129 次查看
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?
标签 (1)
0 项奖励
回复
1 回复

1,076 次查看
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 项奖励
回复