Datasheet MT8979AP, MT8979AC, MT8979AE Datasheet (MITEL)

Page 1
ISO-CMOS ST-BUS FAMILY
MT8979
CEPT PCM 30/CRC-4 Framer & Interface
Features
Single chip pr imary rate 20 48 kb it/s CEPT transceiver with CRC-4 option
Meets CCITT Recommendation G.704
Selectable HDB3 or AMI line code
Tx and Rx fr ame an d mult ifram e synchronization signals
Two frame elastic buffer with 32 µsec jitter buffer
Frame alignm ent an d CRC error coun ters
Insertion and dete ction of A, B, C, D sign alling bits with o ptiona l debo unce
On-chip attenuation ROM with option for ADI codecs
Per channel , overa ll and remote loop aro und
ST-BUS compatible
Applications
Primary rate ISDN netw ork node s
Multiplexing equipment
Private network: PBX to PBX links
High speed comp uter t o com pute r links
ISSUE 7 May 1995
Ordering Information
MT8979AC 28 Pin Cerami c DIP MT8979A E 28 Pin Pl astic D IP MT8979A P 44 Pin PLC C
-40° to 85°C
Descript io n
The MT8979 is a single chip CEPT digital trunk transceiver that meets the requirements of CCITT Recommendation G.704 for digital multiplex equipment.
The MT8979 is fabricated in Mitel’s low power ISO-CMOS technology.
TxMF
C2i
F0i
RxMF
DSTi
DSTo
ADI
CSTi0 CSTi1
CSTo
XCtl
XSt
ST-BUS
Timing
Circuitry
PCM/Data
Interface
Serial
Control
Interface
Control Logic
2 Frame
Digital
Attenuator
ROM
ABCD Bit RAM
Phase
Detector
Elastic Buf fe r
with Slip
Control
Figure 1 - Functiona l Block Diagram
CEPT
Link
Interface
Counter
CEPT
Remote
&
Digital
Loop­backs
V
DD
RxD
RxA RxB TxA
TxB
E2i E8Ko
V
SS
4-161
Page 2
MT8979 ISO-CMOS
TxA TxB
DSTo
NC RxA RxB RxD
CSTi1
NC
NC
ADI
CSTi0
E8Ko
VSS
Pin Description
Pin #
Name Description
DIP PLCC
1 2
3 4
5 6
7 8
9 10 11 12 13 14
28 PIN CERDIP/PDIP
28 27 26 25 24 23 22 21 20 19
18 17 16 15
VDD IC F0i E2i NC
RxMF TxMF C2i NC DSTi NC CSTo XSt XCtl
NC
NC RxA RxB
RxD
NC
CSTi1
NC
NC
NC
ADI
Figure 2 - Pin Connections
VSS
DSTo
NC
65432 44434241 7 8 9 10 11 12 13 14 15 16
17
VSS
E8Ko
CSTi0
VDD
TxB
TxA
ICNCF0iNCE2i
1
231819 2021 22 24252627 28
NC
44 PIN PLCC
VSS
XSt
XCtl
NC
CSTo
40
39 38 37 36 35 34 33 32 31 30 29
NC
NC RxMF TxMF
NC NC C2i NC NC NC NC NC
DSTi
1 2 TxA Transmit A (Output): A split phase unipolar signal suita ble for use with TxB and an
external line driver and transformer to construct the bipolar line signal .
2 3 TxB Transmit B (Output:) A split phase unipolar signal suitabl e for use with TxA and an
external line driver and transformer to construct the bipolar line signal .
3 5 DSTo Data ST-BUS (Output): A 2048 kbit/s serial output stream which contains the 30 PCM or
data channels received from the CEPT line.
4 4 NC No Connecti on . 59 RxA
Receive A (Input): Received split phase unipolar signal decoded from a bipolar line
receiver.
610 RxB
Receive B (Input): Received split phase unipolar signal decoded from a bipolar line
receiver.
7 11 RxD Received Data (In put): Input of the unipolar data generat ed from the line receive r. This
data may be NRZ or RZ.
8 13 CSTi1 Control ST-BUS Inpu t #1: A 2048 kbit/s stre am that cont ains channel associated
signalling, frame alignment and diagnostic functions.
9 NC No Connecti on .
10 NC No Connecti on . 11 17 ADI Alternate Digit Inversion (Input): If this input is high, the CE PT timeslo ts which are
specified on CSTi0 as voice channels are ADI coded and decoded. When this bit is low it disables ADI coding for all channels. This feature allows either ADI or non-ADI codecs to be used on DSTi and DSTo.
12 19 CSTi0 Control ST-BUS Inpu t #0: A 2048 kbit/s stream that contai ns 30 per channel control
words and two Master Control Words.
4-162
Page 3
Pin Description (Continued)
ISO-CMOS MT8979
Pin #
Name Description
DIP PLCC
13 20 E8Ko E xtracted 8 kHz Clock (Output): An 8 kHz output generated by dividing the extracted
2048 kHz clock by 256 and aligning it with the received CEPT frame. The 8 kHz signal can be used for synchronizing the system clock to the extracted 2048 kHz clock. Only valid when device achieves synchronization (goes low during a loss of signal or a loss of basic frame synchronization condition).
E8Ko goes high impedance when 8kHzSEL = 0 in MCW2.
15 23 XCtl External Control (Output): An uncommitted external out put pin which is set or reset
via bit 1 in Master Cont rol Word 2 on CSTi0. The state of XCtl is updated once per frame.
16 24 XSt Ext ernal Status: The state of this pin is sampled once per frame and the status is
reported in bit 1 of the Master Status Word 1 on CSTo.
17 26 CSTo Cont rol ST-BUS Output: A 2048 kbit /s serial control stream which provides the 16
signalling words, two Master Status Words, Phase Status Word and CRC Error Count.
18 NC No Connection . 19 28 DSTi D ata ST-BUS Input: This pin accepts a 2048 kbit/s serial stream which contains the
30 PCM or data channels to be transmitted on the CEPT trunk.
20 NC No Connection . 21 34 C2i 2048 kbit/s System Clock (Input): The master c lock for the S T-BUS s ection of th e
chip. All data on the ST-BUS is clocked in on the falling edge of the C2i and output on the rising edge. The falling edge of C2i is also used to clock out data on the CEPT transmit link.
22 37 TxMF
Transmit Multiframe Boundary (Input): This input can be used to set the channel
associated and CRC transmitted multiframe boundary (clear the frame counters). The device will generate its own multiframe if this pin is held high.
23 38 RxMF
Received Multiframe Boundary (Output): An output pulse delimiting the received
Multiframe boundary. (This multiframe is not related to the received CRC multiframe.) The next frame output on the data stream (DSTo) is received as frame 0 on the CEPT link.
24 NC No Connection . 25 40 E2i Extracted 2048 kHz Clock (Input): The falling edge of this 2048 kHz clock is used to
latch the received data (RxD). This clock input must be derived from the CEPT received data and must have its falling edge aligned with the center of the received bit (RxD).
26 42 F0i
Frame Pulse Input: The ST-BUS frame synchronization signal which defines the
beginning of the 32 channel frame.
27 44 IC Internal Connection: Tie to V 28 1 V
DD
Positive Power Supply Input (+5 Volts).
(Ground) for normal operation.
SS
14 6,8,
22
V
SS
Negative Power Supply Input (Ground).
4-163
Page 4
MT8979 ISO-CMOS
Functional Description
The MT8979 is a CEPT trunk digital link interface conforming to CCITT Recommendation G.704 for PCM 30 and I.431 for ISDN. It includes features such as: insertion and detection of synchronization patterns, optional cyclical redundancy check and far end error performance reporting, HDB3 decoding and optional coding, channel associated or common channel signalling, programmable digital attenuation and a two frame received elastic buffer. The MT8979 can also monitor several conditions on the CEPT digital trunk, which include, frame and multiframe synchronization, received all 1’s alarms, data slips as well as framing and CRC errors, both near and far end.
The system interface to the MT8979 is a TDM bus structure that operates at 2048 kbit/s known as the ST-BUS. This serial stream is divided into 125 µs frames that are made up of 32 x 8 bit channels.
The line interface to the MT8979 consists of split phase unipolar inputs and outputs which are supplied from/to a bipolar line receiver/driver, respectively.
CEPT Interface
The CEPT frame format consists of 32, 8 bit timeslots. Of the 32 timeslots in a frame, 30 are defined as information channels, timeslots 1-15 and 17-31 which correspond to telephone channels 1-30. An additional voice/data channel may be obtained by placing the device in common channel signalling mode. This allows use of timeslot 16 for 64 kbit/s common channel signalling.
Synchronization is included within the CEPT bit stream in the form of a bit pattern inserted into timeslot 0. The contents of timeslot 0 alternate
between the frame alignm ent pattern and the non-frame alignment pattern as described in Figure
4. Bit 1 of the frame alignment and non-frame alignment bytes have provisions for additional protection against false synchronization or enhanced error monitoring. This is described in more detail in the following section.
In order to accomplish multiframe synchronization, a 16 frame multiframe is defined by sending four zeros in the high order quartet of timeslot 16 frame 0, i.e., once every 16 frames (see Figure 5). The CEPT format has four signalling bits, A, B, C and D. Signalling bits for all 30 information channels are transmitted in timeslot 16 of frames 1 to 15. These timeslots are subdivided into two quartets (see Table
6).
Cyclic Redundancy Check (CRC)
An optional cyclic redundancy check (CRC) has been incorporated within CEPT bit stream to provide additional protection against simulation of the frame alignment signal, and/or where there is a need for an enhanced error monitoring capability. The CRC process treats the binary string of ones and zeros contained in a submultiframe (with CRC bits set to binary zero) as a single long binary number. This string of data is first multiplied by x the generating polynomial x
4
then divided by
4
+x+1. This division process takes place at both the transmitter and receiver end of the link. The remainder calculated at the receiver is compared to the one received with the data over the link. If they are the same, it is of high probability that the previous submultiframe was received error free.
The CRC procedure is based on a 16 frame multiframe, which is divided into two 8 frame submultiframes (SMF). The frames which contain the frame alignment pattern contain the CRC bits, C to C4 respectively, in the bit 1 position. The frames
1
4-164
2.0 ms
Frame
15 0 14 15 0
Timeslot
Most
Significant
Bit (First)
••••••••
0 1 30 31
Bit
12345678
Timeslot Timeslot Timeslot
Bit Bit Bit Bit Bit BitBit
••••
125 µs
Least Significant Bit (Last)
(8/2.048) µs
Figure 3 - CEPT Link Frame & Multiframe Format
FrameFrameFrameFrame
Page 5
ISO-CMOS MT8979
which contain the non-frame alignment pattern contain within the bit 1 position, a 6 bit CRC multiframe alignment signal and two spare bits (in frames 13 and 15), which are used for CRC error performance reporting (refer to Figure 6). During the CRC encoding procedure the CRC bit positions are initially set at zero. The remainder of the calculation is stored and inserted into the respective CRC bits of the next SMF. The decoding process repeats the multiplication division process and compares the remainder with the CRC bits received in the next SMF.
The two spare bits (denoted Si1 and Si2 in Figure 6) in the CRC-4 multiframe are used to monitor far-end error performance. The results of the CRC-4 comparisons for the previously received SMFII and SMFI are encoded and transmitted back to the far end in the Si bits (refer to Table 1).
ST-BUS Interfac e
The ST-BUS is a synchronous time division multiplexed serial bus with data streams operating at 2048 kbit/s and configured as 32, 64 kbit/s channels (refer Figure 7). Synchronization of the dat a transfer is provided from a frame pulse, which identifies the frame boundaries and repeats at an 8 kHz rate. Figure 17 shows how the frame pulse (F0i the ST-BUS frame boundaries. All data is clocked into the device on the falling edge of the 2048 kbit/s clock (C2i), while data is clocked out on the rising edge of the 2048 kbit/s clock at the start of the bit cell.
) defines
Si1 bit (frame
13)
11
10
01
00
Si2 bit (frame
15)
Meaning
CRC results for both SMFI, II a re error free.
CRC result for SMFII is in error. CRC result for SMFI is error free.
CRC result for S MFII is erro r fre e. CRC result for SMFI is in error.
CRC results for both SMFI, II a re in error.
Table 1. Coding of Spare Bits Si1 and Si2
Data Input (DSTi)
The MT8979 receives information channels on the DSTi pin. Of the 32 available channels on this serial input, 30 are defined as information channels. They are channels 1-15 and 17-31. These 30 timeslots are the 30 telephone channels of the CE PT format numbered 1-15 and 16-30. Timeslot 0 and 16 are unused to allow the synchronization and signalling information to be inserted, from the Control Streams (CSTi0 and CSTi1). The relationship between the input and output ST-BUS stream and the CEPT line is illustrated in Figures 8 to 12. In common channel signalling mode timeslot 16 becomes an active channel. In this mode c han nel 16 on DSTi is transmitted on timeslot 16 of the CEPT link unaltered. This mode is activated by bit 5 of channel 31 of CSTi0.
Bit Number
1 2 3 45678
Timeslot 0 containing the frame alignment signal
Timeslot 0 containing the non-frame alignment signal
Reserved for International
(1)
use Reserved for
International
(2)
use
0 0 11011
1 Alarm indication to the
remote PCM multiplex equipment
Figure 4 - Allocation of Bits in Timeslot 0 of the CEPT Link
Note 1 : With CRC active, this bit is ignored. Note 2 : With SiMUX active, this bit transmits SMF CRC re sults in frames 13 and 15 Note 3 : Reserved for National use
Timeslot 16 of frame 0 Timeslot 16 of frame 1
ABCD bits for
telephone
channel 16
(timeslot 17)
• • •
0000 XYXX
ABCD bits for
telephone channel 1
(timeslot 1)
Figure 5 - Allocation of Bits in Timeslot 16 of the CEPT Link
See
Note
#3
ABCD bits for
channel 15
(timeslot 15)
See
Note
#3
See
Note
#3
See
Note
#3
Timeslot 16 of frame 15
ABCD bits for
telephone
telephone
channel 30
(timeslot 31)
See
Note
#3
.
4-165
Page 6
MT8979 ISO-CMOS
Control Input 0 (CSTi0)
All the necessary control and signalling information is input through the two control stream s. Control ST-BUS input number 0 (CSTi0) contains the control information that is associated with each information channel. Each control channel contains the per channel digital attenuation information, the individual loopback control bit, and the voice or data channel identifier, see Table 2. When a channel is in data mode (B7 is high) the digital attenuation and Alternate Digit Inversion are disabled. It should be noted that the control word for a given information channel is input one timeslot early, i.e., channel 0 of CSTi0 controls channel 1 of DSTi. Channels 15 and 31 of CSTi0 contain Master Control Words 1 and 2, which are used to set up the interface feature as seen by the respective bit functions of Tables 3 and
4.
Control In put 1 (CSTi1)
Control ST-BUS input stream number 1 (CSTi1) contains the synchronization information and the A, B, C & D signalling bits for insertion into timeslot 16 of the CEPT stre am (refer to Tables 5 to 8 ). Timesl ot 0 contains the four zeros of the multiframe alignment signal plus the XYXX bits (see Figure 5). Channels 1 to 15 of CSTi1 contain the A, B, C & D signalling bits as defined by the CEPT format (see Figure 5), i.e., channel 1 of CSTi1 contains the A,B,C & D bits for
DSTi timeslots 1 and 17. Channel 16 contains the frame alignment signal, and channel 17 contains the non-frame alignment signal (see Figure 4). Channel 18 contains the Master Control Word 3 (see Table 9). Figure 11 shows the relationship between the control stream (CSTi1) and the CEPT stream.
Control Output (CSTo)
Control ST-BUS output (CSTo) contains the multiframe signal from timeslot 16 of frame 0 (see Table 10). Signalling bits A, B, C & D for each CEPT channel are sourced from timeslot 16 of frames 1-15 and are output in channels 1-15 on CSTo , as shown in Table 11. The frame alignment signal and nonframe alignment signal, received from timeslot 0 of alternate frames, are output in timeslots 16 and 17 as shown in Tables 12 and 13.
Channel 18 contains a Master Status Word, which provides to the user information needed to determine the operating condition of the CEPT interface i.e., frame synchronization, multiframe synchronization, frame alignment byte errors, slips, alarms, and the logic of the external status pin (see Table 14). Figure 12, shows the relationship between the control stream channels and the CEPT signalling channels in the multiframe. The ERR bit in the Master Status word is an indicator of the number of errored frame alignment bytes that have been received in alternate timeslot zero. The time interval between toggles of
Multiple Fr am e
Componen t
Frame Type
CRC
Frame #
Frame Alignment Signal 0 C Non-Frame Alignment Signal 1
S Frame Alignment Signal 2 C
M Non-Frame Alignment Signal 3
F Frame Alignment Signal 4 C
Non-Frame Alignment Signal 5
I Frame Alignment Signal 6 C
Non-Frame Alignment Signal 7 Frame Alignment Signal 8 C
S Non-Frame Alignment Signal 9
M Frame Alignment Signal 10 C
F Non-Frame Alignment Signal 11
Frame Alignment Signal 12 C
I Non-Frame Alignment Signal 13 Si1 I Frame Alignment Signal 14 C
Non-Frame Alignment Signal 15 Si2
Figure 6 - CRC Bit Allocation and Submultiframing
Note 1 : Remote Alarm. Keep at 0 for normal operation. Note 2 : Reserv ed for Nati onal use. Keep at 1 for norma l opera tion . Note 3 : Used to monitor far-e nd CRC e rro r perform ance.
Timeslot Zero
12345678
0011011
1
01A
0011011
2
01A
0011011
3
11A
0011011
4
01A
0011011
1
11A
0011011
2
11A
0011011
3
(3)
1A 0011011
4
(3)
1A
(1)
(1)
(1)
(1)
(1)
(1)
(1)
(1)
Sn
Sn
Sn
Sn
Sn
Sn
Sn
Sn
(2)
(2)
Sn
(2)
Sn
(2)
Sn
(2)
Sn
(2)
Sn
(2)
Sn
(2)
Sn
(2)
Sn
multiframe alignment signal
(2)
Sn
(2)
(2)
Sn
(2)
(2)
Sn
(2)
(2)
Sn
(2)
(2)
Sn
(2)
(2)
Sn
(2)
(2)
Sn
(2)
(2)
Sn
indicates position of CRC-4
Sn
Sn
Sn
Sn
Sn
Sn
Sn
Sn
(2)
(2)
(2)
(2)
(2)
(2)
(2)
(2)
Sn
Sn
Sn
Sn
Sn
Sn
Sn
Sn
(2)
(2)
(2)
(2)
(2)
(2)
(2)
(2)
4-166
Page 7
125µs
ISO-CMOS MT8979
CHANNEL
31
CHANNEL
030
Most
Significant
Bit (First)
BIT
• • •
BIT
7654321
BIT BIT
Figure 7 - ST-BUS Strea m Form at
the ERR bit can be used to evaluate the bit error rate of the line according to the CCITT Recommendation G.732 (see section on Frame Alignment Error Counter).
Channel 19 contains the Phase Status Word (see Table 15), which can be used to determine the phase relations hip b e tw ee n the ST-BUS fra me p u l se (F0i and the rising edge of E8Ko. This information could be used to determine the long term trend of the received data rate, or to identify the direction of a slip.
Channel 20 cont ains the CRC error count (see Table
16). This counter will wrap around once terminal count is achieved (256 errors). If the maintenance option is selected (bit 3 of MCW3) the counter is reset once per se c on d .
Channel 21 contains the Master Status Word 2 (see Table 17). This byte identifies the status of the CRC reframe and CRC sync. It also reports the Si bits received in timeslot 0 of frames 13 and 15 and the ninth and most significant bit (b8) of the 9-bit Phase Status Word.
Elastic Buffer
CHANNEL
BIT BIT BIT
(8/2.048 )µ s
CHANNEL
31
CHANNEL
BIT
0
0
Least Significant Bit (Last)
selected as the clock source for the PBX) then the data rate at which the data is being written into the device on the line side may differ from the rate at which it is being read out on the ST-BUS side.
When the clocks are not phase-locked, two situations can occur:
)
Case #1:
If the data on the line side is being written in at a rate SLOWER than it is being read out on the ST-BUS side, the distance between the write pointer and the read pointer will begin to decrease over time. When the distance is less than two channels, the buffer will perform a controlled slip which will move the read pointers to a new location 34 channels away from the write pointer. This will result in the REPETITION of the received frame.
Case #2:
If the data on the line side is being written
in at a rate FASTER than it is being read out on the ST-BUS side, the distance between the write pointer and the read pointer will begin to increase over time. When the distance exceeds 42 channels, the elastic buffer will perform a controlled slip which will move the read point er to a new location ten channels away from the write pointer. This will result in the LOSS of the last r e ce iv e d fra m e .
The MT8979 has a two frame elastic buffer at the receiver, which absorbs the jitter and wander in the received signal. The received data is written into the elastic buffer with the extracted E2i (2048 kHz) clock and read out of the buff er on the ST-BUS side with the system C2i (2048 kHz) clock (e.g., PBX system clock). Under normal operating conditions, in a synchronous network, the system C2i clock is phase-locked to the extracted E2i clock. In this situation every write operation to the elastic buffer is followed by a read operation. Therefore, underflow or overflow of data in the elastic buffer will not occur.
If the system clock is not phase-locked to the extracted clock (e.g., lower qu ality li nk which is not
Note that when the device performs a controlled slip, the ST-BUS address pointer is repositioned so that there is either a 10 channel or 34 channel delay between the input CEPT frame and the output ST-BUS frame. Since the buffer performs a controlled slip only if the delay exceeds 42 channels or is less than two channels, there is a minimum eight channel hysteresis built into the slip mechanism. The device can, therefore, absorb eight channels or 32.5µs of jitter in the received signal.
There is no loss of frame synchronization, multiframe synchronization or any errors in the signalling bits when the device performs a slip.
4-167
Page 8
MT8979 ISO-CMOS
0
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
CCS
Figure 8 - Relationship between Input DSTi Channels and Transmitted CEPT Timeslots
123456789101112131415
0 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
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
SIG
Figure 9 - Relationship between Received CEPT Timeslots and Output DSTo Channels
012345678910111213141516171819202122232425262728293031
0 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
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
123456789101112131415 171819202122232425262728293031
Figure 10 - Relationship between Input CSTi0 Channels and Controlled CEPT Timeslots
0 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
N
A
15
14
13
12
11
10 9
8
7
6
5
4
3
2
1
0
0
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
Figur e 11 - Rel atio ns hip b etw ee n In put CSTi 1 Ch a nnel s and Tran smi tte d C EP T Fra m es
0 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
N
A
15
14
13
12
11
10 9
8
7
6
5
4
3
2
1
0
0
0
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
Figure 12- Relationship between Received CEPT Frames and Output CSTo Channels
4-168
DSTi
Channel #
DSTi
CEPT
Timeslot #
Channel #
CEPT
Timeslot #
CSTi0
Channel #
Device Control C1 C2
Control Word
CEPT Ch annel #
CSTi1
Channel #
CEPT
Device Control C3*************
FRAME #
CHANNEL #
CSTo
Channel #
Device Status S1S2S3S4**********
CEPT
FRAME #
TIMESLOT #
- *Denotes U n us ed C h an ne l ( CSTo output is not put in high impeda nc e state) -CCS Denotes Signalling Channel if Common Channel Signalling Mode Selected
- A Deno tes F ram e-Align m en t Fr am e -S1 Denotes Master Status Word 1 (MSW1)
- N Deno tes No n Frame- Al ig nm en t Frame -S2 Denotes Phase Status Word (PSW)
- C1, C2, C3 Denotes Master Control Words 1,2,3 -S3 Denotes CRC Error Count
- SIG Denotes Signalling Channel -S4 Denotes Master Status Word 2 (MSW2)
Page 9
ISO-CMOS MT8979
Frame Alignment Error Counter
The MT8979 provides an indication of the bit error rate found on the link as required by CCITT Recommendation G.703. The ERR bit (Bit 5 of MSW1) is used to count the number of errors found in the frame alignment signal and this can be used to estimate the bit error rate. The ERR bit changes state when 16 errors have been detected in the frame alignment signal. This bit can not change state more than once every 128 ms, placing an upper limit on the detectable error rate at approximately 10 The following formula can be used to calculate the BER:
BER=
where:
4000 - is the number of frame alignment signals in
16* number of times ERR bit toggles
7 * 4000 * elapsed time in seconds
7 - is the number of bits in the frame alignment
signal (0011011).
16 - is the number of errored frame alignment
signals counted between changes of state of the ERR bit.
a one second interval.
-3
Signalling Bit RAM
The A, B , C , & D Bit RAM is used to retain th e sta tu s of the per-channel signalling bits so that they may be multiplexed into the Control Output Stream (CSTo). This signalling information is only valid when the module is synchronized to the received data stream. If synchronization is lost, the status of the signalling bits will be retained for 6.0 ms provided the signalling debounce is active.
.
Integrated into the signalling bit RAM is a debounce circuit which will delay valid signalling bit changes for
6.0 to 8.0 ms. By debouncing the signalling bits, a bit error w i ll not affect the ca ll in progress. (See Table 3, bits 3-0 of channel 15 on the CSTi0 line.)
CEPT PCM 30 Format MUX
The CEPT Link Multiplexer formats the data stream corresponding to the CEPT PCM 30 format. This implies that the multiplexer will use timeslots 1 t o 15 and 17 to 31 for data and uses timeslots 0 & 16 for the synchronization and channel associated signalling.
This formula provides a good approximation of the BER given the following assumptions:
1. The bit errors are uniformly distributed on the line. In other words, every bit in every channel is equally likely to get an error.
2. The errors that occur in channel 0 are bit errors. If the first assumption holds and the bit error rate is reasonable, (below 10 two or mor e er ro r s in s e ve n bits i s ve ry lo w.
-3
) then the probability of
Attenuation ROM
All transmit and receive data in the MT8979 is passed through the digital attenuation ROM according to the values set on bits 5 - 0 of data channels in the control stream (CSTi0). Data can be attenuated on a per-channel basis from 1 to -6 dB for both Tx and Rx data (refer Table 2).
Digital attenuation is applied on a per-channel basis to the data found one channel after the control information stored in the control channel CSTi0, i.e., control stream 0 channel 4 contains the attenuation setting for data stream (DSTo) channel 5.
The frame alignment or non-frame alignment signals for timeslot zero are sourced by the control stream input CSTi1 channel 16 and 17, respectively. The most significant bit of timeslot zero will optionally contain the cyclical redundancy check, CRC multiframe pattern and Si bits used for far-end CRC monitoring.
Framing Algorithms
There are three distinct framers within the MT8979. These include a frame alignment signal framer, a multiframe framer and a CRC framer. Figure 13 shows the state diagram of the framing algorithms. The dotted lines shows optional features, which are enabled in the maintenance mode.
The frame synchronization circuit searches for the first frame alignment signal within the bit stream. Once detected, the frame counters are set to find the non-frame alignment signal. If bit 2 of the non-frame alignment signal is not one, a new search is initiated, else the framer will monitor for the frame alignment in the next frame. If the frame alignment signal is found, the device immediately declares frame synchronization.
4-169
Page 10
MT8979 ISO-CMOS
The multiframe synchronization algorithm is dependent upon the state of frame alignment framer. The multiframe framer will not initiate a search for multiframe synchronization until frame sync is achieved. Multiframe synchronization will be declared on the first occurrence of four consecutive zeros in the higher order quartet of channel 16. Once multiframe synchronization is achieved, the framer will only go out of synchronization after detection of two errors in the multiframe signal or loss of frame alignment synchronization.
The CRC synchronization algorithm is also dependent on the state of the frame alignment framer, but is independent of the multiframe synchronization. The CRC framer will not initate a search for CRC framing signal until frame alignment synchronization is achieved. Once frame alignment
synchronization
synchronization is acquired, the CRC framer must find two framing signals in bit 1 of the non-frame alignment signal. Upon detection of the second CRC framing signal the MT8979 will immediately go into CRC synchronization. When maintenance feature is enabled (maint bit = 1) the CRC framer will force a complete reframe of the device if CRC frame synchronization is not found within 8 ms or more than 914 CRC errors occur per second.
out of
number of C RC
errors > 914/s
- - - - - Only if the maintenance option is selected
time out > 8m s
find two CRC
frame alignment
signals
Yes
CRC synchronization
acquired
search for frame
alignment
No
verify bit 2 of non-
frame alignm ent
verify second
occurrence of frame
alig nm ent si gn al
frame s ynchroni-
zation acquire d
signal
signal
Yes
Yes
Yes
No
No
# of consecutive incorrect frame alignment signals = 3
search for
multiframe align-
ment si gn al
multiframe synchro -
nization acquired
check for two errore d
multiframe alignment
No
signals
No
Yes
Yes
4-170
Figure 13 - Synchronization State Diagram
Page 11
ISO-CMOS MT8979
BIT NAME DESCRIPTION
7 DATA Data Channel : If ‘1‘, then the controlled tim eslot on the CEPT 2048 kbit /s link is
treated as a data channel; i.e., no ADI encoding or decoding is performed on transmission or reception, and digita l attenuation is disable d. If ‘0‘, then the state of the ADI pin determines whet her or not ADI en coding and decoding is performed.
6 LOOP Per-Channel Loopback: If ‘1‘, then the controlled timeslot on the transmitted
CEPT 2048 kbit/s link is looped internally to replace the dat a on the corresponding received timeslot. If ‘0‘, then this function is disabled. This function only operates if frame synchronization is received from the CEPT link. If more than one channel is looped per frame only the first one will be active.
5,4,3 RXPAD4 ,2,1 Receive Attenua tio n Pad: Per timeslot receive attenuation cont ro l bits.
RXPAD4
0 0 0 0 1 1 1 1
2,1,0 TXPAD4,2,1 Transmit Attenuation Pad: Per timeslot transmit attenuati on control bit s .
TXPAD4
0 0 0 0 1 1 1 1
Table 2. Per Ch anne l Contr ol Word : Data Form at fo r CSTi0 C hanne ls 0-14, and 16-3 0
RXPAD2
0 0 1 1 0 0 1 1
TXPAD2
0 0 1 1 0 0 1 1
RXPAD1
0 1 0 1 0 1 0 1
TXPAD1
0 1 0 1 0 1 0 1
Gain (dB)
Gain (dB)
0
-1
-2
-3
-4
-5
-6 1
0
-1
-2
-3
-4
-5
-6 1
BIT NAME DESCRIPTION
7 (N/A) Keep at ‘1‘ for normal operat ion. 6 LOOP16 Channel 16 Loopback: If ‘1‘, then timeslot 16 on the transmitted CEPT 2048 kbit/s link
is looped internally to replace the dat a received on timeslot 16. If ‘0,‘ then this function is disabled. This function only operates if frame synchronizat ion is rece ived from the CEPT link and only a single timeslot can be looped within the frame.
5,4 (N/A) Keep at ‘1‘ for normal operat ion.
3,2,
1
& 0
NDBD, NDBC,
NDBB
& NDBA
Table 3. Ma ster Co ntrol 1 (MCW 1): Data F orma t for CSTi0 Ch ann el 15
Signalling Bit Debounce: If ‘1‘, then no debouncing is applied to the received A, B, C or
D signalling bits. If ‘0‘, then the received A, B, C or D signalling bits are debounced for between 6 and 8 ms.
4-171
Page 12
MT8979 ISO-CMOS
BIT NAME DESCRIPTION
7 (N/A) Keep at ‘1‘ for normal operation. 6 (N/A) Keep at ‘0‘ for normal operation. 5 CCS Common Channel Signalling: If 1, then the MT8979 operate s in its common channel
signalling mode. Channel 16 on the DSTi pin is transmitted on time slot 16 of the CEPT link, and timeslot 16 from the received CEPT link is output on channel 16 on the DSTo pin. Channel 15 on the CSTi0 pin contains the information for the control of timeslot 16. Channels 0 to 15 on CSTi1 and CSTo are unused. If ‘0‘, the device is in channel associated signall ing mo de where channel 16 is used to transmit the ABCD signalling bit s.
4 8KHzSEL 8KHz Select: If ‘1‘, then an 8 kHz signal synchronized to the received CEPT 2048 kbit/s
link is output on the E8Ko pin. This feature is only va lid when fra me synchronizat ion is received from the CEPT link. If ‘0‘, then the E8Ko pin goes into its high impe dance stat e.
3 TXAI S Transmit Ala rm Indic atio n Sign al :
If ‘1‘, then an all 1’ s alarm signal is transmitted on all time slots. If ‘0‘, then the timeslots functions normally.
2 T X TS16AI S Transmit Timeslot 16 Alarm Indica tion Sign al:
If ‘1‘, then an all 1’s alarm signal is transmitted on timeslot 16. If ‘0‘, then timeslot 16 functions normally.
1 XCTL External Control :
If ‘1‘, then the XCtl pin is driven high. If ‘0‘, then the XCtl pin is driven low.
0 (N/A) (unused)
Table 4. Master Control 2 (MCW2): Data Format for CSTi0 Channel 31
BIT NAME DESCRI P TIO N
7-4 M A1-4 Transmi t Multifram e Al ignmen t Bits 1 to 4: These bits are transmitted on the CEPT
2048 kbit/s link in bit positions 1 to 4 of timeslot 16 of frame 0 of the multiframe. They should be kept at ‘0‘ to allow mu ltiframe alignment to be detected.
3X1This bit is transmitted on the CEPT 2048 kbit/s link in bit position 5 of timeslot 16 of
frame 0 of the multiframe. It is a spare bit which should be kept at ‘1‘ if unused.
2YThis bit is transmitted on the CEPT 2048 kbit/s link in bit position 6 of timeslot 16 of
frame 0 of the multiframe. It is used to indicate the loss of multifram e alignment to the remote end of the link. A ‘1‘ on this bit is the signal that multiframe alignment on the received link has been lost. A ‘0’ indicates that multiframe alignment is detected.
1,0 X2,X3 These bits are transmitted on the CEPT 2048 kbit/s link in bit positions 7 and 8
respectively, of timeslot 16 of frame 0 of the multiframe. They are spare bits which should be kept at ‘1‘ if unused.
Table 5. Multifra me Align ment Si gnal: Data Format fo r CSTi1 Cha nnel 0
on the Transmitted CEPT Link
4-172
Page 13
BIT NAME DESCRIPTION
ISO-CMOS MT8979
7, 6,
5
& 4
3, 2,
1
& 0
A(N), B(N),
C(N)
& D(N)
A(N+15), B(N+15),
C(N+15)
& D(N+15)
Table 6. Channel Associated Signalling: Data Format for CSTi1 Channels 1 to 15
Transmit Signalling Bits for Channel N: These bits are transmitted on the CEPT 2048
kbit/s link in bit position s 1 to 4 of timeslot 16 in fra me N, and are the A, B, C and D signalling bits associated with telephone channe l N. The value of N lies in the range 1 to 15 and refers to the channel on the CSTi1 channel from which the bits are sourced, the telephone channel with which the bit s are associated and the f rame on the CEPT link on which the bits are transmitted. For example, the bits input on the CSTi1 pin on channel 3 are associated with telephone channel 3, which is timeslot 3 of the CEPT link, and are transmitted on bits positions 1 to 4 of timeslot 16 in frame 3 of each multiframe on the CEPT link . If bits B, C or D are not used they should be given the values ‘1, 0‘ and ‘1‘ respectively. The combi nation ‘0000‘ for ABCD bit s should not be used for telephon e channels 1 to 15 as this would interfere with multiframe alignment .
Transmit Signalling Bits for Channel N+15: These bits are transmitted on the CE PT 2048 kbit/s link in bit positions 5 to 8 of timeslot 16 in frame N, and are the A , B, C and D signalling bits associated with telephone channel N+15. The value of N lies in the range 1 to 15 and refers to both the channel on the CSTi1 stream where the bits are supplied and the frame on the CEPT link on which the bits are transmit t ed, and indirectl y indicates th e telephone channel with which the bits are are associated. For example, the bits input on the CSTi1 pin on channel 3 are associated with telephone channel 18, which is timeslot 19 of the CEPT link, and are transmitted in bits positions 5 to 8 of timeslot 16 in frame 3 of each multiframe on the CE PT link .
BIT NAME DESCRIPTION
7 IU0 International Use 0: When CRC is disa bled, this bit is transmitted on the CEPT 2048
kbit/s link in bit position 1 of timeslot 0 of frame-alignment frames . It is reserved for international use and should be kept at ‘1’ when not used. If CRC is enabled, this bit is not used.
6-0 FA F2-8 Transmit Fram e Alignm en t Fram e Bi ts 2 to 8: These bits are transmitted on the CEPT
2048 kbit/s link in bit positions 2 to 8 of timeslot 0 of frame-alignment frames. These bits form the frame alignment signal and should be set t o ‘0011011‘.
Table 7. Frame Alignment Signa l: Data Format for CSTi1 Channel 16
4-173
Page 14
MT8979 ISO-CMOS
BIT NAME DESCRIPTION
7 IU1 International Use 1: When the CRC is disabled and SiMUX bit in MCW3 is disabled, this
bit is transmitted on the CEPT 2048 kbit/s link in bit position 1 of time sl ot 0 of non-frame-ali gnm ent frames . It is reserved for internationa l use and should be kept at ‘1‘ when not used. If CRC is enabled and SiMUX is disabled, this bit is transmitted in bit 1 of timeslot 0 for frame 13 and 15. If both CRC and SiMUX are enabled, then this bit is not used.
6 NFAF Transmit Non-Frame Alignment Bit: This bit is transmitted on the CEPT 2048 kbit/s link
in bit position 2 of timeslot 0 of non-fram e-alignme nt fram es. In order to differenti ate between frame-alignment frames and non-frame-alignment frames, this bit should be kept at ‘1‘.
5 ALM No n-F ram e Ali gn m ent Al arm : This bit is transmitted on the CEPT 2048 kbit/s link in bit
position 3 of timeslot 0 of non-frame-alignment frames . It is used to signal an alarm to the remote end of the CEPT link. The bit should be set to ‘1‘ to signal an alarm and should be kept at ‘0‘ under normal operatio n.
4-0 NU1-5 National Use: These bits are transmitted on the CEPT 2048 kbit/s link in bit positions 4 to
8 of timeslot 0 of non-frame-alignment frames . These bits are reserved for national use, and on crossing international borders they should be set to ‘1‘.
Table 8. Non-Frame-Alignment Signal: Data Format for CSTi1 Channel 17
BIT N AME DES CRI PTIO N
7N/AKeep at zero for normal operation. 6SiMUXWhen set to ‘1’, this bit will cause the SMFI CRC result to be transmitted in the next
outgoing Si1 bit in frame 13 and the SMF II CRC result to be transmit ted in the next outgoing Si2 bit in frame 15.
5 RMLOOP Remote Lo opb ack: If set the RxA
respectively.
4 HDB3en
3 Maint Maintenance: A ’1’ will force a terminal reframe if the CRC multiframe synchro- nization
2 CRCen Enable Cyclica l Redund ancy Check: A ’1’ will enable th e CRC gen erati on o n the
1 DGLOOP Digital Loopack: When set, the transmitted signal is looped around from DSTi to DSTo.
0 ReFR Force Reframe: If set, for at least 1 frame, and then cleared the chip will begin to search
Enable HDB3 Encoding: A ’1’ will disable the HDB3 line coding and transm it the
information transparently .
is not achieved within 8 ms of frame synchronization. Reframe will also be generated if more than 914 CRC errors occur within a one second interval (CRC error counter is reset with every one second interval). A ’0’ will disable this optio n.
transmit data. A ’0’ will disable the CRC generator. The CRC receiver is always active regardless of the state of CRCen.
The normal received data is interrupted.
for a new frame position when the chip detects the change in state from high to low. Only the change from high to low will cause a reframe, not a continuous low level.
and RxB signals are looped to TxB and TxA
4-174
Table 9. Mas ter Co ntrol Word 3 (MCW 3): D ata Forma t for CS Ti1 Cha nnel 18
Page 15
ISO-CMOS MT8979
BIT NAME DESCRIPTION
7-4 MA1-4 Receive Multiframe Al ignment Bits 1 to 4: These are the bits which are received
from the CEPT 2048 kbit/s link in bit positions 1 to 4 of timeslot 16 of frame 0 of the multiframe. They should all be ‘0‘.
3X1This is the bit which is received on the CEPT 2048 kbit/s link in bit position 5 of
timeslot 16 of frame 0 of the multiframe. It is a spare bit which should be ‘1‘ if unused. It is no t deboun c ed .
2YThis is the bit which is received on the CEPT 2048 kbit/s link in bit position 6 of
timeslot 16 of frame 0 of the multiframe. It is used to indicate the loss of multiframe alignment at the remote end of the link. A ‘1‘ on this bit is the signal that multiframe alignment at the remote end of the link has been lost. A ‘0‘ indicates that multiframe alignment is detected. It is not debounced.
1,0 X2,X3 These are the bits which are received on the CEPT 2048 kbit/s link in bit positions 7
and 8 respectively, of timeslot 16 of frame 0 of the multiframe. They are spare bits which should be ‘1‘ if unused. They are not debounced.
Table 10. Received Multiframe Alignment Signal: Data Format for CSTo Channel 0
BIT NAME DESCRIPTION
7, 6,
5
& 4
3, 2,
1
& 0
Table 11. Received Channel Associated Signalling: Data Format for CSTo Channels 1 to 15
A(N), B(N),
C(N)
& D(N)
A(N+15), B(N+15),
C(N+15)
& D(N+15)
Receive Signalling Bits for Channel N: These are the bits which are received from the
CEPT 2048 kbit/s link in bit positions 1 to 4 of timeslot 16 in frame N (frame #), and are the A, B, C and D signalling bits associated with telephone channel N. The value of N lies in the range 1 to 15 and refers to the channel on the CSTo stream on which the bits are output, the telephone channel wit h which the bits are associated and the frame on the CEPT link on which the bits are received. For example, the bits output on th e CSTo stream on channel 3 are associated with telephone channel 3, which is timeslot 3 of the CEPT link, and are received on bits positions 1 to 4 of timeslot 16 in frame 3 of each multiframe on the CEPT link . If bits B, C or D are not used they should have the values ‘1, 0‘ and ‘1‘ respectively. The combination ‘000 0‘ for ABCD bit s should not be found for telephone channels 1 to 15 as this implies interference with mul tifram e alignm ent .
Receive Signalling Bits for Channel N+ 15: These are the bits which are received from the CEPT 2048 kbit/s link in bit positions 5 to 8 of timeslot 16 in frame N, and are the A, B, C and D signalling bits associated with telephone channel N+15. The value of N lies in the range 1 to 15 and refers to both the channel on the CST o stream where the bits are output and the frame on the CEPT link on which the bits are received, and indirectly indicates the telephone channel with which the bits are are associ ated. The associated channel is N+15. For example, the bits output on the CSTo stream on channel 3 are associated with telephone channel 18, which is timeslot 19 of the CEPT link, and are received on bit s positions 5 to 8 of timeslot 16 in frame 3 of each multiframe on the CE PT link .
BIT NAM E DESCRIPTION
7 IU0 International Use 0: This is the bit which is received from the CEPT 2048 kbit/s link in bit
position 1 of timeslot 0 of frame-alignment frames . It is reserved for the CRC remainder or for international use.
6-0 FAF2-8 Frame Alignmen t Sign al Bits 2 to 8: These are the bits which are received from the
CEPT 2048 kbit/s link in bit positions 2 to 8 of timesl ot 0 of frame-al ignm ent frames. These bits form the frame alignment signal and should have the values of ‘0011011‘.
Table 12. Received F rame Al ignm ent S ignal: Data F ormat for CS To Channel 16
4-175
Page 16
MT8979 ISO-CMOS
BIT NAME DESCRIPTION
7 IU1 International Use 1: This is the bit which is received from the CEPT 2048 kbit/s link in
bit position 1 of timeslot 0 of non-frame-alignment frames . It is reserved for the CRC framing or as internatio nal bits .
6 NFAF Receive Non-Frame Alignment Bit: This is the bit which is received from the CEPT
2048 kbit/s link in bit position 2 of timeslot 0 of non-frame-alignm ent frames . This bit should be ‘1‘ in order to differentiate between fram e-alig nme nt frames and non-frame-alignm ent frames.
5 ALM Non-Frame Alignment Alarm: This is the bit which is received from the CEPT 2048
kbit/s link in bit position 3 of timeslot 0 of non-frame-alignment frames . It is used to signal an alarm from the remote end of the CEPT link. This bit should have the value ‘0‘ under normal operation and should go to ‘1 ‘to signal an alarm.
4-0 NU1-5 National Use: These are the bits which are received on the CEPT 2048 kbit/s link in bit
positions 4 to 8 of timeslot 0 of non-frame-alignment frames . These bits are reserved for national use, and on crossing internationa l borders they sho uld have the value ‘1‘.
Table 13. Received Non-Frame Alignment Signal: Data Format for CSTo Channel 17
BIT NAME DESCRIPTION
7 TFSYN
6MFSYN
5 ERR Frame Alignment Err or: This bit changes state when 16 or more errors have been
4 SLIP Control Slip: This bit changes state when a slip occurs between the received CEPT
3 RXAI S Receive Alarm Indic atio n Sign al: This bit goes to ‘1‘ to signal that an all-o nes alarm
2 RXTS16AIS Receive Timeslot 16 Alarm Indica tion Sign al: This bit goes to ‘1‘ to signal that an
1 XS External Status: This bit contains the data sampled once per frame at the XS pin. 0N/A(Unused).
Table 14. M aster Statu s Word 1 (M SW1 ): Data F orma t for CSTo Channel 18
Frame Sync: This bit goes to ‘1‘ to indicate a loss of frame alignment synchronization by
the MT8979. It goes to ‘0‘ when frame synchronization is dete cted. Multiframe Sync: This bit goes to ‘1‘ to indicate a loss of multiframe synchronization by
the MT8979. It goes to ‘0‘ when multiframe synchronization is detected.
detected in the frame alignment signal. It will not change state more than once every 128 ms.
2048 kbit/s link and the 2048 kbit/s ST-BUS.
signal has been detected on the received CEPT 2048 kbit/s . It goes to ’0’ when the all-ones alarm signal is removed.
all-ones alarm signal has been detected on channel 16 of the received CEPT 2048 kbit/s link. It goes to ’0’ when the all-one s alarm signal is removed.
BIT NAM E DESCRIP T IO N
7 - 3 TxTSC Transmit Timeslot Count: The value of these five bits indicat e the timesl ot count
between the ST-BUS frame pulse and the rising edge of E8Ko.
2 - 0 TxBTC Transmit Bit Cou nt:The value of these three bits indicate the bit position within t he
timeslot count reported in TxTSC above.
Table 15. Phase Status Word (PSW): Data Format for CSTo Ch annel 19
4-176
Page 17
ISO-CMOS MT8979
BIT NAME DESCRIPTION
7 - 0 CERC CRC Error Counter : This byte is the CRC error counter. The counter will wrap around
once it reaches FF count. If maintenance option is activated, the counter will reset after a one second interval.
Table 16. CRC E rror Count: Da ta Forma t for CSTo Channel 20
BIT NA M E DESCRIPTION
7Si2The received Si bit in frame 15 is reported in this bit. Si2 will be updated after each
pulse (pin 23).
RxMF
6Si1The received Si bit in frame 13 is reported in this bit. Si1 will be updated after each
pulse (pin 23).
RxMF
5-4 NA Unused.
3 CRCTimer CRC Timer: Transition from 1 to 0 indicates the start of one second interval in which
CRC errors are accumulated. This bit stays high for 8 ms.
2 CRCRef CRC Reframe: A ’1’ indicates that the receive CRC multifram e synchronization could
not be found with in the time out period of 8 ms afte r detecti ng fram e synchronization. This bit will go low if CRCSync
goes low or if Maintenance is not activated.
1 CRCSync 0 FrmPhase Frame Cou n t: This is the nin th and most signif icant bit (b8) of the Phase Status Word
Table 17. M aster Statu s Word 2 (M SW2 ): Data F orma t for CSTo Channel 21
Applications
The MT8979 is only a link interface to the CEPT trunk. As such, an external line driver and receiver is required along with an appropriate pulse transformer before being connected to the line.
Transmitter
In order to generate a bipolar line signal, the link interface to the MT8979 provides the user with two bipolar steering outputs, TxA and TxB. These correspond to the required positive and negative
TxA
CRC Sync: A ’0’ indicates that CRC multiframing has been detected.
(see Table 15). If the phase status word is incrementing, this bit will toggle when the phase reading exceeds ST-BUS channel 31, bit 7. If the phase word is decrementing, then this bit will toggle when the reading goes below ST-BUS channel 0, bit 0.
pulses on the tra nsmissi on line. Figure 14 shows a recommended output circuit for driving a line pulse transformer.
The transistors are driven into saturat ion when they are turned on, which applies a step function to the transformer. The step input to the transformer produces a nearly constant di/dt before the current reaches steady state. By operating in the transient portion of the inductance response, the secondary of the transformer produces an almost square pulse. The base terminal of the transistors is AC coupled to the MT8979 so that there is no DC path from V ground.
+12V
33µH
TIPo
1.:
DD
to
MT8979
TxB
Figure 14 - Bipolar Line Driver
47µF
1.:
:.5
RINGo
4-177
Page 18
MT8979 ISO-CMOS
Receiver
The receive line int erface circuit shown in Figure 15 will decode the HDB3 line signals into two split phase unipolar steering signals. These signals are used to drive the violation detectors RxA RxB
as well as being NAND‘ed to produce the
and
received data (RxD).
The NAND gate was removed from the devices to make the delay for the data path equal to the delay of the clock path. This will optimize the jitter per f ormance of the r e ceiver.
The typical connection diagram for the CEPT digital trunk inte rfa c e i s p ro v i ded i n Fi g u re 1 6 . The
RxT
:1
1:
bipolar line driver and receiver have been simplified for convenience as well as the addition of a clock extractor and phase-lock loop. The clock extractor is required to adjust the phase of the E2 clock in order to sample the received data in the middle of the pulse on RxD. The phase-lock loop, on the other hand, will correct the system clocks to absorb the low rate wander present on the line.
Please note: The configuration shown in Figure 16 using the MT8940 may not meet some international standards for jitter performance. In cases where strict idle jitter specifications must b e met, a custom phase-lock loop may be required.
+5V
74LS00
+5V
MT8979
RxA
RxD
RxR
MT8980
µP
STo0
STi0
STo1 STo2
STi1
F0i
C4i
16.388 Crystal
:1
Figure 15 - Typical Bipolar Line Receiver
MT8979
TxMF
E2i
Clock
Extractor
TxA
TxB
RxA
RxD RxB
C4b
MT8940
F0b
DSTi DSTo
CSTo0 CSTi1 CSTo
F0i C2i
E8Ko
RxB
V
DD
Line
Driver
Line
Receiver
V
DD
4-178
Figure 16 - Typical Connection Diagram
Page 19
ISO-CMOS MT8979
Absolute Maximum Ratings* - Voltages are with respect to ground (V
) unless otherwise stated.
SS
Parameter Symbol Min Max Units
1 Supply Voltage V 2 Voltage at Digital I nput s V 3 Current at Digital Input s I 4 Voltage at Digital O u tpu ts V 5 Current at Digital Outputs I 6 Storage Temperature T
DD
I
I
O
O
ST
-0.3 7 V
-0.3 V
+ 0.3 V
DD
30 mA
-0.3 VDD + 0.3 V 30 mA
-65 150 °C
7 Package Power Dissipation P 800 mW
* Excee ding these values ma y cause perm anen t dama ge. Functi onal operati on und er these cond ition s is not implied.
Recommended Operating Conditions - Voltages are with respect to ground (V
Characteristics Sym Min Typ
1 Operat ing Temperature T 2 Supply Voltage V 3 Input Voltage High V
OP
DD
-40 85 °C
4.555.5V
2.4 V
H
Max Units Test Conditions
DD
) unless otherwise stated.
SS
V For 400 mV noise margin
4 Input Voltage Low V
‡ Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to prod ucti on testin g.
V
L
SS
DC Electrical Characteristics† - Voltages are with respect to ground (V
0.4 V For 400 mV noise margin
) unless otherwise stated.
SS
Characteristics Sym Min Typ‡Max Units Test Conditions
1 Power Dissipation P 40 88 mW Outputs unloaded 2 Supply Current I 3 Inpu t High Voltage V 4 Input Low Voltage V 5 Input Leakage I 6 Output High Voltage V 7 Out put High Current I 8 Output Low Voltage V 9 Output Low Current I
10 High Impedance Leakage I
† Characteristics are for clocked operation over the ranges of recommended opera tin g temp era tu re an d supp ly vol tag e. ‡ Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to prod ucti on testin g.
DD
OH
OL
OZ
2.0 V
IH
00.8V
IL
IL
2.4 V
OH
7 20 mA Source VOH=2.4 V
V
OL
SS
2 10 mA Sink VOL=0.4 V
8 16 mA Outputs un loaded
DD
110µAVI = 0 to V
DD
V
DD
VIOH=7 mA @ VOH=2.4 V
0.4 V IOL=2 mA @ VOL= 0.4 V
110µAVO = 0 to V
DD
AC Electrical Characteristics - Capacitances
Characteristics Sym Min Typ‡Max Un its Test Condi tions
1 Input Pin Capacit an ce C 2 Output Pin Capacit a nce C
‡ Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to prod ucti on testin g.
I
O
8pF 8pF
4-179
Page 20
MT8979 ISO-CMOS
AC Electrical Characteristics† - ST-BUS Timing (Figures 17 and 18)
Characteristics Sym Min Typ‡Max Units Test Conditions
1 C2i Clock Period t 2 C2i Clock Width High or Low t 3 Frame Pulse Setup Time t 4 Frame Pulse Hold Time t 5 Frame Pulse Width t 6 Serial Output Delay t
FPW
SOD
7 Serial Input Setup Time t 8 Serial Input Hold Time t 9 Frame Pulse Setu p Time 2 t
† Characteristics are for clocked operation over the ranges of recommended opera tin g temp era tu re an d supp ly vol tag e. ‡ Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to prod ucti on testin g. *t
= 125 ns (max) over 0 - 70°C temperatu re ran ge .
SOD
F0i
C2i
FPS2
400 488 600 ns
P20
200 244 ns t
W20
FPS
FPH
50 150 ns 50 ns
100 300 ns
150* ns 150 pF Load
SIS
SIH
30 ns 55 ns 20 ns
= 488 ns
P20
ST-BUS BIT CELLS
ST-BUS Bit Stream
F0i
C2i
DSTi or CSTi0/1
DSTo or CSTo
Channel 31 Channel 0 Channel 0
Bit 0 Bit 7 Bit 6
Figure 17 - C loc k and Frame Align ment fo r 2048 kb it/s ST-BUS Strea ms
Bit Cell
t
t
FPS
FPW
t
FPH
t
SOD
t
FPS2
t
SIS
t
SIH
t
W20
V
IH
V
IL
V
IH
V
IL
V
IH
V
IL
V
OH
V
OL
t
P20
t
W20
4-180
Figure 18 - Clock and Frame Timing for 2048 kbit/s ST-BUS Streams
Page 21
ISO-CMOS MT8979
AC Electrical Characteristics† - Multiframe Clock Timing (Figure 21)
Characteristics Sym Min Typ‡Max Units Test Conditions
1 Receive Multiframe Output Delay t 2 Transmit Multiframe Setup Time t 3 Transmit Multiframe Hold Time t 4 Tx Multiframe to C2 Setup Time t
† Characteristics are for clocked operation over the ranges of recommended opera tin g temp era tu re an d supp ly vol tag e. ‡ Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to prod ucti on testin g.
*256 t
P20
DSTo Bit Cells
F0i
C2i
RxMF
- 100ns
Bit 7 Bit 6 Bit 5 Bit 4 Bit 0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 0 Bit 7
RMFD
TMFS
TMFH
MF2S
50 ns 50 * ns
100 n s
150 ns 50 pF
Frame 0Frame 15
Figure 19 - Functional Timing for Receive Multiframe Clocks
Frame 0Frame N
DSTi Bit Cells
Bit 7 Bit 6 Bit 5 Bit 4 Bit 0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 0 Bit 7
F0i
C2i
TxMF
F0i
C2i
RxMF
TxMF
Figure 20 - Functional Timing for Transmit Multiframe Clock
t
RMFD
t
RMFD
(1)
t
t
TMFS
(1)
t
TMFH
MF2S
Figure 21 - Clock and Frame Timing for 2048 kbit/s ST-BUS Streams
Note 1: These two signals do not have a defined phase relationship.
4-181
Page 22
MT8979 ISO-CMOS
AC Electrical Characteristics† - XCtl, XS and E8Ko (Figures 22, 23 and 24)
Characteristics Sym Min Typ‡Max Units Test Conditions
1 External Cont rol Delay t 2 Ext ernal Sta tus Se tup Time t 3 Ext ernal Sta tus Hold Time t 4 E8Ko Output Delay t 5 E8Ko Outpu t Low Width t 6 E8Ko Output High Width t 7 E8Ko Output Transition Time t
† Characteristics are for clocked operation over the ranges of recommended opera tin g temp era tu re an d supp ly vol tag e. ‡ Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to prod ucti on testin g.
V
F0i
IH
V
IL
XCD
XSS
XSH
8OD
8OL
8OH
8OT
50 ns 50 ns
62.5 µs 50 pF load
62.5 µs 50 pF load
C2i
100 ns 50 pF loa d
150 ns 50 pF loa d
20 ns 50 pF load
ST-BUS Bit Cell Boundary Between
Bit 3 Channel 17 and Bit 2 Channel 17
V
IH
V
IL
XCtl
Received CEPT Bits
V
E2i
V
V
E8Ko
V
V
OH
V
OL
Figure 22 - XCtl Timing
Timeslot 0
IH
IL
t
8OD
OH
OL
Bit 4
t
XCD
t
8OT
••
t
8OL
XS
Timeslot 16
Bit 4
t
8OD
V
IH
V
IL
Figure 23 - XS Ti mi ng
•••
t
8OT
t
8OH
t
XSS
t
8OD
t
XSH
Timeslot 0
Bit 4
t
8OT
4-182
Figur e 24 - E8K o Ti mi ng
Page 23
ISO-CMOS MT8979
AC Electrical Characteristics† - CEPT Link Timing (Figures 25 and 26)
Characteristics Sy m Min Typ
Max Un its Test Con di tions
1 Transmit Steering Delay* t 2 Transmit Steering Transition Time t 3 E2i Clock Period t 4 E2i Clock Width High or Low t 5 Receive Data Setup Time t 6 Receive Data Hold Time t 7 Receive Steering Se tup Time t 8 Receive Steering Hold Time t
TSD
TST
PEC
WEC
RDS
RDH
RSS
RSH
25 150 ns 200 pF load
40 ns 200 pF load 400 488 600 ns 200 244 ns
30 ns 40 ns 30 ns 40 ns
† Characteristics are for clocked operation over the ranges of recommended opera tin g temp era tu re an d supp ly vol tag e. ‡ Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to prod ucti on testin g.
* The difference between t
Transmitted CEPT Link
for TxA and TxB is not greater than 20 ns.
TSD
Bit Cell
Bit Cells
V
C2i
TxA or TxB
IH
V
IL
t
TSD
V
OH
V
OL
t
TST
t
TSD
t
TST
Bit Cells
E2i
RxD
RxA or
RxB
Figure 25 - Transmit Timing for CEPT Link
Bit CellsReceived CEPT Link
t
PEC
t
WEC
V
IH
V
IL
t
RDS
V
IH
V
IL
t
RSS
V
IH
V
IL
t
RDH
t
WEC
t
RSH
Figure 26 - Receive Timing for CEPT Link
4-183
Page 24
MT8979 ISO-CMOS
Appendix
Control and Status Register Summary
76543210
UNUSED
Keep at 1
UNUSED
Keep at 1
UNUSED
Keep at 0
DATA
1 No ADI 0 Enable ADI
LOOP16
1 Enabl ed
0 Disabled
UNUSED
Keep at 0
SiMUX
1 Enabled 0 Disabled
LOOP
1 Enabled 0 Disabled
UNUSED
Keep at 1
NDBD
1 No
Debounce
0 Debounce
NDBC
1 No
Debounce
0 Debounce
1 No
Debounce
0 Debounce
Master Contr ol Word 1 (M CW1) - CSTi0, Chann el 15
CCS
1 Common
Channel
0 Channel
Associ a ted
8 kHz SEL
1 Enabled 0 Disabled
TXAIS
1 Alarm On 0 Alarm Off
TXTS16AIS
1 Alarm On 0 Alarm Off
1 Set High 0 Cleared
Master Contr ol Word 2 (M CW2) - CSTi0, Chann el 31
RMLOOP
1 Enabled 0 Disabled
HDB3en
1 Disabled 0 Enabled
Maint
1 Enabled 0 Disabled
CRCen
1 Enabled 0 Disabled
DGLOOP
1 Enabled 0 Disabled
Master Contr ol Word 3 (M CW3) - CSTi1, Chann el 18
RxPAD4 RxPAD2 RxPAD1 TxPAD4 TxPAD2 TxPAD1
Per Channel Cotnrol Word - CSTi0, Channels 0-14 and 16-30
NDBB
XCTL
NDBA
1 No
Debounce
0 Debounce
UNUSED
ReFR
Device reframes on High to Low
Transition
A(N)
Tx
Signalling Bit
IUO
Should be
kept at 1
Multiframe Alignment Signal - Keep at "0000"
IU1
Reserved for
International
Use
B(N)
Tx
Signal lin g Bi t
C(N)
Tx
Signalling Bit
D(N)
Tx
Signall in g Bi t
A(N + 15)
Tx
Signalling Bit
B(N + 15)
Tx
Signal lin g Bi t
Channel Associated Signalling - CSTi1, Channels N = 1 to 15
FAF2-8
Frame Alignm en t Signa l - Keep at "0011011"
Frame A lignmen t Sig nals - CSTi1, Chan nel 16
MA1-4
X1
Spare Bit
Should be 1
Y
1Alarm On
0 Alarm Off
Multiframe Alignment Signals - CSTi1, Channel 0
NFAF
Keep at "1"
ALM
1Alarm On
0Alarm Off
NU1-5
Bits Reserved for National Use - Should be kept at "1"
Non-Frame Alignment Signal - CSTi1, Channel 17
C(N + 15)
Tx
Signalling Bit
Spare Bits - Should be 1
Signalling Bit
X2, X3
D(N + 15)
Tx
4-184
Page 25
ISO-CMOS MT8979
76543210
TFSYN
1 Out of Sync
0 In Sync
Si2
Remote SMF2
is: 1Correct 0Errored
MFSYN
1 Out of Sync
0 In Sync
ERR
Frame
Alignment
Signal Error
Count
SLIP
Changes
State when
Slip
Performed
Master C ontr ol Word 1 (MSW1 ) - CS To, Channel 18
Si1
Remote SM F1
is: 1 Correct 0Errored
UNUSED CRC Timer
Master Status Word 2 (MSW2) - CSTo, Channel 21
TxTSC
Transmit Timeslot Count, Timeslots between F0i and E8Ko
Phase Sta tus Word - CSTo, Channel 19
CERC 0 - 7
Bits 0 - 7 of CRC Error Counter
RXAIS
1Alarm Detected 0 No Alarm
Transition
from 1 to 0
indi ca tes star t
of CRC Error
Counter
TXTS16AIS
1 Alarm Detected 0 No Alarm
CRC Ref
1 Reframed forced by lack of CRC frame
Transmit Bit Count - bit positions within TxTSC
betw een F0i and E8Ko
XS
1XSt High
0 XSt Low
CRC Sync
1 CRC Frame not Detected 0 CRC Frame Detected
TxBTC
UNUSED
FrmPhase
Bit 8 of Phase
Status Word
A(N)
Rx
Signalling Bit
IUO
International
Bit
IU1
Reserved for
International
Use
CRC Error Cou nter - CSTo, Channel 20
B(N)
Rx
Signal lin g Bi t
C(N)
Rx
Signalling Bit
D(N)
Rx
Signall in g Bi t
A(N + 15)
Rx
Signalling Bit
B(N + 15)
Rx
Signal lin g Bi t
Received Channel Associated Signalling - CSTo, Channels N = 1 to 15
FAF2-8
Received Frame Alignment Signal
Received Frame Alignment Signals - CSTo, Channel 16
MA1-4
Received Multiframe Alignment Signal
X1
International
Bit
Y
1 Remote MF Lost 0 Remote MF Detected
Received Multiframe Alignment Signals - CSTo, Channel 0
NFAF ALM
1 Detected
0Not Detected
Received Bits Reserved for National Use
NU1-5
Received Non -Fram e Alig nmen t Signal - CS To, Channel 17
C(N + 15)
Rx
Signalling Bit
International Bits
D(N + 15)
Rx
Signalling Bit
X2, X3
4-185
Page 26
MT8979 ISO-CMOS
NOTES:
4-186
Loading...