28.10.2014 Views

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

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

Memory Map and Registers<br />

nc...<br />

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

NOTE:<br />

RDRF — Receive Data Register Full Flag<br />

The RDRF flag is set when the data in the receive shift register is<br />

transferred to SCIDRH and SCIDRL. It signals that the received data<br />

is available to the MCU. If the RIE bit is set in SCICR2, RDRF<br />

generates an interrupt request. Clear RDRF by reading the SCISR1<br />

and then reading SCIDRL. Reset clears RDRF.<br />

1 = Received data available in SCIDRH and SCIDRL<br />

0 = Received data not available in SCIDRH and SCIDRL<br />

IDLE — Idle Line Flag<br />

The IDLE flag is set when 10 (if M = 0) or 11 (if M = 1) consecutive<br />

logic 1s appear on the receiver input. If the ILIE bit in SCICR2 is set,<br />

IDLE generates an interrupt request. Once IDLE is cleared, a valid<br />

frame must again set the RDRF flag before an idle condition can set<br />

the IDLE flag. Clear IDLE by reading SCISR1 and then reading<br />

SCIDRL. Reset clears IDLE.<br />

1 = Receiver idle<br />

0 = Receiver active or idle since reset or idle since IDLE flag last<br />

cleared<br />

When RWU =1, an idle line condition does not set the IDLE flag.<br />

OR — Overrun Flag<br />

The OR flag is set if data is not read from SCIDRL before the receive<br />

shift register receives the stop bit of the next frame. This is a receiver<br />

overrun condition. If the RIE bit in SCICR2 is set, OR generates an<br />

interrupt request. The data in the shift register is lost, but the data<br />

already in the SCIDRH and SCIDRL is not affected. Clear OR by<br />

reading SCISR1 and then reading SCIDRL. Reset clears OR.<br />

1 = Overrun<br />

0 = No overrun<br />

NF — Noise Flag<br />

The NF flag is set when the SCI detects noise on the receiver input.<br />

NF is set during the same cycle as the RDRF flag but does not get set<br />

in the case of an overrun. Clear NF by reading SCISR1 and then<br />

reading SCIDRL. Reset clears NF.<br />

1 = Noise<br />

0 = No noise<br />

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

Technical Data<br />

MOTOROLA Serial Communications Interface Modules (SCI1 and SCI2) 343<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!