Communications Processor (CP)
4-128
MC68302 USER’S MANUAL
MOTOROLA
NOTE
This technique is not valid for the PCM envelope sync method
when the time slots are less than six bits in length. In such a
case, the user may clear EXSYN to cause transmission to begin,
and then, for the receiver, provide the required SYN1–SYN2 se-
quence. To accomplish this, the user may configure the SCC to
loopback mode with the EXSYN bit cleared and the DSR set to
$FFFF. Then after 16 serial clocks, the receiver and transmitter
are synchronized, and the SCC may be dynamically reconfig-
ured to normal or software operation. At this point, reception be-
gins immediately, and transmission begins after the transmit BD
is made ready.
5. With the physical interface configured for IDL or GCI mode, the SCC may be config-
ured with the EXSYN bit set and the DIAG1–DIAG0 bits set to either software opera-
tion or normal operation. In this case, the data will be byte-aligned to the B or D
channel time slots.
Once synchronization is achieved for the transmitter, it will remain in effect until an error oc-
curs, a STOP TRANSMIT command is given, or a buffer has completed transmission with
the Tx BD last (L) bit set. Once synchronization is achieved for the receiver, it will remain in
effect until an error occurs or the ENTER HUNT MODE command is given.
4.5.16.6 Transparent Error-Handling Procedure
The transparent controller reports message reception and transmission error conditions us-
ing the channel BDs and the transparent event register. The modem interface lines can also
be directly monitored in the SCC status register.
Transmission Errors:
1. Transmitter Underrun—When this error occurs, the channel terminates buffer trans-
mission, closes the buffer, sets the underrun (UN) bit in the BD, and generates the
TXE interrupt (if enabled). The channel resumes transmission after the reception of
the RESTART TRANSMIT command. Underrun can occur after a transmit frame for
which the L bit in the Tx BD was not set. In this case, only the TXE bit is set. The FIFO
size is four words in transparent mode.
2. Clear-To-Send Lost During Message Transmission—When this error occurs and the
channel is not programmed to control this line with software, the channel terminates
buffer transmission, closes the buffer, sets the CTS lost (CT) bit in the BD, and gener-
ates the TXE interrupt (if enabled). The channel will resume transmission after the re-
ception of the RESTART TRANSMIT command.
Reception Errors:
1. Overrun Error—The transparent controller maintains an internal three-word FIFO for
receiving data. The CP begins programming the SDMA channel (if the data buffer is
in external memory) when the first word is received into the FIFO. If a FIFO overrun
occurs, the transparent controller writes the received data word to the internal FIFO
over the previously received word. The previous word is lost. Next, the channel closes