English
Language : 

XR16M580 Datasheet, PDF (23/56 Pages) Exar Corporation – 1.62V TO 3.63V HIGH PERFORMANCE UART WITH 16-BYTE FIFO
XR16M580
REV. 1.0.0
1.62V TO 3.63V HIGH PERFORMANCE UART WITH 16-BYTE FIFO
2.18 Internal Loopback
The M580 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 15 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. The TX pin is held HIGH or mark condition while RTS# and DTR# are de-asserted, and CTS#,
DSR# CD# and RI# inputs are ignored. Caution: the RX input must be held HIGH during loopback test else
upon exiting the loopback test the UART may detect and report a false “break” signal.
FIGURE 15. INTERNAL LOOPBACK
Transm it Shift R egister
(THR/FIFO )
VCC
M C R bit-4=1
R eceive Shift R egister
(RHR/FIFO )
VCC
RTS#
CTS#
DTR#
VCC
DSR#
R I#
OP1#
CD#
OP2#
TX
RX
RTS#
CTS#
DTR#
DSR#
R I#
CD#
23