UART0 receiving and baudrate issues

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

UART0 receiving and baudrate issues

1,147件の閲覧回数
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,094件の閲覧回数
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 件の賞賛
返信