MPC555
/
MPC556
QUEUED SERIAL MULTI-CHANNEL MODULE
MOTOROLA
USER’S MANUAL
Rev. 15 October 2000
14-56
Figure 14-14 Start Search Example
14.8.7.7 Receiver Functional Operation
The RE bit in SCCxR1 enables (RE = 1) and disables (RE = 0) the receiver. The re-
ceiver contains a receive serial shifter and a parallel receive data register (RDRx) lo-
cated in the SCI data register (SCxDR). The serial shifter cannot be directly accessed
by the CPU. The receiver is double-buffered, allowing data to be held in the RDRx
while other data is shifted in.
Receiver bit processor logic drives a state machine that determines the logic level for
each bit-time. This state machine controls when the bit processor logic is to sample
the RXD pin and also controls when data is to be passed to the receive serial shifter.
A receive time clock is used to control sampling and synchronization. Data is shifted
into the receive serial shifter according to the most recent synchronization of the re-
ceive time clock with the incoming data stream. From this point on, data movement is
synchronized with the MCU IMB clock. Operation of the receiver state machine is de-
tailed in the
Queued Serial Module Reference Manual
(QSMRM/AD)
.
The number of bits shifted in by the receiver depends on the serial format. However,
all frames must end with at least one stop bit. When the stop bit is received, the frame
is considered to be complete, and the received data in the serial shifter is transferred
to the RDRx. The receiver data register flag (RDRF) is set when the data is trans-
ferred.
The stop bit is always a logic one. If a logic zero is sensed during this bit-time, the FE
flag in SCxSR is set. A framing error is usually caused by mismatched baud rates be-
tween the receiver and transmitter or by a significant burst of noise. Note that a framing
error is not always detected; the data in the expected stop bit-time may happen to be
a logic one.
Noise errors, parity errors, and framing errors can be detected while a data stream is
being received. Although error conditions are detected as bits are received, the noise
R
T
1
R
T
1
R
T
1
R
T
1
R
T
1
R
T
1
R
T
1
R
T
1
R
T
1
R
T
1
R
T
2
R
T
3
R
T
4
R
T
5
R
T
6
R
T
7
R
T
8
R
T
9
R
T
1
R
T
1
R
T
1
R
T
1
R
T
1
R
T
1
R
T
1
R
T
1
R
T
2
R
T
3
1
1
1 1 1
0
0
*
* *
* Restart RT Clock
Perceived Start Bit
Actual Start Bit
LSB
* *
* *
* *
0 1 2 3 4 5 6
*
1
1 1 1
0
0 0
0 0
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..