MCCIRM Freescale Semiconductor / Motorola, MCCIRM Datasheet - Page 65

no-image

MCCIRM

Manufacturer Part Number
MCCIRM
Description
MCCIRM Multi-Channel Communications Interface Reference Manual
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
5.7.1 Initializing the Transmitter
Multichannel Communication Interface — Rev. 1.0
MOTOROLA
A general outline for initializing the MCCI is provided in
Initialization. When using the SCI transmitter, include these specific
steps:
When TE changes from 0 to 1, the MCU checks the state of the serial
shifter. If TC = 1, an idle frame is transmitted as a preamble to the
following data frame. If TC = 0, the current operation continues until the
final bit in the frame is sent, then the preamble is transmitted. The TC bit
is set at the end of preamble transmission.
To transmit subsequent bytes, wait for TDRE to be set, then write to the
SCDR. SCI supports both polling and interrupt-driven transmission, as
described in the following subsection.
1. Write to the MCCI global registers as outlined in
2. Read the SCI status register (SCSR), then write to the SCI data
3. Write a baud rate value into the BR field of SCCR0.
4. Write to SCCR1 to set or clear all appropriate bits. Select an 8- or
5. Write the byte to be transmitted to the SCDR.
Freescale Semiconductor, Inc.
For More Information On This Product,
Initialization. Configure the TXD pin as an output in the MDDR.
register (SCDR). This clears the transmit data register empty
(TDRE) and transmit complete (TC) indicators in the SCSR,
preventing these flags from generating interrupts as soon as the
transmitter is enabled.
9-bit frame format (M) and determine use (PE) and type (PT) of
parity check. Set the transmit enable (TE) and transmit interrupt
enable (TIE) bits. Enable or disable transmit-complete interrupts
(TCIE) and wired-OR operation (WOMC). Disable the send-break
(SBK) function for normal operation.
Go to: www.freescale.com
SCI Submodule
3.4 System
3.4 System
Reference Manual
SCI Submodule
SCI Transmitter
65

Related parts for MCCIRM