UART character spacing query

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

UART character spacing query

740 Views
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.
Labels (1)
0 Kudos
2 Replies

727 Views
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 Kudos

727 Views
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 Kudos