English
Language : 

SAB82538 Datasheet, PDF (56/253 Pages) Infineon Technologies AG – ICs for Communications
SAB 82538
SAF 82538
2.3.2 Procedural Support (Layer-2 Functions)
When operating in the auto mode, the ESCC8 offers a high degree of protocol support.
In addition to address recognition, the ESCC8 autonomously processes all (numbered)
S- and I-frames (prerequisite window size 1) with either normal or extended control field
format (modulo 8 or modulo 128 sequence numbers - selectable via RAH2 register).
The following functions will be performed:
q Updating of transmit and receive counter
q Evaluation of transmit and receive counter
q Processing of S commands
q Flow control with RR/RNR
q Generation of responses
q Recognition of protocol errors
q Transmission of S commands, if acknowledgement is not received
q Continuous status query of remote station after RNR has been received
q Programmable timer/repeater functions.
In addition, all unnumbered frames are forwarded directly to the processor. The logical
link can be initialized by software at any time (Reset HDLC Receiver, RHR-command).
Additional logical connections can be operated in parallel by software.
2.3.2.1 Full-Duplex LAPB/LAPD Operation
Initially (i.e. after RESET), the LAP controllers of the eight serial channels are configured
to function as a combined (primary/secondary) station, where they autonomously
perform a subset of the balanced X.25 LAPB/ISDN LAPD protocol.
Reception of Frames
The logical processing of received S-frames is performed by the ESCC8 without
interrupting the CPU. The CPU is merely informed by interrupt of status changes in the
remote station (receive ready/not receive ready) and protocol errors (unacceptable
N(R), or S-frame with I field).
I-frames are also processed autonomously and checked for protocol errors. The I-frame
will not be accepted in the case of sequence errors (no interrupt is forwarded to the
CPU), but is immediately confirmed by an S response. If the CPU sets the ESCC8 into
a “receive not ready” status, an I-frame will not be accepted (no interrupt) and an RNR
response is transmitted. U frames are always stored in the RFIFO and forwarded directly
to the CPU. The logical sequence and the reception of a frame in auto mode is illustrated
in figure 21.
Note: The state variables N(S), N(R) are evaluated within the window size 1, i.e. the
ESCC8 checks only the least significant bit of the receive and transmit counter
regardless of the selected modulo count.
Semiconductor Group
56