English
Language : 

MMC2107 Datasheet, PDF (337/618 Pages) –
Freescale Semiconductor, Inc.
Serial Communications Interface Modules (SCI1 and SCI2)
Memory Map and Registers
16.7.2 SCI Control Register 1
Address: SCI1 — 0x00cc_0002
SCI2 — 0x00cd_0002
Bit 7
6
5
4
3
2
1
Bit 0
Read:
LOOPS WOMS RSRC
M
WAKE ILT
PE
PT
Write:
Reset: 0
0
0
0
0
0
0
0
Figure 16-4. SCI Control Register 1 (SCICR1)
Read: Anytime
Write: Anytime
LOOPS — Loop Select Bit
This read/write control bit switches the SCI between normal mode
and loop mode. Reset clears LOOPS.
1 = Loop mode SCI operation
0 = Normal mode SCI operation
The SCI operates normally (LOOPS = 0, RSRC = X) when the output
of its transmitter is connected to the TXD pin, and the input of its
receiver is connected to the RXD pin.
In loop mode (LOOPS =1, RSRC = 0), the input to the SCI receiver is
internally disconnected from the RXD pin logic and instead connected
to the output of the SCI transmitter. The behavior of TXD is governed
by the DDRSC1 bit in SCIDDR. If DDRSC1 = 1, the TXD pin is driven
with the output of the SCI transmitter. If DDRSC1 = 0, the TXD pin
idles high. See 16.14 Loop Operation for additional information.
For either loop mode or single-wire mode to function, both the SCI
receiver and transmitter must be enabled by setting the RE and TE
bits in SCIxCR2.
NOTE:
The RXD pin becomes general-purpose I/O when LOOPS = 1,
regardless of the state of the RSRC bit. DDRSC0 in SCIDDR is the data
direction bit for the RXD pin.
Table 16-3 shows how the LOOPS, RSRC, and DDRSC0 bits affect
SCI operation and the configuration of the RXD and TXD pins.
MMC2107 – Rev. 2.0
MOTOROLA
Serial Communications Interface Modules (SCI1 and SCI2)
For More Information On This Product,
Go to: www.freescale.com
Technical Data
337