16-28
MCF5272 User’s Manual
Operation
16.5.3 Looping Modes
The UART can be configured to operate in various looping modes as shown in
Figure 16-26. These modes are useful for local and remote system diagnostic functions and
are described in the following paragraphs and in Section 16.3, “Register Descriptions.”
The UART’s transmitter and receiver should be disabled when switching between modes,
as the selected mode is activated immediately upon mode selection, regardless of whether
a character is being received or transmitted.
16.5.3.1 Automatic Echo Mode
In automatic echo mode, shown in Figure 16-27, 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 resent on TxD. The receiver must be enabled, but the transmitter need not be.
Figure 16-27. Automatic Echo
Because the transmitter is inactive, USRn[TxEMP,TxRDY] are inactive and data is sent as
it is received. Received parity is checked but is 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. Autobaud operation does not
affect automatic echo mode; that is, the first character received is correctly echoed back.
16.5.3.2 Local Loop-Back Mode
Figure 16-28 shows how TxD and RxD are internally connected in local loop-back mode.
This mode is for testing the operation of a local UART module channel by sending data to
the transmitter and checking data assembled by the receiver to ensure proper operations.
Figure 16-28. Local Loop-Back
Features of this local loop-back mode are as follows:
•
Transmitter and CPU-to-receiver communications continue normally in this mode.
•
RxD input data is ignored
•
TxD is held marking
•
The receiver is clocked by the transmitter clock. The transmitter must be enabled,
but the receiver need not be.
CPU
Disabled
Disabled
RxD Input
TxD Input
Tx
Rx
CPU
Disabled
Disabled
RxD Input
TxD Input
Tx
Rx
Summary of Contents for DigitalDNA ColdFire MCF5272
Page 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Page 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Page 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Page 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Page 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Page 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Page 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Page 338: ...13 44 MCF5272 User s Manual Application Examples ...
Page 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Page 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Page 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Page 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...