Mitel MT90840 User Manual

MT90840
Distributed Hyperchannel Switch
Preliminary Information
Features
Time slot interchange function between eight pairs of ST-BUS/GCI/MVIP streams (512 channels) and parallel data port
Programmable data rates on the parallel port (19.44, 16.384, or 6.480 Mbyte/s)
Supports star and point-to-point connections, and unidirectional or bidirectional ring topologies for distributed systems
Input-to-output bypass function on the parallel data port for use in add/drop applications
Provides elastic buffer at parallel input port in the receive direction
Provides byte switching for up to 2430 channels
Per-channel direction control on the serial port side
Per-channel message mode and high-impedance control on both parallel and serial port sides
8-bit multiplexed microprocessor port compatible with Intel and Motorola microcontrollers
Guarantees frame integrity when switching nX64 wideband channels such as ISDN H0 channel
Provides external control lines allowing fast parallel interface to be shared with other devices

ISSUE 2 March 1997

Ordering Information
MT90840AL 100 Pin PQFP MT90840AP 84 Pin PLCC
-40°C to 85°C
Diagnostic alarm functions and clock phase-status word for clock monitoring
IEEE 1149 (JTAG) boundary scan port
Applications
Bridging ST-BUS/MVIP buses to high speed Time Division Multiplexed backplanes at SONET rates (STS-1, STS-3)
High speed isochronous backbones for distributed PBX and LAN systems
Switch platforms of up to 2430 channels with guaranteed frame integrity for wideband channels
Serial bus control and monitoring
Data multiplexing
High speed communications interface
PDo0
PDo7
CTo0-3
PDi0
PDi7
PCKR
PCKT
RES
PPFRi
PPFTi/o
F0i/o
Output
Mux &
Drivers
4
Timing Control
Unit
SPCKo
C4/8R1
C4/8R2
Multiple Pages of 512 Position
8
8
TX Path Data Memory
16
2430 Position
TX Path
Connection Memory
8
Multiple Pages of 2430-Byte
RX Path Data Memory
15
512 Position
RX Path
Connection Memory
CPU Interface
IRQ
AD0-7
DS/RD
AS/ALE
R/W\WR
CS
DTA

Figure 1 - Functional Block Diagram

Serial
8
to
Parallel
&
Parallel
to
Serial
8
Conver-
ters
Internal
Registers
Bidirectional
I/O
Driver
Bidirectional
I/O
Driver
JTAG
8
VDD
VSS
8
STi0
STi7
STo0
STo7
5
TEST
Pins
2-231
MT90840 Preliminary Information
RD DS/
VDD 2
42
VSS
W R/
84
44
AD7
AD6
82
46
AD5
AD4
80
48
AD3
AD2
78
50
AD1
AD0
74
76
72
70
68 66 64 62 60 58 56 54
52
VDD
VSS STo0 STo1 STo2 STo3 STo4 STo5 STo6 STo7 SPCKo VSS VDD TDO TMS TCK TRST TDI PPFRi PCKT PCKR VDD
VDD STi0 STi1 STi2 STi3 STi4 STi5 STi6 STi7
C4/8R1
F0i/o
C4/8R2
VSS VDD
NC
NC CTo3 CTo2 CTo1 CTo0
VSS
12 14
16 18 20 22 24 26
28 30
32
VSS
NC
10
34
IC
RES
8
IRQ
DTA
6
CS
AS/ALE
4
84 PIN PLCC
36
38
40
PDo7 PDo6 PDo5 PDo4 PDo3 PDo2 PDo1 PDo0
PPFTi/o
VSS VDD PDi7 PDi6 PDi5 PDi4 PDi3 PDi2 PDi1 PDi0
VSS
82 84
86 88 90 92 94 96
98
100
NC
NC
NC
NC
VDD
NC
PDo6
PDo7
VSS
VDD
PDo4
PDo5
CTo1
CTo0
PDo0
PDo1
PDo2
PDo3
VSS
CTo3
VDD
CTo2
100 PIN PQFP
VSS
VDD
PPFTi/o
C4/8R2
C4/8R1
F0i/o
PDi7
STi7
PDi4
PDi5
PDi6
STi6
PDi2
PDi3
STi3
STi2
STi4
STi5
22 24 26 28 30
2018161412108642
PDi0
PDi1
STi0
STi1
VSS
VDD
VSS
NC
NC
NC
NC
525456586062646668707274767880
50
NC IC
48
RES IRQ
46
DTA CS
44
AS/ALE
/RD
DS
42
VDD VSS
40
R/W AD7
38
AD6 AD5
36
AD4 AD3
34
AD2 AD1
32
AD0 NC
2-232
NCNCNC
NC
VDD
PCKR
PCKT
PPFRi
TDI
TCK
TRST
TMS
TDO
VSS
VDD

Figure 2 - Pin Connections

STo7
STo6
SPCKo
STo5
STo4
STo3
STo2
STo0
STo1
VSS
NCNCNC
VDD
NC
Preliminary Information MT90840
Pin Description
Pin #
84 100
343DS/RD Data Strobe/Read (Input). In Motorola multiplexed-bus mode this pin is DS, an

4 44 AS/ALE Address Strobe / Address Latch Enable (Input ). Falling edge is used to sample

545 CS Chip Select (Input). Active low input enabling a microprocessor read or write of
646 DTA Data Acknowledgment (Active Low Output). Indicates that a data b us transf er is
7 47 IRQ Interrupt Request (Active High Output). Output indicates that the MT90840 has
Name Description
active high input which works with CS to enable read and write operation. In Intel/ National multiplexed-bus mode this pin is RD, an active low input which enables a read-cycle and configures the data bus lines (AD0-AD7) as outputs.
address into the Address Latch circuit.
control or status registers.
complete. When the bus cycle ends, this pin drives HIGH and then tri-states, allowing for faster bus cycles with a weaker pull-up resistor. A pull-up resistor is required to hold a HIGH level when the pin is tri-stated. Note that CPU read/writes from/to the Data and Connection memories occur on the serial or parallel port clock edges, and DTA will not change state if the clock is halted.
detected an alarm condition. The indication of the specific condition can be read in the ALS (Alarm Status) Register. The CPU should read ALS, identify the source f or the interrupt and then rewrite the mask bits to re-enable the IRQ signal.
8 48 RES RESET (Schmitt Input). Asynchronous device reset. A logic-high signal should be
applied during power-up to bring the MT90840 internal circuitry to a defined state. Serial and parallel TDM outputs (STo0-7, STi0-7, and PDo0-7) are held in high-impedance state after reset until programmed otherwise. This input must be held low during normal operation.
949 ICInternal Connection. The user must connect this pin to VSS. This pin must remain
low for the MT90840 to function normally, and to comply with IEEE 1149 (JTAG) boundary scan requirements. This pin is pulled low internally when not driven.

10, 26,

27

13-20 57-64 STi0-STi7 Serial Inputs 0 to 7 (Bidirectional). Serial TDM data-streams at 2.048, 4.096 or

21 65 C4/8R1 Serial Clock Reference Input 1. When enabled by the C4/8R bit (high) in the TIM

1-4, 27-31 50-54 76-80

NC No Connection.
8.192 Mbps, with 32, 64 or 128 channels respectively per stream. For 2.048 and
4.096 Mbps applications, streams STi0-STi7 can be used, while for 8.192 Mbps, only streams STi0-STi3 are used (512 channel limit). These eight bidirectional lines can be programmed as inputs (default) or outputs on a per-channel basis.
Register, this input receives the 4.096 or 8.192 MHz serial port clock reference. If the C4/8R bit is set low, or if the INTCLK bit is set high, this input is ignored by the MT90840.
In Timing Mode 1 (TM1), or at 8.192 MHz, the C4/8 input is used directly to shift data in and out of the serial port.
In Timing Mode 2 (TM2) at 4.096 MHz, the C4 input from an external clock source (e.g. a PLL locked to an 8 kHz ref erence) is phase-corrected b y the MT90840, and used to generate the serial port SPCKo and F0 outputs.
In Timing Modes 3 and 4 (TM3 and TM4) this input is not used. For more details on the use of this signal, see the description of Timing Mode 1
and Timing Mode 2.
2-233
MT90840 Preliminary Information
Pin Description (continued)
Pin #
84 100

22 66 F0i/o Serial Port Frame Synchronization (Bidirectional). This 8 kHz frame pulse

23 67 C4/8R2 C4/8R2 Serial Clock Reference Input 2. When enabled by the C4/8R bit (low) in

Name Description
signal indicates the TDM 125 µsec frame boundary on the serial data port. This pin is compatible with both ST-BUS/MVIP and GCI formatted framing signals.
In TM1 this pin is an input, and the MT90840 senses the polarity of this frame pulse and automatically adapts the serial data port timing to the applicable format (ST-BUS or GCI).
In TM2 with SFDI =1 this signal is an input, and its expected format is determined by the SPFP bit in the GPM Register.
In TM2 (with SFDI =0), and in TM3, this signal is an output, generated from the internal timing and synchronized to the SPCKo output clock. The polarity of the F0 pulse is determined by the SPFP bit in the GPM Register.
In TM4 this pin is not used.
the TIM Register, this input receives the 4.096 or 8.192 MHz serial port clock reference. If the C4/8R bit is set high, or if the INTCLK bit is set high, this input is ignored by the MT90840. (See pin description for C4/8R1.)

28-31 70-73 CTo3-

CTo0

34-41 81-88 PDo7-PDo0Parallel Data Output Port 7 to 0 (Output). These eight outputs carry the parallel

42 89 PPFTi/o Parallel Port Framing, Transmit (Bidirectional). This signal delineates the start

45-52 92-99 PDi7-0 Parallel Data Input Port 7 to 0 (Input). These eight inputs carry the parallel port

55 6 PCKR Parallel Port Clock, Receive (Input). This is a 19.44, 16.384, or 6.48 MHz clock

56 7 PCKT Parallel Port Clock, Transmit (Input). This is a 19.44, 16.384, or 6.48 MHz clock

57 8 PPFRi Parallel Port Framing, Receive (Input). This 8 kHz frame pulse input determines

External Control Lines 3 to 0 (Output). Output signals generated from the MT90840 Transmit Path Connection Memory (TPCM). The four serial CTo output lines represent the contents of the four CT bits in the TPCM, and are clocked at the parallel port rate (up to 19.44 MHz). See Per-Channel Functions section.
port data bytes in the transmit direction and operate at data rates up to 19.44 Mbyte/s.
of a new data frame at the PDo0-7 lines on the transmit parallel port. Normally an output, when the PFDI bit in the TIM Register is set high PPFT becomes an input, and is used to receive the frame reference from another MT90840. Used in all timing modes except TM3.
data bytes in the receive direction and operate at data rates up to 19.44 Mbyte/s.
input. It might typically be provided by a high speed framer. PCKR clocks in data on the receive parallel port (PDi7-0 and PPFRi). In Timing Modes 2, 3, and 4, PCKR clocks both the transmit and receive parallel ports.
input. It might typically be provided by a high speed framer. In TM1 PCKT clocks out the data on the transmit parallel port (PDo0-7, CTo0-3, and PPFTo). In TM2, TM3, & TM4, this input is ignored.
the start of a new frame at the PDi0-7 lines of the receive parallel port. It might typically be connected to the frame pulse output of a high speed framer. In TM3, PPFRi is the frame sync reference for both the transmit and receive parallel ports.
58 9 TDI Test Data (Input). JTAG serial test instructions and data are shifted in on this pin
on rising TCK. This pin is pulled high internally when not driven.
2-234
Preliminary Information MT90840
Pin Description (continued)
Pin #
84 100

59 10 TRST Test Reset (Input). Asynchronously initializes the JTAG TAP controller, placing it

60 11 TCK Test Clock (Input). Provides the clock to the JTAG test logic. This pin is pulled high
61 12 TMS Test Mode Select (Input). JTAG signal that controls the state transitions of the
62 13 TDO Test Data (Output). JTAG serial data is output on this pin on the falling edge of

65 16 SPCKo Serial Port Clock (Output) In TM2 and TM3, this is a 4.096 MHz clock output

Name Description
in the
Test-Logic-Reset
This pin should be pulsed low on power-up, or held low continuously, to ensure that the MT90840 is in the normal functional state, and not the test state.
by an internal pull-up when not driven.
TAP controller, sampled on rising TCK. This pin is pulled high by an internal pull-up when not driven.
TCK. This pin is held in a high impedance state when JTAG scan is not enabled.
derived from the system 4.096 MHz reference. (As controlled b y the C4/8R bit and the INTCLK bit in the TIM Register.) This output is used to shift data in and out of the serial port.
state. This pin is pulled high internally when not driven.
In TM1 and TM4, this output is automatically placed in high impedance. For applications with the serial port running at 8.192 Mbps this output is not used,
and an 8.192 MHz clock source must be supplied at C4/8R1 or C4/8R2.

66-73 17-24 STo7-STo0 Serial Output Streams 7 to 0 (Bidirectional) . Serial TDM data-streams at 2.048,

4.096 or 8.192 Mbps, with 32, 64 or 128 channels respectively per stream. For
2.048 and 4.096 Mbps applications, streams STo0-STo7 can be used, while for
8.192 Mbps, only streams STo0-STo3 are used (512 channel limit). These eight bidirectional lines can be programmed as inputs or outputs (default) on a per-channel basis.

76-83 32-39 AD0-AD7 Multiplexed Address/Data Bus (Bidirectional). These I/O lines provide an 8-bit

interface to a microprocessor for control and monitoring of the MT90840. These pins function as eight input address lines to the Address Latch circuit as well as eight data I/O lines.

84 40 R/W \ WR Read/Write \ Write (Input). In Motorola multiplexed-bus mode this input is

R/W, which controls the direction of the data bus lines (AD0-AD7) during a microprocessor access. In Intel/National multiplexed-bus mode this input is WR, an active low signal which configures the data bus lines (AD0-AD7) as inputs during a microprocessor write access.
1,11 24,32, 43,53,
64,74
15,25, 41,55, 68,74,
90,10
0
V
SS
Ground.
2, 12, 25,33
44,54,
63,75
5, 14,
26,42 56,69, 75,91
V
DD
+5 Volt Power Supply.
2-235
MT90840 Preliminary Information
Functional Description
The MT90840 Distributed Hyperchannel Switch is a large switching, multiplexing, and rate-adapting device. The MT90840 bridges serial-bus telecom components, using the Mitel ST-BUS or other industry-standard serial buses, onto a higher speed “backbone”. Mixed data, voice and video signals can be time-interchanged or multiplexed from serial Time Division Multiplexed (TDM) streams onto a high speed parallel bus. The parallel bus can be used for interconnect, or an external framer can be connected to the parallel bus to access serial isochronous backbones operating at up to 155 Mbps SONET rates (STS-3).
The MT90840 Distributed Hyperchannel Switch supports real-time multimedia applications through constant delay switching. Multimedia data at N x 64 kbps rates uses N bytes (“time slots”, or “channels”) per 125 µsec frame. This is also referred to as hyperchannel data. To ensure the integrity of data at N x 64 kbps rates, the network must ensure that the N bytes in a given input frame remain together as a frame, and arrive at the destination as a frame. The MT90840 supports this requirement by providing constant delay (frame integrity) which ensures that the multiple time slots of associated data remain in the intended order.
Total TDM channel capacity of the MT90840 at maximum data rates is:
• 512 serial input time slots,
• 512 serial output time slots,
• 2430 parallel input time slots, and
• 2430 parallel output time slots. The number of time slots available is dependent
upon the selected data rates, and is reduced at lower data rates.
Figure 1 shows the MT90840 functional block diagram. The figure shows the TDM data paths and the device interfaces.
The MT90840 has three main TDM data paths:
• Transmit Path: serial port input (STi) to parallel port output (PDo),
• Receive Path: parallel port input (PDi) to serial port output (STo),
• Bypass and Parallel-Switching: PDi to PDo.
The MT90840 has four main interfaces:
• the serial TDM bus interface (STi, STo and timing),
• the parallel TDM bus interface (PDi, PDo and timing) with programmable control outputs (CTo),
• the microprocessor (CPU) interface,
• the test interface (JTAG).
The MT90840 supports four major timing/switching modes:
• TM1/Ring Master: PDo timing slaved to STi/o timing, PDi timing elastic;
• TM2/Ring Slave: PDo and STi/o timing slaved to PDi;
• TM3/Bus Slave: PDo and PDi timing tied together, STi/o timing slaved to parallel bus;
• TM4/Parallel Switching: parallel channel switching from PDi to PDo.
Other features of the MT90840 are programmab le for individual TDM channels on the serial and parallel ports (per-channel features):
• Mitel Message Mode,
• Per-channel output enable,
• Per-channel bypass (parallel bus),
• Programmable CTo control outputs (parallel bus),
• Per-channel direction control (serial bus).
Device Operation
Time Slot Interchange Operation (Switching)
The MT90840 provides access and time slot interchange (switching) functions between the serial and parallel TDM data ports. Switching is provided on three paths: transmit (serial input to parallel output), receive (parallel input to serial output) and bypass/parallel-switching (parallel input to parallel output). Switching functions between serial data streams are not provided.
The MT90840 guarantees wideband or hyper-channel data integrity through the switch by using constant delay switching. This is done by storing a full frame (125 µsec) of data at the input rate and then, under control of the Connection Memory for that path, reading the frame at the output data rate (frame integrity). Therefore the Transmit Path and the Receive Path each have separate Data and Connection Memories.
In addition, Mitel Message Mode capabilities allow the user to force data on TDM output time slots and to monitor TDM input time slots through the microprocessor port.
2-236
Switching in a given data path is controlled by programming the Connection Memory for that path. Each output time slot has a control-address in the path’s Connection Memor y. Each input time slot has
Preliminary Information MT90840
C4/8R1&2 (4 MHz)
Serial I/O 2 Mbps
Serial I/O 4 Mbps
C4/8R1&2 (8 MHz)
Serial I/O 8 Mbps
Frame Boundary Established by
Ch. 31 Bit 1
Ch. 63 Bit 2 Ch. 63 Bit 1 Ch. 63 Bit 0 Ch. 0 Bit 7 Ch. 0 Bit 6 Ch. 0 Bit 5
ch.127
b3
Ch. 31 Bit 0
ch.127
b2
ch.127
b1
ch.127
b0
ch. 0
b7
F0
Ch. 0 Bit 7
ch. 0
b6
ch. 0
b5
ch. 0
b4
Figure 3 - Serial Port Interface Functional Timing
Frame Boundary Established by PPFRi
Ch. 0 Bit 6
PCKR
PPFRi
PDi0-7
PCKR or PCKT
(TCP bit = 0)
PPFTi/o
(PPFP bit =1)
PDo0-7
Notes: In TM1, 2 and 4 PPFRi and PPFT are not simultaneous.
Terminal count “n” = 2429, 2047, or 809.
Ch. n-2 Ch. n-1 Ch. n Ch. 0 Ch. 1 Ch. 2
Frame Boundary Established by PPFTi/o
Ch. n-2 Ch. n-1 Ch. n
Ch. 0 Ch. 1 Ch. 2
Figure 4 - Parallel Data Port Functional Timing
2-237
MT90840 Preliminary Information
an address-value in the path’s Data Memory. A given output time slot is controlled by programming the Connection Memory control-address with the address-value of the source input time slot. At the same control-address the output time slot is enabled or tri-stated and other per-channel functions set up. Thus each output time slot is individually controlled, and any given input time slot might be copied to one, several, or none of the output time slots.
Transmit Path
The Transmit Path is from the serial inputs, through the Transmit (Tx) Path Data Memory, to the parallel outputs (PDo0-7). This path is controlled by the contents of the Tx Connection Memory. The Tx Connection Memory is programmed, for each output time slot, with the address-value of the source channel to be read out of the Tx Data Memory. Up to 512 channels of serial input can be switched to up to 2430 channels of parallel output.

Transmit Path Connection Memory

The Tx Path Connection Memory is structured as 2430 words of 16 bits. This supports up to 2430 DS0 channels for parallel rates up to 19.44 Mbyte/s (155 Mbps). The Tx Path Connection Memory is accessed as two-sub memories: High and Low. The Connection Memory Low (2430 X 8) is the low byte of the word, and is programmed with the address-value of the serial-input source channel. The Connection Memory High (2430 x 8) is the high byte of the word. Connection Memory High holds the high-order bit(s) of the source address-value, and is also programmed to control per-channel functions such as output driver-enable and programmable control outputs.

Transmit Path Data Memory

The Tx Path Data Memory is structured as 512 words of 8 bits. Serial input time slots are converted to parallel bytes and copied to the Tx Path Data Memory sequentially, serial-stream by serial-stream. The lowest address of the Tx Path Data Memory is STi0-channel0, the next is STi0-channel1, and so on. At 2 Mbps, with 32 channels per STi pin, STi1-channel0 would be 32 addresses higher than STi0-channel0. The Tx Path Data Memory is read out to the parallel outputs by the Tx Connection Memory.
Receive Path
The Rx Path Connection Memory is programmed, for each output time slot, with the address-value of the source channel to be read out of the Rx Path Data Memory. Up to 2430 channels of parallel input can be switched to up to 512 channels of serial output. Each output byte, whether switched data or message mode data, is read from memory and passed to the parallel-to-serial converters, and then driven out the serial port.

Receive Path Connection Memory

The Rx Path Connection Memory is structured as 512 words of 16 bits. This supports up to 512 DS0 channels. The Rx Path Connection Memory is accessed as two sub-memories: High and Low. The Connection Memory Low (512 x 8) is the low byte of the word, and is programmed with the address-value of the parallel-input source channel. The Connection Memory High (512 x 8) is the high byte of the word. Connection Memory High holds the high-order bits of the source address-value, and is also programmed to control per-channel functions such as output driver-enable and direction-control.

Receive Path Data Memory

The Rx Path Data Memory is structured as 2430 words of 8 bits (1 byte). Parallel input time slots are copied to the Rx Path Data Memory sequentially. The Rx Path Data Memory is read out to the serial port by the Rx Path Connection Memory.
Bypass/Parallel-Switching Path
The Bypass/Parallel Switching path is from parallel input to parallel output. Data received at the parallel inputs (PDi0-7) is copied to the Rx Path Receive Memory, and may be passed to the parallel outputs (PDo0-7) under control of the Tx Path Connection Memory.

Bypass

In ring timing modes (TM1 and TM2) this is a bypass path. When the Bypass bit (PPBY) for a given parallel output channel is set in the Tx Path Connection Memory, the same-address parallel input channel is copied (bypassed) to that parallel output channel. This allows data channels not destined for the local node to be bypassed to the output port and down the ring. “Broadcast” channels destined for every node can also be bypassed, since PPBY is an output control, and it does not affect the availability of the Receive Parallel data for switching to the serial port or monitoring through the CPU interface.
The Receive Path is from the parallel inputs (PDi0-7), through the Receive (Rx) Path Data Memory, to the serial outputs. This path is controlled by the contents of the Rx Path Connection Memory.
2-238

Parallel Switching

In Parallel Switching Mode (TM4) this is a switching path, and the Tx Path Connection Memory is
Preliminary Information MT90840
programmed to switch parallel inputs to parallel outputs. For each parallel output channel control-address, the Tx Path Connection Memory is programmed with the 12-bit address-value of the desired parallel input channel.
Serial Data Port
The serial port consists of 16 bidirectional serial data lines (STo0-7, STi0-7), two reference input clock pins (C4/8R1, C4/8R2), one serial clock output (SPCKo) and a bidirectional frame synchronization signal (F0i/ o). The STi pins are the default inputs, but the user can program the direction of the pins on a per-channel basis in the Rx Path Connection Memory.
The serial port modes are controlled by the DR bits and the FDC bit in the IMS register, and are:
• 2.048 Mbps Balanced: 8 inputs and 8 outputs per serial time slot (FDC = 0),
• 2.048 Mbps Add/Drop: 16 serial I/O individually programmed per time slot (FDC = 1),
• 4.096 Mbps: 8 inputs and 8 outputs per time slot,
• 8.192 Mbps: 4 inputs and 4 outputs per time slot. Figure 3 shows the different data rate configurations
for the MT90840 serial port.
In addition the user can specify the placement and polarity of the output frame pulse F0o as ST-BUS or GCI compatible, using the SPFP bit in the GPM register. In TM1, the MT90840 automatically detects ST-BUS or GCI serial bus modes, based on the polarity of F0i. The user can also specify which of the two input clock pins - C48R1 or C48R2 - to use as the serial port clock source, using the C4/8R bit in the TIM register.
The user can define the direction of each time slot of the serial port. This per-channel direction control feature is controlled by the DC bit in the Rx Path Connection Memory High. This is ideal for applications in Computer Telephony Integration (CTI) where per-channel direction control is required within telephony servers.

2.048 Mbps Balanced Mode

The 2.048 Mbps Balanced mode has 8 inputs and 8 outputs active during each serial-byte-period or “time slot”. At 2.048 Mbps, each STi/o pin has 32 8-bit channels per 125 µsec frame, with each individual channel at 64 kbps. (1/125µsec X 8 bits = 64 kbps, 32 x 64 kbps = 2.048 Mbps). This mode supports 256 serial input channels and 256 serial output channels. This mode is “balanced” in that there are always 8 inputs and 8 outputs during a time slot. If a
specific time slot in an output stream (e.g. STo0-channel7) is programmed in the Rx Path Connection Memory as an input, the corresponding time slot on the equivalent input stream (i.e. STi0-channel7) is automatically an output. The serial clock for this mode is 4.096 MHz.

2.048 Mbps Add/Drop Mode

The 2.048 Mbps Add/Drop mode (FDC bit high) has 16 bidirectional streams active during each time slot. This mode allows up to 512 input channels, or up to 512 output channels, or any mix of channels totalling 512 channels. Per-channel direction control in the Rx Connection Memory specifies the direction of all 512 serial channels from STo0-channel0 up to STi7-channel31.

4.096 Mbps Mode

The 4.096 Mbps mode has 8 inputs and 8 outputs active during each time slot. At 4.096 Mbps each STi/o pin has 64 channels of 64 kbps. This mode supports 512 serial input channels and 512 serial output channels. The serial clock is 4.096 MHz. Per-channel direction control in this mode is the same as the 2.048 Mbps balanced mode.

8.192 Mbps Mode

The 8.192 Mbps mode has 4 inputs and 4 outputs active during each serial byte period. At 8.192 Mbps, each STi/o pin has 128 channels. This mode supports 512 serial input channels and 512 serial output channels. The serial clock for this mode is
8.192 MHz. Per-channel direction control in this mode is the same as the 2.048 Mbps balanced mode.

Serial Port Clock Signals

Depending on the Timing Mode selected, the serial port clock is either an input, or an output derived from a reference clock. In modes where the serial clock is derived by the MT90840 from a reference clock, the serial port clock output appears at SPCKo. The reference clock is either PCKR (if INTCLK is high), or one of C4/8R1 or C4/8R2. The C4/8R bit of the Timing Mode Register is used to select which of C4/8R1 or C4/8R2 will be the clock source or reference pin. Switching between clock sources during device operation will cause temporary TDM data errors.

Internal 4.096 MHz Clock Generator

For TM2 applications running at 19.44 or 16.384 MHz rates on the parallel port, an internal divider can be used to generate a 4.096 MHz clock from the PCKR clock input. The internal divider can not be used in applications where the parallel port operates at 6.480 Mbyte/s rates. The INTCLK bit in the TIM
2-239
MT90840 Preliminary Information
Register enables the internal divider, and the SPCKo output (and internal 4.096 MHz clocks) are driven by the clock divided-down from PCKR. At 16.384 MHz, this is a simple divide-by-4, and the SPCKo output jitter will depend on the PCKR input jitter. At 19.44 MHz, the SPCKo output jitter will be larger as the divider switches between rising and falling edges of PCKR. The serial port timing and F0o frame pulse are tightly slaved to PPFRi when INTCLK is set high.

Serial Frame Pulse

In TM1, the MT90840 receives the frame reference (F0i) from an external source, and the MT90840 senses the polarity of the frame pulse and adapts the device timing to the appropriate (ST-BUS or GCI) format.
In TM2 and TM3, the MT90840 outputs the serial port frame pulse (F0o). Positive (GCI) or negative (ST-BUS) frame pulse formats, and the associated clock polarity, can be selected for the F0o signal by programming the SPFP bit in the GPM Register. This flexibility allows the MT90840 to be employed with different serial bus formats.
In applications which require a large number of serial channels in TM2, it is possible to operate multiple MT90840s in parallel using the SFDI control bit (in the TIM register). To allow the MT90840s to synchronize their internal timing, all of the MT90840s are connected to the same C4/8 reference source, and one MT90840 in normal TM2 (SFDI set low) supplies F0 to one or more MT90840s in TM2 with SFDI set high. With SFDI set high, F0 becomes an input, and this allows the MT90840 driving F0 to control the timing of one or more other MT90840s. If the internal 4.096 MHz clock divider is used (INTCLK high) it is not necessary to use the SFDI control, as the serial port timing and F0o frame pulse of each parallel MT90840 will be tightly slaved to PPFRi when INTCLK is set high.
Should the input framing at F0i cease while the C4/8 clock continues to run, the MT90840 will continue to function as if the frame pulse was asserted after the normal number of clock cycles (free run). If F0i re-commences the MT90840 will immediately sync to F0i, but changes in the F0i interval will temporarily disrupt the TDM data streams. If the F0i input is held asserted, the serial I/O will “lock up” and operation will be disrupted.
Parallel Data Port
The MT90840 parallel port is composed of an 8-bit wide Parallel Data Output Port (PDo0-7), a 4-bit wide Control output port (CTo0-3), an 8-bit wide Parallel
Data Input Port (PDi0-7), a Receive Frame sync signal (PPFRi) and a Transmit Frame sync signal (PPFT), and Transmit (PCKT) and Receive (PCKR) Clocks.
The Parallel Port Rates are controlled by the PPS bits in the IMS register, and are:
• 19.44 Mbyte/s (2430 channels),
• 16.384 Mbyte/s (2048 channels), and
• 6.48 Mbyte/s (810 channels).
The user can further specify the features of the parallel TDM port, including:
• the edge of the parallel port clock used to transmit data and PPFTo (see TCP bit in the TIM register),
• the polarity of the Parallel Port Frame Transmit pulse PPFT (see PPFP bit in the GPM register),
• the use of PPFT (normally an output) as an input in TM1, if the application requires multiple MT90840 devices to operate in parallel (see PFDI bit in the TIM register).
The parallel port of the MT90840 is flexible enough to interface to a variety of applications. It can be connected to a framer to access a serial transport backbone running at up to 155 Mbps. It can be connected to a backplane-type parallel bus. It can share a parallel bus with other devices, using the control outputs (CTo0-3) and the per-channel tristate function to share access to the bus.

Parallel Por t Clock Signals and Framing

The MT90840's PPFRi (Parallel Port Frame pulse Receive input) and PPFTi/o (Parallel Port Frame pulse Transmit i/o) signals synchronize the MT90840 to the high speed data frame. Receive data is clocked in at the Parallel Data inputs (PDi0-7) by the Parallel port Receive ClocK (PCKR), as framed by Receive Parallel Port Frame input (PPFRi). In TM2, TM3 and TM4, PCKR also clocks the Parallel Data outputs (PDo0-7), with the framing in TM2 and TM4 indicated by the PPFTo output. In TM1, the Parallel Data outputs are clocked out by PCKT, with the framing indicated by PPFTo. Alternatively, the Transmit framing can be controlled by the PPFTi input if the PFDI bit in the TIM register has been set high, to enable multiple MT90840s to operate in parallel in TM1.
Should the input framing at PPFRi cease while the PCKR clock continues to run, the MT90840 will continue to function as if the frame pulse was asserted after the normal number of clock cycles (free run). If PPFRi re-commences, the MT90840 will immediately sync to PPFRi, but any change in the framing interval will temporarily disrupt the TDM data
2-240
Preliminary Information MT90840
streams, and trigger the PPCE interrupt bit. PPCE will be triggered by PPFRi moving from the expected time, but PPCE will not be triggered by a missing PPFRi. If the PPFRi input is held asserted, the parallel I/O will “lock up” and operation will be disrupted (including CPU access to the TPCM).
The PPFTi framing in TM1 with PFDI=1 operates similarly, using PCKT, but the PPCE interrupt does not monitor PPFTi. Instead, the TXPAA bit indicates that the PPFTi input is out of phase with F0i.
Output Driver Enable Control Capability
The MT90840 provides a bit (ODE) in the IMS Register that places all data outputs of the device (parallel and serial) in a high impedance state. The ODE bit (Output Drive Enable) is automatically set low by the reset input pulse applied to the device during system power up. When low, the ODE bit disables all TDM outputs of the MT90840 while Connection Memory initialization is performed by the CPU. This function is useful to avoid data collision when the MT90840 is sharing a transmit parallel bus with other devices. When ODE is set high, individual parallel and serial port time slots are controlled by the OE bits in TPCM High and RPCM High.
Timing and Switching Control
The MT90840 supports four major timing/switching modes:
• TM1/Ring Master: PDo timing slaved to STi/o timing, Receive Path has elastic buffer enabled;
• TM2/Ring Slave: STi/o timing slaved to PDi timing, fixed delay in Receive Path;
• TM3/Bus Slave: PDo and PDi tied together, STi/o timing slaved to parallel bus timing;
• TM4/Parallel Switching: 2430 (or 2048) channel switching from PDi to PDo.
The TM1-0 bits in the TIM Register are used to select the timing modes. The PFDI and SFDI bits in the same register can be used to enable parallel-device sub-modes of TM1 and TM2 respectively. In all MT90840 timing modes, the throughput delay when performing time interchange functions of grouped channel data is constant, maintaining the frame integrity of the input and output data.
Timing Mode 1 (TM1) - Ring Master
Asynchronous Parallel Por t With ST-BUS Clock Master
Timing Mode 1 is used where the main TDM clock reference resides on the serial port side of the system. (An example is a node which is the clock master on a ring network.) Timing on the transmit parallel port is tightly tied to the serial port. The receive parallel port timing is elastic; there is an elastic buffer in the Receive Path and the Bypass Path. See Figure 5a for a connection example.
In TM1, the MT90840 receives the serial port frame pulse (F0i) and serial clock (C4/8R1 or C4/8R2). The MT90840 then generates the parallel port output frame pulse (PPFTo) synchronized to F0i. The transmit parallel port is fixed in phase relative to the serial port. (A fixed offset of 3.8 µsec exists between F0i and PPFTo due to serial-to-parallel conversion.) The transmit path does not provide an elastic buffer, and therefore the parallel port TX clock (PCKT) must be tightly locked (in frequency) to the serial port C4/8 and F0i clocks. (Jitter less than +/- 100nsec.)
The receive parallel port timing may be of any phase relative to the serial and transmit-parallel ports in
RX Clock 8 kHz RX Data RX
8
8 kHz TX
8
Data TX
MT90840
PCKR PPFRi PDi0-7 PCKT PPFTo PDo0-7
TX Clock
STi0-7
STo0-7
F0i
C4/8R1
CPU
STi/o 0-7
8
STi/o 0-7
8
8 kHz
4.096
or 8.192 MHz
PLL
Figure 5a - Timing Mode 1 Configuration
ST-BUS
Components
8 kHz
Source
2-241
MT90840 Preliminary Information
TM1. This allows for flexible round-trip data delays in star or ring type networks. An elastic buffer on the receive parallel port compensates for the difference in phase between PPFRi/PCKR and F0i/C4. The elastic buffer can also tolerate up to 50 µsec +/- 25 µsec) of clock drift and jitter before the buffer re-syncs and Rx Path data is corrupted. (Data corruption is flagged by the FSA interrupt source.) The Bypass Path data (PDi to PDo) also passes through the elastic buffer in TM1.
In TM1, the MT90840's SPCKo clock output is not used.

TM1 Multiple-MT90840 Sub-Mode (PFDI)

For TM1 applications which require more serial channels than are provided by a single MT90840, it is possible to operate multiple MT90840 in parallel. To do this, one MT90840 must control the F0i-to-PPFTo timing (normal TM1), and the remaining MT90840s must synchronize to the first by using PPFTi as an input reference. The device providing the reference will have the PFDI bit in the TIM Register set low (normal TM1). All other MT90840s will have PFDI set high (forcing PPFT to be an input).
Figure 5b shows this mode using two MT90840s; additional MT90840s (with PFDI set high) may be added. This sub-mode allows the serial ports of the multiple MT90840 to share one timing source, and the synchronized parallel output ports to be connected together on one bus.
The TM1 Multiple-MT90840 sub-mode is not available for operation at 6.48 Mbyte/s.
Timing Mode 2 (TM2) - Ring Slave
Asynchronous Parallel Por t With ST-BUS Clock Slave
Timing Mode 2 is used where the main TDM clock reference resides on the parallel port side of the system. (An example is a node on a ring which is slaved to the ring clock.) Timing on the serial port is tightly tied (slaved) to the receive parallel port, and the transmit parallel port is clocked by the receive parallel port clock. In TM2, the PCKT input is not used. See Figure 6a for a connection example.
In TM2, the MT90840 timing is controlled by the parallel port frame pulse (PPFRi) and clock (PCKR). The MT90840 generates the parallel port output frame pulse (PPFTo) and the serial port output frame pulse (F0o) locked to PPFRi. Both the transmit parallel port and the serial port are fixed in phase relative to the receive parallel port, and therefore no elastic buffer is required. A fixed offset exists between PPFRi and F0o due to parallel-to-serial conversion, and between F0o and PPFTo due to serial-to-parallel conversion delay. Total offset between PPFRi and PPFRo is about 12 µsec (and the Bypass Path data delay is therefore also about 12 µsec).
2-242
8
8
RX Clock 8 kHz RX RX Data
TX Clock 8 kHz TX TX Data
TX Clock
8 kHz TX
8
Data TX
PCKR PPFRi PDi0-7 PCKT PPFTo PDo0-7
PCKR PPFRi PDi0-7 PCKT PPFTi PDo0-7
PFDI = 0
CPU
PFDI = 1
MT90840
STi0-7
STo0-7
F0i
C4/8R1
MT90840
STi0-7
STo0-7
F0i
C4/8R1
STi/o 0-7
8
STi/o 0-7
8
8 kHz
4.096
or 8.192 MHz
STi/o 0-7
8
STi/o 0-7
8
8 kHz
4.096
or 8.192 MHz
Figure 5b - TM1 Multiple-MT90840 Configuration
ST-BUS
Components
8 kHz
Source
TX Clock
PLL
Preliminary Information MT90840
The transmit path does not provide an elastic buffer, and therefore the serial port clock must be tightly locked (in frequency) to the parallel port clock (PCKR). (Jitter less than +/- 100nsec.) This may be achieved in one of two ways: use of the internal clock divider (INTCLK set high), or use of an external PLL or DPLL, with C4 phase-correction performed by the MT90840.

Internal 4.096 MHz Clock Divider

For TM2 applications at 19.44 or 16.384 MHz rates on the parallel port, and 4.096 MHz on the serial port, the internal clock divider can be enabled. The clock divider can generate the required serial port clock outputs from the parallel port clock inputs. When enabled in TM2, the clock divider will provide
4.096 MHz (SPCKo) and 8 kHz (F0o) timing to the serial port that is rigidly locked to the PCKR and PPFRi clocks at the parallel port. The clock divider is enabled by setting the INTCLK bit high (in the TIM Register). The clock divider can not be used in applications where the parallel port operates at
6.480 Mbyte/s rates.

External PLL and C4 Phase-Correction

The MT90840 also supports the use of an external PLL (e.g. MT9041/2) to generate 4.096 or 8.192 MHz from the parallel port timing reference. At 4.096 MHz the generated clock must be input to the MT90840 (at C4/8R1 or C4/8R2) for phase monitoring and correction. The phase-corrected 4.096 MHz clock is then output on the SPCKo pin. Should the phase of the C4clock input (relative to the PPFRi framing input) drift more than approximately +/- 100nsec, the MT90840 will apply an additional correction and indicate possible data corruption with the RXPAA interrupt source. At 8.192 MHz, the generated clock is input to the MT90840 (at C4/8R1 or C4/8R2), and is also supplied directly to the serial bus (the SPCKo
output is not used at 8.192 MHz). The serial port frame pulse (F0o) will be slaved to the parallel port frame pulse (PPFRi), and will be clocked out by SPCKo, or the 8.192 MHz clock, as appropriate.

TM2 Multiple-MT90840 Sub-Mode (SFDI)

For TM2 applications which require more serial channels than are provided by a single MT90840, it is possible to operate multiple MT90840s in parallel. Multiple-MT90840 operation is automatic if INTCLK is selected, but if an external PLL is used, the serial port timing of the MT90840s must be synchronized. To do this, one MT90840 controls the PPFRi-to-F0o timing and C4 phase-control (normal TM2), and the remaining MT90840s must synchronize to the first by using F0 as an input reference. The device providing the reference will have the SFDI bit in the TIM Register set low (normal TM2). All other MT90840s will have SFDI set high (forcing F0 to be an input).
Figure 6b shows this mode using two MT90840s; additional MT90840s (with SFDI set high) may be added. This sub-mode allows the serial ports of the multiple TM2 MT90840s to share one timing source. The transmit parallel port outputs are always synchronized to PPFRi in TM2, so the multiple MT90840s can also be connected together on one parallel output bus.
The TM2 Multiple-MT90840 sub-mode is not available for operation at 6.48 Mbyte/s.
MT90840
8 kHz TX Data TX
8
TX/RX Clock
8
Data RX
8 kHz
Source
Note: the use of an external PLL is optional at 4.096 MHz (2.048 Mbps and 4.096 Mbps)
8 kHz RX
PPFT PDo0-7
PCKR
PDi0-7 PPFRi
C4/8R1 & 2
4.096 MHz or
8.192 MHz
PLL
STi0-7
STo0-7
SPCKo
F0o
Figure 6a - Timing Mode 2 Configuration
CPU
8
8
4.096 MHz 8 kHz
(8.192 MHz)
STi/o 0-7
STi/o 0-7
ST-BUS
Components
2-243
MT90840 Preliminary Information
CPU
MT90840
8 kHz
Source
8
8
8 kHz TX Data TX
Data RX 8 kHz RX
TX/RX Clock
PPFT PDo0-7
PCKR
PDi0-7 PPFRi
SFDI = 0
C4/8R1 & 2
PLL
STi0-7
STo0-7
SPCKo
F0o
4.096 MHz or
8.192 MHz
8
8
STi/o 0-7
STi/o 0-7
4.096 MHz 8 kHz
(8.192 MHz)
ST-BUS
Components
8
8
Data TX
Data RX
PPFT PDo0-7
PCKR
PDi0-7 PPFRi
Figure 6b - TM2 Multiple-MT90840 Configuration
Timing Mode 3 (TM3) - Bus Slave

Synchronous Parallel Por t With ST-BUS Clock Slave

Timing Mode 3 is used where the main TDM clock ref­erence resides on the parallel port side of the system, and where the receive parallel port and the transmit parallel port are aligned. (An example is a node on a backplane.) Timing on the serial por t is tightly tied to the receive parallel port, and the transmit parallel port is clocked by the receive parallel port clock. In TM3, PCKT and PPFTo are not used. See Figure 7 for a connection example.
In TM3, the MT90840 timing is controlled by the parallel port frame pulse (PPFRi) and clock (PCKR).
C4/8R1 & 2
SFDI = 1 MT90840
STi0-7
STo0-7
SPCKo
F0i
8 8
CPU
STi/o 0-7
STi/o 0-7
4.096 MHz
The MT90840 generates the serial port output frame pulse (F0o) locked to PPFRi. TM3 is similar to TM2 with two main differences: the parallel Bypass Path is disabled, and the parallel port receive and transmit buses are synchronized and both aligned with PPFRi. A fixed offset exists between F0o and PPFRi due to serial-to-parallel conversion. The MT90840 will align F0o so that it proceeds PPFRi by 3.8 µsec.
In TM3 the internal clock divider circuit is always enabled, regardless of the state of the INTCLK bit (C4/8R1 and C4/8R2 are unused). Therefore TM3 is limited to 19.44 and 16.384 Mbyte/s parallel port rates, and 2.048 and 4.096 Mbps serial port rates.
2-244
8 kHz
Source
Aligned Frames
MT90840
8
8
8 kHz REF RX/TX Clock
PDi0-7 PDo0-7
PPFRi
PCKR
STi0-7
STo0-7
SPCKo
CPU
8 8
F0o
Figure 7 - Timing Mode 3 Configuration
STi/o 0-7 STi/o 0-7
8 kHz
4.096 MHz
ST-BUS Components
Preliminary Information MT90840
Clock Reference
Parallel Data Out
8
TX 8 kHz REF
Parallel Data In
8 kHz
Source
8
8 kHz RX
19.44 or 16.384 MHz (RX)
Figure 8 - Timing Mode 4 Configuration
CPU
PDi0-7
PPFRi
PCKR
MT90840
PDo0-7 PPFTo
Timing Mode 4 (TM4) - Parallel Data Switching
Timing Mode 4 is used to provide switching of up to 2430 parallel input channels to the same number of parallel output channels. Parallel TDM data is clocked in at PDi0-7 by PCKR, framed by PPFRi. Switching is performed as programmed in the Tx Path Connection Memory, and data is output on PDo0-7, framed by PPFTo and clocked by PCKR. See Figure 8 for connection details.
In TM4, PPFTo and PDo0-7 are offset (delayed) from PPFRi and PDi0-7 by a fixed 4 clock cycles (3.5 clock cycles if the TCP bit is high). All the serial port data and timing signals, and PCKT, are unused in TM4. The internal clock divider is used to generate an internal C4 clock to allow CPU reads from the RPDM. TM4 is only available for 19.44 and 16.384 Mbyte/s rates.
MT90840 Throughput Delay
In many isochronous applications it is important to know and/or limit the delay of data. Table 1 summarizes the data throughput delay values for all timing modes of the MT90840. It is worth noting that the worst-case “round-trip” delays are not as large as the sum of the worst-case delays on the individual links. This is shown by the last 5 rows of Table 1, which give the delays for some representative two MT90840 setups.
these per-channel features are Bypass, Control Outputs, Output Enable, and Message Mode. O n the serial port the per-channel features are Output Enable, Message Mode and Direction Control. These functions are generally available in all of the data rates and timing/switching modes.

Per-channel Bypass on the Parallel Port

This feature, when enabled, causes the specific individual parallel output channel at PDo to transmit the data received at the same number input channel at PDi. This can be used to perform a bypass (on a ring) or a loopback (in a star). This feature is only provided in Timing Modes 1 and 2. In TM2 the data-delay from PDi to PDo is fixed (as is the delay between PPFRi and PPFT). In TM1 the data-delay is elastic (and dependent on the timing of PPFRi and F0i).
The per-channel bypass feature is controlled by the PPBY bits of the TPCM High as explained in the register section. If the PPBY bit is HIGH at a specific TPCM address, the corresponding parallel output will transmit the data received in the corresponding input channel. When the PPBY bit is LOW, the corresponding output channel can be used for message-mode data, or for switched-data from the serial port. A bypass input channel is still copied to the Receive Path Data Memory, and may also be switched to the serial port, or read by the CPU from the Receive Path Data Memory.
MT90840 Per-channel Functions
Several functions of the MT90840 are programmable for each individual parallel channel or serial channel. Per-channel functions on the parallel port side are programmed in the Transmit Path Connection Memory High (TPCM High), and per-channel functions on the serial port interface are programmed in the Receive Path Connection Memory High (RPCM High). On the parallel port
The MT90840 per-channel output-enable and message-mode bits have higher priority than the PPBY bit.

Per-channel Control Outputs on the Parallel Port

The MT90840 provides four control outputs (CTo0-CTo3) which are synchronized to the parallel port output timing. Each of the CTo output pins is controlled by the CT0-3 bits of the TPCM High. (The CTo0 pin and bit are programmed with the Output Enable data.) The contents of the CTo bit in each
2-245
Loading...
+ 35 hidden pages