28.10.2014 Views

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />

Serial Communications Interface Modules (SCI1 and SCI2)<br />

Functional Description<br />

16.8 Functional Description<br />

The SCI allows full-duplex, asynchronous, non-return-to-zero (NRZ)<br />

serial communication between the MCU and remote devices, including<br />

other MCUs. The SCI transmitter and receiver operate independently,<br />

although they use the same baud rate generator. The CPU monitors the<br />

status of the SCI, writes the data to be transmitted, and processes<br />

received data.<br />

nc...<br />

<strong>Freescale</strong> <strong>Semiconductor</strong>, I<br />

16.9 Data Format<br />

The SCI uses the standard NRZ mark/space data format shown in<br />

Figure 16-13.<br />

Each frame has a start bit, eight or nine data bits, and one or two stop<br />

bits. Clearing the M bit in SCCR1 configures the SCI for 10-bit frames.<br />

Setting the M bit configures the SCI for 11-bit frames.<br />

When the SCI is configured for 9-bit data, the ninth data bit is the T8 bit<br />

in SCI data register high (SCIDRH). It remains unchanged after<br />

transmission and can be used repeatedly without rewriting it. A frame<br />

with nine data bits has a total of 11 bits.<br />

START<br />

BIT<br />

START<br />

BIT<br />

10-BIT FRAME<br />

M = 1 in SCICR1<br />

BIT 0 BIT 1 BIT 2 BIT 3 BIT 4 BIT 5 BIT 6 BIT 7<br />

11-BIT FRAME<br />

M = 1 IN SCICR1<br />

BIT 0 BIT 1 BIT 2 BIT 3 BIT 4 BIT 5 BIT 6 BIT 7<br />

Figure 16-13. SCI Data Formats<br />

STOP<br />

BIT<br />

BIT 8<br />

NEXT<br />

START<br />

BIT<br />

STOP<br />

BIT<br />

NEXT<br />

START<br />

BIT<br />

<strong>MMC2107</strong> – Rev. 2.0<br />

Technical Data<br />

MOTOROLA Serial Communications Interface Modules (SCI1 and SCI2) 349<br />

For More Information On This Product,<br />

Go to: www.freescale.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!