MT9079AC [MITEL]
CMOS ST-BUS? FAMILY Advanced Controller for E1; CMOS ST- BUS⑩系列高级控制器E1型号: | MT9079AC |
厂家: | MITEL NETWORKS CORPORATION |
描述: | CMOS ST-BUS? FAMILY Advanced Controller for E1 |
文件: | 总54页 (文件大小:569K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
CMOS ST-BUS FAMILY MT9079
Advanced Controller for E1
ISSUE 2
May 1995
Features
•
Meets applicable requirements of CCITT
G.704, G.706, G.732, G.775, G.796, I.431 and
ETSI ETS 300 011
Ordering Information
MT9079AC
40 Pin Ceramic DIP
40 Pin Plastic DIP
44 Pin QFP
MT9079AE
MT9079AL
MT9079AP
•
•
•
•
HDB3, RZ, NRZ (fibre interface) and bipolar
NRZ line codes
44 Pin PLCC
Data link access and national bit buffers (five
bytes each)
-40° to 85°C
Enhanced alarms, performance monitoring and
error insertion
Description
The MT9079 is a feature rich E1 (PCM 30, 2.048
Mbps) link framer and controller that meets the latest
CCITT and ETSI requirements.
Maskable interrupts for alarms, receive CAS bit
changes, exception conditions and counter
overflows
•
•
•
Automatic interworking between CRC-4 and
non-CRC-4 multiframing
The MT9079 will interface to
a 2.048 Mbps
backplane and can be controlled directly by a
parallel processor, serial controller or through the
ST-BUS.
Dual transmit and receive 16 byte circular
channel buffers
Two frame receive elastic buffer with controlled
slip direction indication and 26 channel
hysteresis (208 UI wander tolerance)
Extensive alarm transmission and reporting, as well
as exhaustive performance monitoring and error
diagnostic features make this device ideal for a wide
variety of applications.
•
CRC-4 updating algorithm for intermediate path
points of a message-based data link application
Applications
•
•
•
•
•
Primary rate ISDN network nodes
Digital Access Cross-connect (DACs)
CO and PABX switching equipment interfaces
E1 add/drop multiplexers and channel banks
Test equipment and satellite interfaces
TxMF
RxMF
TAIS
Transmit & Receive
PCM 30
TxA
TxB
Frame MUX/DEMUX
DSTi
DSTo
Data
Interface
(E1)
2 Frame Rx
Elastic
Buffer With
Slip Control
Link
RxA
RxB
Interface
TxDL
RxDL
DLCLK
Data
Link
Buffer
Dual 16
Byte Tx
Buffer
Dual 16
Byte Rx
Buffer
National
Bit
Buffer
Performance
Monitoring &
Alarm
E2i
÷
Test
Code
Gen.
256
E8Ko
Control
ABCD
Signal
Buffer
Control
Control
Interface
Port
Interface
(fig. 3)
Circuit
Timing
Phase
Detector
V
DD
V
SS
IC
C4i/C2i
F0i
to all registers
and counters
Circuit
Timing
ST-BUS Timing
RESET
Figure 1 - Functional Block Diagram
4-237
MT9079
1
2
3
4
5
40
39
RESET
DSTo
RxDL
TxDL
DLCLK
IC
TxA
TxB
TAIS
CSTo1
CSTi2
VSS
S/P
TxMF
RxMF
DSTi
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
1
2
3
4
5
6
7
8
6
33
32
31
30
29
28
27
26
25
24
23
NC
IRQ
D0\SIO\CSTo0
IRQ
D0\SIO\CSTo0
7
CSTi2
VSS
S/P
TxMF
RxMF
DSTi
E8Ko
F0i
8
D1
D2
D3
D4
D5
D6
D7
VDD
D1
D2
D3
D4
D5
D6
D7
VDD
NC
9
10
11
12
13
14
15
16
17
18
19
20
E8Ko
F0i
RxA
RxB
E2i
9
10
11
RxA
RxB
AC4\ST/SC
AC3
C4i/C2i
DS\SCLK\CSTi1
CS
AC2
AC1
AC0
R/W\RxD\CSTi0
40 PIN CERDIP/PLASTIC DIP
44 PIN QFP
7
8
9
39
38
37
36
35
34
33
32
31
30
29
NC
IRQ
D0\SIO\CSTo0
CSTi2
VSS
S/P
TxMF
RxMF
DSTi
E8Ko
F0i
D1
D2
D3
D4
D5
D6
D7
VDD
NC
10
11
12
13
14
15
16
17
RxA
RxB
44 PIN PLCC
Figure 2 - Pin Connection
4-238
MT9079
Pin Description
Pin #
Name
Description (see notes 1, 2 and 3)
DIP PLCC QFP
1
1
39 RESET RESET (Input): Low - maintains the device in a reset condition. High - normal
operation. The MT9079 should be reset after power-up. The time constant for a
power-up reset circuit (see Figure 11) must be a minimum of five times the rise time of
the power supply. In normal operation, the RESET pin must be held low for a minimum
of 100 nsec. to reset the device.
2
3
2
3
40
DSTo Data ST-BUS (Output): A 2.048 Mbit/s serial output stream which contains the 30
PCM or data channels received from the PCM 30 line. See Figure 4b.
41
RxDL Receive Data Link (Output): A 4 kbit/s serial stream which is demultiplexed from a
selected national bit (non-frame alignment signal) of the PCM 30 receive signal.
Received DL data is clocked out on the rising edge of DLCLK, see Figure 20.
4
5
4
5
42
TxDL Transmit Data Link (Input): A 4 kbit/s serial stream which is multiplexed into a
selected national bit (non-frame alignment signal) of the PCM 30 transmit signal.
Transmit DL data is clocked in on the rising edge of internal clock IDCLK, see Figure
21.
43 DLCLK Data Link Clock (Output): A 4 kHz clock signal used to clock out DL data (RxDL) on
its rising edge. It can also be used to clock DL data in and out of external serial
controllers (i.e., MT8952). See TxDL and RxDL pin descriptions.
-
6
7
44
1
NC
No Connection.
6
IRQ
Interrupt Request (Output): Low - interrupt request. High - no interrupt request.
IRQ is an open drain output that should be connected to VDD through a pull-up resistor.
An active CS signal is not required for this pin to function.
7
8
2
D0
[P]
Data 0 (Three-state I/O): The least significant bit of the bidirectional data bus of the
parallel processor interface.
SIO
[S]
Serial Input/Output (Three state I/O): This pin function is used in serial controller
mode and can be configured as control data input/output for Intel operation (connect
to controller pin RxD). Input data is sampled LSB first on the rising edge of SCLK; data
is output LSB first on the falling edge of SCLK. It can also be configured as the control
data output for Motorola and National Microwire operation (data output MSB first on
the falling edge of SCLK). See CS pin description.
CSTo0 Control ST-BUS Zero (Output): A 2.048 Mbit/s serial status stream which provides
[ST] device status, performance monitoring, alarm status and phase status data.
8-14 9-15 3-9 D1-D7 Data 1 to Data 7 (Three-state I/O): These signals, combined with D0, form the
[P]
VDD
NC
bidirectional data bus of the parallel processor interface (D7 is the most significant bit).
Positive Power Supply (Input): +5V ± 10%.
No Connection.
15 16 10
17 11
16 18 12
-
AC4 Address/Control 4 (Input): The most significant address and control input for the
[P] non-multiplexed parallel processor interface.
ST/SC ST-BUS/Serial Controller (Input): High - selects ST-BUS mode of operation.
[ST S] Low - selects serial controller mode of operation.
17- 19- 13- AC3-AC Address/Control
3
to
0
(Inputs): Address and control inputs for the
20 22 16
0
non-multiplexed parallel processor interface. AC0 is the least significant input.
[P]
4-239
MT9079
Pin Description (Continued)
Pin #
Name
Description (see notes 1, 2 and 3)
DIP PLCC QFP
21 23 17
R/W Read/Write (Input): High - the parallel processor is reading data from the MT9079.
[P] Low - the parallel processor is writing data to the MT9079.
RxD Receive Data (Input): This pin function is used in Motorola and National Microwire
[S]
serial controller mode. Data is sampled on the rising edge of SCLK, MSB first. See
CS pin description.
CSTi0 Control ST-BUS Zero (Input): A 2.048 Mbit/s serial control stream which contains
[ST] the device control, mode selection, and performance monitoring control.
22 24 18
CS
Chip Select (Input): Low - selects the MT9079 parallel processor or serial controller
interface. High - the parallel processor or serial controller interface is idle and all
bus I/O pins will be in a high impedance state. When controller mode is selected,
the SCLK input is sampled when CS is brought low. If SCLK is high the device in is
Intel mode; if SCLK is low it will be in Motorola/National Microwire mode. This pin
has no function (NC) in ST-BUS mode.
[SP]
23 25 19
DS
[P]
Data Strobe (Input): This input is the active low data strobe of the parallel
processor interface.
SCLK Serial Clock (Input): This is used in serial controller mode to clock serial data in
[S]
and out of the MT9079 on RxD and SIO. If SCLK is high when CS goes low, the
device will be in Intel mode; if SCLK is low when CS goes low, it will be in
Motorola/National Microwire mode.
CSTi1 Control ST-BUS One (Input): A 2.048 Mbit/s serial control stream which contains
[ST] the per timeslot control programming.
24 26 20 C4i/C2i 4.096 MHz and 2.048 MHz System Clock (Input): This is master clock for the serial
PCM data and ST-BUS sections of the MT9079. The MT9079 automatically detects
whether a 4.096 or 2.048 MHz clock is being used. See Figure 22 for timing
information.
25 27 21
E2i
2.048 MHz Extracted Clock (Input): This clock is extracted from the received
signal. Its rising edge is used internally to clock in data received on RxA and RxB.
See Figure 29.
-
28 22
NC
No Connection.
26 29 23
27 30 24
28 31 25
RxB Receive B (Input): Received split phase unipolar signal decoded from a bipolar line
receiver. Receives RZ and NRZ bipolar signals. See Figures 29 and 31.
RxA Receive A (Input): Received split phase unipolar signal decoded from a bipolar line
receiver. Receives RZ and NRZ bipolar signals. See Figurs 29 and 31.
F0i
Frame Pulse (Input): This is the ST-BUS frame synchronization signal which
delimits the 32 channel frame of all ST-BUS streams, as well as DSTi and DSTo in
all modes.
29 32 26
E8Ko Extracted 8 kHz Clock (Output): An 8 kHz signal generated by dividing the
extracted 2.048 MHz clock (E2i) by 256 and aligning it with the received PCM 30
frame. The 8 kHz signal can be used to synchronize the system clock with the
extracted 2.048 MHz clock. E8Ko is high when 8KSEL=0. See Figure 27.
30 33 27
DSTi Data ST-BUS (Input). A 2.048 Mbit/s serial stream which contains the 30 PCM or
data channels to be transmitted on the PCM 30 line. See Figure 4a.
4-240
MT9079
Pin Description (Continued)
Pin #
Name
Description (see notes 1, 2 and 3)
DIP PLCC QFP
31 34 28
RxMF Receive Multiframe Boundary (Output): An output pulse delimiting the received
multiframe boundary. The next frame output on the data stream (DSTo) is basic frame
zero on the PCM 30 link. This receive multiframe signal can be related to either the
receive CRC multiframe (MFSEL=1) or the receive signalling multiframe (MFSEL=0).
See Figures 25 and 26.
32 35 29
TxMF Transmit Multiframe Boundary (Input): This input is used to set the channel
associated and CRC transmit multiframe boundary. The device will generate its own
multiframe if this pin is held high. This input is pulled high in most applications. See
Figures 24 to 26.
33 36 30
S/P
Serial/Parallel (Input): High - serial controller port or ST-BUS operation.
Low - parallel processor port operation.
34 37 31
35 38 32
VSS
Negative Power Supply (Input): Ground.
CSTi2 Control ST-BUS Input Two (Input): A 2.048 Mbit/s ST-BUS control stream which
contains the 30 (ABCDXXXX) transmit signalling nibbles when RPSIG=0. When
RPSIG=1 this pin has no function. Only the most significant nibbles of each ST-BUS
timeslot are valid. See Figure 4c.
-
39 33
NC
No Connection.
36 40 34 CSTo1 Control ST-BUS Output One (Output): A 2.048 Mbit/s serial status stream which
provides the 30 (ABCDXXXX) receive signalling nibbles.
37 41 35
38 42 36
TAIS Transmit Alarm Indication Signal (Input): High - TxA and TxB will transmit data
normally. Low - TxA and TxB transmits an AIS (all ones signal).
TxB
TxA
IC
Transmit B (Output): A split phase unipolar signal suitable for use with TxA, an
external line driver and a transformer to construct a bipolar PCM 30 line signal. This
output can also transmit RZ and NRZ bipolar signals. See Figures 28 and 30.
39 43 37
Transmit A (Output):A split phase unipolar signal suitable for use with TxB, an
external line driver and a transformer to construct a bipolar PCM 30 line signal. This
output can also transmit RZ and NRZ bipolar signals. See Figures 28 and 30.
40 44 38
Notes:
Internal Connection (Input): Connect to ground for normal operation.
1. All inputs are CMOS with TTL compatible logic levels.
2. All outputs are CMOS and are compatible with both TTL and CMOS logic levels.
3. See AC Electrical Characteristics - Timing Parameter Measurement Voltage Levels for input and output
voltage thresholds.
4-241
MT9079
A new feature is the ability to select transparent or
termination modes of operation. In termination mode
the CRC-4 calculation is performed as part of the
framing algorithm. In transparent mode the MT9079
allows the data link maintenance channel to be
modified and updates the CRC-4 remainder bits to
reflect this new data. All channel, framing and
signalling data passes through the device unaltered.
This is useful for intermediate point applications of
an PCM 30 link where the data link data is modified,
but the error information transported by the CRC-4
bits must be passed to the terminating end. See the
Application section of this data sheet.
Functional Description
The MT9079 is an advanced PCM 30 framer that
meets
or
supports
the
layer
1
CCITT
Recommendations of G.703, G.704, G.706, G.775,
G.796 and G.732 for PCM 30; I.431 for ISDN
Primary Rate; and T1.102 for DS1A. It also meets or
supports the layer 1 requirements of ETSI ETS 300
011 and ETS 300 233. Included are all the features
of the MT8979, except for the digital attenuation
ROM and Alternate Digit Inversion (ADI). It also
provides extensive performance monitoring data
collection features.
The MT9079 has a comprehensive suite of status,
alarm, performance monitoring and reporting
features. These include counters for BPVs, CRC
errors, E-bit errors, errored frame alignment signals,
BERT, and RAI and continuous CRC errors. Also,
included are transmission error insertion for BPVs,
CRC-4 errors, frame and non-frame alignment signal
errors, and loss of signal errors.
Control of the MT9079 is achieved through the
hardware
selection
of
either
a
parallel
non-multiplexed microprocessor port, an Intel or
Motorola serial controller port, or an ST-BUS port.
The parallel port is based on the signals used by
Motorola microprocessors, but it can also be easily
mated to Intel microprocessors (see the Applications
section of this data sheet).
Dual transmit and receive 16 byte circular buffers, as
well as line code insertion and detection features
have been implemented and can be associated with
any PCM 30 time slot.
The serial microcontroller interface of the MT9079
will automatically adapt to either Intel or Motorola
signalling. An ST-BUS interface, consisting of two
control and one status stream, may also be selected,
however, the circular and national bit buffers cannot
be accessed in this mode.
A complete set of loopbacks has been implemented,
which include digital, remote, ST-BUS, payload, and
local and remote time slot.
The MT9079 supports enhanced features of the
MT8979. The receive slip buffer hysteresis has been
extended to 26 channels, which is suitable for
multiple trunk applications where large amounts of
wander tolerance is required. The phase status word
has been extended to the one sixteenth bit when the
device is clocked with C4. This provides the
resolution required for high performance phase
locked loops such as those described in MSAN-134.
The functionality of the MT9079 has been heighten
with the addition of a comprehensive set of maskable
interrupts and an interrupt vector function. Interrupt
sources consist of synchronization status, alarm
status, counter indication and overflow, timer status,
slip indication, maintenance functions and receive
channel associated signalling bit changes.
The received CAS (Channel Associated Signalling)
bits are frozen when signalling multiframe
synchronization is lost, and the CAS debounce
duration has been extended to be compliant with
CCITT Q.422.
The PCM 30 Interface
PCM 30 (E1) basic frames are 256 bits long and are
transmitted at a frame repetition rate of 8000 Hz,
which results in a aggregate bit rate of 256 bits x
8000/sec.= 2.048 Mbits/sec. The actual bit rate is
2.048 Mbits/sec +/- 50 ppm encoded in HDB3
format. Basic frames are divided into 32 time slots
numbered 0 to 31, see Figure 32. Each time slot is 8
bits in length and is transmitted most significant bit
first (numbered bit 1). This results in a single time
slot data rate of 8 bits x 8000/sec. = 64 kbits/sec.
The MT9079 framing algorithm has been enhanced
to allow automatic interworking between CRC-4 and
non-CRC-4 interfaces. Automatic basic frame alarm
and multiframe alarms have also been added.
The national bits of the MT9079 can be accessed in
three ways. First, through single byte registers;
second, through five byte transmit and receive
national bit buffers; and third, through the data link
pins TxDL, RxDL and DLCLK.
It should be noted that the Mitel ST-BUS also has 32
channels numbered 0 to 31, but the most significant
bit of an eight bit channel is numbered bit 7 (see
Mitel Application Note MSAN-126). Therefore,
4-242
MT9079
ST-BUS bit 7 is synonymous with PCM 30 bit 1; bit 6
with bit 2: and so on. See Figure 33.
functions such as bit error rate estimation. The
CRC-4 multiframe consists of 16 basic frames
numbered 0 to 15, and has a repetition rate of 16
frames X 125 microseconds/frame = 2 msec. CRC-4
multiframe alignment is based on the 001011 bit
sequence, which appears in bit position one of the
first six NFASs of a CRC-4 multiframe.
PCM 30 time slot zero is reserved for basic frame
alignment, CRC-4 multiframe alignment and the
communication of maintenance information. In most
configurations time slot 16 is reserved for either
channel associated signalling (CAS or ABCD bit
signalling) or common channel signalling (CCS). The
remaining 30 time slots are called channels and
carry either PCM encoded voice frequency signals or
digital data signals. Channel alignment and bit
numbering is consistent with time slot alignment and
bit numbering. However, channels are numbered 1 to
30 and relate to time slots as per Table 1.
The CRC-4 multiframe is divided into two
submultiframes, numbered 1 and 2, which are each
eight basic frames or 2048 bits in length.
The CRC-4 frame alignment verification functions as
follows. Initially, the CRC-4 operation must be
activated and CRC-4 multiframe alignment must be
achieved at both ends of the link. At the local end of
a link all the bits of every transmit submultiframe are
passed through a CRC-4 polynomial (multiplied by
PCM 30
Timeslots
0
1 2 3 ....15
1 2 3 ....15
16
X
17 18 19 ....31
16 17 18 ....30
4
4
X then divided by X + X + 1), which generates a
four bit remainder. This remainder is inserted in bit
position one of the four FASs of the following
submultiframe before it is transmitted, see Table 4.
The submultiframe is then transmitted and at the far
end the same process occurs. That is, a CRC-4
remainder is generated for each received
submultiframe. These bits are compared with the bits
received in position one of the four FASs of the next
received submultiframe. This process takes place in
both directions of transmission.
Voice/Data
Channels
X
Table 1 - Time slot to Channel Relationship
Basic Frame Alignment
Time slot zero of every basic frame is reserved for
basic frame alignment and contains either a Frame
Alignment Signal (FAS) or a Non-frame Alignment
Signal (NFAS). FAS and NFAS occur in time slot
zero of consecutive basic frames as can be see in
Table 4. Bit two is used to distinguish between a FAS
(bit two = 0) and a NFAS (bit two = 1).
When more than 914 CRC-4 errors (out of a possible
1000) are counted in a one second interval, the
framing algorithm will force a search for a new basic
frame alignment. See Frame Algorithm section for
more details.
Basic frame alignment is initiated by a search for the
bit sequence 0011011 which appears in the last
seven bit positions of the FAS, see Frame Algorithm
section. Bit position one of the FAS can be either a
CRC-4 remainder bit or an international usage bit.
The result of the comparison of the received CRC-4
remainder with the locally generated remainder will
be transported to the near end by the E-bits.
Therefore, if E = 0, a CRC-4 error was discovered in
a submultiframe one received at the far end; and if
Bits four to eight of the NFAS (i.e., S - S ) are
1
a4
a8
national bits, which telephone authorities used to
communicate maintenance, control and status
information. A single national bit can also be used as
a 4 KHz maintenance channel or data link. Bit three,
the ALM bit, is used to indicate the near end basic
frame synchronization status to the far end of a link.
Bit position one of the NFAS can be either a CRC-4
multiframe alignment signal, an E-bit or an
international usage bit. Refer to an approvals
laboratory and national standards bodies for specific
requirements.
E
= 0, a CRC-4 error was discovered in a
2
submultiframe two received at the far end. No
submultiframe sequence numbers or re-transmission
capabilities are supported with layer 1 PCM 30
protocol. See CCITT G.704 and G.706 for more
details on the operation of CRC-4 and E-bits.
CAS Signalling Multiframing
The purpose of the signalling multiframing algorithm
is to provide a scheme that will allow the association
of a specific ABCD signalling nibble with the
appropriate PCM 30 channel. Time slot 16 is
reserved for the communication of Channel
Associated Signalling (CAS) information (i.e., ABCD
signalling bits for up to 30 channels). Refer to CCITT
CRC-4 Multiframing
The primary purpose for CRC-4 multiframing is to
provide a verification of the current basic frame
alignment, although it can be used for other
4-243
MT9079
G.704 and G.732 for more details on CAS
mutliframing requirements.
selected, the SCLK input is sampled when CS is
brought low. If SCLK is high the device is in Intel
mode; if SCLK is low it will be in Motorola/National
Microwire mode.
A CAS signalling multiframe consists of 16 basic
frames (numbered 0 to 15), which results in a
multiframe repetition rate of 2 msec. It should be
noted that the boundaries of the signalling
multiframe may be completely distinct from those of
the CRC-4 multiframe. CAS multiframe alignment is
based on a multiframe alignment signal (a 0000 bit
sequence), which occurs in the most significant
nibble of time slot 16 of basic frame zero of the CAS
multiframe. Bit 6 of this time slot is the multiframe
alarm bit (usually designated Y). When CAS
multiframing is acquired on the receive side, the
transmit Y-bit is zero; when CAS multiframing is not
acquired, the transmit Y-bit is one. Bits 5, 7 and 8
(usually designated X) are spare bits and are
normally set to one if not used.
The ST-BUS port (S/P = 1 and ST/SC = 1) consists
of control streams CSTi0 and CSTi1, status stream
CSTo0, and interrupt request (IRQ). It should be
noted that in this mode access to the circular buffers
and notional bit buffers is not provided. This port
meets the requirements of the "ST-BUS Generic
Device Specification", Mitel Application Note
MSAN-126.
PARALLEL µP
IRQ
D0
•
•
•
D7
AC4
•
•
•
CONTROL
Time slot 16 of the remaining 15 basic frames of the
CAS multiframe (i.e., basic frames 1 to 15) are
reserved for the ABCD signalling bits for the 30
payload channels. The most significant nibbles are
the reserved for channels 1 to 15 and the least
significant nibbles are reserved for channels 16 to
30. That is, time slot 16 of basic frame 1 has ABCD
for channel 1 and 16, time slot 16 of basic frame 2
has ABCD for channel 2 and 17, through to time slot
16 of basic frame 15 has ABCD for channel 15 and
30.
INTERFACE
AC0
R/W
CS
DS
S/P
CSTi2
CSTo1
SERIAL µP
IRQ
RxD
ST/SC
SIO
CONTROL
MT9079 Access and Control
CS
INTERFACE
SCLK+5V
S/P
The Control Port Interface
CSTi2
CSTo1
The control and status of the MT9079 is achieved
through one of three generic interfaces, which are
parallel microprocessor, serial microcontroller, and
ST-BUS. This control port selection is done through
pins S/P and ST/SC.
ST-BUS
IRQ
CSTo0
+5V
ST/SC
CSTi0
CONTROL
INTERFACE
CSTi1
+5V
The parallel microprocessor port (S/P = 0 and ST/SC
= AC4) is non-multiplexed and consists of an eight
S/P
CSTi2
bit bidirectional data bus (D0-D7),
a five bit
CSTo1
address/command bus (AC0-AC4), read/write (R/W),
chip select (CS), data strobe (DS) and an interrupt
request (IRQ). This port can be easily interfaced to
most high speed parallel microprocessors.
Figure 3 - Control Port Interface
Control and Status Register Access
The serial microcontroller port (S/P = 1 and ST/SC =
0) consists of a receive data input (RxD), serial clock
input (SCLK), serial data input/output (SIO), interrupt
request (IRQ), and chip select (CS). This port will
automatically interface to Intel, Motorola or National
The
parallel
microprocessor
and
serial
microcontroller interfaces gain access to specific
registers of the MT9079 through a two step process.
First, writing to the Command/Address Register
(CAR) selects one of the 14 pages of control and
status registers (CAR address: AC4 = 0, AC3-AC0 =
microcontrollers
in
either
synchronous
or
asynchronous modes. When controller mode is
4-244
MT9079
don't care, CAR data D7 - D0 = page number).
Second, each page has a maximum of 16 registers
that are addressed on a read or write to a non-CAR
address (non-CAR: address AC4 = 1, AC3-AC0 =
register address, D7-D0 = data). Once a page of
memory is selected, it is only necessary to write to
the CAR when a different page is to be accessed.
See Figure 17 for timing requirements.
b) Page address or data byte -
D7 D6 D5 D4 D3
D2
D1
D0
See Figures 18 and 19 for timing requirements.
Register Access and Locations
Table 2 associates the MT9079 control and status
pages with access and page descriptions, as well as
an ST-BUS stream. When ST-BUS access mode is
used, each page contains 16 registers that are
associated consecutively with the first or second 16
channels of each ST-BUS stream. That is, page 1
register locations 10000 to 11111 appear on CSTi0
time slots 0 to 15, and page 2 register locations
10000 to 11111 appear on CSTi0 time slots 16 to 31.
It should be noted that access to the transmit and
receive circular buffers is not supported in ST-BUS
mode.
Communications between a serial controller and
MT9079 is
a
two byte operations. First,
a
Command/Address byte selects the address and
operation that follows. That is, the R/W bit selects a
read or write function and A determines if the next
4
byte is a new memory page address (A = 0) or a
4
data transfer within the current memory page (A =
4
1). The second byte is either a new memory page
address (when A = 0) or a data byte (when A = 1).
4
4
This is illustrated as follows:
a) Command/Address byte -
Common ST-BUS Streams
R/W
X
X
A
A
A
A
A
0
4
3
2
1
There are several control and status ST-BUS
streams that are common to all modes. CSTo1
contains the received channel associated signalling
bits (e.g., CCITT R1 and R2 signalling), and when
control bit RPSIG = 0, CSTi2 is used to control the
transmit channel associated signalling. DSTi and
DSTo contain the transmit and receive voice and
digital data. Figures 4a, b and c illustrate the relative
where:
R/W
X
- read or write operation,
- no function,
A = 0 - new memory page address to follow,
4
A = 1 - data byte to follow, and
4
A -A - determines the byte address.
3
0
Processor/
ST-BUS
Page Address
D7 - D0
Register Description
Controller
Access
Access
00000001
00000010
00000011
00000100
00000101
00000110
00000111
00001000
00001001
00001010
00001011
00001100
00001101
00001110
Master
Control
R/W
R/W
R
CSTi0
Master
Status
CSTo0
R/W
R/W
R
Per Channel Transmit Signalling
Per Channel Receive Signalling
CSTi2
CSTo1
CSTi1
Per Time Slot
Control
R/W
R/W
R/W
R/W
R
Transmit Circular Buffer Zero
Transmit Circular Buffer One
Receive Circular Buffer Zero
Receive Circular Buffer One
Transmit National Bit Buffer
Receive National Bit Buffer
---
---
---
---
---
---
R
R/W
R
Table 2 - Register Summary
4-245
MT9079
channel positions of the ST-BUS and PCM 30
interface. See Tables 13, 14, 16 and 17 for CAS bit
positions in CSTo1 and CSTi2.
Reset Operation (Initialization)
The MT9079 can be reset using the hardware
RESET pin (see pin description for external reset
circuit requirements) or the software reset bit RST
(page 1, address 11H). During the reset state, TxA
and TxB are low. When the device emerges from its
reset state it will begin to function with the default
settings described in Table 3.
Function
Port Selection
Mode
Status
as per pins S/P & ST/SC
Termination
ST-BUS Offset
Loopbacks
00000000*
Deactivated
E8Ko
Deactivated
Transmit FAS
Transmit non-FAS
Transmit MFAS (CAS)
Data Link
C 0011011
n
1/S 1111111
n
00001111
Deactivated
CRC Interworking
Code Insert/Detect
Signalling
Activated
Deactivated
CAS (CSTi2 & CSTo1)
Deactivated
ABCD Bit Debounce
Interrupt Mask Word Zero
unmasked, all others
masked; interrupts not
suspended
Interrupts
RxMF Output
Error Insertion
Coding
Signalling Multiframe
Deactivated
10*
Tx/Rx Buffers
Counters
Deactivated
Random
Table 3 - Reset Status
*cleared by the RESET pin, but not by the
RST control bit.
See the Applications section for the MT9079
initialization procedure.
4-246
MT9079
TAIS Operation
modes, but cannot be accessed in ST-BUS mode. In
ST-BUS mode access to the national bits can be
achieved through the Transmit and Receive
Non-frame Alignment Signal (CSTi0 and CSTo).
When selected, the Data Link (DL) pin functions
override the transmit national bit buffer function.
The TAIS (Transmit AIS) pin allows the PRI interface
to transmit an all ones signal form the point of
power-up without writing to any control registers.
After the interface has been initialized normal
operation can take place by making TAIS high.
The CALN (CRC-4 Alignment) status bit and
maskable interrupt CALNI indicate the beginning of
every received CRC-4 multiframe.
National Bit Buffers
Table 4 shows the contents of the transmit and
receive Frame Alignment Signals (FAS) and
Non-frame Alignment Signals (NFAS) of time slot
zero of a PCM 30 signal. Even numbered frames
(CRC Frame # 0, 2, 4, ...) are FASs and odd
numbered frames (CRC Frame # 1, 3, 5, ...) are
NFASs. The bits of each channel are numbered 1 to
8, with 1 being the most significant and 8 the least
significant.
Frames 1, 3, 5, 7, 9, 11, 13 & 15 of a CRC-4
Addre
Multiframe
ssable
Bytes
F1 F3 F5 F7 F9 F11 F13 F15
NBB0
NBB1
NBB2
NBB3
NBB4
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
a4
a5
a6
a7
a8
a4
a5
a6
a7
a8
a4
a5
a6
a7
a8
a4
a5
a6
a7
a8
a4
a5
a6
a7
a8
a4
a5
a6
a7
a8
a4
a5
a6
a7
a8
a4
a5
a6
a7
a8
PCM 30 Channel Zero
CRC
Frame/
Type
CRC
1
2
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
3
4
5
6
7
8
0/FAS
C
0
1
1
0
1
1
1
Table 5 - MT9079 National Bit Buffers
Note: NBB0 - NBB4 are addressable bytes of the MT9079
transmit and receive national bit buffers.
1/NFAS
2/FAS
0
ALM S
S
S
S
S
a7 a8
a4
a4
a4
a4
a4
a4
a4
a4
a5
a6
C
0
1
1
0
1
1
2
3/NFAS
4/FAS
0
ALM S
S
S
S
S
a8
Data Link Operation
a5
a6
a7
C
0
1
1
0
1
1
3
The MT9079 has a user defined 4 kbit/sec. data link
for the transport of maintenance and performance
monitoring information across the PCM 30 link. This
5/NFAS
6/FAS
1
ALM S
S
S
S
S
a7 a8
a5
a6
C
0
1
1
0
1
1
4
channel functions using one of the national bits (S ,
a4
7/NFAS
8/FAS
0
ALM S
S
S
S
S
a7 a8
a5
a6
S , S , S or S ) of the PCM 30 channel zero
a5
a6
a7
a8
C
0
1
1
0
1
1
non-frame alignment signal. The S bit used for the
1
a
DL is selected by making one of the bits, S - S ,
a4
a8
9/NFAS
10/FAS
11/NFAS
12/FAS
13/NFAS
14/FAS
15/NFAS
1
ALM S
S
S
S
S
a7 a8
a5
a6
high in the Data Link Select Word. Access to the DL
is provided by pins DLCLK, TxDL and RxDL, which
allow easy interfacing to an HDLC controller.
C
0
1
1
0
1
1
2
1
ALM S
S
S
S
S
a7 a8
a5
a6
C
0
1
1
0
1
1
3
1
4
2
The 4 kHz DLCLK output signal is derived from the
ST-BUS clocks and is aligned with the receive data
link output RxDL. The DLCLK will not change phase
with a received frame slip, but the RxDL data has a
50% chance of being lost or repeated when a slip
occurs.
E
C
E
ALM S
S
S
S
S
a7 a8
a5
a6
0
1
1
0
1
1
ALM S
S
S
S
S
a7 a8
a5
a6
Table 4 - FAS and NFAS Structure
indicates position of CRC-4 multiframe alignment signal.
The TxDL input signal is clocked into the MT9079 by
the rising edge of an internal 4 kHz clock (e.g., internal
data link clock IDCLK). The IDCLK is 180 degrees out
of phase with the DLCLK. See Figures 20 and 21 for
timing requirements.
Table 5 illustrates the organization of the MT9079
transmit and receive national bit buffers. Each row is
an addressable byte of the MT9079 national bit
buffer, and each column contains the national bits of
an odd numbered frame of each CRC-4 Multiframe.
The transmit and receive national bit buffers are
selectible in microprocessor or microcontroller
4-247
MT9079
Elastic Buffer
The minimum delay through the receive elastic buffer
is approximately two channels and the maximum delay
is approximately 60 channels (RDLY=0), see Figure 5.
When control bit RDLY=0, the MT9079 has a two
frame receive elastic buffer, which absorbs wander
and low frequency jitter in multi-trunk applications.
The received PCM 30 data (RxA and RxB) is clocked
into the elastic buffer with the E2i clock and is
clocked out of the elastic buffer with the C4i/C2i
clock. The E2i extracted clock is generated from, and
is therefore phase-locked with, the receive PCM 30
data. In normal operation, the E2i clock will be
phase-locked to the C4i/C2i clock by an external
phase locked loop (PLL). Therefore, in a single trunk
system the receive data is in phase with the E2i
clock, the C4i/C2i clock is phase-locked to the E2i
clock, and the read and write positions of the elastic
buffer will remain fixed with respect to each other.
When the C4i/C2i and the E2i clocks are not
phase-locked, the rate at which data is being written
into the elastic buffer from the PCM 30 side may differ
from the rate at which it is being read out onto the
ST-BUS. If this situation persists, the delay limits
stated in the previous paragraph will be violated and
the elastic buffer will perform a controlled frame slip.
That is, the buffer pointers will be automatically
adjusted so that a full PCM 30 frame is either repeated
or lost. All frame slips occur on PCM 30 frame bound-
aries.
The RSLIP and RSLPD status bits give indication of a
slip occurrence and direction. A maskable interrupt
SLPI is also provided.
In a multi-trunk slave or loop-timed system (i.e., PABX
application) a single trunk will be chosen as a network
synchronizer, which will function as described in the
previous paragraph. The remaining trunks will use the
system timing derived form the synchronizer to clock
data out of their elastic buffers. Even though the PCM
30 signals from the network are synchronize to each
other, due to multiplexing, transmission impairments
and route diversity, these signals may jitter or wander
with respect to the synchronizer trunk signal. There-
fore, the E2i clocks of non-synchronizer trunks may
wander with respect to the E2i clock of the synchro-
nizer and the system bus. Network standards state
that, within limits, trunk interfaces must be able to
receive error-free data in the presence of jitter and
wander (refer to network requirements for jitter and
wander tolerance). The MT9079 will allow a minimum
of 26 channels (208 UI, unit intervals) of wander and
low frequency jitter before a frame slip will occur.
Figure 5 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 write
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 channels peak (26 channels peak-to-peak) or a
wander tolerance of 208 UI.
When control bit RDLY=1, the receive elastic buffer
becomes one frame long and the controlled slip
function is disabled. This is to allow the user to
control the receive throughput delay of the MT9079
in one of the following ways:
Write
Pointer
Read Pointer
Read Pointer
13 CH
60 CH
2 CH
Wander Tolerance
512 Bit
Elastic
Store
15 CH
47 CH
-13 CH
34 CH
28 CH
Read Pointer
Read Pointer
Figure 5 - Elastic Buffer Functional Diagram (208 UI Wander Tolerance)
4-248
MT9079
1) by programming the SOFF7-0 bits to select the
desired throughput delay, which is indicated by
the phase status word bits RxTS4-0 and
RxBC2-0.
The MT9079 framing algorithm supports automatic
interworking of interfaces with and without CRC-4
processing capabilities. That is, if an interface with
CRC-4 capability, achieves valid basic frame
alignment, but does not achieve CRC-4 multiframe
alignment by the end of a predefined period, the
distant end is considered to be a non-CRC-4
interface. When the distant end is a non-CRC-4
interface, the near end automatically suspends
receive CRC-4 functions, continues to transmit
CRC-4 data to the distant end with its E-bits set to
zero, and provides a status indication. Naturally, if
2) by controlling the position of the F0i pulse with
respect to the received time slot zero position.
The phase status word bits RxTS4-0 and
RxBC2-0 will also indicate the delay in this
application.
With RDLY=1, the elastic buffer may underflow or
overflow. This is indicated by the RSLIP and RSLPD
status bits. If RSLPD=0, the elastic buffer has
overflowed and a bit was lost; if RSLPD=1, a
the
distant
end
initially
achieves
CRC-4
synchronization, CRC-4 processing will be carried
out by both ends. This feature is selected when
control bit AUTC = 0. See Figure 6 for more details.
underflow condition occurred and
repeated.
a
bit was
Notes for Figure 6:
Framing Algorithm
1) The basic frame alignment, signalling multiframe
alignment, and CRC-4 multiframe alignment
functions operate in parallel and are independent.
The
MT9079
contains
framing
three
algorithms.
distinct,
but
These
interdependent,
algorithms are for basic frame alignment, signalling
multiframe alignment and CRC-4 multiframe
alignment. Figure 6 is a state diagram that illustrates
these functions and how they interact.
2) The receive channel associated signalling bits
and signalling multiframe alignment bit will be frozen
when multiframe alignment is lost.
3) Manual re-framing of the receive basic frame
alignment and signalling multiframe alignment
functions can be performed at any time.
After power-up the basic frame alignment framer will
search for a frame alignment signal (FAS) in the
PCM 30 receive bit stream. Once the FAS is
detected, the corresponding bit two of the non-frame
alignment signal (NFAS) is checked. If bit two of the
NFAS is zero a new search for basic frame alignment
is initiated. If bit two of the NFAS is one and the next
FAS is correct, the algorithm declares that basic
frame synchronization has been found (i.e., SYNC is
low).
4) The transmit RAI bit will be one until basic frame
alignment is established, then it will be zero.
5) E-bits can be optionally set to zero until the
equipment interworking relationship is established.
When this has been determined one of the following
will take place:
Once basic frame alignment is acquired the
signalling and CRC-4 multiframe searches will be
initiated. The signalling multiframe algorithm will
align to the first multiframe alignment signal pattern
(MFAS = 0000) it receives in the most significant
nibble of channel 16 (MFSYNC = 0). Signalling
multiframing will be lost when two consecutive
multiframes are received in error.
a) CRC-to-non-CRC operation - E-bits = 0,
b) CRC-to-CRC operation - E-bits as per G.704 and
I.431.
6) All manual re-frames and new basic frame
alignment searches start after the current frame
alignment signal position.
The CRC-4 multiframe alignment signal is a 001011
bit sequence that appears in PCM 30 bit position one
of the NFAS in frames 1, 3, 5, 7, 9 and 11 (see Table
4). In order to achieved CRC-4 synchronization two
consecutive CRC-4 multiframe alignment signals
must be received without error (CRCSYN = 0). See
Figure 6 for a more detailed description of the
framing functions.
7) After basic frame alignment has been achieved,
loss of frame alignment will occur any time three
consecutive incorrect FAS or NFAS are received.
Loss of basic frame alignment will reset the complete
framing algorithm.
4-249
MT9079
Out of synchronization
YES
NO
Search for primary basic
frame alignment signal
RAI=1, Es=0.
YES
>914 CRC errors
in one second
3 consecutive
incorrect frame
alignment
NO
Verify Bit 2 of non-frame
alignment signal.
signals
YES
NO
Verify second occurrence
of frame alignment signal.
No CRC
multiframe alignment.
8 msec. timer expired*
YES
Primary basic frame synchronization
CRC-4 multi-frame alignment
CRC-4 multi-frame alignment
acquired. Enable traffic RAI=0, E’s=0. Start
loss of primary basic frame alignment
checking. Notes 7 & 8.
Search for multiframe
alignment signal.
Start 400 msec timer.
Note 7.
Note 7.
YES
NO
Multiframe synchronization
acquired as per G.732.
Note 7.
Start 8 msec timer.
Note 7.
Basic frame
alignment acquired
NO
YES
Find two CRC frame
alignment signals.
Note 7.
No CRC
Check for two consecutive errored
multiframe alignment signals.
Notes 7 & 8.
multiframe
alignment.
8 msec.
timer expired**
CRC multiframe
alignment
CRC-to-CRC interworking. Re-align to new
basic frame alignment. Start CRC-4 processing.
E-bits set as per G.704 and I.431. Indicate
CRC synchronization achieved.
Parallel search for new basic frame
alignment signal.
Notes 6 & 7.
Notes 7& 8.
400 msec timer expired
CRC-to-non-CRC interworking. Maintain
primary basic frame alignment. Continue to
send CRC-4 data, but stop CRC processing.
E-bits set to ‘0’. Indicate CRC-to-non-CRC
operation. Note 7.
*
only if CRC-4 synchronization is selected and automatic CRC-4 interworking is de-selected.
** only if automatic CRC-4 interworking is selected.
Figure 6 - Synchronization State Diagram
4-250
MT9079
8) When CRC-4 multiframing has been achieved,
the primary basic frame alignment and resulting
multiframe alignment will be adjusted to the basic
b) Remote loopback (RxA and RxB to TxA and TxB
respectively at the PCM 30 side). Bit RLBK = 0
normal; RLBK = 1 activate.
frame alignment
determined during CRC-4
synchronization. Therefore, the primary basic frame
alignment will not be updated during the CRC-4
multiframing search, but will be updated when the
CRC-4 multiframing search is complete.
MT9079
Tx
System
PCM30
DSTo
Rx
Channel Signalling
c) ST-BUS loopback (DSTi to DSTo at the system
side). Bit SLBK = 0 normal; SLBK = 1 activate.
When control bit TxCAS is low the MT9079 is in
Channel Associated Signalling mode (CAS); when
TxCAS is high it is in Common Channel Signalling
(CCS) mode. The CAS mode ABCD signalling
nibbles can be passed either via the micro-ports
(RPSIG = 1) or through related channels of the
CSTo1 and CSTi2 serial links (RPSIG = 0), see
Figure 4. Memory page five contains the receive
ABCD nibbles and page six the transmit ABCD
nibbles for micro-port CAS access.
MT9079
Tx
DSTi
System
PCM30
DSTo
d) Payload loopback (RxA and RxB to TxA and TxB
respectively at the system side with FAS and NFAS
operating normally). Bit PLBK = 0 normal; PLBK = 1
activate. The payload loopback is effectively a
physical connection of DSTo to DSTi within the
MT9079. Channel zero and the DL originate at the
point of loopback.
In CAS operation an ABCD signalling bit debounce
of 14 msec. can be selected (DBNCE = 1). This is
consistent with the signalling recognition time of
CCITT Q.422. It should be noted that there may be
as much as 2 msec. added to this duration because
signalling equipment state changes are not
synchronous with the PCM 30 multiframe.
MT9079
DSTi
Tx
If basic frame synchronization is lost (page 3,
address 10H, SYNC = 1) all receive CAS signalling
nibbles are frozen. Receive CAS nibbles will become
unfrozen when basic frame synchronization is
acquired.
System
Rx PCM30
DSTo
e) Local and remote time slot loopback. Remote
time slot loopback control bit RTSL = 0 normal; RTSL
= 1 activate, will loop around transmit ST-BUS time
slots to the DSTo stream. Local time slot loopback
bits LTSL = 0 normal; LTSL = 1 activate, will loop
around receive PCM 30 time slots towards the
remote PCM 30 end.
When the SIGI interrupt is unmasked, IRQ will
become active when a signalling nibble state change
is detected in any of the 30 receive channels. The
SIGI interrupt mask is located on page 1, address
1CH, bit 0; and the SIGI interrupt vector (page 4,
address 12H) is 01H.
MT9079
Loopbacks
Tx
DSTi
System
PCM30
In order to meet PRI Layer 1 requirements and to
assist in circuit fault sectionalization the MT9079 has
six loopback functions. These are as follows:
DSTo
Rx
The digital, remote, ST-BUS and payload loopbacks
are located on page 1, address 15H, control bits 3 to
0. The remote and local time slot loopbacks are
controlled through control bits 4 and 5 of the per time
slot control words, pages 7 and 8.
a) Digital loopback (DSTi to DSTo at the PCM 30
side). Bit DLBK = 0 normal; DLBK = 1 activate.
MT9079
DSTi
Tx
System
PCM30
DSTo
4-251
MT9079
PCM 30 Interfacing and Encoding
Bit Error Rate Counter (BR7-BR0)
Bits 7 and 6 of page 1, address 15H (COD1-0)
determine the PCM 30 format of the PCM 30
transmit and receive signals. The RZ format
(COD1-0 = 00) can be used where the line interface
is implemented with discrete components. In this
case, the pulse width and state of TxA and TxB
directly determine the width and state of the PCM 30
pulses.
An eight bit Error Rate (BERT) counter BR7 - BR0 is
located on page 4 address 18H, and is incremented
once for every bit detected in error on either the
seven frame alignment signal bits or in a selected
channel. When a selected channel is used, the data
received in this channel will be compared with the
data of the bit error rate compare word CMP7-CMP0.
See the explanation of the CDDTC control bit of the
per time slot control words (pages 7 and 8) and the
bit error rate compare word (page 2, address 11).
NRZ format (COD1-0 = 01) is not bipolar, and
therefore, only requires a single output line and a
single input line (i.e., TxA and RxA). This signal
along with a synchronous 4, 8 or 16 MHz clock can
interface to a manchester or similar encoder to
produce a self-clocking code for a fibre optic
transducer.
There are two maskable interrupts associated with
the bit error rate measurement. BERI is initiated
when the least significant bit of the BERT counter
(BR0) toggles, and BERO in initiated when the BERT
counter value changes from FFH to 00H.
The NRZB format (default COD1-0 = 10) is used for
interfacing to monolithic Line Interface Units (LIUs).
With this format pulses are present for the full bit
cell, which allows the set-up and hold times to be
meet easily.
Errored Frame Alignment Signal Counter
(EFAS7-EFAS0)
An eight bit Frame Alignment Signal Error counter
EFAS7 - EFAS0 is located on page 4 address 1AH,
and is incremented once for every receive frame
alignment signal that contains one or more errors.
The HDB3 control bit (page 1, address 15H, bit 5)
selects either HDB3 encoding or alternate mark
inversion (AMI) encoding.
There are two maskable interrupts associated with
the frame alignment signal error measurement. FERI
is initiated when the least significant bit of the
errored frame alignment signal counter toggles, and
FERO is initiated when the counter changes from
FFH to 00H.
Performance Monitoring
MT9079 Error Counters
The MT9079 has six error counters, which can be
used for maintenance testing, an ongoing measure
of the quality of a PCM 30 link and to assist the
designer in meeting specifications such as CCITT
I.431 and G.821. In parallel microprocessor and
serial microcontroller modes, all counters can be
preset or cleared by writing to the appropriate
locations. When ST-BUS access is used, this is done
by writing the value to be loaded into the counter in
the appropriate counter load word (page 2, address
18H to 1FH). The counter is loaded with the new
value when the appropriate counter load bit is
toggled (page 2, address 15H).
Bipolar Violation Error Counter (BPV15-BPV0)
The bipolar violation error counter will count bipolar
violations or encoding errors that are not part of
HDB3 encoding. This counter BPV15-BPV0 is 16
bits long (page 4, addresses 1DH and 1CH) and is
incremented once for every BPV error received. It
should be noted that when presetting or clearing the
BPV error counter, the least significant BPV counter
address should be written to before the most
significant location.
There are two maskable interrupts associated with
the bipolar violation error measurement. BPVI is
initiated when the least significant bit of the BPV
error counter toggles. BPVO is initiated when the
counter changes from FFFFH to 0000H.
Associated with each counter is a maskable event
occurrence interrupt and
a
maskable counter
overflow interrupt. Overflow interrupts are useful
when cumulative error counts are being recorded.
For example, every time the frame error counter
overflow interrupt (FERO) occurs, 256 frame errors
have been received since the last FERO interrupt.
4-252
MT9079
CRC Error and E-bit Counters
A similar formula can be used to provide a BERT
estimation of the transmit direction by using the E-bit
error counter, EBt.
CRC-4 errors and E-bit errors are counted by the
MT9079 in order to support compliance with CCITT
requirements. These eight bit counters are located
on page 4, addresses 1FH and 1EH respectively.
They are incremented by single error events, which
is a maximum rate of twice per CRC-4 multiframe.
A more accurate BERT estimation can be done using
the Bipolar Violation Error counter. The BPV error
counter will count violations that are not due to HDB3
encoding. The formula for this is as follows:
BERT estimation = BPV Error counter value/(256 8000 T)
There are two maskable interrupts associated with
the CRC error and E-bit error measurement. CRCI
and EBI are initiated when the least significant bit of
the appropriate counter toggles, and CRCO and
EBO are initiated when the appropriate counter
changes from FFH to 00H.
*
*
where:
256 is the number of bits per basic frame.
8000 is the number of basic frames in one second.
T is the elapsed time in seconds.
G.821 Bit Error Rate Estimation
This assumes that one BPV error will be the result of
one bit error.
A G.821 BERT estimation for an E1 link can be done
with either the BERT counter, when it is associated
with the FAS, or the Errored Frame Alignment Signal
counter. It should be noted that the BERT counter
will be incremented once for every bit error found in
the FAS, and not just once for every FAS in error.
The formula for the link BERT estimation is as
follows:
RAI and Continuous CRC-4 Error Counter
When the receive Remote Alarm Indication is active
(RAI = 1 - bit 3 of the NFAS) and a receive E-bit
indicates a remote error (En = 0), the RCRC counter
will be incremented. This counter will count the
number of submultiframes that were received in error
at the remote end of a link during a time when layer
one capabilities were lost at that end. This eight bit
RCRC counter is located on page 4, addresses 19H.
BERT estimation = BERT counter value/(N F T)
*
*
where:
N is the number of bits verified (i.e., when the FAS
is used N = 7; when a channel is selected N = 8).
There are two maskable interrupts associated with
the RCRC counter. RCRI is initiated when the least
significant bit of the RCRC counter toggles, and
RCRO and EBO are initiated when the counter
changes from FFH to 00H.
F is the number of FAS or channels in one second
(i.e., when the FAS is used F= 4000, when a
channel is selected F = 8000).
T is the elapsed time in seconds.
Maintenance and Alarms
A similar formula can be used with the FAS error
counter.
Error Insertion
BERT estimation = FAS Error counter value/(7 4000 T).
*
*
Five types of error conditions can be inserted into the
transmit PCM 30 data stream through control bits,
which are located on page 2, address 10H. These
error events include the bipolar violation errors
(BPVE), CRC-4 errors (CRCE), FAS errors (FASE),
NFAS errors (NFSE), and a loss of signal condition
(LOSE). The LOSE function overrides the HDB3
encoding function.
The CRC-4 error counter can also be used for BERT
estimation. The formula for BERT estimation using
the CRC-4 error count is as follows:
BERT estimation = CEt counter value/(2048000 T)
*
where:
2048000 is the number of bits that are
received in one second.
T is the elapsed time in seconds.
4-253
MT9079
Circular Buffers
(CDW) and Detect Word Mask (CDM) mentioned
below.
The MT9079 is equipped with two 16 byte circular
receive buffers and two 16 byte circular transmit
buffers, which can be connected to any PCM 30 time
slot. Connection is made through control bits 3 to 0
of the per time slot control words on pages 7 and 8.
These buffers will transmit and receive time slot data
synchronously with the CRC-4 multiframe.
b) START - once activated, receive circular buffer 0
or 1 begins recording time-slot data and initiates an
interrupt when a user-defined eight bit pattern is
received. This user-defined bit pattern is determined
by the Code Detect Word (CDW) and Detect Word
Mask (CDM) mentioned below.
Transmit circular buffer zero is located on page 9
(TxB0.0 to TxB0.15) and transmit circular buffer one
is located on page 10 (TxB1.0 to TxB1.15).
The functionality and control of the START and
STOP interrupts is described in Table 6.
PCM 30 Time-Slot Code Insertion and Detection
The two circular 16 byte receive buffers (page 11 -
RxB0.0 to RxB0.15 and page 12 - RxB1.0 to
RxB1.15) record the data received in an associated
channel for the next 16 frames beginning with the
CRC-4 multiframe boundary. The assigned channel
data from the next multiframe will over-write the
current data until the buffer is disconnected.
Idle line codes, flags or user-defined codes can be
inserted and detected on any combination of PCM 30
time-slots. This is done as follows:
a) CIW7-0 - Code Insert Word 7 to 0 (page 1, address
17H) is an eight bit code that is transmitted on
user-defined PCM 30 time-slots. Transmit time-slots
are selected through bit 7 of the per time slot control
words (pages 7 and 8).
The STOP and START maskable interrupts extend
the normal operation of the receive buffers in the
following manner.
b) CDW7-0 - Code Detect Word 7 to 0 (page 1,
address 18H) is an eight bit code, which is compared
with the contents of user-defined PCM 30 receive
time-slots. When the contents of the selected channels
matches the CDW7-0 the DATA interrupt, if unmasked,
will be triggered. Receive time-slots are selected
a) STOP - once activated, receive circular buffer 0 or
1 records time-slot data until that data either
matches or mismatches a user-defined eight bit
pattern, then the interrupt occurs. This user-defined
bit pattern is determined by the Code Detect Word
Interrupt
Mask
Function*
(note 3)
Description (see notes 1 and 2)
STOP
(page 1,
address
STOP0
STOP1
STOP0
Circular buffer zero stops recording on a match with CDW and CDM.
Circular buffer one stops recording on a match with CDW and CDM.
1EH, bit 2)
Circular buffer zero stops recording on a mismatch with CDW and
CDM.
STOP1
Circular buffer one stops recording on a mismatch with CDW and
CDM.
START
(page 1,
address
START0
START1
START0
Circular buffer zero starts recording on a match with CDW and CDM.
Circular buffer one starts recording on a match with CDW and CDM.
1EH, bit 1)
Circular buffer zero starts recording on a mismatch with CDW and
CDM.
START1
Circular buffer one starts recording on a mismatch with CDW and
CDM.
Table 6 - START and STOP Interrupt Control
Notes:
1) The interrupt vector value associated with these interrupts is 02H (page 4, address 12H)
2) The START and STOP interrupts can be used to record the data between two pre-defined eight bit data patterns received in a
particular pattern.
3) Circular Buffer Accumulate Control Word (page 2, address 12H).
4-254
MT9079
through bit 6 of the per time slot control words (pages
7 and 8).
signal to the far end of the link. This transmission will
cease when signalling multiframe alignment is
acquired.
c) DWM7-0 - Detect Word Mask 7 to 0 (page 1,
address 19H) is an eight bit code, which determines
the bits that will be considered in the comparison
between the receive data and the Code Detect Word
(CDW7-0). If one, the bit position will be included - if
zero, the bit position will be excluded.
Interrupt
Category and
Vector
Interrupt Description
Synchronization
SYNI - Loss of Synchronization.
MFSYI - Loss of Multiframe Sync.
CSYNI - Loss of CRC-4 Sync.
RFALI - Remote CRC-4 Fail.
D7
D0
10000000
The DATA interrupt vector value is 02H located on
page 4 address 12H.
YI - Remote Multiframe Sync. Fail.
Alarm
RAII - Remote Alarm Indication.
AISI - Alarm Indication Signal.
AIS16I - AIS on Channel 16.
LOSI - Loss of Signal.
Alarms
D7
D0
01000000
The MT9079 will detect and transmit the following
alarms:
AUXPI - Auxiliary Pattern.
Counter Indication
D7 D0
00100000
EBI - Receive E-bit Error.
a) Remote Alarm Indication - bit 3 (ALM) of the receive
NFAS;
CRCI - CRC-4 Error.
CEFI - Consecutive Errored FASs.
FERI - Frame Alignment Signal Error.
BPVI - Bipolar Violation Error.
RCRI - RAI and Continuous CRC Error.
BERI - Bit Error.
b) Alarm Indication Signal - unframed all ones signal
for at least a double frame (512 bits) or two double
frames (1024 bits);
Counter Overflow
D7 D0
00010000
EBO - Receive E-bit Error.
CRCO - CRC-4 Error.
c) Channel 16 AIS - all ones signal in channel 16;
FERO - Frame Alignment Signal.
BPVO - Bipolar Violation.
RCRO - RAI and Continuous CRC Error.
BERO - Bit Error
d) Auxiliary pattern - 101010... pattern for at least 512
bits;
e) Loss of Signal - a valid loss of signal condition
occurs when there is an absence of receive PCM 30
signal for 255 contiguous pulse (bit) positions from the
last received pulse. A loss of signal condition will
terminate when an average ones density of at least
12.5% has been received over a period of 255
contiguous pulse positions starting with a pulse; and
One Second
D7 D0
1SECI - One Second Timer.
CALNI - CRC-4 Multiframe Alignment.
00001000
SLIP
SLPI - Receive Slip.
D7
D0
00000100
Maintenance
D7 D0
STOP - Stop Accumulating Data.
STRT - Start Accumulating Data.
DATA - Data Match.
00000010
f) Remote Signalling Multiframe Alarm - bit 6 (Y-bit) of
the multiframe alignment signal.
Signalling
00000001
SIGI - Receive Signalling Bit Change.
D7
D0
Automatic Alarms
Table 7 - MT9079 Interrupt Vectors (IV7-IV0)
Interrupts
The transmission of RAI and signalling multiframe
alarms can be made to function automatically from
control bits ARAI and AUTY (page 1, address 11H).
When ARAI = 0 and basic frame synchronization is
lost (SYNC = 1), the MT9079 will automatically
transmit the RAI alarm signal to the far end of the link.
The transmission of this alarm signal will cease when
basic frame alignment is acquired.
The MT9079 has an extensive suite of maskable
interrupts, which are divided into eight categories
based on the type of event that caused the interrupt.
Each interrupt category has an associated interrupt
vector described in Table 7. Therefore, when
unmasked interrupts occur, IRQ will go low and one or
more bits of the interrupt vector (page 4, address 12H)
will go high. In processor and controller modes after
When AUTY = 0 and signalling multiframe alignment is
not acquired (MFSYNC = 1), the MT9079 will
automatically transmit the multiframe alarm (Y-bit)
4-255
MT9079
the interrupt vector is read it is automatically cleared
and IRQ will return to a high impedance state. In
ST-BUS mode, as well as processor and controller
modes, this function is accomplished by toggling the
INTA bit (page 1, address 1AH.)
Interrupt Mask Word One
Bit 7
Bit 0
EBI
CRCI CEFI BPVI RCRI BERI
---
SIGI
Interrupt Mask Word Two
All the interrupts of the MT9079 are maskable. This is
accomplished through interrupt mask words zero to
four, which are located on page 1, addresses 1BH to
1EH.
Bit 7
Bit 0
EBO CRCO CALNI FERO RCRO BERO AUXPI
---
Interrupt Mask Word Three
After a MT9079 reset (RESET pin or RST control bit)
all interrupts of mask words one, two and three are
masked; and the interrupts of mask word zero are
unmasked.
Bit 7
Bit 0
MFSYI CSYNI RFALI
YI
1SEC STOP STRT DATA
All interrupts may be suspended, without changing
the interrupt mask words, by making the SPND
control bit of page 1, address 1AH high.
Interrupt Mask Word Zero
Bit 7
Bit 0
SYNI
RAII
AISI AIS16I LOSI FERI BPVO SLPI
Control and Status Registers
Address
(A4A3A2A1A0)
Register
Function
10H (Table 25)
11H (Table 26)
Multiframe, National Bit Buffer and Data
Link Selection
ASEL, MFSEL, NBTB & S - S
a4 a8
Mode Selection
TIU0, CRCM, RST, ARAI, AUTY, MODE,
CSYN & AUTC
12H (Table 27)
13H (Table 28)
14H (Table 29)
15H (Table 30)
Transmit Non-frame Alignment Signal
Transmit Multiframe Alignment Signal
ST-BUS Offset
TIU1, TALM & TNU4-8
TMA1-4, X1, Y, X2 & X3
SOFF7 - SOFF0
Coding and Loopback Control Word
COD1-0, HDB3, MFRF, DLBK, RLBK, SLBK &
PLBK
16H (Table 31)
Transmit Alarm Control
TAIS, TAIS0, TAIS16, TE, REFRM, 8KSEL,
CIWA & CDWA
17H (Table 32)
18H (Table 33)
19H (Table 34)
1AH (Table 35)
Code Insert Word
Code Detect Word
Code Detect Bit Mask
CIW7 - CIW0
CDW7 - CDW0
DWM7 - DWM0
Interrupt, Signalling and BERT Control
Word
RDLY, SPND, INTA,TxCAS, RPSIG & BFAS
1BH (Table 36)
Interrupt Mask Word Zero
SYNI, RAII, AISI, AIS16I, LOSI, FERI, BPVO
& SLPI
1CH (Table 37)
1DH (Table 38)
Interrupt Mask Word One
Interrupt Mask Word Two
EBI, CRCI, CEFI, BPVI, RCRI, BERI & SIGI
EBO, CRCO, CALNI, FERO, RCRO, BERO &
AUXPI
1EH (Table 39)
1FH
Interrupt Mask Word Three
Unused.
MFSYI, CSYNI, RFALI, YI, 1SEC, STOP,
STRT & DATA
---
Table 8 - Master Control Words (Page 1)
4-256
MT9079
Address
(A4A3A2A1A0)
Register
Function
10H (Table 40)
11H (Table 41)
12H (Table 42)
Error and Debounce Selection Word
Bit Error Rate Compare Word
BPVE, CRCE, FASE, NFSE, LOSE & DBNCE
CMP7 - CMP0
Circular Buffer Accumulate Control Word START0, START0, START1, START1,
STOP0, STOP0, STOP1 & STOP1
13H - 14H
Unused.
---
15H (Table 43)
Counter Load Control Word
LDCRC, LDEC, LDBPV, LDEF, LDRC &
LDBER
16H - 17H
Unused.
---
18H (Table 44)
19H (Table 45)
Bit Error Rate Load Word
BRLD7 - BRLD0
RAI and Continuous CRC Error Counter RCLD7 - RCLD0
Load Word
1AH (Table 46)
1BH
Errored Frame Alignment Load Word
Unused.
EFLD7 - EFLD0
---
1CH (Table 47)
Most Significant Bipolar Violation Load
Word
BPLD15 - BPLD8
1DH (Table 48)
Least Significant Bipolar Violation Load
Word
BPLD7 - BPLD0
1EH (Table 49)
1FH (Table 50)
E-bit Error Counter Load Word
CRC-4 Error Counter Load Word
ECLD7 - ECLD0
CCLD7 - CCLD0
Table 9 - Master Control Words (Page 2)
Address
(A4A3A2A1A0)
Register
Function
10H (Table 51)
Synchronization Status Word
SYNC, MFSYNC, CRCSYN, REB1, REB2,
CRCRF, PSYNC & CRCIWK
11H (Table 52)
12H (Table 53)
13H (Table 54)
14H (Table 55)
15H (Table 56)
Receive Frame Alignment Signal
Timer Status Word
RIU0 & RFA2-8
1SEC, 2SEC, CRCT, EBT, 400T, 8T & CALN
RIU1, RNFAB, RALM & RNU4-8
RMA1-4, X1, Y, X2 & X3
Receive Non-frame Alignment Signal
Receive Multiframe Alignment Signal
Most Significant Phase Status Word
RSLIP, RSLPD, AUXP, CEFS, RxFRM &
RxTS4-2
16H (Table 57)
17H - 18H
Least Significant Phase Status Word
Unused.
RxTS1-0, RxBC2-0 & RxEB2-0
---
19H (Table 58)
Alarm Status Word One
CRCS1, CRCS2, RFAIL, LOSS, AIS16S,
AISS, RAIS & RCRS
1AH - 1FH
Unused.
---
Table 10 - Master Status Words (Page 3)
4-257
MT9079
Address
(A4A3A2A1A0)
Register
Function
10H - 11H
Unused.
---
12H (Table 59)
13H - 17H
Interrupt Vector
Unused
IV7 - IV0
---
18H (Table 60)
19H (Table 61)
1AH (Table 62)
1BH
Bit Error Rate Counter
BR7 - BR0
RCRC7 - RCRC0
RAI and Continuous CRC Error Counter
Errored Frame Alignment Signal Counter EFAS7 - EFAS0
Unused.
---
1CH (Table 63)
Most Significant Bipolar Violation Error
Counter
BPV15 - BPV8
1DH (Table 64)
Least Significant Bipolar Violation Error
Counter
BPV7 - BPV0
1EH (Table 65)
1FH (Table 66)
E-bit Error Counter EBt
EC7 - EC0
CC7 - CC0
CRC-4 Error Counter CEt
Table 11 - Master Status Words (Page 4)
and Table 14 describes the function of ST-BUS time
slots 17 to 31 of CSTi2.
Per Channel Transmit Signalling (Page 5)
Table 12 describes Page 05H, addresses 10001 to
11111, which contains the Transmit Signalling Control
Words for PCM 30 channels 1 to 15 and 16 to 30.
Control of these bits is through the processor or
controller port when the RPSIG bit is high.
Bit
Name
Functional Description
7 - 4
A(n),
B(n),
C(n)
&
Transmit Signalling Bits for Channel
n. These bits are transmitted on the
PCM 30 2048 kbit/sec. link in bit
positions one to four of time slot 16 in
frame n (where n = 1 to 15), and are
the A, B, C, D signalling bits associ-
ated with channel n.
After a RESET or RST function, this page will be
deselected (CSTi2 selected). RPSIG must be made
high before the page can be programmed.
D(n)
Bit
Name
Functional Description
3 - 0
---
Unused.
A(n),
B(n),
C(n)
&
Transmit Signalling Bits for Channel
n. These bits are transmitted on the
PCM 30 2048 kbit/sec. link in bit
positions one to four of time slot 16 in
frame n (where n = 1 to 15), and are
the A, B, C, D signalling bits associ-
ated with channel n.
7 - 4
Table 13 - Transmit CAS Channels 1 to 15 (CSTi2)
D(n)
Bit
Name
Functional Description
A(n+15), Transmit Signalling Bits for Channel
B(n+15), n + 15. These bits are transmitted on
C(n+15) the PCM 30 2048 kbit/sec. link in bit
3 - 0
7 - 4
A(n+15), Transmit Signalling Bits for Channel
B(n+15), n + 15. These bits are transmitted on
C(n+15) the PCM 30 2048 kbit/sec. link in bit
&
positions five to eight of time slot 16
&
positions five to eight of time slot 16
D(n+15) in frame n (where n = 1 to 15), and
are the A, B, C, D signalling bits
associated with channel n + 15.
D(n+15) in frame n (where n = 1 to 15), and
are the A, B, C, D signalling bits
associated with channel n + 15.
Table 12 - Transmit Channel Associated Signalling
(Page 5)
3 - 0
---
Unused.
Table 14 - Transmit CAS Channels 16 to 30 (CSTi2)
Serial per channel transmit signalling control through
CSTi2 is selected when RPSIG is low. Table 13
describes the function of ST-BUS time slots 1 to 15,
4-258
MT9079
Per Channel Receive Signalling (Page 6)
Per Time Slot Control Words (Pages 7 and 8)
Page 06H, addresses 10001 to 11111 contain the
Receive Signalling Control Words for PCM 30
channels 1 to 15 and 16 to 30.
The control functions described by Table 18 are
repeated for each ST-BUS time slot. When ST-BUS
access is selected, the programmed CSTi1 time slot
corresponds to the controlled ST-BUS or PCM 30
time slot. It should be noted that the two receive and
two transmit circular buffers are not accessible in
ST-BUS mode.
Bit
Name
Functional Description
7 - 4
A(n),
B(n),
C(n)
&
Receive Signalling Bits for Channel
n. These bits are received on the
PCM 30 2048 kbit/sec. link in bit
positions one to four of time slot 16 in
frame n (where n = 1 to 15), and are
the A, B, C, D signalling bits associ-
ated with channel n.
In processor and controller modes, pages 7 and 8
contain the 32 per time slot control words. Page 7
addresses 10000 to 11111 correspond to time slots 0
to 15, while page 8 addresses 10000 to 11111
correspond to time slots 16 to 31. These control bits
are not cleared by the RESET or RST reset
functions.
D(n)
3 - 0
A(n+15), Receive Signalling Bits for Channel n
B(n+15), + 15. These bits are received on the
C(n+15) PCM 30 2048 kbit/sec. link in bit
&
positions five to eight of time slot 16
D(n+15) in frame n (where n = 1 to 15), and
are the A, B, C, D signalling bits
associated with channel n + 15.
Bit
Name
Functional Description
7
CDIN
Code Insert Activation. If one, the
data of CIW7-0 is transmitted in the
corresponding PCM 30 time slot. If
zero, the data on DSTi is transmitted
on the corresponding PCM 30 time
slot.
Table 15 - Receive Channel Associated Signalling
(Page 6)
Serial per channel receive signalling status bits
appear on ST-BUS stream CSTo1. Table 16
describes the function of ST-BUS time slots 1 to 15,
and Table 17 describes the function of ST-BUS time
slots 17 to 31 of CSTo1.
6
CDDTC Code Detect Activation. If one, the
data received on the corresponding
PCM 30 time slot is compared with
the unmasked bits of the code detect
word. When the DATA interrupt is
unmasked and this positive match is
made, an interrupt will be initiated. If
zero, the data is not be compared to
the unmasked bits of the code detect
word.
Bit
Name
Functional Description
7 - 4
A(n),
B(n),
C(n)
&
Receive Signalling Bits for Channel
n. These bits are received on the
PCM 30 2048 kbit/sec. link in bit
positions one to eight of time slot 16
in frame n (where n = 1 to 15), and
are the A, B, C, D signalling bits
associated with channel n.
D(n)
5
4
RTSL
Remote Time Slot Loopback. If one,
the corresponding PCM 30 receive
time slot is looped to the correspond-
ing PCM 30 transmit time slot. This
received time slot will also be present
on DSTo. An ST-BUS offset may
force a single frame delay. If zero, the
loopback is disabled.
3 - 0
---
Unused - high output level.
Table 16 - Receive CAS Channels 1 to 15 (CSTo1)
Bit
Name
Functional Description
LTSL
Local Time Slot Loopback. If one, the
corresponding transmit time slot is
looped to the corresponding receive
time slot. This transmit time slot will
also be present on the transmit PCM
30 stream. An ST-BUS offset may
force a single frame delay. If zero,
this loopback is disabled.
7 - 4
A(n+15), Receive Signalling Bits for Channel n
B(n+15), + 15. These bits are received on the
C(n+15) PCM 30 2048 kbit/sec. link in bit
&
positions five to eight of time slot 16
D(n+15) in frame n (where n = 1 to 15), and
are the A, B, C, D signalling bits
associated with channel n + 15.
3 - 0
---
Unused - high output level.
Table 18 - Per Time Slot Control Words
(Pages 7 and 8) (continued)
Table 17 - Receive CAS Channels 17 to 31 (CSTo1)
4-259
MT9079
.
Bit
Name
Functional Description
Bit
Name
Functional Description
3
TBUF0
TBUF1
RBUF0
RBUF1
Transmit Buffer Zero Connect. If one,
the contents of the transmit circular
buffer zero will be transmitted in the
corresponding time slot beginning at
the next multiframe boundary. If zero,
circular buffer zero is not connected
to this time slot. This buffer is acces-
sible only in processor and controller
modes.
7 - 0 TxB0.n .7 - Transmit Bits 7 to 0. This byte is
transmitted on a time slot selected by
TxB0.n .0
the TBUF0 bit of the appropriate per
time slot control word. n = 0 to 15 and
represents a byte position in Trans-
mit Circular Buffer zero (TxB0).
Table 19 - Transmit Circular Buffer Zero (Page 9)
Page 0AH, addresses 10000 to 11111 contain the 16
bytes of transmit circular buffer one (TxB1.0 to
TxB1.15 respectively). This feature is functional only
in processor and controller modes.
2
1
0
Transmit Buffer One Connect. If one,
the contents of the transmit circular
buffer one will be transmitted in the
corresponding time slot beginning at
the next multiframe boundary. If zero,
circular buffer one is not connected
to this time slot. This buffer is acces-
sible only in processor and controller
modes.
Bit
Name
Functional Description
7 - 0 TxB1.n .7 - Transmit Bits 7 to 0. This byte is
transmitted on a time slot selected by
the TBUF1 bit of the appropriate per
time slot control word. n = 0 to 15 and
represents a byte position in Trans-
mit Circular Buffer zero (TxB1).
TxB1.n .0
Receive Buffer Zero Connect. If one,
the data of the corresponding receive
time slot will be recorded in receive
circular buffer zero beginning at the
next multiframe boundary. If zero, cir-
cular buffer zero is not connected to
this time slot. This buffer is accessi-
ble only in processor and controller
modes.
Table 20 - Transmit Circular Buffer One (Page A)
Receive Circular Buffers One and Zero (Pages B
and C)
Receive Buffer One Connect. If one,
the data of the corresponding receive
time slot will be recorded in receive
circular buffer one beginning at the
next multiframe boundary. If zero, cir-
cular buffer one will not connected to
this time slot. This buffer is accessi-
ble only in processor and controller
modes.
Page 0BH, addresses 10000 to 11111 contain the 16
bytes of receive circular buffer zero (RxB0.0 to
RxB0.15 respectively). This feature is functional only
in processor and controller modes.
Bit
Name
Functional Description
7 - 0
RxB0.n .7 Receive Bits 7 to 0. This byte is
Table 18 - Per Time Slot Control Words
(Pages 7 and 8) (continued)
-
received from a time slot selected by
the RBUF0 bit of the appropriate per
time slot control words. n = 0 to 15
and represents a byte position in
receive circular buffer zero (RxB0).
RxB0.n .0
Transmit Circular Buffers One and Zero (Pages 9
and A)
Table 21 - Receive Circular Buffer Zero (Page B)
Page 09H, addresses 10000 to 11111 contain the 16
bytes of transmit circular buffer zero (TxB0.0 to
TxB0.15 respectively). This feature is functional only
in processor and controller modes.
Page 0CH, addresses 10000 to 11111 contain the 16
bytes of receive circular buffer one (RxB1.0 to
RxB1.15 respectively). This feature is functional only
in processor and controller modes.
The transmit circular buffers are not cleared by the
RST function, nor are they cleared by the RESET
function.
Bit
Name
Functional Description
7 - 0
RxB1.n .7 Receive Bits 7 to 0. This byte is
-
received from a time slot selected by
the RBUF1 bit of the appropriate per
time slot control words. n = 0 to 15
and represents a byte position in
receive circular buffer one (RxB1).
RxB1.n .0
Table 22 - Receive Circular Buffer One (Page C)
4-260
MT9079
Transmit National Bit Buffer (Page D)
Control Page 1
Page 0DH, addresses 10000 to 10100 contain the
five bytes of the transmit national bit buffer (TNBB0 -
TNBB4 respectively). This feature is functional only
in processor and controller modes when control bit
NBTB=1.
Tables 25 to 39 describe the bit functions of the page
1 control registers. ( ) in the “Name” column of these
tables indicates the state of the control bit after a
RESET or RST function.
Bit
Name
Functional Description
The transmit national bit buffer is not cleared by the
RST function, but is cleared by the RESET function.
7
ASEL
(0)
AIS Select. This bit selects the crite-
ria on which the detection of a valid
Alarm Indication Signal (AIS) is
based. If zero, the criteria is less than
three zeros in a two frame period
(512 bits). If one, the criteria is less
than three zeros in each of two con-
secutive double-frame periods (512
bits per double-frame).
Bit
Name
Functional Description
Bits Frames 1 to 15.
7 - 0 TNBBn .F1 Transmit S
an+4
-
This byte contains the bits
transmitted in bit position n+4 of
channel zero of frames 1, 3, 5, 7, 9,
11, 13 and 15 when CRC-4
multiframe alignment is used, or of
consecutive odd frames when
CRC-4 multiframe alignment is not
used. n = 0 to 4 inclusive and
corresponds to a byte of the receive
national bit buffer.
TNBBn.F15
6
MFSEL
(0)
Multiframe Select. This bit deter-
mines which receive multiframe sig-
nal (CRC-4 or signalling) the RxMF
signal is aligned with. If zero, RxMF
is aligned with the receive signalling
multiframe. If one, the RxMF is
aligned with the receive CRC-4 multi-
frame.
Table 23 - Transmit National Bit Buffer Bytes Zero
to Four (Page D)
5
NBTB
(0)
National Bit Transmit Buffer. When
one, the transmit NFAS signal origi-
nates from the transmit national bit
buffer; when zero, the transmit NFAS
signal originates from the TNU4-8
bits of page 1, address 12H.
Receive National Bit Buffer (Page E)
Page 0EH, addresses 10000 to 10100 contain the
five bytes of the receive national bit buffer (RNBB0 -
RNBB4 respectively). This feature is functional only
in processor and controller modes.
4 - 0
Sa4 - Sa8
(00000)
A
one selects the bits of the
non-frame alignment signal for a 4
kbits/sec. data link channel. Data link
(DL) selection will function in termina-
tion mode only; in transparent mode
Sa4 is automatically selected - see
MODE control bit of page 1, address
11H. If zero, the corresponding bits of
transmit non-frame alignment signal
are programmed by the non-frame
alignment control word.
Bit
Name
Functional Description
Bits Frames 1 to 15.
7 - 0 RNBBn .F1 Receive S
an+4
-
This byte contains the bits received
in bit position n+4 of channel zero of
frames 1, 3, 5, 7, 9, 11, 13 and 15
when CRC-4 multiframe alignment
is used, or of consecutive odd
frames when CRC-4 multiframe
alignment is not used. n = 0 to 4
inclusive and corresponds to a byte
of the receive national bit buffer.
RNBBn.F15
Table 25 - Multiframe, National Bit Buffer and DL
Selection Word
(Page 1, Address 10H)
Table 24 - Receive National Bit Buffer Bytes Zero to
Four (Page E)
4-261
MT9079
Bit
Name
Functional Description
Bit
Name
Functional Description
7
TIU0
(0)
Transmit International Use Zero.
When CRC-4 operation is disabled,
this bit is transmitted on the PCM 30
2048 kbit/sec. link in bit position one
of time-slot zero of frame-alignment
frames. It is reserved for international
use and should normally be kept at
one. If CRC processing is used, this
bit is ignored.
7
TIU1
(1)
Transmit International Use One.
When CRC-4 synchronization is dis-
abled, and TxB0 and TxB1 are not
connected to channel zero, this bit is
transmitted on the PCM 30 2048
kbit/sec. link in bit position one of
time slot zero of non-frame alignment
frames (international use bit). If
CRC-4 synchronization is enabled or
TxB0 or TxB1 are connected to time
slot zero, this bit is ignored.
6
CRCM
(0)
CRC-4 Modification. If one, activates
the CRC-4 remainder modification
function when the device is in trans-
parent mode. The received CRC-4
remainder is modified to reflect only
the changes in the transmit DL. If
zero, time slot zero data from DSTi
will not be modified in transparent
mode.
6
5
---
Unused.
TALM
(0)
Transmit Alarm. This bit is transmit-
ted on the PCM 30 2048 kbit/sec. link
in bit position three of time slot zero
of non-frame alignment frames. It is
used to signal an alarm to the remote
end of the PCM 30 link (one - alarm,
zero - normal). This control bit is
ignored when ARAI is zero (page 1,
address 11H).
5
4
RST
(0)*
Reset. When this bit is changed from
low to high the MT9079 will reset to
its default mode. See the Reset
Operation section.
4 - 0
TNU4-8
(11111)
Transmit National Use Four to Eight.
These bits are transmitted on the
PCM 30 2048 kbit/sec. link in bit posi-
tions four to eight of time slot zero of
non-frame alignment frame. See Sa4
- Sa8 control bits of the DL selection
word (page 1, address 10H).
ARAI
(0)
Automatic RAI Operation. If zero, the
Remote Alarm Indication bit will func-
tion automatically. That is, RAI = 0
when basic synchronization has been
acquired, and RAI = 1 when basic
synchronization
has
not
been
acquired. If one, the remote alarm
indication bit is controlled through the
TALM bit of the transmit non-frame
alignment control word.
Table 27 - TNFA Control Word
(Page 1, Address 12H)
3
AUTY
(0)
Automatic Y-Bit Operation. If zero,
the Y-bit of the transmit multiframe
alignment signal will report the multi-
frame alignment status to the far end
* Not affected by the RST function - the state shown in ( ) can
be achieved by using the RESET function.
i.e., zero
- multiframe alignment
acquired, one - lost. If one, the Y-bit is
under the manual control of the trans-
mit multiframe alignment control
word.
2
1
MODE
(0)
Transmit Mode. If one, the MT9079 is
in transparent mode. If zero, it is in
termination mode.
CSYN
(0)
CRC-4 Synchronization. If zero, basic
CRC-4 synchronization processing is
activated, and TIU0 bit and TIU1 bit
(frames 13 and 15) programming will
be overwritten. If one, CSYN is dis-
abled, the transmit CRC bits are pro-
grammed by TIU0 and the transmit E-
bits are programmed by either TxB0,
TxB1 or TIU1.
0
AUTC
(0)
Automatic CRC-interworking. If zero,
automatic CRC-interworking is acti-
vated. If one, it is deactivated. See
Framing Algorithm section.
Table 26 - Mode Selection Control Word
(Page 1, Address 11H)
4-262
MT9079
Bit
Name
Functional Description
Bit
Name
Functional Description
7 - 4
TMA1-4
(0000)
Transmit Multiframe Alignment Bits
One to Four. These bits are transmit-
ted on the PCM 30 2048 kbit/sec. link
in bit positions one to four of time slot
16 of frame zero of every signalling
multiframe. These bits are used by
the far end to identify specific frames
of a signalling multiframe. TMA1-4 =
0000 for normal operation.
7 - 6
COD1-0
(1 0)*
These two coding select bits deter-
mine the transmit and receive coding
options as follows:
Bits
Function
00 RZ (Return to Zero)
01 NRZ (Non-return to Zero)
10 NRZB (Non-return to Zero Bipolar)
11 no function
5
4
HDB3
(0)*
High Density Bipolar 3 Selection. If
zero, HDB3 encoding is enabled in
the transmit direction. If one, AMI
without HDB3 encoding is transmit-
ted. HDB3 is always decoded in the
receive direction.
3
2
X1
(1)
This bit is transmitted on the PCM 30
2048 kbit/sec. link in bit position five
of time slot 16 of frame zero of every
multiframe. This bit is normally set to
one.
Y
(1)
This bit is transmitted on the PCM 30
2048 kbit/sec. link in bit position six
of time slot 16 of frame zero of every
multiframe. It is used to indicate the
loss of multiframe alignment to the
remote end of the link. If one - loss of
multiframe alignment; if zero - multi-
frame alignment acquired. This bit is
ignored when AUTY is zero (page 1,
address 11H).
MFRF
(0)*
Multiframe Reframe. If set, for at
least one frame, and then cleared the
MT9079 will initiate a search for a
new signalling multiframe position.
This function is activated on the
one-to-zero transition of the MFRF
bit.
3
2
DLBK
(0)
Digital Loopback. If one, then all time
slots of DSTi are connected to DSTo
on the PCM 30 side of the MT9079. If
zero, this feature is disabled. See
Loopbacks section.
1 - 0
X2, X3
(1 1)
These bits are transmitted on the
PCM 30 2048 kbit/sec. link in bit
positions seven and eight respec-
tively, of time slot 16 of frame zero of
every multiframe. These bit are nor-
mally set to one.
RLBK
(0)
Remote Loopback. If one, then all
time slots received on RxA/RxB are
connected to TxA/TxB on the PCM
30 side of the MT9079. If zero, then
this feature is disabled. See Loop-
backs section.
Table 28 - Transmit MF Alignment Signal
(Page 1, Address 13H)
1
0
SLBK
(0)
ST-BUS Loopback. If one, then all
time slots of DSTi are connected to
DSTo on the ST-BUS side of the
MT9079. If zero, then this feature is
disabled. See Loopbacks section.
Bit
Name
Functional Description
7 - 0
SOFF7
-
SOFF0
(00H)*
ST-BUS Offset Control. This register
controls the offset, in bits, between
the input and output ST-BUS control
and data streams. The input streams
are always aligned with F0i and the
output streams may be delayed by as
much as 255 bits.
PLBK
(0)
Payload Loopback. If one, then all
time slots received on RxA/RxB are
connected to TxA/TxB on the
ST-BUS side of the MT9079 (this
excludes time slot zero). If zero, then
this feature is disabled. See Loop-
backs section.
Table 29 - ST-BUS Offset Control Word
(Page 1, Address 14H)
Table 30 - Coding and Loopback Control Word
(Page 1, Address 15H)
* Not affected by the RST function - the state shown in ( ) can be achieved by using the RESET function.
4-263
MT9079
Bit
Name
Functional Description
Bit
Name
Functional Description
7
TAIS
(0)
Transmit Alarm Indication Signal. If
one, an all ones signal is transmitted
in all time slots except zero and 16. If
zero, these time slots function nor-
mally.
7 - 0
CIW7
-
CIW0
(00H)
Code Insert Word 7 to 0. CIW7 is the
most significant bit and CIW0 is the
least significant bit of a code word
that can be transmitted continuously
on any combination of time slots. The
time slots which have data replaced
by CIW7 to CIW0 are determined by
the CDIN bit of the per time slot con-
trol word.
6
5
4
TAIS0
(0)
Transmit Alarm Indication Signal
Zero. If one, an all ones signal is
transmitted in time slot zero. If zero,
time slot zero functions normally.
Table 32 - Code Insert Word
(Page 1, Address 17H)
TAIS16
(0)
Transmit Alarm Indication Signal 16.
If one, an all ones signal is transmit-
ted in time slot 16. If zero, time slot
functions normally.
Bit
Name
Functional Description
TE
(0)
Transmit E bits. When CRC-4 syn-
chronization is achieved, the E-bits
transmit the received CRC-4 compar-
ison results to the distant end of the
link, as per G.704. When zero and
CRC-4 synchronization is lost, the
transmit E-bits will be zero (NT appli-
cation). If one and CRC-4 synchroni-
zation is lost, the transmit E-bits will
be one (TE application).
7 - 0
CDW7
-
CDW0
(00H)
Code Detect Word 7 to 0. CDW7 is
the most significant bit and CDW0 is
the least significant bit of a bit pattern
that is compared with bit patterns of
selected receive time slots. Time
slots are selected for comparison by
the CDDTC bit of the per time slot
control word. If a match is found a
maskable interrupt (Data) can be ini-
tiated.
3
REFRM
(0)
Reframe. If one, for at least one
frame, and then cleared the device
will initiate a search for a new basic
frame position. This function is acti-
vated on the one-to-zero transition of
the REFRM bit.
Table 33 - Code Detect Word
(Page 1, Address 18H)
Bit
Name
Functional Description
2
1
8KSEL
(0)
8 kHz Select. If one, an 8 KHz signal
synchronized to the received 2048
kbit/sec. signal is output on pin E8Ko.
If zero, then E8Ko will be high.
7 - 0
DWM7
-
DWM0
(00H)
Detect Word Mask. If one, the corre-
sponding bit position is considered in
the comparison between the receive
code detect word (CDW) bits and the
selected receive time slot bit pattern.
If zero, the corresponding bit is
excluded from the comparison.
CIWA
(0)
Code Insert Word Activate. If one,
the bit pattern defined by the Code
Insert Word is inserted in the transmit
time slots defined by the per time slot
time slot words. If zero, then this fea-
ture is de-activated.
Table 34 - Receive Code Detect Bit Mask
(Address 19H)
0
CDWA
(0)
Code Detect Word Activate.
A
zero-to-one transition will arm the
CDWA function. Once armed the
device will search the time slots
defined by the per time slot control
word for a match with the bit pattern
defined by the code detect word.
After a match is found the CDWA
function must be rearmed before fur-
ther word detections can be made. If
zero, this feature is de-activated.
Table 31 - Transmit Alarm Control Word
(Page 1, Address 16H)
4-264
MT9079
Bit
Name
Functional Description
Bit
Name
Functional Description
7
RDLY
(0)
Receive Delay. If one, the receive
elastic buffer will be one frame in
length and controlled frame slips will
not occur. The RSLIP and RSLPD
status bit will indicate a buffer under-
flow or overflow. If zero, the two
frame receive elastic buffer and con-
trolled slip functions are activated.
7
SYNI
(0)
Synchronization Interrupt. When
unmasked an interrupt is initiated
when a loss of basic frame synchro-
nization condition exists. If
0 -
unmasked, 1 - masked. Interrupt vec-
tor = 10000000.
6
5
4
3
2
RAII
(0)
Remote Alarm Indication Interrupt.
When unmasked a received RAI will
initiate an interrupt. If 0 - unmasked,
6
5
SPND
(0)
Suspend Interrupts. If one, the IRQ
output will be in a high-impedance
state and all interrupts will be
ignored. If zero, the IRQ output will
function normally.
1
-
masked.
Interrupt vector
=
01000000.
AISI
(0)
Alarm Indication Signal Interrupt.
When unmasked a received AIS will
initiate an interrupt. If 0 - unmasked,
INTA
(0)
Interrupt
Acknowledge.
A
zero-to-one or one-to-zero transition
will clear any pending interrupt and
make IRQ high. All interrupts must be
cleared with this bit when ST-BUS
access mode is used.
1
-
masked.
Interrupt vector
=
01000000.
AIS16I
(0)
Channel 16 Alarm Indication Signal
Interrupt. When unmasked
a
received AIS16 will initiate an inter-
rupt. If 0 - unmasked, 1 - masked.
Interrupt vector = 01000000.
4
3
TxCAS
(0)
Transmit Channel Associated Signal-
ling. If zero, the transmit section of
the device is in CAS mode. If one, it
is in common channel signalling
mode.
LOSI
(0)
Loss of Signal Interrupt. When
unmasked an interrupt is initiated
when
a loss of signal condition
RPSIG
(0)
Register Programmed Signalling. If
one, the transmit CAS signalling will
be controlled by programming page
5. If zero, the transmit CAS signalling
will be controlled through the CSTi2
stream. This bit has no function in
ST-BUS mode.
exists. If 0 - unmasked, 1 - masked.
Interrupt vector = 01000000.
FERI
(0)
Frame
Error
Interrupt.
When
unmasked an interrupt is initiated
when an error in the frame alignment
signal occurs. If 0 - unmasked, 1 -
masked.
Interrupt
vector
=
=
2
BFAS
(0)
Bit Error Count on Frame Alignment
Signal. If zero, individual errors in bits
2 to 8 of the receive FAS will incre-
ment the Bit Error Rate Counter
(BERC). If one, bit errors in the com-
parison between receive circular
buffer one and the bit error rate com-
pare word will be counted.
00100000.
1
0
BPVO
(0)
Bipolar Violation Counter Overflow
Interrupt. When unmasked an inter-
rupt is initiated when the bipolar vio-
lation error counter changes form
FFFFH to 0H. If 0 - unmasked, 1 -
masked.
00010000.
Interrupt
vector
1 - 0
---
Unused.
SLPI
(0)
SLIP Interrupt. When unmasked an
interrupt is initiated when a controlled
frame slip occurs. If 0 - unmasked, 1
Table 35 - Interrupt, Signalling and BERT Control
Word
(Page 1, Address 1AH)
-
masked. Interrupt vector
=
00000100.
Table 36 - Interrupt Mask Word Zero
(Page 1, Address 1BH
4-265
MT9079
Bit
Name
Functional Description
Bit
Name
Functional Description
7
EBI
(0)
Receive E-bit Interrupt. When
unmasked an interrupt is initiated
when a receive E-bit indicates a
remote CRC-4 error. 1 - unmasked, 0
7
EBO
(0)
Receive E-bit Counter Overflow
Interrupt. When unmasked an inter-
rupt is initiated when the E-bit error
counter changes form FFH to 0H. 1 -
unmasked, 0 - masked. Interrupt vec-
tor = 00010000.
-
masked. Interrupt vector
=
00100000.
6
5
CRCI
(0)
CRC-4
Error
Interrupt.
When
6
5
4
CRCO
(0)
CRC-4 Error Counter Overflow Inter-
rupt. When unmasked an interrupt is
unmasked an interrupt is initiated
when a local CRC-4 error occurs. 1 -
unmasked, 0 - masked. Interrupt vec-
tor = 00100000.
initiated when the
CRC-4 error
counter changes form FFH to 0H. 1 -
unmasked, 0 - masked. Interrupt vec-
tor = 00010000.
CEFI
(0)
Consecutively Errored FASs Inter-
rupt. When unmasked an interrupt is
initiated when two consecutive
errored frame alignment signals are
received. 1 - unmasked, 0 - masked.
Interrupt vector = 00100000.
CALNI
(0)
CRC-4 Alignment Interrupt. When
unmasked an interrupt is initiated
when the CALN status bit of page 3,
address 12H changes state. 1 -
unmasked, 0 - masked. Interrupt vec-
tor = 00001000.
4
3
BPVI
(0)
Bipolar Violation Interrupt. When
unmasked an interrupt is initiated
when a bipolar violation error occurs.
1 - unmasked, 0 - masked. Interrupt
vector = 00100000.
FERO
(0)
Frame Alignment Signal Error
Counter Overflow Interrupt. When
unmasked an interrupt is initiated
when the frame alignment signal
error counter changes form FFH to
0H. 1 - unmasked, 0 - masked. Inter-
rupt vector = 00010000.
RCRI
(0)
RAI and Continuous CRC Error Inter-
rupt. When unmasked an interrupt is
initiated when the RAI and continu-
ous CRC error counter is incre-
mented. 1 - unmasked, 0 - masked.
Interrupt vector = 00100000.
3
RCRO
(0)
RAI and Continuous CRC-4 Error
Counter Overflow Interrupt. When
unmasked an interrupt is initiated
when the RAI and Continuous error
counter changes form FFH to 0H. 1 -
unmasked, 0 - masked. Interrupt vec-
tor = 00010000.
2
BERI
(0)
Bit Error Interrupt. When unmasked
an interrupt is initiated when a bit
error occurs. 1 - unmasked, 0 -
masked.
Interrupt
vector
=
00100000.
2
1
0
BERO
(0)
Bit Error Counter Overflow Interrupt.
When unmasked an interrupt is initi-
ated when the bit error counter
1
0
---
Unused.
changes form
FFH to 0H. 1 -
SIGI
(0)
Signalling (CAS) Interrupt. When
unmasked and any of the receive
ABCD bits of any channel changes
state an interrupt is initiated. 1 -
unmasked, 0 - masked. Interrupt vec-
tor = 00000001
unmasked, 0 - masked. Interrupt vec-
tor = 00010000.
AUXPI
(0)
Auxiliary Pattern Interrupt. When
unmasked an interrupt is initiated
when the AUXP status bit of page 3,
address 15H goes high.
1
-
Table 37 - Interrupt Mask Word One
(Page 1, Address 1CH)
unmasked, 0 - masked. Interrupt vec-
tor = 01000000.
---
Unused.
Table 38 - Interrupt Mask Word Two
(Page 1, Address 1DH)
4-266
MT9079
Control Page 2
Bit
Name
Functional Description
7
MFSYI
(0)
Multiframe Synchronization Inter-
rupt. When unmasked an interrupt is
initiated when multiframe synchroni-
zation is lost. 1 - unmasked, 0 -
Tables 40 to 50 describe the bit functions of the page
2 control registers. ( ) in the “Name” column of these
tables indicates the state of the control bit after a
RESET or RST function.
masked.
10000000.
Interrupt
vector
=
6
5
CSYNI
(0)
CRC-4 Multiframe Alignment. When
unmasked an interrupt is initiated
when CRC-4 multiframe synchroni-
zation is lost. 1 - unmasked, 0 -
Bit
Name
Functional Description
7
BPVE Bipolar Violation Error Insertion.
(0) zero-to-one transition of this inserts a
A
masked.
Interrupt
vector
=
10000000.
single bipolar violation error into the
transmit PCM 30 data. A one, zero or
one-to-zero transition has no function.
RFALI
(0)
Remote Failure Interrupt. When
unmasked an interrupt is initiated
when the near end detects a failure
of the remote end CRC-4 process
based on the receive E-bit error
count. See the RFAIL status bit
description of page 3, address 19H. 1
- unmasked, 0 - masked. Interrupt
vector = 10000000.
6
5
CRCE CRC-4 Error Insertion. A zero-to-one
(0)
transition of this bit inserts a single
CRC-4 error into the transmit PCM 30
data. A one, zero or one-to-zero transi-
tion has no function.
FASE Frame Alignment Signal Error Insertion.
(0)
A zero-to-one transition of this bit inserts
a single error into the time slot zero
frame alignment signal of the transmit
4
YI
(0)
Remote Multiframe Loss Interrupt.
When unmasked an interrupt is initi-
ated when a remote multiframe alarm
signal is received. 1 - unmasked, 0 -
PCM 30 data.
A
one, zero or
one-to-zero transition has no function.
masked.
Interrupt
vector
=
4
3
NFSE Non-frame Alignment Signal Error Inser-
(0)
10000000.
tion. A zero-to-one transition of this bit
inserts a single error into bit two of the
time slot zero non-frame alignment sig-
nal of the transmit PCM 30 data. A one,
zero or one-to-zero transition has no
function.
3
2
1SECI
(0)
One
Second
Status. When
unmasked an interrupt is initiated
when the 1SEC status bit changes
state. 1 - unmasked, 0 - masked.
Interrupt vector = 00001000.
STOP
(0)
Stop Interrupt. When unmasked an
interrupt is initiated when either
STOP0, STOP1, STOP0 or STOP1 is
high and a match or a mismatch
between the received data, and the
data in the code detect word (CDW)
and detect word mask (DWM). 1 -
unmasked, 0 - masked. Interrupt vec-
tor = 00000010.
LOSE Loss of Signal Error Insertion. If one, the
(0)
MT9079 transmits an all zeros signal
(no pulses) in every PCM 30 time slot.
When HDB3 encoding is activated no
violations are transmitted. If zero, data is
transmitted normally.
2 - 1
0
---
Unused.
DBNCE Debounce Select. This bit selects the
(0)
debounce period (1 for 14 msec.; 0 for
no debounce). Note: there may be as
much as 2 msec. added to this duration
because the state change of the signal-
ling equipment is not synchronous with
the PCM 30 signalling multiframe.
1
STRT
(0)
Start Interrupt. When unmasked an
interrupt is initiated when either
START0, START1, START0 or
START1 is high and a match or a
mismatch is made between the
received data, and the data in the
code detect word (CDW) and detect
word mask (DWM). 1 - unmasked, 0 -
Table 40 - Error and Debounce Selection Word
(Page 2, Address 10H)
masked.
00000010.
Interrupt
vector
=
Bit
Name
Functional Description
0
DATA
(0)
Data Interrupt. When unmasked an
interrupt is initiated when the data
received in selected time slots (per
time slot control words) matches the
data in the code detect word (CDW).
1 - unmasked, 0 - masked. Interrupt
vector = 00000010.
7 - 0
CMP7 Bit Error Rate Compare Word 7 to 0.
CMP7 is the most significant bit and
-
CMP0 CMP0 is the least significant bit of a bit
(00H) pattern that is compared with the data of
the selected receive circular buffer one.
When individual bit mismatches are
detected the Bit Error Rate Counter
(BERC) is incremented.
Table 39 - Interrupt Mask Word Three
(Page 1, Address 1EH)
Table 41 - Bit Error Rate Compare Word
(Page 2, Address 11H)
4-267
MT9079
Bit
Name
Functional Description
Unused.
Bit
Name
Functional Description
7 - 6
5
---
7
START0 Start Receive Circular Buffer Zero. If
(0)
one, circular buffer zero will start to
accumulate data when a mismatch is
made between the selected received
data and the data of the code detect
word. If zero, this feature is disabled.
LDCRC
(0)
CRC-4 Error Load Word. Data is
loaded into the CRC-4 Error counter
when this bit is changed from low to
high.
4
3
2
1
LDEC
(0)
E-bit Error Load Word. Data is
loaded into the E-bit Error counter
when this bit is changed from low to
high.
6
START0 Start Receive Circular Buffer Zero. If
(0)
one, circular buffer zero will start to
accumulate data when a positive
match is made between the selected
received data and the data of the
code detect word. If zero, this feature
is disabled.
LDBPV
(0)
Bipolar Violation Load Word. Data is
loaded into the Bipolar Violation
counter when this bit is changed from
low to high.
5
4
START1 Start Receive Circular Buffer One. If
(0)
one, circular buffer one will start to
accumulate data when a mismatch is
made between the selected received
data and the data of the code detect
word. If zero, this feature is disabled.
LDEF
(0)
Errored Frame Alignment Load
Word. Data is loaded into the Errored
Frame Alignment counter when this
bit is changed from low to high.
START1 Start Receive Circular Buffer One. If
LDRC
(0)
RAI and Continuous CRC Error Load
Word. Data is loaded into the RAI
and Continuous CRC Error counter
when this bit is changed from low to
high.
(0)
one, circular buffer one will start to
accumulate data when a positive
match is made between the selected
received data and the data of the
code detect word. If zero, this feature
is disabled.
0
LDBER
(0)
Bit Error Rate Load Word. Data is
loaded into the eight bit BER counter
when this bit is changed from low to
high.
3
2
1
0
STOP0
(0)
Stop Receive Circular Buffer Zero. If
one, circular buffer zero will stop
accumulating data when a mismatch
is made between the selected
received data and the data of the
code detect word. If zero, this feature
is disabled.
Table 43 - Counter Load Control Word
(Page 2, Address 15H)
(Valid in ST-BUS mode only)
STOP0
(0)
Stop Receive Circular Buffer Zero. If
one, circular buffer zero will stop
accumulating data when a positive
match is made between the selected
received data and the data of the
code detect word. If zero, this feature
is disabled.
Bit
Name
Functional Description
7 - 0
BRLD7
-
BRLD0
Bit Error Rate Load Word. This bit
pattern is loaded into the bit error
rate counter when LDBER is toggled
(valid in ST-BUS mode only).
STOP1
(0)
Stop Receive Circular Buffer One. If
one, circular buffer one will stop
accumulating data when a mismatch
is made between the selected
received data and the data of the
code detect word. If zero, this feature
is disabled.
Table 44 - Bit Error Rate Load Word
(Page 2, Address 18H)
Bit
Name
Functional Description
7 - 0
RCLD7
-
RAI and Continuous CRC Error Load
Word. This bit pattern is loaded into
the RAI and continuous CRC error
counter when LDRC is toggled (valid
in ST-BUS mode only).
STOP1
(0)
Stop Receive Circular Buffer One. If
one, circular buffer one will stop
accumulating data when a positive
match is made between the selected
received data and the data of the
code detect word. If zero, this feature
is disabled.
RCLD0
Table 45 - RAI and Continuous CRC Error Counter
Load Word (Page 2, Address 19H)
Table 42 - Circular Buffer Accumulate Control
Word (Page 2, Address 12H)
4-268
MT9079
Status Page 3
Bit
Name
Functional Description
7 - 0
EFLD7
-
EFLD0
Errored Frame Alignment Load
Word. This bit pattern is loaded into
the errored frame alignment signal
counter when LDEF is toggled (valid
in ST-BUS mode only).
Tables 51 to 58 describe the bit functions of the page
3 status registers.
Bit
Name
Functional Description
Table 46 - Errored Frame Alignment Load Word
(Page 2, Address 1AH)
7
SYNC
Receive Basic Frame Alignment.
Indicates the basic frame alignment
status (1 - loss; 0 - acquired).
6
5
MFSYNC Receive Multiframe Alignment. Indi-
cates the multiframe alignment status
(1 - loss; 0 -acquired).
Bit
Name
Functional Description
7 - 0
BPLD15 Bipolar Violation Load Word. This bit
CRCSYN Receive CRC-4 Synchronization.
Indicates the CRC-4 multiframe
-
pattern is loaded into the most signifi-
cant bits of the bipolar Violation
counter when LDBPV is toggled
(valid in ST-BUS mode only).
BPLD8
alignment status (1
acquired).
- loss; 0 -
4
3
2
REB1
REB2
Receive E-Bit One Status. This bit
indicates the status of the received
E1 bit of the last multiframe.
Table 47 - Most Significant Bipolar Violation Load
Word (Page 2, Address 1CH)
Receive E-Bit Two Status. This bit
indicates the status of the received
E2 bit of the last multiframe.
Bit
Name
Functional Description
CRCRF
CRC-4 Reframe. A one indicates that
the receive CRC-4 multiframe syn-
chronization could not be found
within the time out period of 8 msec.
after detecting basic frame synchro-
nization. This bit is cleared when
CRC-4 synchronization is achieved.
7 - 0
BPLD7
-
BPLD0
Bipolar Violation Load Word. This bit
pattern is loaded into the least signifi-
cant bits of the Bipolar Violation
Counter. These bits are loaded when
LDBPV is toggled.
Table 48 - Least Significant Bipolar Violation Load
Word (Page 2, Address 1DH)
1
0
PSYNC
Synchronization Persistence. This bit
will go high when the SYNC status bit
goes high (loss of basic frame align-
ment). It will persist high for eight
msec. after SYNC has returned low,
and then return low.
Bit
Name
Functional Description
7 - 0
ECLD7
-
ECLD0
E-bit Error Counter Load Word. This
bit pattern is loaded into the E-bit
error counter when LDEC is toggled
(valid in ST-BUS mode only).
CRCIWK CRC-4 Interworking. This bit indi-
cates the CRC-4 interworking status
(1 - CRC-to-CRC;
0 - CRC-to-non-CRC).
Table 49 - E-bit Error Counter Load Word
(Page 2, Address 1EH)
Table 51 - Synchronization Status Word
(Page 3, Address 10H)
Bit
Name
Functional Description
7 - 0
CCLD7
-
CCLD0
CRC-4 Error Counter Load Word.
This bit pattern is loaded into the
CRC-4 Error Counter when LDCRC
is toggled (valid in ST-BUS mode
only).
Table 50 - CRC-4 Error Counter Load Word
(Page 2, Address 1FH)
4-269
MT9079
Bit
Name
RIU0
Functional Description
Bit
Name
Functional Description
7
Receive International Use Zero. This
is the bit which is received on the
PCM 30 2048 kbit/sec. link in bit
position one of the frame alignment
signal. It is used for the CRC-4
remainder or for international use.
7
RIU1
Receive International Use 1. This bit
is received on the PCM 30 2048
kbit/sec. link in bit position one of the
non-frame alignment signal. It is
used for CRC-4 multiframe alignment
or international use.
6 - 0
RFA2-8 Receive Frame Alignment Signal Bits
2 to 8. These bit are received on the
PCM 30 2048 kbit/sec. link in bit
positions two to eight of frame align-
ment signal. These bits form the
frame alignment signal and should
be 0011011.
6
RNFAB
Receive Non-frame Alignment Bit.
This bit is received on the PCM 30
2048 kbit/sec. link in bit position two
of the non-frame alignment signal.
This bit should be one in order to dif-
ferentiate between frame alignment
frames and non-frame alignment
frames.
Table 52 - Receive Frame Alignment Signal
(Page 3, Address 11H)
5
RALM
Receive Alarm. This bit is received
on the PCM 30 2048 kbit/sec. link in
bit position three of the non-frame
alignment signal. It is used to indicate
an alarm from the remote end of the
PCM 30 link (1 - alarm, 0 - normal).
Bit
Name
Functional Description
7
1SEC
One Second Timer Status. This bit
changes state once every 0.5 sec-
onds and is synchronous with the
2SEC timer.
4 - 0
RNU4-8
Receive National Use Four to Eight.
These bits are received on the PCM
30 2048 kbit/sec. link in bit positions
four to eight of the non-frame align-
ment signal.
6
5
2SEC
CRCT
Two Second Timer Status. This bit
changes state once every second
and is synchronous with the 1SEC
timer.
Table 54 - Receive Non-frame Alignment Signal
(Page 3, Address 13H)
CRC-4 Timer Status. This bit
changes from one-to-zero at the start
of the one second interval in which
CRC errors are accumulated. This bit
stays high for 8 msec.
Bit
Name
Functional Description
7 - 4
RMA1-4
Receive Multiframe Alignment Bits
One to Four. These bits are received
on the PCM 30 2048 kbit/sec. link in
bit positions one to four of time slot
16 of frame zero of every multiframe.
These bit should be 0000 for proper
multiframe alignment.
4
EBT
E-Bit Timer Status. This bit changes
from one-to-zero at the start of the
one second interval in which E-bit
errors are accumulated. This bit
stays high for 8 msec.
3
2
1
400T
8T
400 msec. Timer Status. This bit
changes state when the 400 msec.
CRC-4 multiframe alignment timer
expires.
3
2
X1
Y
Receive Spare Bit X1. This bit is
received on the PCM 30 2048
kbit/sec. link in bit position five of
time slot 16 of frame zero of every
multiframe.
8
msec. Timer
Status. This bit
changes state when the 8 msec.
CRC-4 multiframe alignment timer
expires.
Receive Y-bit Alarm. This bit is
received on the PCM 30 2048
kbit/sec. link in bit position six of time
slot 16 of frame zero of every multi-
frame. It indicates loss of multiframe
alignment at the remote end (1 -loss
of multiframe alignment; 0 - multi-
frame alignment acquired).
CALN
CRC-4 Alignment. When CRC-4 mul-
tiframe alignment has not been
achieved this bit changes state every
2 msec. When CRC-4 multiframe
alignment has been achieved this bit
is synchronous with the receive
CRC-4 multiframe signal.
1 - 0
X2, X3
Receive Spare Bits X2 and X3.
These bits are received on the PCM
30 2048 kbit/sec. link in bit positions
seven and eight respectively, of time
slot 16 of frame zero of every multi-
frame.
0
---
Unused.
Table 53 - Timer Status Word
(Page 3, Address 12H)
Table 55 - Receive Multiframe Alignment Signal
(Page 3, Address 14H)
4-270
MT9079
Bit
Name
Functional Description
Bit
Name
Functional Description
7
RSLIP
Receive Slip. A change of state (i.e.,
1-to-0 or 0-to-1) indicates that a
receive controlled frame slip has
occurred.
7 - 6
RxTS1-0 Receive Time Slot. The two least sig-
nificant bits of a five bit counter that
indicates the number of time slots
between the ST-BUS frame pulse
and E8Ko.
6
RSLPD
Receive Slip Direction. If one, indi-
cates that the last received frame slip
resulted in a repeated frame, i.e.,
system clock (C4i/C2i) faster than
network clock (ECLK). If zero, indi-
cates that the last received frame slip
resulted in a lost frame, i.e., system
clock slower than network clock.
Updated on an RSLIP occurrence
basis.
5 - 3
RxBC2 -0 Receive Bit Count. A three bit
counter that indicates the number of
bits between the ST-BUS frame
pulse and E8Ko.
2 - 0 RxEBC2 -0 Receive Eighth Bit Count. A three bit
counter that indicates the number of
one eighth bit times there are
between the ST-BUS frame pulse
and E8Ko. These least significant
bits are valid only when the device is
clocked at 4.096 MHz. The accuracy
of the this measurement is approxi-
mately + 1/16 (one sixteenth) of a bit.
5
AUXP
Auxiliary Pattern. This bit will go high
when
a continuous 101010... bit
stream (Auxiliary Pattern) is received
on the PCM 30 link for a period of at
least 512 bits. If zero, auxiliary pat-
tern is not being received. This pat-
tern will be decoded in the presents
Table 57 - Least Significant Phase Status Word
(Page 3, Address 16H)
-3
of a bit error rate of as much as 10 .
4
CEFS
Consecutively Errored Frame Align-
ment Signal. This bit goes high when
the last two frame alignment signals
were received in error. This bit will be
low when at least one of the last two
frame alignment signals is without
error.
Bit
Name
Functional Description
7
CRCS1
Receive CRC Error Status One. If
one, the evaluation of the last
received submultiframe one resulted
in an error. If zero, the last submulti-
frame one was error free. Updated
on a submultiframe one basis.
3
RxFRM
Receive Frame. The most significant
bit of the phase status word. If one,
the phase status word is greater than
one frame in length; if zero, the
phase status word is less than one
frame in length.
6
5
CRCS2
RFAIL
Receive CRC Error Status Two. If
one, the evaluation of the last
received submultiframe two resulted
in an error. If zero, the last submulti-
frame two was error free. Updated on
a submultiframe two basis.
2 - 0
RxTS4-2 Receive Time Slot. The three most
significant bits of a five bit counter
that indicates the number of time
slots between the ST-BUS frame
pulse and E8Ko.
Remote CRC-4 Multiframe Genera-
tor/detector Failure. If one, each of
the previous five seconds have an
E-bit error count of greater than 989,
and for this same period the receive
RAI bit was zero (no remote alarm),
and for the same period the SYNC bit
was equal to zero (basic frame align-
ment has been maintained). If zero,
indicates normal operation.
Table 56 - Most Significant Phase Status Word
(Page 3, Address 15H)
Table 58 - Alarm Status Word One
(Page 3, Address 19H) (continued)
4-271
MT9079
Status Page 4
Bit
Name
Functional Description
4
LOSS
Loss of Signal Status Indication. If
one, indicates the presence of a loss
of signal condition. If zero, indicates
normal operation. A loss of signal
condition occurs when there is an
absence of the receive PCM 30 sig-
nal for 255 contiguous pulse (bit)
positions from the last received
pulse. A loss of signal condition ter-
minates when an average ones den-
sity of at least 12.5% has been
received over a period of 255 contig-
uous pulse positions starting with a
pulse.
Tables 59 to 66 describe the bit functions of the page 4
status registers and counters. The Internal Vector
Status Word is cleared automatically after it is read by
the microprocessor. The RESET and RST functions
do not affect the page 4 counters.
Therefore,
individual counters must be initialized to a starting
value by a write operation or a counter load operation
(Table 43) in ST-BUS control mode. When presetting
or clearing the BPV counter, BPV7-BPV0 should be
written to first, and BPV15-BPV8 should be written to
last.
3
2
AIS16S
AISS
Alarm Indication Signal 16 Status. If
one, indicates an all ones alarm is
being received in channel 16. If zero,
Bit
Name
Functional Description
7 - 0
IV7
-
IV0
Interrupt Vector Bits 7 to 0. The inter-
rupt vector status word contains an
interrupt vector that indicates the cat-
egory of the last interrupt. See the
section on interrupts.
normal operation. Updated on
frame basis.
a
Alarm Indication Status Signal. If
one, indicates that a valid AIS or all
ones signal is being received. If zero,
indicates that a valid AIS signal is not
being received. The criteria for AIS
detection is determined by the con-
trol bit ASEL.
Table 59 - Interrupt Vector Status Word
(Page 4, Address 12H)
1
0
RAIS
Remote Alarm Indication Status. If
one, there is currently a remote alarm
condition. If zero, normal operation.
Updated on a non-frame alignment
frame basis.
Bit
Name
Functional Description
7 - 0
BR7
-
BR0
Bit Error Rate Counter. An eight bit
counter that contains the total num-
ber of bit errors received in a specific
time slot. See the BFAS control bit
function of page 1, address 1AH.
RCRS
RAI and Continuous CRC Error Sta-
tus. If one, there is currently an RAI
and continuous CRC error condition.
If zero, normal operation. Updated on
a submultiframe basis.
Table 60 - Bit Error Rate Counter
(Page 4, Address 18H)
Table 58 - Alarm Status Word One
(Page 3, Address 19H) (continued)
Bit
Name
Functional Description
7 - 0
RCRC7 RAI and Continuous CRC Error
-
Counter. An 8 bit counter that is
incremented once for every concur-
RCRC0 rent occurrence of the receive RAI
equal to one and either E-bit equal to
zero. Updated on a multiframe basis.
Table 61 - RAI and Continuous CRC Error Counter
(Page 4, Address 19H)
4-272
MT9079
Bit
Name
Functional Description
Errored FAS Counter. An 8 bit
counter that is incremented once for
every receive frame alignment signal
that contains one or more errors.
Bit
Name
Functional Description
7 - 0
EFAS7
-
EFAS0
7 - 0
EC7
-
EC0
E-bit Error Counter Bits Seven to
Zero. These are the least significant
eight bits of the E-bit error counter.
Table 62 - Errored Frame Alignment Signal Counter
(Page 4, Address 1AH)
Table 65 - E-bit Error Counter EBt
(Page 4, Address 1EH)
Bit
Name
Functional Description
Bit
Name
Functional Description
7 - 0
BPV15
-
Most Significant Bits of the BPV
Counter. The most significant eight
bits of a 16 bit counter that is incre-
mented once for every bipolar viola-
tion error received.
7 - 0
CC7
-
CC0
CRC-4 Error Counter Bits Seven to
Zero. These are the least significant
eight bits of the CRC-4 error counter.
BPV8
Table 66 - CRC-4 Error Counter CEt
(Page 4, Address 1FH)
Table 63 - Most Significant Bits of the BPV Counter
(Page 4,Address 1CH)
Bit
Name
Functional Description
7 - 0
BPV7
-
BPV0
Least Significant Bits of the BPV
Counter. The least significant eight
bits of a 16 bit counter that is incre-
mented once for every bipolar viola-
tion error received.
Table 64 - Least Significant Bits of the BPV
Counter (Page 4, Address 1DH)
4-273
MT9079
The receive and transmit data link signals can be
connected directly to the MC68HC11 serial port,
when it is operating is slave mode. With this circuit, it
is important to make the CPHA bit high in the
MC68HC11 Serial Peripheral Control Register so the
SS input can be tied low.
Applications
Microprocessor Interfaces
Figure 7 illustrates a circuit which connects the
MT9079 to a MC68HC11 microcontroller operating at
2.1 MHz. Address lines A - A are decoded and
13
15
Figure 8 shows a circuit which interfaces the
MT9079 to the 80C52 microcontroller. The 80C52
RD and WR signals are used to generate a R/W
signal for the MT9079. RD and WR are also re-timed
using the XTAL2 output to produce a Data Strobe
latched with the AS signal to generate one of eight
possible Chip Selects (CS). A - A are used to
8
12
select the individual control and status registers of
the MT9079, and AD - AD are used for data
0
7
transfer only.
(DS) signal that will meet t
. The remainder of this
RWS
interface is similar to the MC68HC11 interface.
MC68HC11
MT9079
3
A
-A
CS
13 15
74HCT04
+5V
AS
4.7kΩ
IRQ
IRQ
5
8
A -A
A -A
0 4
8
12
D -D
D -D
0
7
0
7
R/W
E
R/W
DS
74HCT04
S/P
TxDL
RxDL
DLCLK
(CPHA = 1)
(CPOL = 0)
MISO
MOSI
SCK
SS
Figure 7 - MT9079 to MC68HC11 (2.1 MHz) Microcontroller Interface Circuit
74HCT04
80C52
MT9079
74HCT74
74HCT08
74HCT04
PR
PR
RD
D
Q
D
Q
DS
WR
S/P
XTAL2
74HCT04
+5V
10kΩ
PR
74HCT74
R/W
D
Q
CLR
3
A
-A
CS
13 15
74HCT04
ALE
5
A -A
A -A
8
12
0
4
8
AD0-AD7
D -D
0
7
+5V
10kΩ
INT0
IRQ
INT1
P1.0
P1.1
DLCLK
RxDL
TxDL
Figure 8 - MT9079 to 80C52 Microcontroller Interface Circuit
4-274
MT9079
The data link transmit and receive signals are
connected directly to port one. The DCLK signal is
connected to INT1 so the 80C52 will be interrupted
when new data link data needs to be transported.
RD signals are re-timed using the CLKOUT signal to
generate a DS signal for the MT9079. The inverted
form of DT/R is used to make a R/W signal, and the
ALE is used to latch the lower order address lines for
the duration of the access cycle.
Figure 9 illustrates a circuit that will interface the
MT9079 to the MC68302 microprocessor operating
at 20 MHz. CS0 was chosen so that no external
address decoding would be required. The MT9079
does not have a DTACK output therefore, the
MC68302 DTACK should be tied high. The data link
interface is handled by Non-multiplexed Serial
Interface port Two (NMSI2).
MT9079 TAIS and Reset Circuit
Figure 11 illustrates a reset and transmit AIS circuit
that can be implemented with the MC68302
microprocessor. This circuit has three purposes: 1)
to provide a power-on reset for the all the MT9079
devices; 2) to have all the MT9079 devices transmit
AIS during system initialization; and 3) to have all the
MT9079 devices transmit AIS when the MC68302
watch-dog time expires.
Figure 10 shows how to connect a 16 MHz 80C188
microprocessor to the MT9079. The 80C188 WR and
MC68302
MT9079
EXTAL
XTAL
CS0
CS
+5V
10kΩ
25pF
25pF
700kΩ
4.7kΩ
10kΩ
10kΩ
+5V+5V
10kΩ
IRQ
DS
R/W
IRQ7
LDS
R/W
BERR
BGACK
AVEC
BR
5
8
+5V
A -A
AC -AC
0
4
7
0
4
D -D
D -D
0
0
7
+5V+5V
10kΩ
S/P
10kΩ
FRZ
BCLR
DTACK
RxD2
TxD2
RxDL
TxDL
DISCPU
BUSW
RCLK2
TCLK2
74HCT04
DLCLK
Figure 9 - MT9079 to MC68302 (20 MHz) Microprocessor Interface Circuit
80C188
MT9079
D -D
8
0
7
74F374
5
5
8
AD -AD
AC -AC
Dn
Qn
0
7
0
4
OE
CP
74F04
ALE
S/P
DS
74F74
74F86
74F04
RD
WR
CLKOUT
Q
D
Q
CLR
74F04
DT/R
R/W
CS
LCS, MCS,
UCS, or PCS
+5V
10kΩ
74F04
NMI
IRQ
Figure 10 - MT9079 to 80C188 (16 MHz) Microprocessor Interface Circuit
4-275
MT9079
The MC1455 RESET and HALT circuit has be taken
from the MC68302 User's Manual. The reset circuit
for the MT9079 (RC) must have a time constant that
is at least five times the rise time of the power
supply. It should also be noted that in this application
the power-on reset (POR) duration for the MT9079
devices must be greater than the duration of the
power-on reset pulse for the MC68302. This will
allow AIS to be transmitted without interruption
during the system initialization.
AIS will not terminate until the MC68302 reset
command has been executed to clear the 74HCT74
flip-flops.
Provision has been provided to initiate the
transmission of AIS on individual MT9079 devices
from a control port. This function can also be
accomplished by writing to the Transmit Alarm
Control Word of the MT9079.
Interface Initialization
During the power-on sequence the MT9079 POR
circuit will ensure that AIS is transmitted on the PCM
30 trunks by putting the 74HCT74 flip-flops in the
preset state. When the MT9079 POR signal goes
from low to high, the 74HCT74 flip-flops will remain
in the preset state and AIS will continue. After the
system initialization program has been completed
the AIS signal can be terminated by executing a
MC68302 reset command, which makes the
MC68302 RESET pin low for 24 CLKO cycles. When
RESET goes low the 74HCT74 flip-flops will be
cleared and the TAIS inputs can go high.
Figure 12 is a flow chart that illustrates the basic
steps involved in initializing the MT9079 from a
power-on state. The post reset state of each control
bit will determine which flow chart steps may be left
out in specific applications.
The first step is to make TAIS low so the MT9079 will
transmit an all 1’s signal during the initialization
procedure. This informs the remote end of the E1
link that this end is not functioning normally. After the
RESET cycle is complete all interrupts are
suspended so the microprocessor will not jump to
any interrupt service routines until the interface is
configured. It is important to write 00H to all the
per-timeslot control words (pages 7 and 8) so that
transmit timeslots are not substituted with unknown
data. Next the mode of operation and timing can be
selected.
The MC68302 watch-dog timer must be reset
periodically or the WDOG output will go low for 16
microprocessor clock cycles (CLKO) and return high.
In the circuit of Figure 11 this will reset the MC68302
and turn on the transmit AIS of all the MT9079
devices through the 74HCT74 flip-flops. The transmit
+5V
+5V
+5V
4.7kΩ
+5V
+5V
4.7kΩ
4.7kΩ
MC68302
+5V
1MΩ
MC1455
+5V
74HCT05
IN4148
4.7kΩ
+5V
1MΩ
10kΩ
74HCT05
74HCT05
TH
RS
TR
CV
DIS
O
74HCT74
PR
0.47µF
HALT
74HCT05
74HCT05
74HCT05
PR
WDOG
12kΩ
D
Q
D
Q
RESET
Q
CLR
Q
0.1µF
CLR
74HCT32
MT9079
TAIS
RESET
MT9079
74HCT11
74HCT11
+5V
PCM 30
Trunk 0
to Control Port
to Control Port
R
C
IN4148
74HCT14
V
MT9079
POR
R
TAIS
PCM 30
Trunk 1
RESET
.
.
.
.
.
.
.
.
MT9079
74HCT11
TAIS
RESET
PCM 30
Trunk n
to Control Port
Figure 11 - MT9079 Reset and Transmit AIS Circuit
4-276
MT9079
A
START
TAIS input = low
is Interface
TE?
YES
TE bit = 1
Power-on Reset - RESET
input = RC > = 5 x power
supply rise time
NO
Mask and unmask
interrupts. Note 1.
SPND bit = 1
Select ST-BUS offset.
Note 1.
Write 00H to all control
registers of pages 7 & 8
Select PCM 30 line
encoding. Note 1.
Select mode of operation.
Note 1.
Clear the error counters
of page 4. Note 2.
Select National bit, data
link, and AIS mode of
operation. Note 1.
Read interrupt vector
register, page 4. Note 3.
8KSEL bit = 1 if using the
E8Ko output for loop
(slave) timing. Note 1.
SPND = 0.
Note 3.
Notes:
1. Skip if default option is required.
A
2. Skip if counters are not used.
3. Skip if interrupts are not used.
TAIS input = high
STOP
Figure 12 - MT9079 Initialization Procedure
The TE control bit sets the state of the transmit
E-bits when the receive side has lost CRC-4
synchronization. In this case if the interface is the
Terminal Equipment (TE) side, then the E-bits must
be zero. If the interface is the Network Termination
(NT) side, the transmit E-bits must be one when
Adjusting the ST-BUS offset will move the bit
positions of the ST-BUS output streams with respect
to the input frame pulse F0i. This can be used to
compensate for large delays in very long backplane
applications. It can also be used to minimize the
delay through the receive elastic buffer.
CRC-4 synchronization is lost.
When CRC-4
synchronization is achieved the transmit E-bits will
function according to ITU-T G.704.
Selection of the PCM 30 encoding will be determined
by the line interface arrangement used. The default
is HDB3 encoding on bipolar non-return to zero
signals, which will interface directly to most Line
Interface Units (LIU).
The MT9079 has a suite of 30 maskable interrupts.
At this point in the initialization procedure the SYNI,
RAII, AISI, AIS16I, LOSI, FERI, BPVO and SLPI
interrupts will be unmasked and all others will be
masked. If the application does not require
interrupts, the SPND control bit should be kept at
one.
After a power-on reset the state of the error counters
of page 4 will be undetermined. Therefore, each of
the counters appropriate to the application should be
cleared by writing a zero value to the counter
4-277
MT9079
LIU
Trunk
Interface
EC3
to
Control
Port
EC2
EC1
RLOOP
E1 Transmit
MT9079
DSTi
DSTo
TxA
TxB
RxA
RxB
Voice/Data Bus
System Timing
F0i
C4i/C2i
E8ko
E1 Receive
E2i
RCLK
TCLK
Figure 13 - PCM 30 Line Interface Unit (LIU)
MT9079
MT8980D
STon
100Ω
C4i/C2i
DSTi
STin
DSTo
TxA
To Trunk Interface
TxB
100Ω
CSTo
DTA
RxA
RxB
MT8980 µP Interface
MT9079 µP Interface
E2i
+5V
Address
Data
C2
909Ω
C4i
&
Control
C4
MC68302
Figure 14 - Common Channel Signalling Control (Time Slot 16) through the MC68302
the required PCM 30 pseudo-ternary signal; 2) it
converts the received PCM 30 pseudo-ternary signal
to a binary signal; and c) it extracts a data clock form
the receive PCM 30 signal.
location. The BPV counter is cleared by writing zero
to location 1DH first and then writing zero to location
1CH of page 4.
The interrupt vector byte is then cleared by reading
it. This step ensures that interrupts that occurred
when the interface was not initialized will be cleared
before the MT9079 IRQ output is activated. The IRQ
output function is activated by making SPND low.
TAIS is now made high, which indicates to the far
end of the link that this end is functional.
In order to meet network requirements, it is
necessary to control the transmit equalization of the
LIU (EC1 - EC3). This pre-emphasizes the transmit
pulse shape so it can fit within a standard pulse
template at a specific point on the transmit link.
When using a LIU that clocks data in and out with
separate signals, the MT9079 remote loopback can
allow bit errors to occur. This is because the MT9079
does not re-time the looped signal, so phase
differences in the C2 and RCLK clock signals will
impact the transmit data. This problem can be
prevented by implementing the remote loopback in
the LIU and controlling it from a port. Performing the
remote loopback in the LIU also more closely
adheres to network requirements, which state that a
remote loopback should be implemented as close to
the PCM 30 side of the trunk as possible.
It should be noted that Figure 12 is an initialization
example and does not imply that there is a rigid
sequence that must be followed.
PCM 30 Trunk and Timing Interface
Figure 13 shows the MT9079 connection to a generic
Line Interface Unit (LIU). The LIU has three
functions: 1) it converts the framed transmit signal to
4-278
MT9079
Common Channel Signalling Interface
The MT9079 Transparent Mode
Figure 14 shows how to interface DSTi and DSTo
time slot 16 to the MC68302 for the control of
Common Channel Signalling (CCS) data. As can be
seen in the timing diagram, the MT8980D CSTo
signal must be programmed to go high during the bit
position just before time slot 16 (i.e., time slot 15, bit
0). This will enable the NMSI1 pins for one time slot
(eight C2 cycles) when the NMSI1 port is operated in
PCM mode. The STo stream of the MT8980D must
also be programmed to be high impedance during
time slot 16. C2 is used to clock data into and out of
the NMSI1 port.
Figure 15 illustrates an application in which the
MT9079 transparent mode can be used. That is, a
digital cross-connect multiplexer that switches
complete PCM 30 trunks and does not require time
slot switching. It should be noted that any MT9079
devices that transport time slot switched data must
operate in termination mode otherwise, the CRC-4
remainder will be in error.
In transparent mode the complete PCM 30 data
stream will pass through the MT9079 except for the
data link (S of the NFAS - 4kbit/sec. maintenance
a4
channel). The CRC-4 remainder will not be
generated by the transmit section of the MT9079, but
the CRC-4 remainder bits received on DSTi will be
modified to reflect the new data link bits. This has the
advantage that any CRC-4 errors that occur on the
It should be noted that the DS signal of the MC68302
must be inverted to interface to the MT8980D. Also,
DTACK must be connected to the MT8980D DTA and
pulled-up with a 909 ohms resistor.
Digital Cross-Connect Matrix
MT8980D
MT8980D
MT9079
MT9079
STi0
STo0
DSTo
TxA
DSTo
DSTi
TxA
TxB
TxB
DSTi
Switch 0,0
Switch 0,M
To Line
Interface
To Line
Interface
C4i/C2i
C4i/C2i
C4
C4
RxA
RxB
RxA
RxB
E2i
m+1 Frame
Delay
E2i
TxMF
RxMF
RxMF
TxMF
MT8980D
MT8980D
To Data Link
Controller
To Data Link
Controller
Switch n,0
Switch n,M
Figure 15 - PCM-30 (E1) Trunk Cross-Connect using the MT9079 Transparent Mode
C4
C2
MT9079
Manchester Encoder
Transmit Fibre Interface
DSTi
DSTo
CLKi
Tx+
Tx+
C4i/C2i
Transmit Fibre
Receive Fibre
NRZ
NRZ
TxA
TxB
Datai
Tx-
Tx-
Manchester Decoder
Receive Fibre Interface
Data0
RxA
RxB
E2i
CODEi
RxCLK
RxData
Figure 16 - MT9079 Fibre Interface Circuit
4-279
MT9079
receive span will not be masked on the transmit span
even though the maintenance channel has been
modified.
Fibre Interface
Figure 16 shows how the MT9079 can be employed
to a fibre optic transmission system. The MT9079
control bits COD1-0 must be set to 01 to select
Non-Return to Zero (NRZ) operation. NRZ data is
manchester encoded and converted to a light signal,
which is transmitted down the fibre optic cable. On
the receive side the light signal is detected and
converted to an electrical signal, which is passed to
a manchester decoder. The manchester decoder
generates the receive NRZ signal and a receive
clock.
The RxMF signal must be associated with the CRC-4
multiframe (control bit MFSEL = 1), and RxMF of the
receive trunk must be connected to TxMF of the
transmit trunk. The data delay time (DSTo to DSTi)
and the TxMF to RxMF delay must be equal.
Therefore, a m + 1 frame delay circuit is added to the
TxMF to RxMF connection (where: m is the delay in
basic frames through the Digital Cross-Connect
Matrix).
It should be noted that in the TxMF to RxMF
operation is only valid when the C4i/C2i input of
MT9079 devices is driven by a C4 clock signal.
4-280
MT9079
Absolute Maximum Ratings* - Voltages are with respect to ground (VSS) unless otherwise stated.
Parameter
Symbol
Min
Max
Units
1
2
3
4
5
6
7
Supply Voltage
VDD
VI
-0.3
-0.3
7
V
Voltage at Digital Inputs
Current at Digital Inputs
Voltage at Digital Outputs
Current at Digital Outputs
Storage Temperature
VDD + 0.3
30
V
mA
V
II
VO
IO
-0.3
-65
VDD + 0.3
30
mA
°C
TST
P
150
Package Power Dissipation
800
mW
* 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) unless otherwise stated.
Characteristics
Sym
Min
Typ
Max
Units
Conditions/Notes
1
2
Operating Temperature
Supply Voltage
TOP
VDD
-40
4.5
85
°C
V
5.5
DC Electrical Characteristics† - Voltages are with respect to ground (V ) unless otherwise stated.
SS
Characteristics
Power Dissipation
Sym Min
Typ
Max
Units
Conditions/Notes
1
2
3
4
5
6
7
8
PD
39
7
mW
mA
V
Outputs unloaded
Outputs unloaded
Supply Current
IDD
Input High Voltage
Input Low Voltage
Current Leakage
Output High Current
Output Low Current
Pin Capacitance
VIH
VIL
ILK
IOH
IOL
CP
2.0
0
VDD
0.8
10
V
µA
mA
mA
pF
0≤V≤VDD See Note 1
Source VOH=2.4 V
Sink VOL=0.4 V
8pF typical
12
15
† Characteristics are over the ranges of recommended operating temperature and supply voltage.
Notes:
1. Maximum leakage on pins (output pin in high impedance state) is over an applied voltage (V).
AC Electrical Characteristics - Timing Parameter Measurement Voltage Levels
Characteristics
Sym
Level
Units
Conditions/Notes
1
2
TTL Threshold Voltage
VTT
VCT
1.5
V
V
See Note 1
CMOS Threshold Voltage
0.5VDD
See Note 1
3
Rise/Fall Threshold Voltage High
VHM
2.0
0.7VDD
V
V
TTL
CMOS
See Note 1
See Note 1
4
Rise/Fall Threshold Voltage Low
VLM
0.8
0.3VDD
V
V
TTL
CMOS
Notes:
1. Timing for output signals is based on the worst case result of the combination of TTL and CMOS thresholds.
4-281
MT9079
AC Electrical Characteristics- Microprocessor Timing
Characteristics
Sym Min
Typ
Max
Units
Conditions/Notes
1
2
3
4
5
6
7
8
9
DS low
tDSL
tDSH
tCSS
tRWS
tADS
tCSH
tRWH
tADH
tDDR
70
50
0
ns
ns
ns
ns
ns
ns
ns
ns
ns
DS High
CS Setup
See Note 3
R/W Setup
5
Address Setup
CS Hold
5
0
See Note 3
R/W Hold
0
Address Hold
Data Delay Read
0
120
50
CL=150pF, RL=1kΩ
See Note 2
10 Data Active to High Z Delay
tDAZ
ns
CL=150pF, RL=1kΩ
See Notes 1, 2 & 4
11 Data Setup Write
12 Data Hold Write
tDSW
tDHW
5
ns
ns
25
Notes:
1. High impedance is measured by pulling to the appropriate rail with RL. Timing is corrected to cancel time taken to discharge CL.
2. Outputs are compatible with both CMOS and TTL logic levels. Timing parameters are measured with respect to both CMOS
(VCT=0.5VDD) and TTL (VTT=1.5V) references and the worst case value is specified.
3. DS and CS may be connected together.
4. tDAZ is measured with respect to the raising edge of DS or CS, whichever occurs first.
tDSL
tDSH
VTT
VTT
VTT
DS
CS
tCSS
tCSH
tRWH
tRWS
R/W
tADS
tADH
VTT
A0-A4
tDDR
tDAZ
D0-D7
READ
VTT,VCT
VALID DATA
tDSW
tDHW
D0-D7
WRITE
VTT
VALID DATA
Figure 17 - Microprocessor Timing Diagram
4-282
MT9079
AC Electrical Characteristics- Intel and Motorola Serial Microcontroller Timing
Characteristics
Sym Min
Typ
Max
Units
Conditions/Notes
1
2
3
4
5
6
7
8
Clock Pulse Width High
Clock Pulse Width Low
CS Setup
tPWH
tPWL
tCSS
tCSH
tWS
100
75
5
400
425
ns
ns
ns
ns
ns
ns
ns
ns
SCLK period = 500ns
SCLK period = 500ns
CS Hold
5
Write Setup
35
5
Write Hold
tWH
Output Delay
tOD
55
30
CL=150pF
Active to High Z Delay
tAZD
CL=150pF, RL=1kΩ
tCSS
CS
VTT
tPWH
tPWL
SCLK
VTT
tCSH
tWS
tWH
RxD
(INPUT)
bit 7
bit 0
bit 7
VTT
bit 0
tAZD
tOD
SIO
(OUTPUT)
VTT,
bit 7
bit 0
VCT
Figure 18 - Motorola Serial Microcontroller Timing
CS
tCSS
tPWH
tPWL
SCLK
VTT
tCSH
tWH
tWS
SIO
(INPUT)
bit 0
bit 7
bit 0
VTT
bit 7
tAZD
bit 7
tOD
VTT,
VCT
SIO
(OUTPUT)
bit 0
Figure 19 - Intel Serial Microcontroller Timing
4-283
MT9079
AC Electrical Characteristics - Data Link Timing
Characteristic
Sym
Min
Typ
Max Units
Conditions/Notes
1
2
3
Data Link Clock Output Delay
Data Link Output Delay
Data Link Setup
tDCD
tDOD
tDLS
tDLH
75
75
ns
ns
ns
ns
150pF, See Note 1
150pF
20
30
4
Data Link Hold
Notes:
1. The falling edge of DLCLK and IDCLK occurs on the channel 0, bit 4 to bit 3 boundary of every second ST-BUS frame.
ST-BUS Bit
Stream
Channel 0, Bit 4
Channel 0, Bit 3
Channel 0, Bit 2
C2i
VTT
VTT
C4i
tDCD
DLCLK
VTT, VCT
tDOD
VTT, VCT
RxFDL
Figure 20 - Receive Data Link Timing Diagram
ST-BUS Bit
Stream
Channel 16, Bit 4
Channel 16, Bit 3
Channel 16, Bit 2
VTT
C2i
VTT
C4i
tDCD
IDCLK*
VTT, VCT
tDLS
tDLH
VTT
TxFDL
* This clock signal is internal to the MT9079 and cannot be accessed by the user.
Figure 21 - Transmit Data Link Timing Diagram
4-284
MT9079
AC Electrical Characteristics - ST-BUS Timing
Characteristic
Sym
Min
Typ
Max Units
Conditions/Notes
1
2
3
4
5
6
7
C2i Clock Width High or Low
C4i Clock Width High or Low
Frame Pulse Setup
Frame Pulse Low
t2W
t4W
200
85
10
20
20
30
258
159
ns
ns
ns
ns
ns
ns
ns
C2i clock period = 458 ns
C4i clock period = 244 ns
tFPS
tFPL
tSIS
tSIH
tSOD
Serial Input Setup
Serial Input Hold
Serial Output Delay
75
150pF
ST-BUS Bit
Stream
Channel 31, Bit 0
Channel 0, Bit 7
Channel 0, Bit 6
tFPL
F0i
C2i
VTT
t2W
t2W
tFPS
VTT
t4W
t4W
C4i
VTT
tSIH
All Input
Streams
VTT
tSIS
tSOD
All Output
Streams
VTT,VCT
Figure 22 - ST-BUS Timing Diagram
AC Electrical Characteristics - Multiframe Timing
Characteristic
Sym
Min
Typ
Max Units
Conditions/Notes
1
2
3
4
Receive Multiframe Output Delay
Transmit Multiframe Setup
Transmit Multiframe Hold
Multiframe to C2 Setup
tMOD
tMS
75
ns
ns
ns
ns
150pF
5
tMH
50
*
* 256 C2 periods -100nsec
tMH2
100
4-285
MT9079
Frame 15
Bit 5 Bit 4
Frame 0
Bit 4
DSTo
BIt Cells
Bit 7
Bit 6
Bit 0
Bit 7
Bit 6
Bit 5
Bit 0
Bit 7
F0i
C2i
RxMF
C4i
RxMF
Figure 23 - Receive Multiframe Functional Timing
Frame N
Bit 5 Bit 4
Frame 0
Bit 4
DSTi
Bit Cells
Bit 7
Bit 6
Bit 0
Bit 7
Bit 6
Bit 5
Bit 0
Bit 7
F0i
C2i
TxMF
Figure 24 - Transmit Multiframe Functional Timing
VTT
C4i/C2i
RxMF(1)
tMOD
tMOD
VTT,VCT
tMH2
tMS
tMH
TxMF(1)
VTT
Note (1) : These two signals do not have a defined phase relationship
Figure 25 - Multiframe Timing Diagram (C4i/C2i = 2.048 MHz)
4-286
MT9079
VTT
C4i/C2i
RxMF(1)
tMOD
tMOD
VTT,VCT
tMH2
tMS
tMH
TxMF(1)
VTT
Note (1) : These two signals do not have a defined phase relationship
Figure 26 - Multiframe Timing Diagram (C4i/C2i = 4.096 MHz)
AC Electrical Characteristics - E8Ko Timing
Characteristic
E8Ko Output Delay
Sym
Min
Typ
Max Units
Conditions/Notes
1
2
3
t8OD
t8W
t8T
75
ns
150pF
E8Ko Pulse Width
µs 62.5µsec typical
E8Ko Transition Time
10
ns
50pF
Time slot 0
Bit 4
Received
CEPT Bits
Time slot 0
Bit 4
Time slot 16
Bit 4
• • •
• • •
E2i
VTT
t8T
t8T
t8OD
VHM
VTT,VCT
VLM
E8Ko
t8OD
t8W
t8W
Figure 27 - E8Ko Timing Diagram
4-287
MT9079
AC Electrical Characteristics - PCM 30 Transmit Timing
Characteristic
Sym
Min
Typ
Max Units
Conditions/Notes
1
2
Transmit Delay
Transmit Delay RZ
tTDN
tTDR
75
75
ns
ns
150pF
150pF
Transmit
PCM 30
Data
Bit Cell
C2i
C4i
VTT
VTT
tTDR
tTDR
TxA and TxB
for RZ
VTT, VCT
tTDN
TxA and TxB
for NRZ and
NRZB
VTT, VCT
Figure 28 - PCM 30 Transmit Timing
AC Electrical Characteristics - PCM 30 Receive Timing
Characteristic
Sym
Min
Typ
Max Units
Conditions/Notes
1
2
3
E2i Clock Pulse Width High or Low
Receive Setup Time
tCPW
tRS
50
10
10
438
ns
ns
ns
E2i clock period = 488nsec
Receive Hold Time
tRH
Receive
PCM 30
Data
Bit Cell
tCPW
tCPW
VTT
E2i
tRH
tRS
VTT, VCT
RxA and RxB
Figure 29 - PCM 30 Receive Timing
4-288
MT9079
C2i
C4i
RZ TxA
RZ TxB
NRZB TxA
NRZB TxB
NRZ TxA
NRZ TxB
Figure 30 - Transmit Functional Timing
E2i
RZ RxA
RZ RxB
NRZB RxA
NRZB RxB
NRZ RxA
NRZ RxB
Figure 31 - Receive Functional Timing
4-289
MT9079
2.0 ms
FRAME
15
FRAME
0
FRAME
14
FRAME
15
FRAME
0
• • • • • • • •
TIME SLOT
0
TIME SLOT
1
TIME SLOT
TIME SLOT
31
• • • •
30
125 µs
Least
Significant
Bit (Last)
Most
Significant
Bit (First)
BIT
1
BIT
2
BIT
3
BIT
4
BIT
5
BIT
6
BIT
7
BIT
8
(8/2.048) µs
Figure 32 - PCM 30 Format
125µs
CHANNEL
31
CHANNEL
30
CHANNEL
0
CHANNEL
31
CHANNEL
0
• • •
Most
Significant
Least
Significant
Bit (Last)
BIT
0
BIT
7
BIT
6
BIT
5
BIT
3
BIT
2
BIT
1
BIT
4
Bit (First)
(8/2.048)µs
Figure 33 - ST-BUS Stream Format
4-290
相关型号:
©2020 ICPDF网 联系我们和版权申明