Queued Serial Multi-Channel Module
MPC561/MPC563 Reference Manual, Rev. 1.2
Freescale Semiconductor
15-57
The operation of the receiver bit processor is shown in
. This example demonstrates the
search for a valid start bit and the synchronization procedure as outlined above. The possibilities of noise
durations greater than one bit-time are not considered in this examples.
Figure 15-30. Start Search Example
15.7.7.8
Receiver Functional Operation
The RE bit in SCCxR1 enables (RE = 1) and disables (RE = 0) the receiver. The receiver contains a receive
serial shifter and a parallel receive data register (RDRx) located 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 receive time clock with the incoming data stream. From this point on, data movement is
synchronized with the MCU IMB3 clock. Operation of the receiver state machine is detailed in the
Queued
Serial Module Reference Manual
.
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 transferred.
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 between 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 flag (NF), the parity flag (PF), and
the framing error (FE) flag in SCxSR are not set until data is transferred from the serial shifter to the RDRx.
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
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...