mpc823rg Freescale Semiconductor, Inc, mpc823rg Datasheet - Page 714

no-image

mpc823rg

Manufacturer Part Number
mpc823rg
Description
Mpc823 Powerquicc Integrated Communications Processor For Portable Systems
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Communication Processor Module
16.9.18 The SCCs in AppleTalk Mode
AppleTalk
between Macintosh computers and printers. Although AppleTalk can be implemented over
a variety of physical and link layers, including Ethernet, the AppleTalk protocols have
traditionally been more closely associated with one particular physical and link layer protocol
called LocalTalk.
LocalTalk refers to an HDLC-based link and physical layer protocol that runs at the rate of
230.4kbps. In this manual, the term AppleTalk controller refers to a support that the MPC823
provides for the LocalTalk protocol. The AppleTalk controller provides the required frame
synchronization, bit sequence, preamble, and postamble onto standard HDLC frames.
These capabilities, as well as the use of the HDLC controller in conjunction with DPLL
operation in FM0 mode, provide the proper connection formats to the LocalTalk bus.
16.9.18.1 OPERATING THE LOCALTALK BUS. A LocalTalk frame is basically a modified
HDLC frame.
The frame begins when a synchronization sequence greater than three bits is sent. This
sequence consists of at least one logical 1 bit (FM0-encoded) followed by greater than two
bit times of line idle with no particular maximum time specified. The idle time allows
LocalTalk equipment to sense a 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,
which allows for bit, byte, and frame delineation or detection. Then, two bytes of address,
destination, and source are transmitted, followed by a byte of control and 0 to 600 data
bytes. Next, two bytes of CRC (described in Section 16.9.16.8 SCCx HDLC Mode
Register) are sent. The LocalTalk frame is then terminated by a flag and a restricted HDLC
abort sequence. Then the transmitter’s driver is disabled.
The control byte within the LocalTalk frame indicates the type of frame. Control byte values
that range from 0x01 to 0x7f are data frames and control byte values that range from 0x80
to 0xff are control frames. There are four types of control frames:
• ENQ—Enquiry
• ACK—Enquiry acknowledgment
• RTS—Request to send a data frame
• CTS—Clear to send a data frame
SYNC
SEQ
BITS
> 3
®
is a set of protocols developed by Apple Computer Inc. to provide a LAN service
FLAGS
BYTES
HDLC
MORE
2 OR
ADDR
BYTE
DEST
1
Freescale Semiconductor, Inc.
SOURCE
ADDR
BYTE
Figure 16-87. LocalTalk Frame Format
For More Information On This Product,
1
CONTROL
MPC823 REFERENCE MANUAL
BYTE
BYTE
1
Go to: www.freescale.com
(OPTIONAL)
0–600 BYTES
DATA
CRC-16
BYTES
2
CLOSING
FLAG
BYTE
1
SEQUENCE
ABORT
12–18
ONES
MOTOROLA

Related parts for mpc823rg