Freescale Semiconductor MCF5329 Reference Manual page 743

Devices supported: mcf5327; mcf5328; mcf53281; mcf5329
Table of Contents

Advertisement

31.4.3.1
Automatic Echo Mode
In automatic echo mode, shown in
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 UnTXD. The receiver
must be enabled, but the transmitter need not be.
Because the transmitter is inactive, USRn[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.
31.4.3.2
Local Loopback Mode
Figure 31-22
shows how UnTXD and UnRXD 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.
Features of this local loopback mode are:
Transmitter and CPU-to-receiver communications continue normally in this mode.
UnRXD input data is ignored.
UnTXD is held marking.
The receiver is clocked by the transmitter clock. The transmitter must be enabled, but the receiver
need not be.
31.4.3.3
Remote Loopback Mode
In remote loopback mode, shown in
bit on the UnTXD 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.
Freescale Semiconductor
Figure
31-21, the UART automatically resends received data bit by bit.
Rx
CPU
Disabled
Tx
Figure 31-21. Automatic Echo
Rx
CPU
Tx
Figure 31-22. Local Loopback
Figure
31-23, the UART automatically transmits received data bit by
MCF5329 Reference Manual, Rev 3
UnRXD Input
UnRXD Input
Disabled
UnTXD Output
Disabled
UnRXD Input
Disabled
UnTXD Output
UART Modules
31-23

Advertisement

Table of Contents
loading

Table of Contents