
XRT7245
DS3 UNI FOR ATM
á
PRELIMINARY
REV. 1.03
196
Where: Flag Sequence = 7Eh
SAPI + CR + EA = 3Ch or 3Eh
TEI + EA = 01h
Control = 03h
The following section defines each of these bit/byte-
fields within the LAPD Message Frame Format.
Flag Sequence Byte
The Flag Sequence byte is of the value 7Eh, and is
used to denote the boundaries of the LAPD Message
Frame.
SAPI—Service Access Point Identifier
The SAPI bit-fields are assigned the value of
“001111b” or 15
10
.
TEI—Terminal Endpoint Identifier
The TEI bit-fields are assigned the value of 00h. The
TEI field is used in N-ISDN systems to identify a ter-
minal out of multiple possible terminal. However,
since the UNI transmits data in a point-to-point man-
ner, the TEI value is unimportant.
Control
The Control identifies the type of frame being trans-
mitted. There are three general types of frame formats:
Information, Supervisory, and Unnumbered. The UNI
assigned the Control byte the value 03h. Hence, the
UNI will be transmitting and receiving Unnumbered
LAPD Message frames.
Information Payload
The “Information Payload” is the 76 bytes or 82 bytes
of data (e.g., the PMDL Message) that the user has
written into the on-chip “Transmit LAPD Message”
buffer (which is located at addresses 86h through DDh).
It is important to note that the user must write in a
specific octet value into the first byte position within
the Transmit LAPD Message buffer (located at Ad-
dress = 86h, within the UNI). The value of this octet
depends upon the type of LAPD Message frame/PM-
DL Message that the user wishes to transmit. Table 31
presents a list of the various types of LAPD Message
frames/PMDL Messages that are supported by the
XRT7245 DS3 UNI device; and the corresponding
octet value that the user must write into the first octet
position within the “Transmit LAPD Message” buffer.
Frame Check Sequence Bytes
The 16 bit FCS (Frame Check Sequence) is calculated
over the LAPD Message Header and Information
Payload bytes, by using the CRC-16 polynomial, x
16
+ x
12
+ x
5
+ 1.
Operation of the LAPD Transmitter
If the user wishes to transmit a message via the LAPD
Transmitter, he/she must write the information portion
(or the body) of the message into the Transmit LAPD
Message Buffer, which is located at 86h through DDh
in on-chip RAM via the Microprocessor Interface.
Afterwards, the user must do three things:
Specify the type of LAPD message to be
transmitted.
Enable the LAPD Transmitter
Initiate the Transmission
1.
2.
3.
FCS—MSB
FCS—LSB
Flag Sequence (8-bits)
T
ABLE
31: LAPD M
ESSAGE
F
RAME
F
ORMAT
F
LAG
S
EQUENCE
(8
BITS
)
T
ABLE
32: T
HE
LAPD M
ESSAGE
T
YPE
AND
THE
C
ORRESPONDING
VALUE
OF
THE
F
IRST
B
YTE
,
WITHIN
THE
I
NFORMATION
P
AYLOAD
LAPD M
ESSAGE
T
YPE
V
ALUE
OF
F
IRST
B
YTE
,
WITHIN
I
NFORMATION
P
AYLOAD
OF
M
ESSAGE
M
ESSAGE
S
IZE
CL Path Identification
38h
76 bytes
IDLE Signal Identification
34h
76 bytes
Test Signal Identification
32h
76 bytes
ITU-T Path Identification
3Fh
82 bytes