English
Language : 

TL16C752C Datasheet, PDF (38/50 Pages) Texas Instruments – DUAL UART WITH 64-BYTE FIFO
TL16C752C
DUAL UART
WITH 64-BYTE FIFO
SLLS646 – MARCH 2008
www.ti.com
LOOP MODE
LOOP mode off,
MCR4 = 0,
RX, TX active
LOOP mode on,
MCR4 = 1,
RX, TX inactive
RCVEN
RCVEN = 1
RCVEN = 0
RCVEN = 1
RCVEN = 0
Table 22. LOOP and RCVEN Functionality
AFR
AFR = 10
AFR = 14
AFR = 12
AFR = 00
AFR = 04
AFR = 02
AFR = 10
AFR = 14
AFR = 12
AFR = 00
AFR = 04
AFR = 02
MODE
RS-232
RS-485
IrDA
RS-232
RS-485
IrDA
RS-232
RS-485
IrDA
RS-232
RS-485
IrDA
DESCRIPTION
Receive threshold, timeout, and error detection interrupts available.
Data stored in receive FIFO.
Receive threshold, timeout, and error detection interrupts available.
Data stored in receive FIFO.
Receive threshold, timeout, and error detection interrupts available.
Data stored in receive FIFO.
Receive threshold and error detection interrupts available.
Data stored in receive FIFO.
No data stored in receive FIFO, hence no interrupts available.
No data stored in receive FIFO, hence no interrupts available.
Receive threshold, timeout, and error detection interrupts available.
Data stored in receive FIFO.
Receive threshold, timeout, and error detection interrupts available.
Data stored in receive FIFO.
Receive threshold, timeout, and error detection interrupts available.
Data stored in receive FIFO.
Receive threshold and error detection interrupts available.
Data stored in receive FIFO.
Receive threshold and error detection interrupts available.
Data stored in receive FIFO.
Receive threshold and error detection interrupts available.
Data stored in receive FIFO.
RS-485 Mode
The RS-485 mode is intended to simplify the interface between the UART channel and an RS-485 driver or
transceiver. When enabled by setting 485EN, the DTRx output goes high one bit time before the first stop bit of
the first data byte being sent, and remains high as long as there is pending data in the transmitter shift register
(TSR) or transmitter holding register (THR, xmt fifo). Once both are empty (after the last stop bit of the last data
byte), the DTRx output stays high for a programmable delay of 0 to 15 bit times, as set by DLY[3:0]. This helps
preserve data integrity over long signal lines. This is illustrated in the following.
Often RS-485 packets are relatively short and the entire packet can fit within the 64 byte xmt fifo. In this case, it
goes empty when the TSR goes empty. But in cases where a larger block needs to be sent, it is advantageous to
reload the xmt fifo as soon as it is depleted. Otherwise, the transmission stalls while waiting for the xmt fifo to be
reloaded, which varies with processor load. In this case, it is best to also set 485LG (large block), which causes
the transmit interrupt to occur wither when the THR becomes empty (if the xmt fifo level was not above the
threshold), or when the xmt fifo threshold is crossed. The reloading of the xmt fifo occurs while some data is
being shifted out, eliminating fifo underrun. If desired, when the last bytes of a current transmission are being
loaded in the xmt fifo, 485LG can be cleared before the load and the transmit interrupt occurs on the TSR going
empty.
38
Submit Documentation Feedback
Product Folder Link(s): TL16C752C
Copyright © 2008, Texas Instruments Incorporated