English
Language : 

Z85233 Datasheet, PDF (314/317 Pages) Zilog, Inc. – The Zilog SCC Serial Communication Controller
Q. Can the SCC detect multiple aborts?
A. The SCC searched for seven consecutive 1’s on the
receive data line for the abort detection. This condition
may be allowed to cause an external status interrupt.
After these seven 1’s are received, the receiver auto-
matically enters Hunt mode, where it looks for flags.
So, even if more than seven 1’s are received in case
of multiple aborts, only the first sequence of 1’s is sig-
nificant.
Q. How do you send an end of poll (EOP) flag in SDLC
loop mode?
A. To send the EOP message, simply toggle the bit which
idles flags or ones to mark flags, then mark ones. This
produces a zero and more than seven 1’s; an EOP
condition.
Q. When the SCC is programmed for 6 bit sync, how
are bits sent?
A. Six bits are sent. The 12-bit sync character sends 12
bits.
Q. Do sync patterns (or flags) in data transmissions
get stripped and still cause interrupts?
A. All leading sync patterns (and all flags) are automati-
cally stripped if the Sync Character Load Inhibit fea-
ture is programmed. Any data stripped from the
transmission stream cannot cause a receive character
available interrupt but may cause other interrupts
(such as External/Status for Sync/Hunt and special re-
ceive condition for EOM).
Q. How are the sync characters sent at the beginning
of a Bisync frame?
A. Load the transmit buffer with the first byte and the sync
characters are automatically sent out.
SCC™/ESCC™ User’s Manual
Zilog SCC
Q. How can you determine when the flag has been
completely sent?
A. There are several ways to determine if the flag has
been completely sent. This allows the transmitter to be
shut off, or in half duplex the line can be turned around.
This requires a little work by the user because the SCC
does not know when the last flag bit has been shifted
our. The following are some suggestions:
– Once the flag is loaded into the transmit shift
register, start an external clock. Use the baud rate
generator as the counter.
– Tie the transmit line into DCD or an available input
pin, and watch for a zero, or end of flag. If you are
running half-duplex, use the local loopback mode
and watch for the flag to end.
– Allow an abort, although this destroys the last
character. Be sure to send a dummy character -
then idle flags after the abort latch is set.
Q. How do the DMA W/REQ lines operate?
A. DMA request lines follow the state of the transmit buff-
er.
Q. How does the SCC handle messages less than
four bytes in length?
A. A 4-byte message consists of an address, control
word, no data, and 2 bytes of CRC. SDLC defines
messages of less than 4-bytes as an error. It is not de-
fined how the SCC will react, however, as tested by a
SCC user, 4-, 3-, and 2-byte messages cause an inter-
rupt on end of frame, but a 1 byte message does not
cause an interrupt.
UM010901-0601
7-9