English
Language : 

XR19L402 Datasheet, PDF (20/50 Pages) Exar Corporation – TWO CHANNEL INTEGRATED UART AND RS-485 TRANSCEIVER
XR19L402
TWO CHANNEL INTEGRATED UART AND RS-485 TRANSCEIVER
REV. 1.0.0
2.16 Internal Loopback
The L402 UART provides an internal loopback capability for system diagnostic purposes. The internal
loopback mode is enabled by setting MCR register bit-4 to logic 1. All regular UART functions operate normally.
Figure 11 shows how the modem port signals are re-configured. Transmit data from the transmit shift register
output is internally routed to the receive shift register input allowing the system to receive the same data that it
was sending.
FIGURE 11. INTERNAL LOOP BACK
Transmit Shift Register
(THR/FIFO)
VCC
MCR bit-4=1
Receive Shift Register
(RHR/FIFO)
VCC
RTS
CTS
VCC
DTR
DSR
RI
OP1#
OP2#
CD
TXA/
TXB
RXA/
RXB
RTSA#/
RTSB#
CTSA#/
CTSB#
DTRA#/
DTRB#
DSRA#/
DSRB#
RIA#/
RIB#
CDA#/
CDB#
20