MITEL MT8930CE, MT8930CP, MT8930CC Datasheet

CMOS ST-BUS FAMILY
MT8930C
Subscriber Network Interface Circuit
Preliminary Information
Features
ETS 300-012, CCITT I.430 and ANSI T1.605 S/T interface
Full-duplex 2B+D, 192 kbit/s transmission
Link activation/deactivation
D-channel access contention resolution
Master (NT)/Slave (TE) modes of operation
Exceeds loop length requirements
Complete loopback testing capabilities
On chip HDLC D-channel protocoller
8 bit Motorola/Intel microprocessor interface
Controllerless or microprocessor-controlled operation
Mitel ST-BUS interface
Low power CMOS technology
Single 5 volt power supply
Applications
ISDN NT1
ISDN S or T interface
ISDN Terminal Adaptor (TA)
Digital sets (TE1) - 4 wire ISDN interface
Digital PABXs, Digital Line Cards (NT2)
ISSUE 1 May 1995
Ordering Information
MT8930CC 28 Pin Ceramic DIP MT8930CE 28 Pin Plastic DIP MT8930CP 44 Pin PLCC
-40°C to +85°C
Description
The MT8930C Subscriber Network Interface Circuit (SNIC) implements the ETSI ETS 300-012, CCITT I.430 and ANSI T1.605 Recommendations for the ISDN S and T reference points. Providing point-to­point and poin t-to-multipoi nt digital tran smission, th e SNIC may be used at either end of the subscriber line (NT or TE).
An HDLC D-channel protocoller is included and controlled through a Motorola/Intel microprocessor port. A controllerless mode allows the SNIC to operate without a microprocessor.
The MT8930C is fabricated in Mitel’s CMOS process.
DSTi
DSTo
F0od
C4b
F0b
STAR/Rsto
CK/NT
Cmode
Rsti
ST-BUS
Interface
PLL
Timing
and
Control
HALF AD0-7 R/W/WR,
Figure 1 - Functional Bloc k Diagram
D-channel Priority
Mechanism
AFT/PRI
HDLC
Transceiver
Microprocessor Interface
DS/RD,
DinB
AS/ALE,
P/SC
CS,
DReq
S-Bus
Link
Interface
Link Activation Controller
IRQ
DCack
/NDA,
LTx
VBias
LRx
V
DD
V
SS
9-35
MT8930C Preliminary Informatio n
LTx
AD1, IS1
AD2, SYNC/BA
NC
39 38 37 36 35 34 33 32 31 30 29
NC
LRx
40
NC
NC STAR/Rsto Rsti
NC AD7, DR AD6, AR NC AD5, M/S AD4, MCH AD3, MFR NC
/WR, AFT/PRI
R/W
DS/RD
AS/ALE, P/SC
/NDA, DCack
IRQ
HALF
C4b
F0b F0od DSTi
DSTo
Cmode
CK/NT
, DinB
CS, DReq
VSS
1 2
3 4 5
6 7 8
9 10 11 12 13 14
28 PIN PDIP/CERDIP
28 27 26 25 24 23 22 21 20 19 18 17 16 15
VDD VBias LTx LRx STAR/Rsto Rsti AD7, DR AD6, AR AD5, M/S AD4, MCH AD3, MFR AD2, SYNC/BA AD1, IS1 AD0, IS0
R/W
/WR, AFT/PRI
DS/RD
F0od DSTi
DSTo
NC NC NC
Cmode
CK/NT
NC
, DinB
NCNCC4b
F0b
HALF
VDD
VBias
NC
6 5 4 3 2 44434241 7 8 9 10 11 12 13 14 15 16
17
NC
AS/ALE, P/SC
1
231819 2021 22 2425 2627 28
VSS
CS, DReq
/NDA, DCack IRQ
44 PIN PLCC
NC
AD0, IS0
Figure 2 - Pin Connections
Pin Description
Pin #
DIP PLCC
12 HALFHALF Input/Output: this is an input in NT mode and an output in TE mode identifying
Name Description
which half of the S-interface frame is currently being written/read over the ST-BUS (HALF = 0 sampled on the falling edge of C4b
within the frame pulse low window, identifies the information to be transmitted/received in the first half of the S-Bus frame while HALF = 1 identifies the information to be transmitted/received into the second half of the S-Bus frame). Tying this pin to V
SS
or V
DD
free run. This signal can also be accessed from the ST-BUS C-channel.
in NT mode will allow the device to
2 3 C4b
4.096 MHz Clock: a 4.096 MHz ST-BUS Data Clock input in NT mode. In TE mode, a 4.096 MHz output clock phase-locked to the line data signal.
34 F0b
Frame Pulse: an active low frame pulse input indicating the beginning of active ST­BUS channel times in NT mode. Frame pulse output in TE mode.
47 F0od
Delayed Frame Pulse Output: an active low delayed frame pulse output indicating the end of active ST-BUS channels for this device. Can be used to daisy chain to other ST-BUS devices to share an ST-BUS stream.
5 8 DSTi Data ST-BUS Input: a 2048 kbit/s serial PCM/data ST-BUS input with D, C, B1, and B2
channels assigned to the first four timeslots. These channels contain data to be transmitted on the line and chip control information.
69 DSToData ST-BUS Output: a 2048 kbit/s serial PCM/data ST-BUS output with D, C, B1 and
B2 channels assigned to the first four timeslots respectively. The remaining timeslots are placed into high impedance. These channels contain data received from the line and chip status information.
713 CmodeController Mode Select Input: when high, microprocessor control is selected. When
low the controllerless mode is enabled and the microport pins are redefined as control inputs and status outputs.
8 14 CK/NT TE Clock/Network Termination Mode Select Input. For TE mode, this pin must be
tied to V applications). For NT mode, this pin must be tied to V
or to a 4.096 MHz clock (a clock is required for standard ISDN TE
SS
. Refer to “ST-BUS Interface”
DD
section for further explanation. A pull-up resistor is needed when driven by a TTL device.
9-36
Preliminary Information MT8930C
Pin Description (continued)
Pin #
DIP PLCC
916R/W/WR
10 17 DS/RD
11 19 AS/ALE
Name Description
or Write Input (Cmode = 1): defines the data bus transfer as a read (R/
AFT/PRI
Read/Write
=1) or a write (R/W=0) in Motorola bus mode. Redefined to WR in Intel bus mode.
W Adaptive-Fixed Timing/Priority Select Input (Cmode=0): in NT mode, causes the PLL and Rx filters and peak detectors to be disabled in favour of fixed timing and fixed thresholds for short passive bus operation (0=fixed, 1=adaptive). In TE mode, this is the Priority input. High priority (PRI=1) is normally reserved for signalling.
Data Strobe/Read Input (Cmode = 1): active high input indicates to the SNIC that valid data is on the bus during a write operation or that the SNIC must output data during a read operation in Motorola bus mode. Redefined to RD
DinB
D-Channel in B1 Timeslot Input (Cmode = 0): active high input that causes all eight ST-BUS D-channel bits, instead of the usual two bits, to be routed to and from the S-interface B1 timeslot. When active, marks are transmitted in the S-interface D-channel.
Address Strobe/Address Latch Enable Input (Cmode = 1): in Motorola bus mode the falling edge is used to strobe the address into the SNIC during microprocessor access. Redefined to ALE in Intel bus mode.
P/SC
Parallel/Serial Control Input (Cmode = 0): determines if the serial C-channel
=0) or microport pins (P/SC=1) are the source of chip control when controllerless
(P/SC mode is selected. If the ST-BUS is chosen as the source, the dedicated Control input pins are ignored but the status output pins remain valid.
in Intel bus mode.
12 20 CS
DReq
IC
13 21 IRQ
NDA
DCack
IC
14 22 V
15-2224-26
AD0-7 Bidirectional Address/Data Bus (Cmode = 1): electrically and logically compatible to 30-32 34-35
15-1624-
IS0-IS1 Internal State Outputs (Cmode =0): Binary encoded state number outputs.
25
SS
Chip Select Input (Cmode=1): active low input used to select the SNIC for microprocessor access. D-Channel Request Input (Cmode = 0): an active high input that in TE mode only causes the SNIC to transmit a “01111110” flag immediately if the D-channel is free, or wait until it becomes available and then transmit the flag. The DCack
signals the successful acquisition of the D-channel. If DReq is tied low, continuous ones are transmitted in the S-Bus D-channel. Internal Connection (Cmode = 0): tie to V
for normal operation in NT mode only.
SS
Interrupt Request (Open Drain Output) (Cmode = 1): an output indicating an unmasked HDLC interrupt. The interrupt remains active until the microprocessor clears it by reading the HDLC Interrupt Status Register. This interrupt source is enabled with B2=0 of Master Control Register. New Data Available (Open Drain Output) (Cmode = 1): an active low output signal indicating availability of new data from the S-Bus. This signal is selected with B2=1 of Master Control Register. D-Channel Acknowledge (Open Drain Output) (Cmode = 0): in TE mode only indicates that the SNIC has gained access to the D-channel in response to a DReq and has transmitted the first zero of an opening flag. The user should immediately begin transmitting the rest of the packet over the ST-BUS D-channel. If this signal goes high in the middle of transmission, the TE has lost the bus and must regain access of the D­channel before retransmitting the packet. Internal Connection (Open Drain Output) (C-mode=0). This pin is not used in NT mode and should be left disconnected. This pin must be tied to V
with a 10k resistor.
DD
Ground.
either Intel or Motorola micro-bus specifications. If DS/RD AS/ALE then the chip operates to Motorola specs. If DS/RD of AS/ALE Intel mode is selected. Taking Rsti
IS0 IS1 NT Mode TE Mode 0 0 deactivated deactivated 0 1 pending deactivation synchronized 1 0 pending activation activation request 1 1 activated activated
low sets Motorola mode.
is low on the rising edge of
is high on the rising edge
9-37
MT8930C Preliminary Informatio n
Pin Description (continued)
Pin #
DIP PLCC
17 2 6 SYNC/B A Synchronization/Bus Activity Output (Cmode = 0): output indicating synchronization
18 30 MFR Multiframe Input/Output (Cmode=0): multi frame input in NT mode or output in TE
19 31 MCH Maintenance Channel (Q-channel) Input/Output (Cmode=0): an output in NT mode
20 32 M/S M/S Input/Output (Cmode=0): M/S bit input in NT mode or M/S bit output in TE mode.
21 34 AR Activate Request Input (Cmode = 0): asserting AR with DR = 0 will initiate the
22 35 DR Deactivate Request Input (Cmode = 0): asserting DR high will initiate the appropriate
Name Description
to incoming RX frames when activation request is asserted and the deactivation request is ’0’ (AR = 1 and DR = 0). Synchronization is declared once three successive frames conforming to the 14-bit bipolar violation criteria have been detected. If part is deactivated or activation request is ’0’ (AR = 0 or DR = 1), this pin indicates the presence of bus activity.
mode. Setting this pin to one in NT mode when HALF = 1, forces the F respectively. This pin going high in TE mode indicates that F received. This signal is updated on the rising edge of the HALF signal.
which is valid only in the frame following the transmission of MFR. In TE mode, this is the maintenance channel (Q-channel) input which is transmitted in the F following the reception of the multiframe signal. This input is sampled on the falling edge of the HALF signal.
M is read or written when HALF=1 while S is read or written when HALF=0.
appropriate S-interface activation sequence coded in the NT or TE activation/ deactivation controller.
S-interface deactivation sequence coded in the NT or TE activation/ deactivation controller.
, N pair to 1, 0
= 1 & N= 0 has been
A
A
and L bits
A
23 37 Rsti
Reset Input: Schmitt trigger reset input. If ’0’, sets all control registers to the default conditions, resets activation state machines to the deactivated state, resets HDLC, clears the HDLC FIFO‘s. Sets the microport to Motorola bus mode.
24 38 STAR/Rsto
Star/Reset (Open Drain Output): 192kbit/s Rx data output fixed relative to the ST­BUS timebase. A group of NTs, in fixed timing mode, can be wire or’ed together to create a Star configuration. Active low reset output in TE mode indicating 128 consecutive marks have been received. Can be connected directly to Rsti to reset all TEs on the bus. This pin must be tied to V
with a 10 kresistor.
DD
to allow NT
25 40 LRx Receive Line Signal Input: this is a high impedance input for the pseudoternary line
signal to be connected to the line through a 2:1 ratio transformer. See Figures 20 and
21. A DC bias level on this input equal to V
must be maintained.
Bias
26 42 LTx Transmit Line Signal Output: this is a current source output designed to drive a
nominal 50 ohm line through a 2:1 ratio transformer. See Figures 20 and 21.
27 43 V
Bias
Bias Voltage: analog ground for Tx and Rx transformers. This pin must be decoupled
through a 10µF capacitor with good high frequency characteristics (i.e.,
to V
DD
tantalum).
28 44 V
1,5-6,10­12,15,18,
23,27-
29, 33,
36, 39, 41
DD
NC No Connection.
Power Supply Input.
9-38
Preliminary Information MT8930C
Functional Description
The MT8930C Subscriber Network Interface Circuit (SNIC) is a multifunction transceiver providing a complete interface to the S/T Reference Point as specified in ETS 300-012, CCITT Recommendation I.430 and ANSI T1.605. Implementing both point-to-point and point-to-multipoint voice/data transmission, the SNIC may be used at either end of the digital subscriber loop. A pro grammable digital interface allows the MT8930C to be configured as a Network Termination (NT) or as a Terminal Equipment (TE) device.
The SNIC supports 192 kbit/s (2B+D + overhead) full duplex data transmission on a 4-wire balanced transmission line. Transmission capability for both B and D channels, as well as related timing and synchronization functions, are provided on chip. The signalling capability and procedures necessary to enable customer terminals (TEs) to be activated and deactivated, form part of the MT8930C’s functionality. The SNIC handles D-channel resource allocation and prioritization for access contention resolution and signa llin g re qui rem ents in pa ssive bus line configurations. Control and status information
allows implementation of maintenance functions and monitoring of the device and the subscriber loop.
An HDLC transc ei ve r is i n c lude d on th e S NI C for link access protocol handling via the D-channel. Depacketized data is passed to and from the transceiver via the micropro cessor port. Two 19 byte deep FIFOs, one for transmit and one for receive, are provided to bu ffer the da ta . The HD L C bl ock can be set up to transmit or receive to/from either the S-interface port or the ST-BUS port. Further, the transmit destination and receive source can be independe ntly selected, e.g., tran smit to S-interface while receiving from ST-BUS. The transmit and receive paths can be separately enabled or disabled. Both, one and two byte address recognition is supported by the SNIC. A transparent mode allows data to be passe d directly to the D channel without being packet ize d.
A block diagram of the MT8930C is shown in Figure
1. The SNIC has three interface ports: a 4-wire CCITT compatible S/T interface (subscriber loop interface), a 2048 kbit/s ST-BUS serial port, and a general purpose parallel microprocessor port. This 8-bit para lle l por t is comp ati ble with bot h Mo tor ola or
HALF
C4bi
F0bi
F0od
DSTi
DSTo
Cmode
NT
/WR
R/W
DS/RD
AS/ALE
CS
IRQ, NDA
VSS
HALF
C4bi
F0bi
F0od
DSTi
DSTo
Cmode
NT
AFT
DinB
P/SC
VSS
NT MODE
1 2
3 4
5 6
7 8
9 10 11 12 13 14
NT MODE
1
2
3
4
5
6
7
8
9 10 11
IC
12
IC
13 14
28 27 26 25 24 23 22 21 20 19 18 17 16 15
28 27 26 25 24 23 22 21 20 19 18 17 16 15
VDD VBias LTx LRx STAR Rsti AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0
VDD VBias LTx LRx STAR Rsti DR AR M/Si MCHo MFRi SYNC/BA IS1 IS0
CONTROLLER MODE
HALF
DSTo
Cmode
R/W
DS/RD
AS/ALE
IRQ, NDA
CONTROLLERLESS MODE
HALF
DSTo
Cmode
DReq
DCack
C4bo
F0bo F0od DSTi
CK
/WR
CS
VSS
C4bo
F0bo F0od DSTi
CK
PRI
DinB
P/SC
VSS
TE MODE
1 2
3 4
5 6
7 8
9 10 11 12 13 14
TE MODE
1
2
3
4
5
6
7
8
9 10 11 12 13 14
28 27 26 25 24 23 22 21 20 19 18 17 16 15
28 27 26 25 24 23 22 21 20 19 18 17 16 15
VDD VBias LTx LRx Rsto Rsti AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0
VDD VBias LTx LRx Rsto Rsti DR AR M/So MCHi MFRo SYNC/BA IS1 IS0
Figure 3 - SNIC Pin Connections in Various Modes
9-39
MT8930C Preliminary Informatio n
AAAA
A
A
A
A
A
AAAA
A
A
A
A
A
A
AAAA
A
A
A
A
A
A
AAAA
AAA
AAAA
AAA
AAAA
AAA
AAAA
AAA
AAAA
AAA
AAAA
AAA
SNIC also has provisions for a controllerless mode (Cmode=0), where the microprocessor port is redefined to allow access to the control/status registers via external hardware.
The three major blocks of the MT8930C, consisting of the system serial interface (ST-BUS), HDLC transceiver, and the digital subscriber loop interface (S-interface) are interconnected by high speed data busses. Data sent to and received from the S-interface port (B1, B2 and D channels) can be accessed from either the parallel microprocessor port or the serial ST-BUS port. This is also true for SNIC control and status information (C-channel). Depacketized D-channel information to and from the HDLC section can only be accessed through the parallel microprocessor port.
S-Bus Interface
AAA
AAAA
AAA
AAAA
AAA
AAAA
AAA
AAAA
AAA
AAAA
AAA
Intel microprocessor bus signals and timing. The
B1 B1 B1 B1 B1 B1 B1 B1 B2 B2 B2 B2 B2 B2 B2 B2
AAAA
B1 B1 B1 B1 B1 B1 B1 B1 B2 B2 B2 B2 B2 B2 B2 B2
The S-Bus is a four wire, full duplex, time division multiplexed transmission facility which exchanges information at 192 kbit/s rate inc luding two 64 kbit/s PCM voice or data channels, a 16 kbit/s signalling channel and 48 kbit/s for synchronization and overhead. The relative position of these channels with respect to the ST-BUS is shown in Figures 4 and 5.
Channel 1 (C) Channel 2 (B1) Channel 3 (B2)Channel 0 (D)
F0b
C7 C6 C5 C4 C3 C2 C1 C0
D0 D1 D2 D3 D4 D5 D6 D7
AAAA
AAA
AAAA
AAA
AAAA
AAA
AAAA
AAA
AAAA
AAA
AAAA
AAA
DSTi
C7 C6 C5 C4 C3 C2 C1 C0
D0 D1 D2 D3 D4 D5 D6 D7
DSTo
Only valid with 64 kbit/s D-channel Output in high impedance state Don’t care
F0od
Figure 4 - ST-BUS Channel Assignment
The SNIC makes use of the first four channels on the ST-BUS to transmit and receive control/status and data to and from the S-interface port. These are the B, D and C-channels (see Figure 4).
The B1 and B2 channels each have a bandwidth of 64 kbit/s and are used to carry PCM voice or data across the network .
The D-channel is primarily intended to carry signalling information for circuit switching through the ISDN network. The SNIC provides the capability of having a 16 kbit/s or full 64 kbit/s D-channel by allocating the B1-channel timeslot to the D-channel. Access to the depacketized D-channel is only granted throug h the pa ral lel mi crop roce ss or por t.
The C-channel provides a means for the system to control and monitor the functionality of the SNIC. This control/status channel is accessed by the system through the ST-BUS or microprocessor port. The C-channel provides access to two registers which provide complete control over the state activation machine, the D-channel priority mechanism as well as the various maintenance functions. A detaile d de scri p tion of the s e regi ste rs i s discussed in the microprocessor port interface.
9-40
Pre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AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
B1 B1 B1B1 B1B1 EB1 D0 B2 B2 B2 B2 B2 B2 B2 B2 ES D1 L F L B1 B1FL B1B1 B1B1 B1B1 B1 E D0 A Fa NB2B2B2B2B1 B2 B2 B2 B2 E D1 M B1 B1 B1
62.5 µs
62.5 µs
A = Activation bit
M = Multiframing bit
S = S-channel bit
B1 = Bit within B1-channel
B2 = Bit within B2-channel
Figure 5 - S-Bus Frame Structure and Functional Timing
62.5 µs
Fa & N (NT to TE) = Auxiliary framing bits
Fa (TE to NT) = Auxiliary framing bit or Q-channel bit
AAA
AAAA
A
AAA
AAAA
A
AAA
AAAA
A
AAA
AAAA
A
AAA
AAAA
A
AAA
AAAA
A
AAA
AAAA
A
AAA
AAAA
A
AAA
AAAA
A
AAA
AAAA
A
AAA
AAAA
A
AAA
AAAA
A
AAA
AAAA
A
AAA
AAAA
A
AAA
AAAA
A
F0b
DSTi
TEX
HALF
Output
M
T
NDA
F0b
NTR
DSTo
HALF
Input
V
C
F = Framing bit
L = DC balancing bit
D = Bit within D-channel
E = D-echo channel bit
9-41
F0b
NT to TE
NTX
Input
DSTi
HALF
NDA
F0b
DSTo
HALF
Output
T
M
TER
C
V
TE to NT
MT8930C Preliminary Informatio n
Line Code
The line code used on the S-interface is a Pseudo ternary code with 100% pulse width as seen in Figure 6 below. Binary zeros are represented as marks on the line and successive marks will alternate in polarity.
BINARY
VALUE
LINE SIGNAL
0100010011
Violation
Figure 6 - Alternate Zero Inversion Line Code
A mark which does not adhere to the alternating polarity is kno wn as a bip olar viol atio n.
Framing
The valid frame structure transmitted by the NT and TE contains the following (refer Fig. 5):
NT to TE:
- Framing bit (F)
- B1 and B2 channels (B1,B2)
- DC balancing bits (L)
- D-channel bits (D0, D1)
- Auxiliary framing and N bit (Fa, N), N=Fa
- Activation bit (A)
- D-echo channel bits (E)
- Multiframing bit (M)
- S-channel bit
TE to NT:
- Framing bit (F)
- B1 and B2 channels (B1, B2)
- DC balancing bits (L)
- D-channel bits (D0, D1)
- Auxiliary framing bit (Fa) or Q-channel bit
The framing mechanism on the S-interface makes use of line code violations to identify frame boundaries. The F-bit violates the alternating line code sequence to allow for quick identification of the frame boundaries. To secure the frame alignment, the next mark following the frame balancing bit (L) will also produce a line code violation. If the data following the balancing bit is all binary ones, the zero in the auxiliary framing bit (Fa) or N-bit (for the direction NT to TE) will provide successive violations to ensure that the 14 bit
criterion (13 bit criterion in the direction TE to NT) specified in Recommendations I.430 and T1.605 is satisfied. If the B1-channel is not all binary ones, the first zero followin g the L-bit will violate th e line code sequence, thus allowing subsequent marks to alternate without bipolar violations.
The Fa and N bits can also be used to identify a multiframe structure (when this is done, the 14 bit criterion may not be met). This multiframe structure will make provisions for a low speed signalling channel to be used in the TE to NT direction (Q-channel). It will consist of a five frame multiframe which can be identified by the binary inversion of the Fa and N-bit on the first frame and consequently on every fifth f rame of the multifra me. Upon detection of the multiframe signal, the TE will replace the next Fa-bit to be transmitted with the Q-bit.
The DC balancing bits (L) are used to remove any DC content from the line. The balancing bit will be a mark if the number of preceding marks up to the previous balancing bit is odd. If the number of marks is even, the L-bit will be a space.
The A-bit is used by the NT during line activation procedures ( refer to stat e activa tion di agrams). The state of the A-bit will advise the TE if the NT has achieved syn c hr o ni zation.
The E-bit is the D-echo channel. The NT will reflect the binary value of the received D-channel into the E-bits. This is used to establish the access contention resolution in a point-to-multipoint configuration. This is described in more detail in the section of th e D- c h an ne l p rio r i ty m e chanism.
The M-bit is a second level of multiframing which is used for structuring the Q-bits. The frame with M­bit=1 identifies frame #1 in the twenty frame multiframe. The Q-channel is then received as shown in Table 1. All synchronization with the multiframes must be performed externally.
FRAME # Q-Bit M-Bit
1Q11
6Q20
11 Q3 0
16 Q4 0
Table 1. Q-channel Allocation
Bit Order
When using the B-channels for PCM v oice, the first bit to be transmitted on the S-Bus should be the sign bit. This complies with the existing telecom standards which transmit PCM voice as most significant bit first. However, if the B-channels are to
9-42
Preliminary Information MT8930C
carry data, the bit ordering must be reversed to comply with the existing datacom standards (i.e., least signifi c an t bit fi rs t).
These contradicting standards place a restriction on all information input and output through the serial and parallel ports. Information transferred through the serial ports, will maintain the integrity of the bit order. Data sent to either serial port from the parallel port, will transmit the least significant bit first. Therefore, a PCM byte input through the microprocessor port must be reordered to have the sign bit as th e le a st s i gn i fic an t bi t.
When the microprocessor reads D, B1 or B2 channel data of eithe r ST-BUS or S-bus seria l port, the le ast significant bit read is the first bit received on that particular c h an ne l of either seri al p ort.
The D-channel received on the serial ST-BUS ports must be ordered with the least significant bit first as shown in Figure 4. This also applies to the D-channel directed to the ST-BUS from the microproces sor po rt.
The C-channel bit mapping from the parallel port to the ST-BUS is organized such that the most significant bit is transmitted or received first.
State Activation
The state activation controller activates or deactivates the SNIC in response to line activity or external command. The controller is completely hardware driven and need not be initialized by the microprocessor. The state diagram for initialization is shown in Figure 7.
The protocol used b y the state activati on co nt r oll er i s defined as follows:
1) In the deactivated state, neither the NT nor TE assert a signal on the line (Info0).
2) If the TE wants to initiate activation, it m ust begin transmitting a continuous signal consisting o f a po siti ve ze ro, a n ega tiv e ze ro followed by six ones (Info1).
3) Once the NT has detected Info1, it begins to transmit Info2 which consists of an S-Bus frame with zeros in the B and D-channel and the activation bi t (A -bit) s et to z e ro.
4) As soon as the TE synchronizes to Info2, it responds with a valid S-Bus frame with data in the B1, B2 and D-ch anne l (Info 3).
5) The NT will then transmit a valid frame with data in the B1, B2 and D-channel. It will also
set the activation bit (A) to binary one once synchronizatio n to Info 3 is ach ieve d.
If the NT wishes to ini ti a te the acti v at ion , st ep s 2 an d 3 are ignored and the NT starts sending Info2. To initiate a deactivation, either end begins to send Info0 (Idle line).
D-channel Priority Mechanism
The SNIC contains a hardware priority mechanism for D-channel contention resolution. All TEs connected in a point-to-multipoint configuration are allocated the D-channel using a systematic approach. Allocation of the D-channel is accomplished by monitoring the D-echo channel (E-bit) and incrementing the D-channel priority counter with every consecutive on e echoed back in the E bit. Any zero found on the D-echo channel will reset the prio rity co un te r.
There are two classes of priority within the SNIC, one user accessible and the other being strictly internal. The user accessible priority selects the class of operation and has precedence over the internal priority. The latter (internal priority), will select the level of priority within each class (i.e., the internal priority is a subsection of the user accessi ble priority). User accessible priorit y se lects th e t ermi nal count as 8/9 or 10/11 consecutive ones on the E-bit (8 being high priority while 10 being low priority). The internal priority selects the terminal between 8 or 9 for high class and 10 or 11 for low class. The first terminal equipment to attain the E-bit priority count will immediately take control of the D-channel by sending the opening flag. If more than one terminal has the same prio r it y, all but one of them will eventually detect a collision. The TEs that detect a collision will immediately stop trans-mitting on the D­channel, ge nerate an int errupt throug h the Dcoll bit , reset the DCack bit on the next frame pulse, and restart the counting process. The remainder of the packet in the Tx FIFO is ignored.
After successfully completing a transmission, the internal priority level is reduced from high to low. The internal priority will only be increased once the terminal co unt for the respec tive level of priority has been achieved (e.g., if TE has high priority internally and externally, it must count 8 consecutive ones in the D-echo channel. Once this is achieved and successful transmission has been completed, the internal priority is reduced to a lower level (i.e., count = 9). This terminal will not return to the high internal priority until 9 consecutive ones have been monitored o n th e D-e c ho ch an ne l ) .
9-43
MT8930C Preliminary Informatio n
(2)
Signals from NT to TE Signals from TE to NT
Info0
Info2
Info4
No Signal
Valid frame structure with all B, D, D-echo and A bits set to ‘0’
Valid frame with data in B, D, D-echo channels. Bit A is set to 1.
TE State Activation Diagram
DR = 1
Info0 No Signal
Info1 Continuous Signal of +‘0’, -‘0’
Info3 V a lid frame with data in B & D
AR = 1
and six ‘1’s
Bits
Activation Request
send Info1 if BA = 0 send Info0 if BA = 1
Where: BA
(1)
Note 1: signal is not timebase locked to NT. Note 2: Sync/BA bit of the Status Register
Sync = 1
= Bus Activity
DR = Deactivation Request AR = Activation Request
(2)
= Frame Sync Signal
Sync A = Activation bit
Time out = 32 ms Timer Signal
is configured as Sync bit when AR = 1 and DR = 0, or as BA bit when AR = 0 or DR = 1. A change in the state of the AR and/or DR bits will cause a change in the function of the Sync/BA bit in the following ST-BUS frame.
BA = 0
Deactivated
send Info0
NT State Activation Diagram
Pending
Activation
send Info2
DR = 1
BA = 0
BA = 1
AR = 1
Sync = 1
Sync = 0
Sync = 1
Activated
send Info3
Deactivated
send Info0
DR = 1
AR = 1
Activated
send Info4
Figure 7 - Link Activatio n Protocol, State Di agram
Line Wiring Configuratio n
The MT8930C can interface to any of the three wiring configurations which are specified by CCITT Recommendation I.430 and ANSI T1.605 (refer to Figs. 8 to 1 0). These co nsist of a point -to-point or one of the two point-to-multipoint configurations (i.e., short passive bus or the extended passive bus). The selection of line configurations is performed using the timing bit (B4 of NT Mode Control Register).
For the short passive bus, TE devices are connected at random points along the cable. However, for the extended passive bus all connection points are grouped at the far end of the cable from the NT.
Synchronized
send Info3 if Sync = 1
DR = 1
A = 1 &
Sync = 1
BA =0
send Info0 if Sync = 0
Sync = 0
A = 0
Time out
Pending
Deactivation
Send Info0
DR = 1
For an NT SNIC in fixed timing mode, the VCO and Rx filters/peak detectors are disabled and the threshold vo ltage is fixed. Howev er, for a TE SNIC or an NT SNIC (i n adaptive timing mode), the VCO and Rx filters/peak detectors are enabled. In this manner, the device can compensate for variable round trip delays and line attenuation using a threshold voltage set to a fixed percentage of the pulse peak amplitude.
Another operation can be implemented using the SNIC in the star configuration as shown in Figure 14. This mode allows multiple NTs, with physically independent S-Busses, to share a common input source and transfer information down the S-Bus to
9-44
Preliminary Information MT8930C
0 - 1 Km
NT
NT is operating in adaptive timing TR is the line termination resistor = 100
T R
Figure 8 - Point-to-Point Conf igurati on
NT
NT is operating in fixed timing TR is the line termination resistor = 100
T R
Fiure 9 - Short Passive Bus Configuratio n, up to 8 TEs can be support ed
NT
T R
0 - 10 m
100 m for 75 impedance cable and 200 m for 150 impedance cable
100 - 200 m
0 - 10 m
TE TE TE TE TE TE TE
TE
0-500 m
0-50 m
T R
TE
T R
T R
TE TE TE TE TE TE TE
NT is operating in adaptive timing TR is the line termination resistor = 100
Figure 10 - Extended Passive Bus Configuration, up to 8 TEs can be supported
all TEs . All NT devices connected into the star will receive the i nformation transmi tted by all TEs on al l branches of the sta r, exactly as if th ey were on the same physical S-Bus. All NTs in the star configuration mu st be ope rat ing in fi xed timing mode. Refer to the description of the star configuration in the ST-BUS section.
The SNIC has on e last mode of operati on called th e NT slave mode. T his has th e effect of op erati ng th e SNIC in network termination mode (CK/NT pin = 1) but having the frame structure and registers description defined by the TE mode. This can be used where multiple subscriber loops must carry a fixed phase relation between each line. A typical situation is when the system is trying to synchronize two nodes of a synchronous network. This allows multiple TEs to share a common ST-BUS timebase. The synchronization of the loops is established by using the clock signals produced by a local TE as an input timing source to the NT slave.
TE
Adaptive Timing Operation
On power-up or after a r ese t, t he SNIC in N T mo de is set to operate in fixed timing. To switch to adaptive timing, th e use r s h ou ld :
1) set the DR b it to 1
2) set the Timing bit to 1 in the C-channel Control Register
3) wait for 100 ms period
4) proceed in using the AR and DR bits as desired
Switching from adaptive timing mode is completed by resetting the Timing bit.
9-45
Loading...
+ 25 hidden pages