UART character spacing query

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

UART character spacing query

2,497件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Scribe on Fri Aug 31 06:20:43 MST 2012
Hi guys,

I'm currently working with the UART on the LPC1200.

In the documentation an interrupt can be triggered if a character isn't received between 3.5 and 4.5 characters time to help flush the rx buffer.

From the transmitting side, I wish to use this to create a clear frame-break. If I disable transmission and re-enable, would there typically be a break of at least 3.5 to 4.5 characters or would I have to use a timer to ensure that I've waited long enough before my next transmission?

Many thanks for any help.
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

2,484件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Scribe on Sat Sep 08 15:34:23 MST 2012
Thank you for the response, will bear all this in mind.
0 件の賞賛
返信

2,483件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jdurand on Sat Sep 01 17:40:38 MST 2012
timer or disable the pin and transmit say 4 dummy characters.  When the transmit shift register is empty, re-enable the pin and start sending.

Also, just consider using a BREAK.  See attached screenshot for a BREAK in use.
0 件の賞賛
返信