English
Language : 

XR16C872 Datasheet, PDF (15/60 Pages) Exar Corporation – DUAL UART WITH 1284 PARALLEL PORT AND PLUG-AND-PLAY CONTROLLER
DISCONTINUED
XR16C872
Two interrupts associated with RTS and CTS flow control have been added to give indication when RTS# pin or CTS#
pin is de-asserted during operation. The RTS and CTS interrupts must be first enabled by EFR bit-4, and then enabled
individually by IER bit-6 and 7.
Automatic hardware flow control is selected by setting bits 6 (RTS) and 7 (CTS) of the EFR register to logic 1. If CTS#
pin transitions from logic 0 to logic 1 indicating a flow control request, ISR bit-5 will be set to logic 1 (if enabled via
IER bit 6-7), and the 872 UART will suspend TX transmissions as soon as the stop bit of the character in process
is shifted out. Transmission is resumed after the CTS# input returns to logic 0, indicating more data may be sent.
The 872 UART offers a programmable flow control trigger hysteresis while maintains compatibility to 16C650A. With
the Auto RTS function enabled, an interrupt is generated when receive FIFO reaches the programmed RX trigger
level. The RTS# pin will not be forced to logic 1 (RTS Off) until it has reached the upper limit of the hysteresis level.
This delay action of suspending remote transmitter increases data throughput. The RTS# pin will return to a logic 0
(RTS on) after RX data buffer (FIFO) is unloaded to the lower limit of the hysteresis level. Under these described
conditions the UART will continue to accept data until receive FIFO gets full. The Auto RTS function must be started
by asserting RTS# pin to logic 0 (RTS On). For a full description of the hysteresis selection, see EMSR bit 4 and
5 descriptions.
Software Flow Control
When software flow control is enabled, the 872 UART compares one or two sequential receive data characters with
the programmed Xon or Xoff-1,2 character value(s). If receive character(s) match the programmed values, the
transmitter will halt transmission as soon as the current character has completed sent out. When a match occurs,
the Xoff-det interrupt (if enabled via IER bit-5) flag will be set and the interrupt output pin will be activated. Following
a suspension due to a match of the Xoff characters values, the UART will monitor the receive data stream for a match
to the Xon-1,2 character value(s). If a match is found, the UART will resume operation and clear the Xoff-det flag (ISR
bit-4).
Reset initially sets the contents of the Xon/Xoff 8-bit flow control registers to logic 0. Following reset the user can
writes any Xon/Xoff value desired for software flow control. Different conditions can be set to detect Xon/Xoff characters
and suspend/resume transmissions. When double 8-bit Xon/Xoff characters are selected, the 872 UART compares
two consecutive receive characters with two software flow control 8-bit values (Xon1, Xon2, Xoff1, Xoff2) and controls
TX transmissions accordingly. Under the above described flow control mechanisms, flow control characters are not
placed (stacked) in the user accessible RX data FIFO.
If the receive FIFO is overfilling and flow control needs to be executed, the 872 UART automatically sends a Xoff
message via the serial TX output to the remote modem. The 872 UART sends the Xoff-1,2 characters as soon as
received data passes the programmed RX FIFO trigger level. To clear this condition, the 872 UART will transmit the
programmed Xon-1,2 characters as soon as receive data in the FIFO drops below the programmed RX FIFO trigger
level.
Special Feature Software Flow Control
A special feature is provided to detect a 8-bit character when bit-5 is set in the Enhanced Feature Register (EFR).
When this character is detected, it will be placed on the user accessible data stack along with normal incoming RX
data. This condition is selected in conjunction with EFR bits 0-3. Note that the regular software flow control should
be turned off when using this special mode by setting EFR bit 0-3 to logic 0.
Rev. 1.00
Visit Exar Web Site at www.exar.com
15