Sdlc m, Erial, Ommunication – Zilog Z16C35 User Manual

Page 244: Ontroller, Peration

Advertising
background image

11-1

1

A

PPLICATION

N

OTE

S

ERIAL

C

OMMUNICATION

C

ONTROLLER

(SCC

):

SDLC M

ODE

OF

O

PERATION

10

nderstanding the transactions which occur within a Serial Communication Controller

operating in the SDLC mode simplifies working in this complex area.

U

INTRODUCTION

Zilog’s SCC (Serial Communication Controller) is a
popular USART (Universal Synchronous/Asynchronous
Receiver/Transmitter) device, used for a wide range of
applications. For instance, Macintosh systems use the
SCC as a standard communication controller device.
There are several different types of devices in the SCC
family. The family consists of the Z8530 NMOS SCC, the
Z85C30 CMOS SCC, the Z85230 ESCC (Enhanced
SCC), Z85233 EMSCC (Mono Enhanced SCC), and
Superintegration devices such as the Z181 ZIO™ and
Z182 ZIP™.

Since the SCC may be used in many different ways, it may
not be easy to understand all the transactions involved
between the CPU and the SCC. In particular, the SDLC
mode of operation is highly complicated, and many
transactions are involved to make it work properly. This
application note describes the sequence of events which
occurs in the SDLC mode of operation.

The following sequences of events are covered:

SDLC Transmission

SDLC receive

With Receive Interrupts on all received characters
or Special Conditions

With Receive Interrupts on First Character or
Special Condition

With Receive Interrupts on Special Conditions
only

Receiving Back-to-back Frame under DMA control

SDLC Loop mode

Each section explains the transmit/receive process for
packets with the following characteristics:

Initial state is mark idle

Address field has 81H

Control field has 42H

Two bytes of I-field, 42H and 0FFH

After the closing flag, mark idling

Note:

This application note describes the SCC, but not the
ESCC. The ESCC, since it incorporates enhancements
like deeper FIFOs and SDLC mode supporting logic,
handles the packets much more simply than the SCC.
Refer to the section on CMOS SCC and ESCC of this
appnote for more general information on the ESCC.

Page 238 of 316

UM011002-0808

Advertising