
Serial Communication Controllers (SCCs)
MC68360 USER’S MANUAL
NOTE
The MC68302 also provides the same general level of LocalTalk
functionality when it is combined with its companion chip, the
MC68195 LocalTalk Adaptor (LA). The LA device, however, is
not required with the QUICC.
7.10.19.1 LOCALTALK BUS OPERATION. The following paragraphs detail the operation
of the LocalTalk. A LocalTalk frame is a modified HDLC frame as shown in Figure 7-61.
Figure 7-61. LocalTalk Frame Format
First, a synchronization sequence of greater than three bits is sent. This sequence consists
of at least one logical one bit, FM0 encoded, followed by greater than two bit times of line
idle. No particular maximum time is specified for this line idle time. The idle time allows some
LocalTalk equipment to sense carrier by detecting a "missing clock" on the line.
The remainder of the frame is a typical half-duplex HDLC frame. Two or more flags are sent,
allowing bit, byte, and frame delineation/detection. Two bytes of address, destination and
source, are transmitted next. This is followed by a byte of control and 0 to 600 data bytes.
Next, two bytes of CRC are sent. The CRC is the common 16-bit CRC-CCITT polynomial
referenced in the HDLC standard protocol. The LocalTalk frame is then terminated by a flag
and a restricted HDLC abort sequence (a sequence of 12 to 18 logical ones). The transmit-
ter's driver is then disabled.
The control byte within the LocalTalk frame indicates the type of frame. Control byte values
from 0x01 to 0x7f are data frames, and control byte values from 0x80 to 0xff are control
frames. Four different control frames are currently defined: ENQ (Enquiry), ACK (ENQ
acknowledgement), RTS (request to send a data frame), and CTS (clear to send a data
frame).
Frames are sent in groups known as dialogs. For instance, to transfer a data frame, three
frames are actually sent over the network: an RTS frame (not to be confused with the RS-
232 pin RTS) is sent requesting the network, a CTS frame is sent by the destination node,
and the data frame is sent by the requesting node. These three frames comprise one pos-
sible type of dialog. Once a dialog has begun, other nodes cannot begin transmission until
the dialog is complete. Dialogs are typically handled in software.
Frames within a dialog are transmitted with a maximum interframe gap (IFG) of 200
s.
Although the LocalTalk specification does not state it, there is also a minimum recom-
mended IFG of 50
s. Dialogs must be separated by a minimum interdialog gap (IDG) of 400
s. In general, these gaps are implemented via software.
SYNC
SEQ
ABORT
SEQUENCE
HDLC
FLAGS
CLOSING
FLAG
CRC-16
DEST.
ADDR.
SOURCE
ADDR.
CONTROL
BYTE
DATA
(OPTIONAL)
> 3
BITS
2 OR
MORE
BYTES
1
BYTE
1
BYTE
1
BYTE
0–600 BYTES
2
BYTES
1
BYTE
12–18
ONES
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.