Serial Communication Interface (SCI)
MCF51CN128 Reference Manual, Rev. 6
13-9
Freescale Semiconductor
13.2.4
SCI Status Register 1 (SCIxS1)
This register has eight read-only status flags. Writes have no effect. Special software sequences (which do
not involve writing to this register) clear these status flags.
3
TE
Transmitter Enable
0 Transmitter off.
1 Transmitter on.
TE must be 1 to use the SCI transmitter. When TE is set, the SCI forces the TxD pin to act as an output for the
SCI system.
When the SCI is configured for single-wire operation (LOOPS = RSRC = 1), TXDIR controls the direction of
traffic on the single SCI communication line (TxD pin).
TE can also queue an idle character by clearing TE then setting TE while a transmission is in progress. Refer to
Section 13.3.2.1, “Send Break and Queued Idle
” for more details.
When TE is written to 0, the transmitter keeps control of the port TxD pin until any data, queued idle, or queued
break character finishes transmitting before allowing the pin to revert to a general-purpose I/O pin.
2
RE
Receiver Enable. When the SCI receiver is off, the RxD pin reverts to being a general-purpose port I/O pin. If
LOOPS is set the RxD pin reverts to being a general-purpose I/O pin even if RE is set.
0 Receiver off.
1 Receiver on.
1
RWU
Receiver Wakeup Control. This bit can be written to 1 to place the SCI receiver in a standby state where it waits
for automatic hardware detection of a selected wakeup condition. The wakeup condition is an idle line between
messages (WAKE = 0, idle-line wakeup) or a logic 1 in the most significant data bit in a character (WAKE = 1,
address-mark wakeup). Application software sets RWU and (normally) a selected hardware condition
automatically clears RWU. Refer to
Section 13.3.3.2, “Receiver Wakeup Operation
”
for more details.
0 Normal SCI receiver operation.
1 SCI receiver in standby waiting for wakeup condition.
0
SBK
Send Break. Writing a 1 and then a 0 to SBK queues a break character in the transmit data stream. Additional
break characters of 10 or 11 (13 or 14 if BRK13 = 1) bit times of logic 0 are queued as long as SBK is set.
Depending on the timing of the set and clear of SBK relative to the information currently being transmitted, a
second break character may be queued before software clears SBK. Refer to
Section 13.3.2.1, “Send Break and
” for more details.
0 Normal transmitter operation.
1 Queue break character(s) to be sent.
7
6
5
4
3
2
1
0
R
W
Reset
1
1
0
0
0
0
0
0
Figure 13-8. SCI Status Register 1 (SCIxS1)
Table 13-4. SCIxC2 Field Descriptions (continued)
Field
Description