Mitel MT8977 Iso-cmos st-busâ ¢ family t1/esf framer circuit Datasheet


ISO-CMOS ST-BUS FAMILY MT8977

T1/ESF Framer Circuit (ACCUNET T1.5)
Preliminary Information
Features
•
•
•
•
•
•
•
•
•
•
•
•
•
•
ISSUE 2
D3/D4 or ESF framing and SLC-96 compatible
Two frame elastic buffer with jitter tolerance
improved to 156 UI
Insertion and detection of A, B, C, D bits,
signalling freeze, optional debounce
Selectable B8ZS, jammed bit (ZCS) or no zero
code suppression
Yellow alarm and blue alarm signal capabilities
Bipolar violation count, FT error count, CRC
error count
Selectable robbed bit signalling
Frame and superframe sync. signals, Tx and Rx
AMI encoding and decoding
Per channel, overall, and remote loop around
Digital phase detector between T1 line and STBUS
One uncommitted scan point and drive point
Pin compatible with MT8976 and MT8979
ST-BUS compatible
May 1995
Ordering Information
MT8977AC
28 Pin Ceramic DIP
MT8977AE
28 Pin Plastic DIP
MT8977AP
44 Pin PLCC
-40°C to 85°C
Description
The MT8977 is a variant of the MT8976 framer,
which has been enhanced to meet ACCUNET® T1.5
wander tolerance (138 UI).
The MT8977 meets ESF and D3/D4 formats, and is
compatible with SLC-96 systems.
Applications
•
•
•
DS1/ESF digital trunk interfaces
Computer to PBX interfaces (DMI and CPI)
High speed computer to computer data links
TxSF
C2i
F0i
C1.5i
ST-BUS
Timing
Circuitry
RxSF
DSTo
DSTi
RxFDLClk
RxFDL
2 Frame
Elastic Buffer
with Slip
Control
RxA
DS1
Link
Interface
Data
Interface
Remote &
Digital
Loopbacks
TxB
TxFDLClk
TxFDL
2048-1544
Converter
CSTi0
CSTi1
CSTo
RxD
Serial
Control
Interface
ABCD
Signalling RAM
XCtl
XSt
RxB
TxA
E1.5i
Phase
Detector
Control Logic
DS1
Counter
•
E8Ko
VSS
VDD
Figure 1 - Functional Block Diagram
ACCUNET ® T1.5 is a registered trademark of AT & T
4-99
ISO-CMOS
Preliminary Information
TxA
TxB
DSTo
NC
VSS
VDD
IC
NC
F0i
NC
E1.5i
MT8977
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
VDD
IC
F0i
E1.5i
C1.5i
RxSF
TxSF
C2i
RxFDL
DSTi
RxFDLClk
CSTo
XSt
XCtl
NC
NC
RxA
RxB
RxD
NC
CSTi1
TxFDL
NC
TxFDLClk
NC
6 5 4 3 2 1 44 43 42 41 40
7
39
8
38
9
37
10
36
11
35
12
34
13
33
14
32
15
31
16
30
29
17
18 19 20 21 22 23 24 25 26 27 28
C1.5i
RxSF
TxSF
NC
NC
C2i
NC
NC
NC
NC
RxFDL
VSS
CSTi0
E8Ko
NC
VSS
XCtl
DSTi
RxFDLClk
CSTo
NC
XSt
TxA
TxB
DSTo
NC
RxA
RxB
RxD
CSTi1
TxFDL
TxFDLClk
NC
CSTi0
E8Ko
VSS
28 PIN CERDIP/PDIP
44 PIN PLCC
Figure 2 - Pin Connections
Pin Description
Pin #
Name
Description
2
TxA
Transmit A Output. Unipolar output that can be used in conjunction with TxB and
external line driver circuitry to generate the bipolar DS1 signal.
2
3
TxB
Transmit B Output. Unipolar output that can be used in conjunction with TxA
and external line driver circuitry to generate the bipolar DS1 signal.
3
5
DSTo
Data ST-BUS Output. A 2048 kbit/s serial output stream which contains the 24
PCM or data channels received from the DS1 line.
4
4
NC
No Connection.
5
9
RxA
Receive A Complementary Input. Accepts a unipolar split phase signal decoded
externally from the received DS1 bipolar signal. This input, in conjunction with
RxB, detects bipolar violations in the received signal.
6
10
RxB
Receive B Complementary Input. Accepts a unipolar split phase signal
decoded externally from the received DS1 bipolar signal.
This input, in
conjunction with RxA, detects bipolar violations in the received signal.
7
11
RxD
Receive Data Input. Unipolar RZ data signal decoded from the received DS1
signal. Generally the signals input at RxA and RxB are combined externally with a
NAND gate and the resulting composite signal is input at this pin.
8
13
CSTi1
Control ST-BUS Input #1.
per-channel control words.
9
14
TxFDL
Transmit Facility Data Link (Input). A 4 kHz serial input stream that is
multiplexed into the FDL position in the ESF mode, or the FS pattern when in SLC96 mode. It is clocked in on the rising edge of TxFDLClk.
10
16
TxFDLClk
Transmit Facility Data Link Clock (Output). A 4 kHz clock used to clock in the
FDL data.
DIP
PLCC
1
11
4-100
NC
No connection.
A 2048 kbit/s serial control stream which carries 24
Preliminary Information
ISO-CMOS
MT8977
Pin Description (Continued)
Pin #
Name
Description
DIP
PLCC
12
19
CSTi0
Control ST-BUS Input #0. A 2048 kbit/s serial control stream that contains 24 per
channel control words and two master control words.
13
20
E8Ko
Extracted 8 kHz Output. The E1.5i clock is internally divided by 193 to produce an
8 kHz clock which is aligned with the received DS1 frame and output at this pin. The
8 kHz signal is derived from C1.5 in Digital Loopback mode.
14
6,
18,
22
VSS
System Ground.
15
23
XCtl
External Control (Output). This is an uncommitted external output pin which is set
or reset via bit 3 in Master Control Word 1 on CSTi0. The state of XCtl is updated
once per frame.
16
24
XSt
External Status (Schmitt Trigger Input). The state of this pin is sampled once per
frame and the status is reported in bit 5 of Master Status Word 2 on CSTo.
17
26
CSTo
Control ST-BUS Output. This is a 2048 kbit/s serial control stream which provides
the 24 per-channel status words, and two master status words.
18
27
RxFDLClk
Receive Facility Data Link Clock (Output). A 4 kHz clock signal used to clock out
FDL information. The data is clocked out on the rising edge of RxFDLClk.
19
28
DSTi
Data ST-BUS Input. This pin accepts a 2048 kbit/s serial stream which contains the
24 PCM or data channels to be transmitted on the T1 trunk.
20
29
RxFDL
Received Facility Data Link (Output). A 4 kHz serial output stream that is
demultiplexed from the FDL in ESF mode, or the received Fs bit pattern in SLC-96
mode. It is clocked out on the rising edge of RxFDLClk.
21
34
C2i
2.048 MHz Clock Input. This is the master clock used for clocking serial data into
DSTi, CSTi0 and CSTi1. It is also used to clock serial data out of CSTo and DSTo.
22
37
TxSF
Transmit Superframe Pulse Input. A low going pulse applied at this pin will make
the next transmit frame the first frame of a superframe. The device will free run if
this pin is held high.
23
38
RxSF
Received Superframe Pulse Output. A pulse output on this pin designates that the
next frame of data on the ST-BUS is from frame 1 of the received superframe. The
period is 12 frames long in D3/D4 modes and 24 frames in ESF mode. Pulses are
output only when the device is synchronized to the received DS1 signal.
24
39
C1.5i
1.544 MHz Clock Input. This is the DS1 transmit clock and is used to output data on
TxA and TxB. It must be phase-locked to C2i. Data is clocked out on the rising
edge of C1.5i.
25
40
E1.5i
1.544 MHz Extracted Clock (Input). This clock which is extracted from the received
data is used to clock in data at RxA, RxB and RxD . The falling edge of the clock
is nominally aligned with the center of the received bit on RxD, RxA and RxB.
26
42
F0i
Frame Pulse Input. This is the frame synchronization signal which defines the
beginning of the 32 channel ST-BUS frame.
27
44
IC
Internal Connection. Tied to VSS for normal operation.
28
1
VDD
Positive Power Supply Input. +5V ±5%.
4-101
MT8977
ISO-CMOS
Preliminary Information
Functional Timing Diagrams
125µSec
C2i
DSTi
DSTo
7
6
5
4
3
2
1
0
•
•
•
•
•
•
•
•
7
7
6
5
4
3
2
1
0
•
•
•
•
•
•
•
•
7
CSTi0/CSTi1
CSTo
Figure 3 - ST-BUS Timing
125µSec
E1.5i
INT DATA
1
1
0
0
1
1
0
1
DS1 AMI
LINE SIGNAL
RxA
RxB
RxD
E8Ko
Figure 4 - DS1 Receive Timing
C1.5i
INT DATA
TxA
TxB
DS1 AMI
LINE SIGNAL
Figure 5 - DS1 Transmit Timing
4-102
1
2
3
3
X
3
3
3
3
4
1
2
3
0
1
2
PC PC PC
CW CW CW
2
2
2
3
X
5
6
4
6
1
2
3
4
5
6
3
0
1
2
4
5
6
PCS PCS PCS PS PCS PCS PCS
W
W
W
W
W
W
W
5
7
X
7
X
7
X
6
7
6
7
8
10
9
11
12
X
10
13
11
14
12
15
16
X
13
17
14
18
15
19
20
X
16
21
8
10
9
7
10
13
11
14
12
15
16
X
13
17
14
18
15
19
20
X
16
21
11
X
10
11
12
12
13
14
PC PC PC
CW CW CW
1
1
1
15
MC
W1
13
14
15
16
17
18
PC PC PC
CW CW CW
1
1
1
19
X
9
11
X
10
11
12
12
13
14
PC PC PC
CW CW CW
2
2
2
15
X
13
14
15
16
17
18
PC PC PC
CW CW CW
2
2
2
19
X
8
10
11
12
13
14
15
15
12
13
14
16
17
18
PCS PCS PCS MS PCS PCS PCS
W
W
W W1 W
W
W
19
X
Figure 6 - ST-BUS Channel Allocations
ST-BUS VERSUS DS1 CHANNEL STATUS
9
11
X
17
22
17
22
16
17
16
17
16
17
18
20
21
22
PCS PCS PCS
W
W
W
18
20
21
22
PC PC PC
CW CW CW
2
2
2
18
20
21
22
PC PC PC
CW CW CW
1
1
1
ST-BUS CHANNEL VERSUS DS1 CHANNEL CONTROLLED
8
8
9
10
PCS PCS PCS
W
W
W
7
12
X
ST-BUS CHANNEL VERSUS DS1 CHANNEL CONTROLLED
8
8
9
10
PC PC PC
CW CW CW
2
2
2
7
9
11
ST-BUS CHANNEL VERSUS DS1 CHANNEL RECEIVED
7
9
ST-BUS CHANNEL VERSUS DS1 CHANNEL TRANSMITTED
7
9
8
9
10
PC PC PC
CW CW CW
1
1
1
8
X
8
X
23
X
23
X
23
X
18
23
18
23
19
25
19
25
20
26
20
26
20
21
20
21
19
20
21
24
25
26
PCS PCS PCS
W
W
W
19
24
25
26
PC PC PC
CW CW CW
2
2
2
19
24
25
26
PC PC PC
CW CW CW
1
1
1
24
X
24
X
27
X
27
X
27
X
21
27
21
27
22
29
22
29
23
30
23
30
23
24
23
24
31
X
31
MC
W2
24
31
24
31
22
23
24
31
28
29
30
PCS PCS PCS MS
W
W
W W2
22
28
29
30
PC PC PC
CW CW CW
2
2
2
22
28
29
30
PC PC PC
CW CW CW
1
1
1
28
X
28
X
ISO-CMOS
PCSW =Per Channel Status Word
PSW = Phase Status Word
MSW =Master Status Word
X = Unused
DS1
CSTo
5
6
5
6
4
5
6
PC PC PC
CW CW CW
2
2
2
PCCW = Per Channel Control Word
DS1
CSTi1
4
5
4
5
4
5
6
PC PC PC
CW CW CW
1
1
1
4
X
4
X
PCCW = Per Channel Control Word
MCW1/2 =Master Control Word 1/2
DS1
0
1
2
PC PC PC
CW CW CW
1
1
1
CSTi0
2
1
2
2
2
DS1
1
0
X
DSTo
1
1
0
X
DS1
DSTi
Preliminary Information
MT8977
4-103
MT8977
ISO-CMOS
Functional Description
The MT8977 provides a simple interface to a
bidirectional DS1 link. All of the formatting and
signalling insertion and detection is done by the
device. Various programmable options in the device
include: ESF, D3/D4, or SLC-96 mode, common
channel or robbed bit signalling, zero code
suppression, alarms, and local and remote loop
back.
All data and control information is
communicated to the MT8977 via 2048 kbit/s serial
streams conforming to Mitel’s ST-BUS format.
The ST-BUS is a TDM serial bus that operates at
2048 kbits/s. The serial streams are divided into 125
µsec frames that are made up of 32 8 bit channels.
A serial stream that is made up of these 32 8 bit
channels is known as an ST-BUS stream, and one of
these 64 kbit/s channels is known as an ST-BUS
channel.
The system side of the MT8977 is made up of STBUS inputs and outputs, i.e. control inputs and
outputs (CSTi/o) and data inputs and outputs
(DSTi/o). These signals are functionally represented
in Figure 3. The line side of the device is made up of
the split phase inputs and outputs that can be
interfaced to an external bipolar receiver and
transmitter. Functional
transmit
and receive
timing is shown in Figures 4 and 5.
Data for transmission on the DS1 line is clocked
serially into the device at the DSTi pin. The DSTi pin
accepts a 32 channel time division multiplexed STBUS stream. Data is clocked in with the falling edge
of the C2i clock. ST-BUS frame boundaries are
defined by the frame pulse applied at the F0i pin.
Only 24 of the available 32 channels on the ST-BUS
serial stream are actually transmitted on the DS1
side. The unused 8 channels are ignored by the
device.
Data received from the DS1 line is clocked out of the
device in a similar manner at the DSTo pin. Data is
clocked out on the rising edge of the C2i clock. Only
24 of the 32 channels output by the device contain
the information from the DS1 line. The DSTo pin is,
however, actively driven during the unused channel
timeslots.
Figure 6 shows the correspondence
between the DS1 channels and the ST-BUS
channels.
All control and monitoring of the device is
accomplished through two ST-BUS serial control
inputs and one serial control output. Control ST-BUS
input number 0 (CSTi0) accepts an ST-BUS serial
stream which contains the 24 per channel control
4-104
Preliminary Information
words and two master control words. The per
channel control words relate directly to the 24
information channels output on the DS1 side. The
master control words affect operation of the whole
device. Control ST-BUS input number 1 (CSTi1)
accepts an ST-BUS stream containing the A, B, C
and D signalling bits. The relationship between the
CSTi channels and the controlled DS0 channels is
shown in Figure 6. Status and signalling information
is received from the device via the control ST-BUS
output (CSTo). This serial output stream contains
two master status words, 24 per channel status
words and one Phase Status Word. Figure 6 shows
the correspondence between the received DS1
channels and the status words. Detailed information
on the operation of the control interface is presented
below.
Programmable Features
The main features in the device are programmed
through two master control words which occupy
channels 15 and 31 in Control ST-BUS input stream
number 0 (CSTi0). These two eight bit words are
used to:
• Select the different operating modes of the
device ESF, D3/D4 or SLC-96.
• Activate the features that are needed in a
certain application; common channel signalling,
zero code suppression, signalling debounce,
etc.
• Turn on in service alarms, diagnostic loop
arounds, and the external control function.
Tables 1 and 2 contain a complete explanation of
the function of the different bits in Master Control
Words 1 and 2.
Major Operating Modes
The major operating modes of the device are
enabled by bits 2 and 4 of Master Control Word 2.
The Extended Superframe (ESF) mode is enabled
when bit 4 is set high. Bit 2 has no effect in this
mode. The ESF mode enables the transmission of
the S bit pattern shown in Table 3. This includes the
frame/superframe pattern, the CRC-6, and the
Facility Data Link (FDL). The device generates the
frame/multiframe pattern and calculates the CRC for
each superframe. The data clocked into the device
on the TxFDL pin is incorporated into the FDL. ESF
mode will also insert A, B, C and D signalling bits into
the 24 frame multiframe. The DS1 frame begins
after approximately 25 periods of the C1.5i clock
from the F0i frame pulse.
During synchronization the receiver locks to the
incoming frame, calculates the CRC and compares it
Preliminary Information
ISO-CMOS
MT8977
.
Bit
Name
Description
7
Debounce
6
TSPZCS
5
B8ZS
4
8KHSel
3
XCtl
2
ESFYLW
ESF Yellow Alarm. Valid only in ESF mode. When set, a sequence of eight 1’s followed by eight 0’s
is sent in the FDL bit positions. When clear, the FDL bit contains data input at the TxFDL pin.
1
Robbed bit
When this bit is set, robbed bit signalling is disabled on all DS0 transmit channels. When clear, A, B,
C and D signalling bit insertion in bit 8 for all DS0 transmit channels in every 6th frame is enabled.
0
YLALR
Yellow Alarm. When set, bit 2 of all DS1 channels is set low. When clear, bit 2 operates normally.
When set the received A, B, C and D signalling bits are reported directly in the per channel status
words output at CSTo. When clear, the signalling bits are debounced for 6 to 9 ms before they are
placed on CSTo.
Transparent Zero Code Suppression. When this bit is set, no zero code suppression is
implemented.
Binary Eight Zero Suppression. When this bit is set, B8ZS zero code suppression is enabled.
When clear, bit 7 in data channels containing all zeros is forced high before being transmitted on the
DS1 side. This bit is inactive if the TSPZCS bit is set.
8 kHz Output Select. When set, the E8Ko pin is held high. When clear, the E8Ko generates an 8
kHz output derived from the E1.5i or C1.5 clock (see Pin Description for E8Ko).
External Control Pin. When set, the XCtl pin is held high. When clear, XCtl is held low.
Table 1. Master Control Word 1 (Channel 15, CSTi0)
to the CRC received in the next multiframe. The
device will not declare itself to be in synchro nization
unless a valid framing pattern in the S-bit is detected
and a correct CRC is received. The CRC check in
this case provides protection against false framing.
The CRC check can be turned off by setting bit 1 in
Master Control Word 2.
The device can be forced to resynchronize itself. If
Bit 3 in Master Control Word 2 is set for one frame
and then subsequently reset, the device will start to
search for a new frame position. The decision to
reframe is made by the user’s system processor on
the basis of the status conditions detected in the
received master status words. This may include
consideration of the number of errors in the received
CRC in conjunction with an indication of the presence
of a mimic. When the device attains synchronization
the mimic bit in Master Status Word 1 is set if the
device found another possible candidate when it was
searching for the framing pattern.
Note that the device will resynchronize automatically
if the errors in the terminal framing pattern (FT or
FPS) exceed the threshold set with bit 0 in Master
Control Word 2.
Standard D3/D4 framing is enabled when bit 4 of
Master Control Word 2 is reset (logic 0). In this
mode the device searches for and inserts the
framing pattern shown in Table 4. This mode only
supports AB bit signalling, and does not contain a
CRC check.
The CRC/MIMIC bit in Master Control Word 2, when
set high, allows the device to synchronize in the
presence of a mimic. If this bit is reset, the device
will not synchronize in the presence of a mimic (Also,
refer to section on Framing algorithm).
In the D3/D4 mode the device can also be made
compatible with SLC-96 by setting bit two of Master
Control Word 2. This allows the user to insert and
extract the signalling framing pattern on the DS1 bit
stream using the FDL input and output pins. The user
must format this 4 kbits of information externally to
meet all of the requirements of the SLC-96
specification (see Table 5). The device multiplexes
and demultiplexes this information into the proper
position. This mode of operation can also be used for
any other application that uses all or part of the
signalling framing pattern. As long as the serial
stream clocked into the TxFDL contains two proper
sets of consecutive synchronization bits (as shown in
Table 5 for frames 1 to 24), the device will be able to
insert and extract the A, B signalling bits. The TxSF
pin should be held high in this mode. Superframe
boundaries cannot be defined by a pulse on this
input. The RxSF output functions normally and
indicates the superframe boundaries based on the
synchronization pattern in the FS received bit
position.
Zero Code Suppression
The combination of bits 5 and 6 in Master Control
Word 1 allow one of three zero code suppression
schemes to be selected. The three choices are:
none, binary 8 zero suppression (B8ZS), or jammed
bit (bit 7 forced high). No zero code suppression
4-105
MT8977
ISO-CMOS
Preliminary Information
.
Bit
Name
Description
7
RMLOOP
Remote Loopback. When set, the data received at RxA and RxB is looped back to TxB and TxA
respectively. The data is clocked into the device with E1.5i. The device still monitors the received
data and outputs it at DSTo. The device operates normally when the bit is clear.
6
DGLOOP
Digital Loopback. When set, the data input on DSTi is looped around to DSTo. The normal received
data on RxA, RxB and RxD is ignored. However, the data input at DSTi is still transmitted on TxA
and TxB. The device frames up on the looped data using the C1.5i clock.
5
ALL1'S
All One’s Alarm. When set, the chip transmits an unframed all 1's signal on TxA and TxB.
4
ESF/D4
ESF/D4 Select. When set, the device is in ESF mode. When clear, the device is in D3/D4 mode.
3
ReFR
Reframe. If set for at least one frame and then cleared, the chip will begin to search for a new frame
position. Only the change from high to low will cause a reframe, not a continuous low level.
2
SLC-96
SLC-96 Mode Select. The chip is in SLC-96 mode when this bit is set. This enables input and
output of the FS bit pattern using the same pins as the facility data link in ESF mode. The chip will
use the same framing algorithm as D3/D4 mode. The user must insert the valid FS bits in 2 out of 6
superframes to allow the receiver to find superframe sync, and the transmitter to insert A and B bits
in every 6th frame. The SLC-96 FDL completely replaces the FS pattern in the outgoing S bit position.
Inactive in ESF mode.
1
CRC/MIMIC
0
Maint.
In ESF mode, when set, the chip disregards the CRC calculation during synchronization. When
clear, the device will check for a correct CRC before going into synchronization. In D3/D4 mode,
when set, the device will synchronize on the first correct S-bit pattern detected. When this bit is
clear, the device will not synchronize if it has detected more than one candidate for the frame
alignment pattern (i.e., a mimic).
Maintenance Mode. When set, the device will declare itself out-of-sync if 4 out of 12 consecutive FT
bits are in error. When clear, the out-of-sync threshold is 2 errors in 4 FT bits. In this mode, four
consecutive bits following an errored FT bit are examined.
Table 2. Master Control Word 2 (Channel 31, CSTi0)
allows the device to interface with systems that have
already applied some form of zero code suppression
to the data input on DSTi.
B8ZS zero code
suppression replaces all strings of 8 zeros with a
known bit pattern and a specific pattern of bipolar
violations. This bit pattern and violation pattern is
shown in Figure 7. The receiver monitors the
received bit pattern and the bipolar violation pattern
and replaces all matching strings with 8 zeros.
Loopback Modes
Remote and digital loopback modes are enabled by
bits 6 and 7 in Master Control Word 2. These modes
can be used for diagnostics in locating the source of a
fault condition. Remote loop around loops back data
received at RxA and RxB back out on TxA and TxB,
thus effectively sending the received DS1 data back
to the far end unaltered so that the transmission line
can be tested. The received signal is still monitored
with the appropriate received channels on the DS1
side made available in the proper format at DSTo.
The digital loop around mode diverts the data
received at DSTi back out the DSTo pin. Data
received on DSTi is, however, still transmitted out via
TxA and TxB. This loop back mode can be used to
test the near end interface equipment when there is
4-106
no transmission line or when there is a suspected
failure of the line.
The all one’s transmit alarm (also known as the blue
alarm or the keep alive signal) can be activated in
conjunction with the digital loop around so that the
transmission line sends an all 1's signal while the
normal data is looped back locally.
The MT8977 also has a per channel loopback mode.
See Table 6 and the following section for more
information.
Per Channel Control Features
In addition to the two master control words in CSTi0
there are also 24 Per Channel Control Words. These
control words only affect individual DS0 channels.
The correspondence between the channels on CSTi0
and the affected DS0 channel is shown in Fig. 6.
Preliminary Information
Frame #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FPS
FDL
CRC
ISO-CMOS
Signalling
†
X
CB1
MT8977
ABCD signalling bits is shown in Table 7. Even
though the device only inserts the signalling
information in every 6th DS1 frame this information
must be input every ST-BUS frame.
X
0
X
CB2
A
X
0
X
Operating Status Information
CB3
X
1
B
X
CB4
X
0
X
CB5
C
X
1
X
CB6
X
1
D
Table 3. ESF Frame Pattern
† These signalling bits are only valid if the robbed bit signalling is
active.
Frame #
FT
1
2
3
4
5
6
7
8
9
10
11
12
1
FS
Robbed bit signalling can be disabled for all
channels on the DS1 link by bit 1 of Master Control
Word 1. It can also be disabled on a per channel
basis by bit 0 in the Per Channel Control Word 1.
Signalling †
0
0
0
1
1
A
0
1
1
1
0
0
B
Table 4. D3/D4 Framer
† These signalling bits are only valid if the robbed bit signalling is
active.
Each control word has three bits that enable robbed
bit signalling, DS0 channel loopback and inversion of
the DS0 channel. A full description of each of the
bits is provided in Table 6.
Transmit Signalling Bits
Control ST-BUS input number 1 (CSTi1) contains 24
additional per channel control words. These 24 STBUS channels contain the A, B, C and D signalling
bits that the device uses at transmit time. The
position of these 24 per channel control words in the
ST-BUS is shown in Figure 6 and the position of the
Status Information regarding the operation of the
device is output serially via the Control ST-BUS
output (CSTo). The CSTo serial stream contains
Master Status Words 1 and 2, 24 Per Channel Status
Words, and a Phase Status Word. The Master
Status Words contain all of the information needed to
determine the state of the interface and how well it is
operating. The information provided includes frame
and super frame synchronization, slip, bipolar
violation counter, alarms, CRC error count, FT error
count, synchronization pattern mimic and a phase
status word. Tables 8 and 9 give a description of
each of the bits in Master Status Words 1 and 2, and
Table 10 gives a description of the Phase Status
Word.
Alarm Detection
The device detects the yellow alarm for both D3/D4
frame format and ESF format. The D3/D4 yellow
alarm will be activated if a ‘0‘ is received in bit
position 2 of every DS0 channel for 600 msec. It will
be released in 200 msec after the contents of the bit
change. The alarm is detectable in the presence of
errors on the line.
The ESF yellow alarm will
become active when the device has detected a string
of eight 0’s followed by eight 1’s in the facility data
link. It is not detectable in the presence of errors on
the line. This means that the ESF yellow alarm will
drop out for relatively short periods of time, so the
system will have to integrate the ESF yellow alarm.
The blue alarm signal, in Master Status Word 2, will
also drop out if there are errors on the line.
Mimic Detection
The mimic bit in Master Status Word 1 will be set if,
during synchronization, a frame alignment pattern
(FT or FPS bit pattern) was observed in more than
one position, i.e., if more than one candidate for the
frame synchronization position was observed. It will
be reset when the device resynchronizes. The
mimic bit, the terminal framing error bit and the CRC
error counter can be used separately or together to
decide if the receiver should be forced to reframe.
4-107
MT8977
Frame
#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
ISO-CMOS
FT
FS†
Preliminary Information
Notes
1
0
0
0
1
0
0
1
1
1
0
1
1
0
Resynchronization
Data
Bits
0
0
1
0
0
1
1
1
0
1
1
X
0
X
1
X
0
X = Concentrator
Field Bits
X
1
X
0
X
Frame
#
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
FS†
FT
Notes
1
X
0
X
1
X = Concentrator
Field Bits
X
0
X
1
X
0
S
1
S
S = Spoiler Bits
0
S
1
C
0
C = Maintenance
Field
Bits
C
1
C
0
A
A = Alarm Field
Bits
1
A
0
L
1
L
L = Line Switch
Field Bits
0
L
1
L
0
S = Spoiler Bits
S
Table 5. SLC-96 Framing Pattern
† Note: The FS pattern has to be supplied by the user
DATA
B
0
0
0
V
B
0
B8ZS
0
B8ZS
B
0
0
B
V
B
B
AA
AA V
AA
AA
B
0
V
Figure 7 - B8ZS Output Coding
4-108
B
V = Violation
B = Bipolar
0 = No Pulse
Preliminary Information
Bipolar Violation Counter
The Bipolar Violation bit in Master Status Word 1 will
toggle after 256 violations have been detected in the
received signal. It has a maximum refresh time of 96
ms. This means that the bit can not change state
faster than once every 96 ms. For example, if there
are 256 violations in 80 ms the BPV bit will not
change state until 96 ms. Any more errors in that
extra 16 ms are not counted. If there are 256 errors
in 200 ms then the BPV bit will change state after
200 ms. In practical terms this puts an upper limit on
the error rate that can be calculated from the BPV
information, but this rate (1.7 X 10-3) is well above
any normal operating condition.
Bits 4 and 3 also provide bipolar violations information. Bit 4 will change state after 128 violations.
Bit 3 changes state after 64 bipolar violations. These
bits are refreshed independently and are not subject
to the 96 ms refresh rate described above.
ISO-CMOS
MT8977
channel 31, bit 7 or decrements below channel 0, bit
0. The E8Ko signal has a specific relationship with
received DS1 frame. The rising edge of E8Ko
occurs during bit 2, channel 17 of the received DS1
frame. The Phase Status Word in conjunction with
the frame count bit, can be used to monitor the
phase relationship between the received DS1 frame
and the local ST-BUS frame.
The local 2.048 MHz ST-BUS clock must be phaselocked to the 1.544 MHz clock extracted from the
received data. When the two clocks are not phaselocked, the input data rate on the DS1 side will differ
from the output data rate on the ST-BUS side. If the
average input data rate is higher than the average
output data rate, the channel count and bit count in
the phase status word will be seen to decrease over
time, indicating that the E8Ko rising edge, and
therefore, the DS1 frame boundary is moving with
respect to the ST-BUS frame pulse. Conversely, a
lower average input data rate will result in an
increase in the phase reading.
DS1/ST-BUS Phase Difference
An indication of the phase difference between the
ST-BUS and the DS1 frame can be ascertained from
the information provided by the eight bit Phase
Status Word and the Frame Count bit. Channel
three on CSTo contains the Phase Status Word. Bits
7-3 in this word indicate the number of ST-BUS
channels between the ST-BUS frame pulse and the
rising edge of the E8Ko signal. The remaining three
bits provide one bit resolution within the channel
count indicated by bits 7-3. The frame count bit in
Master Status Word 2 is the ninth and most
significant bit of the phase status word. It will toggle
when the phase status word increments above
In an application where it is necessary to minimize
jitter transfer from the received clock to the local
system clock, a phase lock loop with a relatively
large time constant can be implemented using
information provided by the phase status word. In
such a system, the local 2.048 MHz clock is derived
from a precision VCO. Frequency corrections are
made on the basis of the average trend observed in
the phase status word. For example, if the channel
count in the phase status word is seen to increase
over time, the feedback applied to the VCO is used
to decrease the system clock frequency until a
reversal in the trend is observed.
Bit
Name
Description
7-3
2
IC
Polarity
1
Loop
0
Data
Internal Connections. Must be kept at 0 for normal operation
When set, the applicable channel is not inverted on the transmit or the receive side of the device.
When clear, all the bits within the applicable channel are inverted both on transmit and receive
side.
Per Channel Loopback. When set, the received DS0 channel is replaced with the transmitted
DS0 channel. Only one DS0 channel may be looped back in this manner at a time. The
transmitted DS0 channel remains unaffected. When clear the transmit and receive DS0 sections
operate normally.
Data Channel Enable. When set, robbed bit signalling for the applicable channel is disabled.
When clear, every 6th DS1 frame is available for robbed bit signalling. This feature is enabled
only if bit 1 in Master Control Word is low.
Table 6. Per Channel Control Word 1 Input at CSTi0
Bit
Name
7-4
3
2
1-0
Unused
A
B
C, D
Description
Keep at 0 for normal operation
These are the 4 signalling bits inserted in the appropriate channels of the DS1 stream being
output from the chip, when in ESF mode. In D3/D4 modes where there are only two signalling
bits, the values of C and D are ignored.
Table 7. Per Channel Control Word 2 Input at CSTi1
4-109
MT8977
ISO-CMOS
Preliminary Information
Bit
Name
Description
7
YLALR
6
MIMIC
5
ERR
4
ESFYLW
3
MFSYNC
2
BPV
1
SLIP
0
SYN
Yellow Alarm Indication. This bit is set when the chip is receiving a 0 in bit position 2 of every
DS0 channel.
This bit is set if the frame search algorithm found more than one possible frame candidate when it
went into frame synchronization.
Terminal Framing Bit Error. The state of this bit changes every time the chip detects 4 errors in
the FT or FPS bit pattern. The bit will not change state more than once every 96ms.
ESF Yellow Alarm. This bit is set when the device has observed a sequence of eight one’s and
eight 0’s in the FDL bit positions.
Multiframe Synchronization. This bit is cleared when D3/D4 multiframe synchronization has
been achieved. Applicable only in D3/D4 and SLC-96 modes.
Bipolar Violation Count. The state of this bit changes every time the device counts 256 bipolar
violations.
Slip Indication. This bit changes state every time the elastic buffer in the device performs a
controlled slip.
Synchronization. This bit is set when the device has not achieved synchronization. The bit is
clear when the device has synchronized to the received DS1 data stream.
Table 8. Master Status Word 1 (Channel 15, CSTo)
Bit
Name
Description
7
BlAlm
6
FrCnt
5
XSt
4-3
BPVCnt
2-0
CRCCNT
Blue Alarm. This bit is set if the receiver has detected two frames of 1’s and an out of frame
condition. It is reset by any 250 microsecond interval that contains a zero.
Frame Count. This is the ninth and most significant bit of the “Phase Status Word“ (see Table
10). If the phase status word is incrementing, this bit will toggle when the phase reading exceeds
channel 31, bit 7. If the phase word is decrementing, then this bit will toggle when the reading
goes below channel 0, bit 0.
External Status. This bit reflects the state of the external status pin (XSt). The state of the XSt
pin is sampled once per frame.
Bipolar Violation Count. These two bits change state every 128 and every 64 bipolar violations,
respectively.
CRC Error Count. These three bits count received CRC errors. The counter will reset to zero
when it reaches terminal count. Valid only in ESF mode.
Table 9. Master Status Word 2 (Channel 31, CSTo)
Bit
Name
Description
7-3
ChannelCnt
2-0
BitCnt
Channel Count. These five bits indicate the ST-BUS channel count between the ST-BUS frame
pulse and the rising edge of E8Ko.
Bit Count. These three bits provide one bit resolution within the channel count described above.
Table 10. Phase Status Word (Channel 3, CSTo)
Bit
Name
Description
7-4
3
2
1
0
Unused
A
B
C
D
Unused Bits. Will be output as 0’s.
These are the 4 signalling bits as extracted from the received DS1 bit stream.
The bits are debounced for 6 to 9 ms if the debounce feature is enabled via bit 7 in Master Control
Word 1.
Table 11. Per Channel Status Word Output on CSTo
The elastic buffer in the MT8977 permits the device
to handle 26 ST-BUS channels or 156 UI of jitter/
wander (see description of elastic buffer in the next
section). In order to prevent slips from occurring, the
frequency corrections would have to be implemented
such that the deviation in the phase status word is
limited to 26 channels peak-to-peak. It is possible to
use a more sophisticated protocol, which would
center the elastic buffer and permit more
4-110
jitter/wander to be handled. However, for most
applications, including ACCUNET® T1.5 (138 UI),
the 156 UI of jitter/wander tolerance is acceptable.
Preliminary Information
Received Signalling Bits
The A, B, C and D signalling bits are output from the
device in the 24 Per Channel Status Words. Their
location in the serial steam output at CSTo is shown
in Figure 6 and the bit positions are shown in Table
11. The internal debouncing of the signalling bits
can be turned on or off by Master Control Word 1. In
ESF mode, A, B, C and D bits are valid. Even
though the signalling bits are only received once
every six frames the device stores the information so
that it is available on the ST-BUS every frame. The
ST-BUS will always contain the most recent
signalling bits. The state of the signalling bits is
frozen if synchronization is lost.
In D3/D4 mode, only the A and B bits are valid. The
state of the signalling bits is frozen when terminal
frame synchronization is lost. The freeze is disabled
when
the
device
regains
terminal
frame
synchronization. The signalling bits may go through
a random transition stage until the device attains
multiframe synchronization.
Clock and Framing Signals
The MT8977 requires one 2.048 MHz clock (C2i) and
an 8 kHz framing signal for the ST-BUS side. Figure
2 illustrates the relationship between the two signals.
The framing signal is used to delimit individual 32
channel ST-BUS frames.
The DS1 side requires two clocks. A 1.544 MHz
clock used for transmit (C1.5i), and a 1.544 MHz
clock extracted from the DS1 line signal and applied
at E1.5i pin to clock in the received data.
The C2i and C1.5i clock must be phase-locked
together. There must be 193 clock cycles of C1.5i
for every 256 clock cycles of C2i. At the slave end of
the link, the C2i and C1.5i must be phase locked to
the extracted E1.5i clock.
The clock applied at E1.5i is internally divided down
by 193 and aligned with the DS1 frame. The
resulting 8 kHz clock is output at the E8Ko pin. This
signal can be used as a reference for phase locking
the C2i and C1.5i clocks to the extracted 1.544 MHz
clock.
DS1 Line Interface
Transmit Interface
The interface to the DS1 line is made up of two
unipolar outputs, TxA and TxB, which can be used to
drive a bipolar transmitter circuit. The output signal
on TxA and TxB corresponds to the positive and
ISO-CMOS
MT8977
negative bipolar pulses required for the Alternate
Mark Inversion signal on the T1 line.
The
relationship between the signal output at TxA and
TxB and the AMI signal is illustrated in Figure 5. For
transmission over twisted pair wire, the AMI signal
has to be equalized and transformer coupled to the
line.
Receiver Interface
The receiver circuitry is made up of three pins RxA,
RxB and RxD. The bipolar alternate mark inversion
signal from the DS-1 line should be converted into a
unipolar split phase format. The resulting signals
are clocked into the device at RxA and RxB. The
signals are also NANDED together and input at RxD.
In special applications where the detection of bipolar
violations is not required, it is possible to clock NRZ
data directly into RxD. In this case, the RxA and
RxB pins should be tied high.
Data is clocked into RxA, RxB and RxD with
the falling edge of the E1.5i clock. This clock signal
is extracted from the received data. The relationship
between the received signals and the extracted clock
is shown in Figure 4.
Elastic Buffer
The MT8977 has a two frame elastic buffer which
absorbs jitter in the received DS1 signal. The buffer
is also used in the rate conversion between the
1.544 Mbit/s DS1 rate and the 2.048 Mbit/s ST-BUS
data rate.
The received data is written into the elastic buffer
with the extracted 1.544 MHz clock. The data is read
out of the buffer on the ST-BUS side with the system
2.048 MHz clock. The maximum delay through the
buffer is 1.875 ST-BUS frames or 60 ST-BUS
channels, see Figure 8.
The minimum delay
required to avoid bus contention in the buffer
memory is two ST-BUS channels.
Under normal operating conditions, the system C2i
clock is phase locked to the extracted E1.5i clock
using external circuitry. If the two clocks are not
phase-locked, then the rate at which the data is
being written into the device on the DS1 side may
differ from the rate at which it is being read out on
the ST-BUS side. The buffer circuit will perform a
controlled slip if the throughput delay conditions
described above are violated. For example, if the
data on the DS1 side is being written in at a rate
slower than what it is being read out on the ST-BUS
side, the delay between the received DS1 write
pointer and the ST-BUS read pointer will begin to
4-111
MT8977
ISO-CMOS
Preliminary Information
Write
Pointer
60 CH
47 CH
13 CH
2 CH
386 Bit
Elastic
Store
Wander Tolerance
15 CH
-13 CH
34 CH
28 CH
Figure 8 - Elastic Buffer Functional Diagram (156 UI Wander Tolerance)
decrease over time. When this delay approaches
the minimum two channel threshold, the buffer will
perform a controlled slip, which will reset the internal
ST-BUS read pointers so that there is exactly 34
channels delay between the two pointers. This will
result in some ST-BUS channels containing
information output in the previous frame. Repetition
of up to one DS1 frame of information is possible.
Conversely, if the data on the DS1 side is being
written into the buffer at a rate faster than it is being
read out on the ST-BUS side, the delay between the
DS1 frame and the ST-BUS frame will increase over
time. A controlled slip will be performed when the
throughput delay exceeds 60 ST-BUS channels.
This slip will reset the internal ST-BUS counters so
that there is a 28 channel delay between the DS1
write pointer and the ST-BUS read pointer, resulting
in loss of up to one frame of received DS1 data.
Figure 8 illustrates the relationship between the read
and write pointers of the receive elastic buffer.
Measuring clockwise from the write pointer, if the
read pointer comes within two channels of the writer
pointer a frame slip will occur, which will put the read
pointer 34 channels from the write pointer.
Conversely, if the read pointer moves more than 60
channels from the write pointer, a slip will occur,
which will put the read pointer 28 channels from the
write pointer. This provides a worst case hysteresis
of 13 ST-BUS channels peak (26 ST-BUS channels
peak-to-peak). This can be translated into a low
frequency jitter (wander) tolerance value, accounting
for the DS1 to ST-BUS rate conversion, as follows:
(1.544/2.048) X 26 X 8 = 156 UI pp.
4-112
There is no loss of frame sync, multiframe sync or
any errors in the signalling bits when the device
performs a slip. The information on the FDL pins in
ESF or SLC-96 mode will, however, undergo slips at
the same time.
Framing Algorithm
In ESF mode, the framer searches for a correct FPS
pattern. Figure 9 shows a state diagram of the
framing algorithm. The dotted lines show which
feature can be switched in and out depending upon
the operating mode of the device.
When the device is operating in the D3/D4 format,
the framer searches for the FT pattern, i.e., a
repeating 1010... pattern in a specific bit position
every alternate frame. It will synchronize to this
pattern
and
declare
valid terminal
frame
synchronization by clearing bit 0 in Master Status
Word 1. The device will subsequently initiate a
search for the FS pattern to locate the signalling
frames (see Table 4). When a correct FS pattern has
been located, bit 3 in Master Status Word 1 is
cleared indicating that the device has achieved
multiframe synchronization.
Note: the device will remain in terminal frame
synchronization even if no FS pattern can be located.
In D3/D4 format, when the CRC/MIMIC bit in Master
Control Word 1 is cleared, the device will not go into
synchronization if more than one bit position in the
frame has a repeating 1010.... pattern, i.e., if more
than one candidate for the terminal framing position
is located. The framer will continue to search until
only one terminal framing pattern candidate is
Preliminary Information
ISO-CMOS
MT8977
False Candidate
Hunt Mode
Candidate
False
Candidate
Out of
Sync.
Forced
Reframe
False
Candidate
Verify
Candidate
Candidate
CRC
Check
*
Candidate
In sync
Maintenance
Valid Candidate
Valid Candidate
New Frame Position
Resync
Receiver
* Note: Only when in ESF mode and CRC
option is enabled.
Figure 9 - Off-Line Framer State Diagram
discovered. It is, therefore, possible that the device
may not synchronize at all in the presence of PCM
code sequences (e.g., sequences generated by
some types of test signals), which contain mimics of
the terminal framing pattern.
Setting CRC/MIMIC bit high will force the framer to
synchronize to the first terminal framing pattern
detected. In standard D3/D4 applications, the user’s
system software should monitor the multiframe
synchronization state indicated by bit 3 in Master
Status Word 1. Failure of the device to achieve
multiframe synchronization within 4.5ms of terminal
frame synchronization, is an indication that the
device has framed up to a terminal framing pattern
mimic and should be forced to reframe.
repositions the receive circuit only when it has
detected a valid frame position. When the framer
exits maintenance mode the receive counters remain
where they are until the framer has found a new
frame position. This means that if the user forces a
reframe when the device was really in the right
place, there will not be any disturbance in the circuit
because the framer has no effect on the receiver
The out of
until it has found synchronization.
synchronization criterion can be controlled by bit 0 in
Master Control Word 2. This bit changes the out of
frame conditions for the maintenance state.
One of the main features of the framer is that it
performs its function "off line". That is, the framer
4-113
MT8977
ISO-CMOS
50
40
%
30
20
10
0
Preliminary Information
AA
AAAA
AAAAAA
AAAAAA
D4 AAAA
AAAAAA
AA
AAAAAA
ESF
Percentage Reframe Time Probability Versus Reframe Time
With Pseudo Random Data
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAAAAA
AAA
AAA
AAA
AAAAAA
AAA
AAAAAA
AAA
AAAAAA
AAA
AAA
AAA
AAA
AAAAAA
AAA
AAAAAA
AAA
AAA
AAA
AAA
AAAAAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAAAAA
AAA
AAAAAA
AAA
AAA
AAA
AAA
AAA
AAAAAA
AAA
AAA
AAA
AAA
AAA
AAAAAA
AA AAA
AAA
AA
AAA
AAA
AAA
AA
AAA
AA
AAA
AAAAAAA
AAA
AA
AAA AA AAAAAA
AAA
AAAA
AAAAAAAAAAAAAA
A AAA
AAAAAAAAAAA
0
7 8
10
12
14
16
18
20
22
Reframe Time (msec)
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AA
AA
AA
AA AAA
AA
AA AAA
AAAAAAAAAA
A AAAAA
AAAAAAAAAAAAA
24
26
28
30
AAAAAAAAAAAA
AA
32
34
Figure 10 - Reframe Time
The out of sync threshhold can be changed from 2
out of 4 errors in FT (or FPS) to 4 out of 12 errors in
FT (or FPS). The average reframe time is 24 ms for
ESF mode, and 12ms for D3/D4 modes.
Figure 10 is a bar graph which shows the probability
of achieving frame synchronization at a specific time.
The chart shows the results for ESF mode with CRC
check, and D3/D4 modes of operation. The average
reframe time with random data is 24 ms for ESF, and
13 msec. D3/D4 modes. The probability of a reframe
time of 35 ms or less is 88% for ESF mode, and
97% for D3/D4 modes.
In ESF mode it is
recommended that the CRC check be enabled
unless the line has a high error rate. With the CRC
check disabled the average reframe time is greater
because the framer must also check for mimics.
Applications
Figure 11 shows the external components that are
required in a typical ESF application. The MT8980 is
used to control and monitor the device as well as
switch data to DSTi and DSTo. The MT8952, the
HDLC protocol controller, is shown in this application
to illustrate how the data on the FDL could be used.
The digital phase-locked loop, the MT8940/41,
provides all the clocks necessary to make a
functional interface. The clock input to the MT8977
at E1.5i is extracted from the received data signal
with an external circuit. The E1.5i clock is internally
divided by 193 to obtain an 8 kHz clock which is
4-114
output at E8Ko. The MT8940 uses this 8 kHz signal
to provide a phase locked 2.048 MHz clock for the
ST-BUS interface and a 1.544 MHz clock for the DS1
transmit side. Using the 8 kHz signal as a reference
for the MT8940/41 DPLL effectively filters out the
high frequency jitter in the extracted clock. Thus, the
C2 and C1.5 clocks generated by the MT8940/41 will
have significantly lower jitter than would be the case
if the extracted 1.5 MHz clock was used as a
reference directly.
An external line driver circuit is required in order to
interface the device to twisted pair cabling. The split
phase unipolar signals output by the MT8977 at TxA
and TxB are used by the line driver circuit to
generate a bipolar AMI signal. The line driver is
transformer coupled to an equalization circuit and
the DS1 line. Equalization of the transmitted signal
is required to meet the specifications for
crossconnect compatible equipment (see ANSI
T1.102 and AT & T Technical Advisory #34). On the
receive side the bipolar line signal is converted into
a unipolar format by the line receiver circuit. The
resulting split phase signals are input at the RxA and
RxB pins on the MT8977. The signals are combined
together to produce a composite return to zero signal
which is clocked into the device at RxD.
An
uncommitted nand gate in the MT8940/41 can be
used for this purpose.
The MT8977 can be interfaced to a high speed
parallel bus or to a microprocessor using the
MT8920B Parallel Access Circuit (STPA). Figure 11
Preliminary Information
ISO-CMOS
Note: the configurations shown in Figures 11 and 12
using the MT8940/41 may not meet specific jitter
performance requirements. A more sophisticated
PLL or line interface unit with transmit jitter
attenuator may be required for applications designed
to meet specific standards.
shows the MT8977 interfaced to a parallel bus
structure using two STPA‘s operating in modes 1 and
2.
The first STPA operating in mode 2 (MMS=0,
MS1=1, 24/32=0), routes data and/or voice
information between the parallel telecom bus and the
T1 or CEPT link via DSTi and DSTo. The second
STPA, operating in mode 1 (MMS = 1 ) provides
access from the signalling and link control bus to the
MT8977 status and control channels. All signalling
and link functions may be controlled easily through
the STPA transmit RAM’s Tx0, Tx1, while status
information is read at receive RAM Rx0. In addition,
interrupts can be set up to notify the system in case
of slips, loss of sync, alarms, violations, etc.
MT8980
STi3
STo3
MT8977
Tx
Line
Driver
TxA
STo0
STi0
STo1
DSTi
DSTo
CSTi0
CSTo
CSTi1
STi1
STo2
C4i
•
F0i
TxB
RxA
RxB
F0i
C2i
C1.5i
•
•
Line
Receiver
AA
AAAA
AAAA
AA
AA
AAAA
AAAAAAAA
AAAAAAAA
AAAAAAAA
AAAAAAAA
AAAA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
MT8940/41
AA
AA
AA
AA
AA
AAAAAAAAAAAAAAAAAAAAAAAA
AA
RxFDLClk
E1.5i
CDSTi
CKi
CDSTo
TxCEN
RxCEN
C2
•
RxD
TxFDL
TxFDLClk
RxFDL
Equalizer
MH89761
Micro
Processor
MT8952
MT8977
TxSF
RxSF
E8Ko
Clock
Extractor
MT8940/41
1.544
MHz
CVb
12.355/12.352
MHz Osc.
F0i
D Q
D Q
Q
C2
•
Q
C2o
F0b
C4b
C8Kb
16.388/16.384
MHz Osc.
C2
Figure 11 - Typical ESF Configuration
4-115
MT8977
ISO-CMOS
Preliminary Information
DIP
SWITCH
MT8920B
(Mode 2)
HIGH
SPEED
PARALLEL
TELECOM
BUS
D0-D7
MT8977
STo0
STi0
STo1
A0-A5
CS
R/W
OE
C4i
F0i
•
MMS MS1 24/32
DSTi
DSTo
CSTi0
CSTo
CSTi1
TxA
TxB
F0i
RxA
RxB
Tx
Line
Driver
EQU
MH89761
C2i
•
Rx
Line
Receiver
•
C1.5i
AAAAAAAAAAAAAAAAAAAAAAA
AA
A
AA
A
AA
A
AA
AA
AA
AA
A
AA
AA
AA
AA
A
AA
A
AA
AA
MT8940/41 AA
AA
A
AAAAAAAAAAAAAAAAAAAAAA
AA
+5V
RxD
MT8920B
(Mode 1)
D0-D7
A0-A5
SIGNALLING
and
LINK
CONTROL
BUS
E1.5i
E8Ko
STo0
STi0
STo1
CS
DS
R/W
•
Clock
Extractor
MT8940/41
1.544 MHz
DTACK
IRQ
lACK
MMS
+5V
C4i
F0i
CVb
F0i
•
•
•
C2o
F0b
C4b
C8Kb
Figure 12 - Using the MT8977 in a Parallel Bus Environment
4-116
12.355/12.352
MHz Osc.
16.388/16.384
MHz Osc.
Preliminary Information
MT8977
ISO-CMOS
Absolute Maximum Ratings*
Parameter
1
Power Supplies with respect to VSS
2
Voltage on any pin other than supplies
3
Current at any pin other than supplies
4
Storage Temperature
5
Package Power Dissipation
Symbol
Min
Max
Units
VDD
-0.3
7
V
VSS-0.3
VDD+0.3
V
40
mA
125
°C
800
mW
TST
-55
P
* Exceeding these values may cause permanent damage. Functional operation under these conditions is not implied.
Recommended Operating Conditions - Voltages are with respect to ground (Vss)
Characteristics
1
I
Sym
Min
Operating Temperature
TOP
-40
Power Supplies
VDD
4.5
Input High Voltage
VIH
Input Low Voltage
VIL
Typ‡
unless otherwise stated.
Max
Units
Test Conditions
85
°C
5.5
V
2.4
VDD
V
For 400 mV noise margin
VSS
0.4
V
For 400 mV noise margin
n
2
p
3
u
4
s
t
5.0
‡ Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to production testing.
DC Electrical Characteristics - Clocked operation over recommended temperature ranges and power supply voltages.
Parameters
1
2
3
I
n
p
4
u
5
s
6
t
O
Sym
Supply Current
IDD
Input High Voltage
VIH
Input Low Voltage
VIL
Input Leakage Current
IIL
Schmitt Trigger Input (XSt)
Min
Typ‡
Max
Units
6
10
mA
2.0
±1
VT+
Test Conditions
Outputs Unloaded
V
Digital Inputs
0.8
V
Digital Inputs
±10
µA
Digital Inputs VIN=0 toVDD
4.0
V
VT-
1.5
Output High Current
IOH
7
20
mA
Source Current, VOH=2.4V
Output Low Current
IOL
2
10
mA
Sink Current, VOL=0.4V
V
u
t
7
p
u
t
s
‡ Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to production testing.
AC Electrical Characteristics† - Capacitance
Characteristics
Sym
Min
Typ‡
Max
Units
1
Input Pin Capacitance
CI
10
pF
2
Output Pin Capacitance
CO
10
pF
Test Conditions
† Timing is over recommended temperature & power supply voltages
‡ Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to production testing.
4-117
MT8977
ISO-CMOS
Preliminary Information
AC Electrical Characteristics† - Clock Timing (Figures 13 & 14)
Characteristics
Sym
Min
Typ‡
Max
Units
1
C2i Clock Period
tP20
400
488
600
ns
2
C2i Clock Width High or Low
tW20
200
244
300
ns
3
Frame Pulse Setup Time
tFPS
50
ns
4
Frame Pulse Hold Time
tFPH
50
ns
5
Frame Pulse Width
tFPW
50
ns
6
RxSF Output Delay
tFPOD
7
TxSF Hold Time
tTxSFH
8
TxSF Setup Time
tTxSFS
125
ns
0.5
124.5
µs
0.5
124.5
µs
Test Conditions
tP20 = 488 ns
50 pF Load
† Timing is over recommended temperature & power supply voltages
‡ Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to production testing.
F0i
Frame 12/24
Frame 2
Frame 1
RxSF
TxSF
C2i
ST-BUS
BIT CELLS
Bit
7
Bit
6
Bit
5
Bit
7
Bit
4
Bit
6
Bit
5
Bit
4
Bit
7
Bit
6
Figure 13 - Clock & Frame Alignment for ST-BUS Streams
tW20
tP20
2.0V
C2i
0.8V
tW20
tFPS
F0i
tFPH
tFPS
tFPW
2.0V
0.8V
tFPOD
RxSF
tFPOD
2.0V
0.8V
F0i
C2i
Frame 1
Frame 12/24
2.0V
0.8V
tTxSFH
TxSF
2.4V
0.4V
Figure 14 - Clock & Pulse Timing for ST-BUS Streams
4-118
tTxSF
Bit
5
Bit
4
Preliminary Information
MT8977
ISO-CMOS
AC Electrical Characteristics† - Timing For DS1 Link Bit Cells (Figure 15)
Characteristics
Sym
Min
Typ‡
Max
Units
1
E1.5i Clock Period
tPEC
500
648
ns
2
E1.5i Clock Width High or Low
tWEC
250
324
ns
Test Conditions
tPEC = 648 ns
† Timing is over recommended temperature & power supply voltage ranges.
‡ Typical figures are at 25°C and are for design aid only; not guaranteed and not subject to production testing.
DS1 BIT CELLS FOR
RECEPTION
BIT CELL
BIT CELL
tWEC
2.0V
E1.5i
0.8V
tPEC
tWEC
Figure 15 - DS1 Receive Clock Timing
AC Electrical Characteristics† - 2048 kbit/s ST-BUS Streams (Figure 16)
Characteristics
Sym
Min
Typ‡
Max
Units
125
ns
1
Serial Output Delay
tSOD
2
Serial Input Setup Time
tSIS
15
ns
3
Serial Input Hold Time
tSIH
50
ns
Test Conditions
150 pF load
† Timing is over recommended temperature & power supply voltage ranges.
‡ Typical figures are at 25°C and are for design aid only; not guaranteed and not subject to production testing.
Bit Cell Boundaries
2.0V
C2i
0.8V
2.4V
DSTo or
CSTo
0.4V
tSOD
tSOD
2.0V
DSTi,
CSTi0/CSTi1 0.8V
tSIS
tSIH
Figure 16 - ST-BUS Stream Timing
4-119
MT8977
ISO-CMOS
Preliminary Information
AC Electrical Characteristics† - XCtl, XSt, & E8Ko (Figures 17, 18 and 19)
Parameters
Sym
Min
Typ‡
Max
Units
Test Conditions
1
External Control Delay
tXCD
140
ns
50 pF Load
2
External Status Setup Time
tXSS
100
ns
3
External Status Hold Time
tXSH
400
ns
4
8 kHz Output Delay
t8OD
150
ns
50 pF Load
5
8 kHz Output Low Width
t8OL
78
µs
50 pF Load
6
8 kHz Output High Width
t8OH
47
µs
50 pF Load
7
8 kHz Rise Time
t8R
10
ns
50 pF Load
8
8 kHz Fall Time
t8F
10
ns
50 pF Load
† Timing is over recommended temperature & power supply voltage ranges.
‡ Typical figures are at 25°C and are for design aid only; not guaranteed and not subject to production testing.
ST-BUS Bit Cell Boundary Between
Bit 2 Channel 30 and Bit 1 Channel 30
ST-BUS Bit Cell Boundary Between
Bit 0 Channel 15 and Bit 7 Channel 16
C2i
2.0V
C2i
0.8V
0.8V
2.4V
XCtl
2.0V
XSt
2.0V
0.8V
0.4V
tXCD
tXSS
Figure 18 - XSt Timing
Figure 17 - XCtl Timing
Received
DS1 Bits
Channel 2
Channel 17
Bit 2
•• •
Bit 1
tXSH
•••
Channel 2
Bit 1
2.0V
E1.5i
0.8V
t8OD
E8Ko
t8OD
t8OD
2.4V
0.4V
t8F
t8OL
Figure 19 - E8Ko Timing
4-120
t8R
t8OH
t8F
Preliminary Information
ISO-CMOS
MT8977
AC Electrical Characteristics† - DS1 Link Timing (Figures 20 and 21)
Typ‡
Parameters
Sym
Min
Max
Units
1
Transmit Steering Delay
tTSD
50
150
ns
150 pF Load
2
Transmit Steering Transition Time
tTST
30
ns
150 pF Load
3
Received Steering Setup Time
tRSS
0
ns
4
Received Steering Hold Time
tRSH
30
ns
5
Received Data Setup Time
tRDS
-15
ns
See Note 1
6
Received Data Hold Time
tRDH
60
ns
See Note 1
7
C1.5i Period
tPC1.5
500
648
8
C1.5i Pulse Width High or Low
tWC1.5
250
324
800
Test Conditions
ns
ns
tPC1.5 = 648 ns
† Timing is over recommended temperature & power supply voltage ranges.
‡ Typical figures are at 25°C and are for design aid only; not guaranteed and not subject to production testing.
Transmitted DS1 Link
Bit Cells
Bit Cell
tPC1.5
2.0V
C1.5i
0.8V
tWC1.5
tTSD
tTSD
tTST
TxA
or
TxB
tTST
2.4V
0.4V
Figure 20 - Transmit Timing for DS1 Link
Received DS1 Link
Bit Cells
Bit Cell
tRSH
tRSS
RxA
or
RxB
2.0V
0.8V
2.0V
RxD
0.8V
tRDS
tRDH
2.0V
E1.5i
0.8V
Figure 21 - Receive Timing for DS1 Link (see Note 1)
Note 1: The parameters tRDS and t RDH are related to device functionality. Network constraints may require tighter tolerances than the
device specifications.
4-121
MT8977
ISO-CMOS
Preliminary Information
AC Electrical Characteristics† - DS1 Link Timing (Figures 22 and 23)
Parameters
Sym
Min
Typ‡
Max
Units
1
Transmit FDL Setup Time
tDLS
110
ns
2
Transmit FDL Hold Time
tDLH
70
ns
3
Receive FDL Output Delay
tDLOD
0
4
Receive FDL Clock Delay
tFRCD
185
5
Transmit FDL Clock Delay
tTFCD
135
ns
Test Conditions
50 pF Load
50 pF Load
ns
50 pF Load
† Timing is over recommended temperature & power supply voltage ranges.
‡ Typical figures are at 25°C and are for design aid only; not guaranteed and not subject to production testing.
F0i
Frame 12/24
Frame 1
Frame 2
C2i
RxFDLClk
RxFDL
TxFDLClk
TxFDL
Figure 22 - Clock & Frame Alignment for RxFDL and TxFDL
C2i
2.0V
0.8V
Frame
2.0V
0.8V
tRFCD
2.0V
RxFDLClk
RxFDL
0.8V
tDLOD
2.0V
0.8V
tTFCD
TxFDLClk
2.0V
0.8V
tDLS
TxFDL
2.0V
0.8V
Figure 23 - Facility Data Link Timing
4-122
tDLH
Preliminary Information
ISO-CMOS
MT8977
125µs
CHANNEL
31
CHANNEL
0
• • • • • • • •
CHANNEL
30
CHANNEL
31
CHANNEL
0
(8/2.048)µs
NB:
Numbering
differs from
Fig 25.
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
Figure 24 - Format of 2048 kbit/s ST-BUS Streams
125µs
CHANNEL
24
S Bit
CHANNEL
1
• • • • • •
(1/1.544)µs
NB:
Numbering
differs from
Fig 24.
CHANNEL
23
CHANNEL
24
S Bit
CHANNEL
1
(8/1.544)µs
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
BIT 8
Figure 25 - DS1 Link Frame Format
4-123
MT8977
ISO-CMOS
Preliminary Information
Appendix
Control and Status Register Summary
7
6
Debounce
5
TSPZCS
4
B8ZS
8KHSel
3
XCtI
2
1
ESFYLW
0
Robbed Bit
YLALR
1 Disabled
1 Disabled
1 B8ZS
1 Disabled
1 Set High
1 Enabled
1 Disabled
1 Enabled
0 Enabled
0 Enabled
0 Jammed
Bit
0 Enabled
0 Cleared
0 Disabled
0 Enabled
0 Disabled
Master Control Word 1 (Channel 15, CSTi0)
RMLOOP
DGLOOP
ALL 1’s
ESF/D4
1 Enabled
1 Enabled
1 Enabled
1 ESF
0 Disabled
0 Disabled
0 Disabled
0 D3/D4
Reframe
Device
Reframes on
High to Low
Transition
SLC-96
CRC/MIMIC
1 Enabled
See Note 1
0 Disabled
Maint.
1 4/12
0 2/4
Master Control Word 2 (Channel 31, CSTi0)
Polarity
UNUSED - KEEP AT 0
Data
Loop
1 No Inversion
1 Ch. looped
back
0 Inversion
1 Enabled
0 Disabled
0 Normal
Per Channel Control Words (All Channels on CSTi0 Except Channels 3, 7, 11, 15, 19, 23, 27 and 31)
UNUSED - KEEP AT 0
A
B
C
D
Txt. Sig. Bit
Txt. Sig. Bit
Txt. Sig. Bit
Txt. Sig. Bit
Per Channel Control Words (All Channels on CSTi1 Except Channels 3, 7, 11, 15, 19, 23, 27 and 31)
YLAIR
MIMIC
ERR
1 Detected
1 Detected
0 Normal
0 Not
Detected
FT Error
Count
MFSYNC
BPV
1 Detected
1 Not Detected
0 Not
Detected
0 Detected
Bipolar
Violation
count
ESFYLW
SLIP
Changes
State
when Slip
Performed
SYN
1 Out-of-Sync.
0 In-Sync
Master Status Word 1 (Channel 15, CSTo)
BlAlm
FrCnt
1 Detected
Frame
Count
0 Not Detected
XSt
1 Xst High
BIPOLAR VIOLATION COUNT
CRC-ERROR COUNT
0 Xst Low
Master Status Word 2 (Channel 31, CSTo)
CHANNEL COUNT
BIT COUNT
Phase Status Word (Channel 3, CSTo)
UNUSED
A
Rec’d. Sig. Bit
B
Rec’d. Sig. Bit
C
Rec’d. Sig. Bit
D
Rec’d. Sig. Bit
Per Channel Status Word (All Channels on CSTo Except Channels 3, 7, 11, 15, 19, 23, 27, 31)
Note 1:
4-124
In ESF mode:
1: CRC calc. ignored during Sync.
0: CRC checked for Sync.
In D3/D4 mode:
1: Sync. to first correct S-bit pattern.
0: Will not Sync. if Mimic detected.
Similar pages