
Technical Data
MC68HC11E Family
—
Rev. 4
148
Serial Communications Interface (SCI)
MOTOROLA
Serial Communications Interface (SCI)
7.5 Receive Operation
During receive operations, the transmit sequence is reversed. The serial
shift register receives data and transfers it to a parallel receive data
register (SCDR) as a complete word. This double buffered operation
allows a character to be shifted in serially while another character is
already in the SCDR. An advanced data recovery scheme distinguishes
valid data from noise in the serial data stream. The data input is
selectively sampled to detect receive data, and a majority voting circuit
determines the value and integrity of each bit. See
Figure 7-2
.
7.6 Wakeup Feature
The wakeup feature reduces SCI service overhead in multiple receiver
systems. Software for each receiver evaluates the first character of each
message. The receiver is placed in wakeup mode by writing a 1 to the
RWU bit in the SCCR2 register. While RWU is 1, all of the
receiver-related status flags (RDRF, IDLE, OR, NF, and FE) are
inhibited (cannot become set). Although RWU can be cleared by a
software write to SCCR2, to do so would be unusual. Normally, RWU is
set by software and is cleared automatically with hardware. Whenever a
new message begins, logic alerts the sleeping receivers to wake up and
evaluate the initial character of the new message.
Two methods of wakeup are available:
Idle-line wakeup
Address-mark wakeup
During idle-line wakeup, a sleeping receiver awakens as soon as the
RxD line becomes idle. In the address-mark wakeup, logic 1 in the most
significant bit (MSB) of a character wakes up all sleeping receivers.