UART Modules
Freescale Semiconductor
26-23
MCF52235 ColdFire® Integrated Microcontroller Reference Manual, Rev. 6
26.4.3.1
Automatic Echo Mode
In automatic echo mode, shown in
, the UART automatically resends received data bit by bit.
The local CPU-to-receiver communication continues normally, but the CPU-to-transmitter link is
disabled. In this mode, received data is clocked on the receiver clock and re-sent on UTXD
n
. The receiver
must be enabled, but the transmitter need not be.
Figure 26-21. Automatic Echo
Because the transmitter is inactive, USR
n
[TXEMP,TXRDY] is inactive and data is sent as it is received.
Received parity is checked but not recalculated for transmission. Character framing is also checked, but
stop bits are sent as they are received. A received break is echoed as received until the next valid start bit
is detected.
26.4.3.2
Local Loopback Mode
shows how UTXD
n
and URXD
n
are internally connected in local loopback mode. This
mode is for testing the operation of a UART by sending data to the transmitter and checking data
assembled by the receiver to ensure proper operations.
Figure 26-22. Local Loopback
Features of this local loopback mode are:
•
Transmitter and CPU-to-receiver communications continue normally in this mode.
•
URXD
n
input data is ignored.
•
UTXD
n
is held marking.
•
The receiver is clocked by the transmitter clock. The transmitter must be enabled, but the receiver
need not be.
26.4.3.3
Remote Loopback Mode
In remote loopback mode, shown in
, the UART automatically transmits received data bit by
bit on the UTXD
n
output. The local CPU-to-transmitter link is disabled. This mode is useful in testing
receiver and transmitter operation of a remote UART. For this mode, transmitter uses the receiver clock.
Because the receiver is not active, received data cannot be read by the CPU and all status conditions are
inactive. Received parity is not checked and is not recalculated for transmission. Stop bits are sent as they
are received. A received break is echoed as received until next valid start bit is detected.
Disabled
Disabled
Tx
Rx
CPU
URXDn Input
URXDn Input
UTXDn Output
CPU
Disabled
Disabled
Tx
Rx
URXDn Input
UTXDn Output
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:MCF52234CVM60,
MCF52235CVM60