UART Modules
Freescale Semiconductor
26-21
MCF52235 ColdFire® Integrated Microcontroller Reference Manual, Rev. 6
framing error, overrun error, and received break conditions set the respective PE, FE, OE, and RB error
and break flags in the USR
n
at the received character boundary. They are valid only if USR
n
[RXRDY] is
set.
If a break condition is detected (URXD
n
is low for the entire character including the stop bit), a character
of all 0s loads into the receiver holding register and USR
n
[RB,RXRDY] are set. URXD
n
must return to a
high condition for at least one-half bit time before a search for the next start bit begins.
The receiver detects the beginning of a break in the middle of a character if the break persists through the
next character time. The receiver places the damaged character in the Rx FIFO and sets the corresponding
USR
n
error bits and USR
n
[RXRDY]. Then, if the break lasts until the next character time, the receiver
places an all-zero character into the Rx FIFO and sets USR
n
[RB,RXRDY].
shows receiver functional timing.
Figure 26-20. Receiver Timing Diagram
26.4.2.3
FIFO
The FIFO is used in the UART’s receive buffer logic. The FIFO consists of three receiver holding registers.
The receive buffer consists of the FIFO and a receiver shift register connected to the URXD
n
(see
). Data is assembled in the receiver shift register and loaded into the top empty receiver
holding register position of the FIFO. Therefore, data flowing from the receiver to the CPU is
quadruple-buffered.
In addition to the data byte, three status bits—parity error (PE), framing error (FE), and received break
(RB)—are appended to each data character in the FIFO; overrun error (OE) is not appended. By
C1
C2
C4
C6
C7
C8
C3
C5
C6, C7, and C8 is lost
(C2)
Status
Data
(C3)
Status
Data
(C4)
Status
Data
C5 is
lost
Reset by
command
Receiver
Enabled
USRn[RXRDY]
Overrun
Internal
module
select
USRn[FFULL]
(C1)
Status
Data
USRn[OE]
Automatically asserted
when ready to receive
Manually asserted first time,
automatically negated if overrun occurs
UOP0[RTS] = 1
1
UMR2n[RXRTS] = 1
URXDn
URTSn
1
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