English
Language : 

XR16L788 Datasheet, PDF (15/42 Pages) Exar Corporation – HIGH PERFORMANCE OCTAL UART
XR16L788 OCTAL UART
áç
REV. 1.1.4
- Enable RTS/DTR interrupt through IER bit-6 (after
setting EFR bit-4). The UART issues an interrupt
when the RTS#/DTR# pin makes a transition: ISR
bit-5 will be set to 1.
- Select Hysteresis values when used with program-
mable RX FIFO trigger levels
4.2.1 Auto CTS/DSR Flow Control
Automatic CTS/DSR flow control is used to prevent
data overrun to the remote receiver FIFO. The CTS/
DSR pin is monitored to suspend/restart local trans-
mitter. The flow control features are individually se-
lected to fit specific application requirement (see
Figure 8):
- Select CTS (and RTS) or DSR (and DTR) through
MCR bit-2.
- Enable auto CTS/DSR flow control using EFR bit-7.
- Enable CTS/DSR interrupt through IER bit-7 (after
setting EFR bit-4). The UART issues an interrupt
when the CTS#/DSR# pin makes a transition: ISR
bit-5 will be set to 1, and UART will suspend TX
transmissions as soon as the stop bit of the charac-
ter in process is shifted out. Transmission is re-
sumed after the CTS#/DSR# input returns to logic
0, indicating more data may be sent.
FIGURE 8. AUTO RTS/DTR AND CTS/DSR FLOW CONTROL OPERATION
Local UART
UARTA
Receiver FIFO
Trigger Reached
RXA
TXB
Remote UART
UARTB
Transmitter
Auto RTS
Trigger Level
Transmitter
RTSA#
TXA
CTSB#
RXB
Auto CTS
Monitor
Receiver FIFO
Trigger Reached
Auto CTS
Monitor
CTSA#
RTSB#
Auto RTS
Trigger Level
RTSA#
CTSB#
TXB
Assert RTS# to Begin
Transmission
1
ON
2
ON
3
Data Starts
4
RXA FIFO
Receive
INTA
(RXA FIFO
Data
RX FIFO
Trigger Level
5
Interrupt)
OFF
7
8
OFF
10 ON
11
ON
6 Suspend
Restart
9
RTS High
Threshold
RTS Low
Threshold
RX FIFO
12 Trigger Level
RTSCTS1
The local UART (UARTA) starts data transfer by asserting RTSA# (1). RTSA# is normally connected to CTSB# (2) of
remote UART (UARTB). CTSB# allows its transmitter to send data (3). TXB data arrives and fills UARTA receive FIFO
(4). When RXA data fills up to its receive FIFO trigger level, UARTA activates its RXA data ready interrupt (5) and con-
tinues to receive and put data into its FIFO. If interrupt service latency is long and data is not being unloaded, UARTA
monitors its receive data fill level to match the upper threshold of RTS delay and de-assert RTSA# (6). CTSB# follows
(7) and request UARTB transmitter to suspend data transfer. UARTB stops or finishes sending the data bits in its transmit
shift register (8). When receive FIFO data in UARTA is unloaded to match the lower threshold of RTS delay (9), UARTA
re-asserts RTSA# (10), CTSB# recognizes the change (11) and restarts its transmitter and data flow again until next re-
ceive FIFO trigger (12). This same event applies to the reverse direction when UARTA sends data to UARTB with RTSB#
and CTSA# controlling the data flow.
15