EasyManua.ls Logo

NXP Semiconductors MPC5566 - Character Reception

NXP Semiconductors MPC5566
1268 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Enhanced Serial Communication Interface (eSCI)
MPC5566 Microcontroller Reference Manual, Rev. 2
21-26 Freescale Semiconductor
21.4.5.2 Character Reception
During an eSCI reception, the receive shift register shifts a frame in from the RXD input signal. The eSCI
data register is the buffer (read-only during receive) between the internal data bus and the receive shift
register.
After a complete frame shifts into the receive shift register, the data portion of the frame transfers to the
eSCI data register. The receive data register full flag, RDRF, in eSCI status register (ESCIx_SR) is then
set, indicating that the received byte can be read. If the receive interrupt enable bit, RIE, in eSCI control
register 1 (ESCIx_CR1) is also set, the RDRF flag generates an RDRF interrupt request.
21.4.5.3 Data Sampling
The receiver uses a sampling clock to sample the RXD input signal at the 16 times the baud-rate frequency.
This sampling clock is called the RT clock. To adjust for baud rate mismatch, the RT clock is
re-synchronized (refer to Figure 21-17).
After every start bit.
After the receiver detects a data bit change from logic 1 to logic 0. This data bit change is detected
when a majority of data samples return a valid logic 1 and a majority of the next data samples return
a valid logic 0. Data samples are taken at RT8, RT9, and RT10, as shown in Figure 21-17.
To locate the start bit, eSCI data recovery logic performs an asynchronous search for a logic 0 preceded
by three logic 1s. When the falling edge of a possible start bit occurs, the RT clock begins to count to 16.
Figure 21-17. Receiver Data Sampling
To verify the start bit and to detect noise, the eSCI data recovery logic takes samples at RT3, RT5, and
RT7. Table 21-18 summarizes the results of the start bit verification samples.
Table 21-18. Start Bit Verification
RT3, RT5, and RT7 Samples Start Bit Verification Noise Flag
000 Yes 0
001 Yes 1
010 Yes 1
RT clock
111111110 0 0 0000
Start bit
qualification
Start bit
verification
Data
sampling
RT1
RT1
RT1 RT1
RT1
RT1
RT1 RT1
RT1 RT3 RT5 RT7 RT9 RT11 RT13 RT15 RT1 RT3
RT2 RT4 RT6 RT8 RT10 RT12 RT14 RT16 RT2 RT4
Reset
RT clock
RT clock
count
RXD input
signal
samples
Start bit LSB

Table of Contents

Related product manuals