MCCIRM Freescale Semiconductor / Motorola, MCCIRM Datasheet - Page 71

no-image

MCCIRM

Manufacturer Part Number
MCCIRM
Description
MCCIRM Multi-Channel Communications Interface Reference Manual
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
5.7.8 Initializing the Receiver
Multichannel Communication Interface — Rev. 1.0
MOTOROLA
The input of the receive serial shifter is connected to the sampling logic
of the receiver bit processor. The 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.
Once data is shifted into the receive serial shifter, it is moved
synchronously with the MCU system clock.
and Synchronization
Figure 5-2
A general outline for initializing the MCCI is provided in
Initialization. To initialize the SCI receiver, include these specific steps:
The RDRF flag in the SCSR is set as each bit is received and transferred
into the RDR. RDRF must be cleared before the next character is
transferred into the RDR. To clear RDRF, read the SCSR and then read
the SCDR.
1. Write to the MCCI global registers as outlined in
2. Write a baud rate value into the BR field of SCCR0.
3. Write to SCCR1 to set or clear all appropriate bits. Select 8- or
Freescale Semiconductor, Inc.
For More Information On This Product,
Initialization. Configure the RXD pin as an input in the MDDR.
9-bit frame format (M) and use (PE) and type (PT) of parity check.
Select use (RWU) and type (WAKE) of receiver wakeup. Select
idle-line detection type (ILT) and enable or disable idle-line
interrupt (ILIE). For most applications, set receiver interrupt
enable (RIE). Enable the receiver by setting the receiver enable
(RE) bit.
is a block diagram of the SCI receiver.
Go to: www.freescale.com
SCI Submodule
explains the process in greater detail.
5.7.11 Frame Detection
3.4 System
3.4 System
Reference Manual
SCI Submodule
SCI Transmitter
71

Related parts for MCCIRM