
Communications Processor (CP)
4-30
MC68302 USER’S MANUAL
MOTOROLA
for an internal clock, TCS and RCS may both be zero, or, for an external clock,
they may both be one. The other two combinations are not allowed in this mode.
NOTE
If external loopback is desired (i.e., external to the MC68302),
then the DIAG1–DIAG0 bits should be set for either normal or
software operation, and an external connection should be made
between the TXD and RXD pins. Clocks may be generated in-
ternally, externally, or an internally generated TCLK may be ex-
ternally connected to RCLK. If software operation is used, the
RTS, CD, and CTS pins need not be externally connected. If
normal operation is used, the RTS pin may be externally con-
nected to the CD pin, and the CTS pin may be grounded.
NOTE
Do not use this mode for loopback operation of IDL in the Serial
Interface. Instead program the diag bits to Normal Operation,
and (1) assert the L1GR pin externally from the S/T chip, or (2)
configure the SDIAG1-0 bits in the SIMODE to Internal Loop-
back or Loopback Control.
10 = Automatic echo
In this mode, the channel automatically retransmits the received data on a bit-by-
bit basis. The receiver operates normally, but the transmitter simply retransmits
the received data. The CD pin must be asserted for the receiver to receive data,
and the CTS line is ignored. The data is echoed out the TXD pin with a few nano-
second delay from RXD. No transmit clock is required, and the ENT bit in the SCC
mode register does not have to be set.
NOTE
The echo function may also be accomplished in software by re-
ceiving buffers from an SCC, linking them to transmit buffer de-
scriptors, and then transmitting them back out of that SCC.
11 = Software operation (CTS, CD lines under software control)
In this mode, the CTS and CD lines are just inputs to the SCC event (SCCE) and
status (SCCS) registers. The SCC controller does not use these lines to enable/
disable reception and transmission, but leaves low (i.e., active) in this mode.
Transmission delays from RTS low are zero TCLKs (asynchronous protocols) or
one TCLK (synchronous protocols).
NOTE
The MC68302 provides several tools for enabling and disabling
transmission and/or reception. Choosing the right tool is applica-
tion and situation dependent. For the receiver, the tools are 1)
the empty bit in the receive buffer descriptor, 2) the ENR bit, and
3) the ENTER HUNT MODE command. For the transmitter, the