CD2231 Intel Corporation, CD2231 Datasheet - Page 74

no-image

CD2231

Manufacturer Part Number
CD2231
Description
CD2231 Intelligent Two-channel Lan And Wan Communications Controller
Manufacturer
Intel Corporation
Datasheet
CD2231 — Intelligent Two-Channel LAN and WAN Communications Controller
6.4.1
6.4.2
74
SYN
Table 12. Special Character Definition
Figure 17. ARAP 1.0 Frame
Start Flag
DLE
Framing
An MNP4 (V.42) frame consists of a start flag, data octets, a stop flag, and a 16-bit FCS (frame
check sequence). The FCS uses the polynomial (
and inverted. The character format uses asynchronous framing with 8 data bits, no parity, and one
Stop bit. In-band flow control (XON/XOFF) is not permitted in this mode.
The start flag is a three octet sequence consisting of the start character, escape character, and STX
(0x02). The stop flag is a two octet sequence consisting of the escape character and ETX (0x03).
During transmit, if an escape character is encountered in the data stream, it is duplicated.
Conversely, the receiver discards the second of two sequential escape characters.
MNP4 is the data-link layer of ARAP 1.0 (AppleTalk Remote Access Protocol). ARAP 2.0 is the
same as MNP4 except for the two start and escape characters.
The CD2231 uses two Special Character registers (SCHR1 and SCHR2) to hold the definition of
the start and escape characters. There is no mode selection within the CD2231 that allows it to
determine whether it is in an ARAP 1.0 or ARAP 2.0 environment. It builds and detects frames
using the values in the two Special Character registers. The user must load the two Special
Character registers with the appropriate start and escape characters for the version in use during
channel initialization. The two special characters for each protocol are shown in
For both versions of ARAP, frames begin with SCHR1, SCHR2, STX, and end with SCHR2 and
ETX:
Both versions escape the escape character (in SHCR2) by duplicating it if it appears within the data
stream.
MNP 4/ARAP FCS (Frame Check Sequence) Calculation
Both versions use the (
with remainder equal to 0x1D0F. The frame body and ETX octet of the stop flag are included in the
FCS calculation for both versions. The start flag and all DLE (ARAP 1.0)/ESC (ARAP 2.0) octets
that are used for transparency are excluded from the FCS calculation.
illustrate the characters used in the FCS calculation. Data used in FCS calculation is in bold print.
SCHR1 contains the start
character
SCHR2 contains the escape
character
STX
ARAP 1.0— SYN, DLE, STX, data, data, data, ... DLE, ETX
ARAP 2.0— SOH, ESC, STX, data, data, data, ... ESC, ETX
Special Character
Register 1 and 2
data
data
x
16
+
x
12
DLE
+
x
5
ARAP 1.0
+
SYN
DLE
1
DLE
) polynomial, preset to all ‘1’s, transmitted and inverted
T
data
x
ARAP 2.0
16
SOH
ESC
+
x
12
data
+
x
5
+
1
), preset to all ‘1’s, transmitted,
DLE
End Flag
Figure 17
ETX
and
Table
FCS1
Figure 18
12.
Datasheet
FCS2

Related parts for CD2231