•AAL1 Segmentation and Reassembly device
compatible with Structured Data Transfer (SDT)
as per ANSI T1.630 and ITU I.363 standards
•Transports 64kbps and N x 64kbps traffic over
ATM AAL1 cells (also over AAL5 or AAL0)
•Simultaneous processing of up to 1024
bidirectional Virtual Circuits
•Flexible aggregation capabilities (Nx64) to
allow any combination of 64 kbps channels
while maintaining frame integrity (DS0
grooming)
•Support for clock recovery - Adaptive Clock
Recovery, Synchronous Residual Time Stamp
(SRTS), or external
•Primary UTOPIA port (Level 1, 25 MHz) for
connection to external PHY devices with data
throughput of up to 155 Mbps
•Secondary UTOPIA port for connection to an
external AAL5 SAR processor, or for chaining
multiple MT90500 devices
•16-bit microprocessor port, configurable to
Motorola or Intel timing
•TDM bus provides 16 bidirectional serial TDM
DS5171ISSUE 4April 1999
Ordering Information
MT90500AL240 Pin Plastic QFP
-40 to +85 C
streams at 2.048, 4.096, or 8.192 Mbps for up
to 2048 TDM 64 kbps channels
•Compatible with ST-BUS, MVIP, H-MVIP and
SCSA interfaces
•Supports master and slave TDM bus clock
operation
•Loopback function at TDM bus interface
•Local TDM bus provides clocks, input pin and
output pin for 2.048 Mbps operation
•Master clock rate up to 60 MHz
•Dual rails (3.3V for power minimization, 5V for
standard I/O)
•IEEE1149 (JTAG) interface
To/From
External
PHY
From
External
ATM SAR
Main
UTOPIA
Interface
Secondary
UTOPIA
Interface
TX
UTOPIA
MUX
RX
UTOPIA
UTOPIA Module
VC
Lookup
Tables
Boundary Scan
Control Structures
and Circular Buffers
External Memory Controller
TX
AAL1
SAR
RX
AAL1
SAR
JTAG
Interface
TX / RX
External
Synchronous
SRAM
TDM Module
TDM Bus
Interface
Internal
TDM
Frame
Buffer
Microprocessor
16-bit Microprocessor Address
and Data Buses
TDM
Clock
Logic
Clock
Recovery
Registers
Interface
TDM Bus
16 Lines
2048 x 64 kbps
(max.)
Local TDM Bus
32 x 64 kbps in
32 x 64 kbps out
Clock Signals
Figure A - MT90500 Block Diagram
1
MT90500
Applications
•B-ISDN (Broadband ISDN) systems requiring
flexible N x 64kbps transport
•Connecting TDM backplane to TDM backplane
over ATM network (GO-MVIP MC4, or other)
•Systems requiring ANSI T1.630 Structured
Data Transfer services for 1 to 122 TDM
channels per VC
•Systems requiring ITU-T I.363.1 circuit
transport over Structured Data Transfer for 1 to
96 TDM channels per VC
•Systems requiring AF-VTOA-0078.000 (ATM
Forum CES v2.0) “Logical Nx64 Basic Service”
•Systems requiring AF-VTOA-0083.000 Voice
and Telephony over ATM (CBR-AAL5).
•Mapping between CBR-AAL0, CBR-AAL5, and
AAL1
•Mapping between CBR partially-filled cells and
full cells
•Mapping between CBR single-voice cells and
Nx64 cells
•ATM uplink for expansion of COs, PBXs, or
open switching platforms using an adjunct ATM
switch
•ATM Public Network access for PBX or CO
•ATM Edge Switches and CPE IntegratedAccess over ATM
•TDM traffic transfer over an asynchronous cell
bus
•Systems requiring Nx64 over CBR-AAL5.
Description
The MT90500 Multi-Channel AAL1 SAR is a highly
integrated solution which allows systems based on a
telecom bus to be interfaced to ATM networks using
ATM Adaptation Layer 1 (AAL1), ATM Adaptation
Layer 5 (AAL5) and ATM Adaptation Layer 0 (AAL0).
The MT90500 can be connected directly to a ST-BUS
time division multiplexed (TDM) backplane
containing up to 1024 full duplex 64kbps channels.
Up to 1024 bi-directional ATM VC connections can
be simultaneously processed by the MT90500 AAL1
SAR device.
On the synchronous TDM bus side, the MT90500
device interfaces with sixteen bidirectional ST-BUS
serial links operating at 2.048, 4.096 or 8.192 Mbps.
TDM bus compatibility with MVIP-90, H-MVIP, and
SCSA interfaces is also provided.
On the ATM interface side, the MT90500 device
meets the ATM Forum standard UTOPIA Bus Level
1. This supports connection to a range of standard
physical layer (PHY) transceivers.
The MT90500 provides a built-in UTOPIA multiplexer
which allows external ATM cells to be multiplexed
with internally-generated cells in the transmit
direction. This feature can be used to connect
another MT90500 (to expand the TDM bandwidth of
the system to 4096 TDM channels), or to connect an
external AAL5 SAR (to multiplex non-CBR ATM cell
traffic with the MT90500 CBR stream).
Primary
Off-the-shelf
ATM PHY
Device
16-bit CPU port for
internal register and
external memory programming
CPU
UTOPIA
Port
Off-the-shelf
SAR Device
(AAL5)
Local Memory
MT90500
AAL1 SAR
Secondary
UTOPIA
Port
External
Synchronous
SRAM
TDM Data, Clock
and Sync Lines
MVIP-90
H-MVIP
ST-BUS
SCSA
IDL
Figure B - MT90500 Device Application Block Diagram
Table 5 -Master Clock, Test, and Power Pins.................................................................................................22
Table 6 -TDM Port Pins...................................................................................................................................23
Table 7 -Reset State of I/O and Output Pins...................................................................................................24
Table 12 - Main Control Register .......................................................................................................................84
Table 13 - Main Status Register.........................................................................................................................84
Table 14 - Window to External Memory Register - CPU....................................................................................85
Table 102 - Limits on CDV on Receive SRTS VC..............................................................................................146
Table 103 - Summary of External Memory Structures .......................................................................................149
10
MT90500
1.Introduction
1.1Functional Overview
The Mitel MT90500 Multi-Channel AAL1 SAR bridges a standard isochronous TDM (Time Division Multiplexed)
backplane to a standard ATM (Asynchronous Transfer Mode) bus. On the TDM bus side, the MT90500 can
interface to 16 bidirectional TDM bus links operating at 2.048, 4.096 or 8.192 Mbps (compatible with MVIP / HMVIP, SCSA and Mitel ST-BUS). On the ATM interface side, the MT90500 provides the UTOPIA bus
standardized by the ATM Forum. The device provides the AAL1 Structured Data Transfer (referred to as SDT
from now on in this document) and pointerless Structured Data Transfer mappings defined by ANSI T1.6301993 and ITU-T I.363. In addition, the MT90500 provides CBR (Constant Bit Rate) mapping of TDM to AAL0,
and to AAL5 (CBR-AAL5). In all data transfer for mats, the user simply ports the T1/E1, T3/E3, etc. traffic onto
the TDM backplane before applying it to the MT90500. As well, the device also suppor ts TDM clock recovery
using adaptive, SRTS, or external clock recovery.
In the receive direction, ATM cells with VCs destined for the MT90500 are extracted from the UTOPIA bus and
sent toward the TDM interface. In the transmit direction, the MT90500 provides multiplexing capabilities at the
UTOPIA interf ace to allo w the use of an external AAL5 SAR device, or multiple MT90500 devices. This is useful
when CBR data and VBR/ABR/UBR data traffic must be transmitted from the local node on the same physical
link. As well, the ability to multiplex internal AAL1 cells with external AAL5 cells can be used to interleave
associated signalling cells and control messages with the AAL1 CBR traffic.
The MT90500 also offers some internal support for non-CBR data traffic. If the application's signalling (nonCBR) data throughput is not high, the MT90500 can transmit and receive AAL5 (or other non-CBR data) to /
from a pair of FIFOs. This requires the microprocessor to perform SAR functions via software, but may remove
the requirement for an external data SAR. Alternatively, if standard AAL5 signalling is not required by the
system, the user can use some TDM channels for HDLC or proprietary signalling.
Segmentation and reassembly of TDM data to / from ATM cells is highly flexible. The MT90500 allows the user
to select one or more TDM channels to be carried on an ATM logical connection with associated VPI/VCI. The
number of TDM channels (1 to 122), the VPI/VCI, the data transfer method (SDT or pointerless Structured Data
Transfer), cell partial-fill level, and the AAL (AAL1, CBR-AAL5, or CBR-AAL0) are all programmable. The time
slot assignment circuit has 64 kbps granularity and allows a group of TDM channels to be carried on a single
ATM logical channel (channel grooming). There is no limitation for distributing n x 64 channels on the TDM bus
(i.e. TDM channels on a given VC can be concatenated or dispersed anywhere on the 16 serial data streams).
Up to 1024 bidirectional virtual circuits (VCs) can be handled simultaneously by the internal AAL1 processors.
At the maximum TDM rate of 8.192 Mbps, up to 2048 input/output 64 kbps channels are available (1024
bidirectional TDM channels). If the ATM VCs are carrying multiple TDM channels (n x 64), less VCs will be
created. The user is given the ability to flexibly define which 64 kbps channels will be converted into ATM VCs.
It should be noted that since the MT90500’s serial TDM port is fully bidirectional, the ATM logical connections
can be defined as full duplex channels (e.g. voice conversation) or one-way connections (e.g. video playback).
Using the full duplex capabilities, up to 1024 simultaneous phone calls could be handled by the MT90500.
The MT90500 allows the user to scale the size of the external synchronous memory to suit the application. The
external memory’s size is influenced by the number of vir tual circuits required, the number of TDM channels
being handled, and the amount of cell delay variation (CDV) tolerance required for the receive VCs. Userdefined lookup tables, data cell FIFOs, and multiple event schedulers also influence the amount of external
memory required.
The MT90500 supports two clocking schemes on the TDM bus: clock master and clock slave. In clock master,
the MT90500 drives the clocks onto the TDM backplane (the TDM clock is recovered from an incoming ATM
VC, or from an external source). In clock slave mode, the MT90500 receives its 8 kHz framing and clocks
(4.096, 8.192 or 16.384 MHz) from the TDM backplane, and times its internal functions from that.
Figure 1 on page 12 shows the MT90500 block diagram. The Applications section of this document illustrates
several connectivity options with external PHY and SAR devices.
11
MT90500
To/From
External
PHY
From
External
SAR
Main
UTOPIA
Interface
Secondary
UTOPIA
Interface
MT90500
TX UTOPIA
MUX
RX
UTOPIA
BLOCK
UTOPIA Module
VC Look-up
Tables
AAL1
SAR
TX / RX Control
Circular Buffers
External Memory
Controller
TX
AAL1
SAR
RX
Structures and
Internal
TDM
Frame
Buffer
External
Synchronous
SRAM
TDM Module
TDM Bus
Interface
Logic
TDM Clock
Logic
Clock
Recovery
Registers
TDM Bus
16 lines
2048 x 64kbps
(max.)
Local TDM Bus
32 x 64 kbps in /
32 x 64 kbps out
Clock
Signals
Boundary-
Scan Logic
JTAG Interface
Microprocessor
Interface Logic
16-bit Microprocessor Interface
Figure 1 - MT90500 Block Diagram
1.2Reference Documents
MT90500 Programmer’s Manual.
MSAN-171 - TDM Clock Recovery from CBR-over-ATM Links Using the MT90500.
ITU-T Rec. I.363.1, “B-ISDN ATM Adaptation Layer Specification: Type 1 AAL,” 08/1996.
ANSI T1.630, “Broadband ISDN - ATM Adaptation Layer for Constant Bit Rate Services Functionality and
Specification,” 1993.
AF-PHY-0017, “UTOPIA, An ATM-PHY Interface Specification: Level 1, Version 2.01,” March 21, 1994.
AF-VTOA-0078.000, “Circuit Emulation Service Interoperability Specification, Version 2.0,” Jan. 1997.
AF-VTOA-0083.000, “Voice and Telephony Over ATM to the Desktop Specification, Version 2.0,” May 1997.
M. Noorchasm
Forum Contribution 95-1454.
et al.
, “Buffer Design for Constant Bit Rate Services in Presence of Cell Delay Variation,” ATM
Paul E. Fleischer and Chi-Leung Lau, “Synchronous Residual Time Stamp f or Timing Reco very in a Broadband
Network,” United States Patent 5,260,978, Nov. 1993.
IEEE Std. 1149.1a-1993, “IEEE Standard Test Access Port and Boundary Scan Architecture.”
12
1.3ATM Glossary
MT90500
AAL -
applications into the size and format of an ATM cell.
AAL0 - native ATM cell transmission; proprietary protocol featuring 5-byte header and 48-byte user payload.
AAL1 - ATM Adaptation Layer used for the transport of constant bit rate, time-dependent traffic (e.g. voice,
video); requires transfer of timing infor mation between source and destination; maximum of 47-bytes of user
data permitted in payload as an additional header byte is required to provide sequencing information.
AAL5 - ATM Adaptation Layer usually used for the transport of variable bit rate, delay-tolerant data traffic and
signalling which requires little sequencing or error-detection support.
ANSI T1.630 - American National Standards Institute specification: Broadband ISDN - ATM Adaptation Layer
for Constant Bit Rate Services Functionality and Specification.
Asynchronous - 1. Not synchronous; not periodic. 2. The temporal property of being sourced from
independent timing references. Asynchronous signals have different frequencies, and no fixed phase
relationship. 3. In telecom, data which is not synchronized to the public network clock. 4. The condition or state
when an entity is unable to determine, prior to its occurrence, exactly when an event will transpire.
ATM length cells; asynchronous in the sense that the recurrence of cells containing information from an individual
user is not necessarily periodic. (While ATM cells are transmitted synchronously to maintain clock between
sender and receiver, the sender transmits data cells when it has something to send and transmits empty cells
when idle, and is not limited to transmitting data ever y Nth cell.)
Cell - fixed-size information package consisting of 53 bytes (octets) of data; of these, 5 bytes represent the cell
header and 48 bytes carry the user payload and required overhead.
ATM Adaptation Layer
; standardized protocols used to translate higher layer services from multiple
Asynchronous Transfer Mod
e; a method in which information to be transferred is organized into fixed-
CBR control and strict performance parameters. Used for services such as voice, video, or circuit emulation.
CDV results from buffering and cell scheduling.
CES characteristics of a constant bit rate, dedicated-bandwidth circuit (e.g. T1).
CLP with CLP = 1 can be discarded in a congestion situation.
CSI using SDT, indicates the presence of a pointer byte; used to transport RTS values in odd-numbered cells using
SRTS for clock recovery.
GFC -
default value is “0000”, meaning that GFC protocol is not enforced.
HEC -
check for an error and correct the contents of the header; CRC algorithm allows for single-error correction and
multiple-error detection.
I.363 - ITU-T Recommendation specifying the AALs for B-ISDN (Broadband ISDN).
Isochronous - The temporal property of an event or signal recurring at known periodic time intervals (e.g. 125
µs). Isochronous signals are dependent on some uniform timing, or carry their own timing information
embedded as part of the signal. Examples are DS-1/T1, E1 and TDM in general. From the root words, “iso”
meaning equal, and “chronous” meaning time.
Constant Bit Rate
Cell Delay Variation
Circuit Emulation Service
Cell Loss Priority
; an ATM service category supporting a constant or guaranteed rate, with timing
; a QoS parameter that measures the peak-to-peak cell delay through the network;
; ATM Forum service providing a virtual circuit which emulates the
; a 1-bit field in the ATM cell header that corresponds to the loss priority of a cell; cells
Convergence Sublayer Indication
Generic Flow Control
Header Error Control
; 4-bit field in the ATM header used for local functions (not carried end-to-end);
; using the fifth octet in the ATM cell header, ATM equipment (usually the PHY) may
bit in the AAL1 header byte; when present in an even-numbered cell
OAM bit indicates if the ATM cell carries management information such as fault indications.
Plesiochronous - The temporal property of being arbitrarily close in frequency to some defined precision.
Plesiochronous signals occur at nominally the same rate, any var iation in rate being constrained within specific
limits. Since they are not identical, over the long ter m they will be skewed from each other. This will force a
Operations, Administration and Maintenance
; MSB within the PTI field of the ATM cell header which
13
MT90500
switch to occasionally repeat or delete data in order to handle buffer underflow or overflow. (In
telecommunications, this is known as a frame slip).
PHY physical interfaces that interconnect the various ATM devices.
PTI information or user data; LSB indicates that a AAL5 cell is the final cell in a frame.
QoS VC (e.g cell delay var iation; cell transfer delay, cell loss ratio).
RTS SAR -
reassembling, at the destination, these cells back into infor mation frames; lower sublayer of the AAL which
inserts data from the information frames into cells and then adds the required header, trailer, and/or padding
bytes to create 48-byte payloads to be transmitted to the ATM layer.
SDT -
are segmented into cells for transfer and additional overhead bytes (pointers) are used to indicate structure
boundaries within cells (therefore aiding clock recover y).
SN misinserted ATM cells.
SNP which are designed to provide error-correction on the SN.
SRTS source clock and the network reference clock (time stamps) are transmitted to allow reconstruction of the
source clock. The destination reconstructs the source clock based on the time stamps and the network
reference clock. (Note that the same network reference clock is required at both ends.)
Physical Layer
Payload Type Identifier
Quality of Service
Residual Time Stamp
; bottom layer of the ATM Reference Model; provides ATM cell transmission over the
; 3-bit field in the ATM cell header - MSB indicates if the cell contains OAM
; ATM performance parameters that characterize the transmission quality over a given
; see SRTS.
Segmentation and Reassembly
Structured Data Transfer
Sequence Number
; 4-bit field in the AAL1 header byte used as a sequence counter for detecting lost or
Sequence Number Protection
; format used within AAL1 for blocks consisting of N * 64 kbps channels; blocks
; 4-bit field in the AAL1 header byte consisting of a CRC and a parity bit
Synchronous Residual Time Stamp;
; method of partitioning, at the source, frames into ATM cells and
method for clock recovery in which difference signals between a
SSRAM Synchronous - 1. The temporal property of being sourced from the same timing reference. Synchronous
signals have the same frequency, and a fixed (often implied to be z ero) phase offset. 2. A mode of transmission
in which the sending and receiving terminal equipment are operating continually at the same rate and are
maintained in a desired phase relationship by an appropriate means.
UDT -
structure boundaries (e.g. circuit emulation); term used within ANSI standard - not explicitly stated in ITU.
UTOPIA -
connectivity between ATM components.
VC -
devices; provides sequential, unidirectional transport of ATM cells. Also
VCI -
virtual channel (VC) within a vir tual path (VP) that carr ies a particular cell.
VP -
channels (VC).
VPI -
belongs.
VTOA -
interoperability with existing N-ISDN and PBX services.
Glossary References:
The ATM Glossary
The ATM Forum Glossary
ATM and Networking Glossary
Mitel Semiconductor Glossary of Telecommunications Terms
Synchronous Static RAM.
Unstructured Data Transfer
Universal Test and Operations Physical Interface for ATM;
Virtual Channel;
Virtual Channel Identifier ;
Virtual Path;
Virtual Path Identifier;
one of several logical connections defined within a virtual path (VP) between two ATM
16-bit value in the ATM cell header that provides a unique identifier for the
a unidirectional logical connection between two ATM devices; consists of a set of virtual
8-bit value in the ATM cell header that indicates the virtual path (VP) to which a cell
Voice and Telephony over ATM;
- ATM Year 97 - Version 2.1, March 1997
- May 1997
(http://www.techguide.com/comm/index.html)
; format used within AAL1 for transmission of user data without regard for
a PHY-level interface to provide
Virtual Circuit.
intended to provide voice connectivity to the desktop, and to provide
- May 1995.
14
2.Features
2.1General
The MT90500 device external interfaces are:
•TDM (Time Division Multiplexed) bus composed of 16 serial streams running at up to 8.192 Mbps ,
plus related clocks and control signals, configurable by software. This interface also includes various signals for TDM clock signal generation. This bus carries telecom or other data in N x 64 kbps
streams.
•Local serial TDM bus interface (a TDM input pin, a TDM output pin, and clocks).
•A primary UTOPIA bus running at up to 25 MHz, suitable for connection to a 25 Mbps or 155 Mbps
PHY device.
•A secondary UTOPIA bus, f or connection of an optional external SAR (e.g. data) device running at
up to 25 MHz. In this case, the MT90500 device emulates a PHY device for the external SAR.
•A synchronous 36-bit wide memory interface running at up to 60 MHz.
•A 16-bit microprocessor interface used for device configuration, status, and control.
•Signals for general clocking, reset, and JTAG boundary-scan.
MT90500
2.2Serial TDM Bus
•
Compatible with ST-BUS, MVIP, H-MVIP, IDL, and SCSA interfaces.
•Provides 16 bidirectional serial streams that can operate at TDM data rates of 2.048, 4.096 or
8.192 Mbps for up to 2048 TDM 64 kbps channels (1024 bidirectional DS0 channels: supports 32
E1 framers, or 42 T1 framers, or 10 J2 framers).
•Serial TDM bus clocking schemes: TDM timing bus slav e (MT90500 sla v ed to TDM bus), TDM tim-
ing bus master (MT90500 drives clocks onto TDM bus - freerun, or synchronized to 8 kHz reference) and TDM bus master-alternate (MT90500 slaved to TDM bus, but ready to switch to 8 kHz
reference).
•Additional Local TDM Bus interface (2.048 Mbps) allows local TDM devices to access the main
TDM bus.
2.3CBR ATM Cell Processor
•
Independent Segmentation and Reassembly blocks for receive and transmit (RX_SAR and
TX_SAR) support CBR (Constant Bit Rate) transport of half- or full-duplex TDM channels.
•Compatible with “Structured Data Transfer (SDT) services” as per ANSI T1.630 standard for 1 to
122 TDM channels per VC.
•Compatible with ITU-T I.363.1 “circuit transport” of 8 kHz structured data using Structured Data
Transfer (SDT) for 1 to 96 TDM channels per VC (using buffer-fill level monitoring).
•Compatible with ITU-T I.363.1 “voiceband signal transport.”
•Compatible with AF-VTOA-0078.000 “N x 64 Basic Ser vice” (non-CAS) Circuit Emulation (using
buffer-level monitoring, rather than lost cell insertion).
•Compatible with AF-VTOA-0078.000 for SDT of partially-filled AAL1 cells with N-channel struc-
tures (where N does not exceed the value of the partial-fill).
•AAL1 SAR-PDU Header processing (AAL1 Sequence Number checking).
•Supports up to 1024 bidirectional VCs (virtual circuits) simultaneously.
•Supports up to 1024 transmit TDM channels and 1024 receive TDM channels simultaneously.
•Supports CBR-AAL0 (48 byte cell payload).
•Supports CBR-AAL5 as per AF-VTOA-0083.000, also supports Nx64 trunking over CBR-AAL5.
15
MT90500
•Supports partially-filled cells (AAL1, CBR-AAL5, and CBR-AAL0).
•User-defined, per-VC, Cell Delay Variation tolerance: 8 to 128 ms buffer size (up to 64 ms CDV).
•Handles TDM channels at 64 kbps granularity.
•Each individual VC can be composed of N x 64 kbps wideband channels (N = 1, 2, ..., 122).
•Flexible aggregation capability (N x 64 kbps) maintains frame integrity, while allowing any combi-
nation of 64 kbps channels (DS0 grooming).
•Supports “multi-casting” of one TDM DS0 input channel to multiple Transmit ATM VCs, and of one
Receive ATM DS0 to multiple TDM outputs.
•A VC can contain any combination of TDM channels from any combination of TDM streams
(Nx64) and maintain frame integrity for those channels.
•Supports several 8 kHz synchronisation operations: synchronized to external 8 kHz reference,
synchronized to network clock, and synchronized to timing derived from an ATM VC (including
ITU-T I.363.1 Adaptive and SRTS clock recovery mechanisms).
2.4External Memory Interface
•
To implement SAR functions and buffers, the MT90500 device uses external Synchronous SRAM.
•External Synchronous SRAM size is chosen by user, and depends on Cell Delay Variation (CDV)
and the number of simultaneous 64 kbps channels handled. The amount of Synchronous SRAM is
scalable to suit the application, and may range from 128 Kbytes to 2,048 Kbytes.
2.5UTOPIA Interface and Multiplexer
•
UTOPIA Level 1 compatible 8-bit bus, running at up to 25 Mbyte/s, for connection to PHY devices
with data throughput of up to 155 Mbps.
•Transmit multiplexer mixes cells from TX_SAR and Secondary UTOPIA port, suppor ting another
MT90500, and/or an external SAR device (e.g. AAL5) connected to a single PHY device.
•Supports non-CBR data cells and OAM cells destined for microprocessor with Receive and Trans-
mit Data Cell FIFOs.
•Flexible receive cell handling: AAL1 (as well as CBR-AAL0 and CBR-AAL5) cells are sent to the
TDM port; data cells (non-CBR data and OAM cells) are sent to the Receive Data Cell FIFO; cells
with unrecognized VCs may be queued or ignored.
•Cell reception based on look-up-table allows flexible VC assignment for CBR VCs (allows non-
contiguous VC assignment).
•Programmable VPI/VCI Match and Mask filtering reduces unnecessary look-up-table accesses.
2.6Microprocessor Interface
•
16-bit microprocessor port, configurable to Motorola or Intel timing.
•Programmable interrupts for control and statistics.
•Allows access to internal registers for initialization, control, and statistics.
•Allows access to external SSRAM for initialization, control, and observation.
2.7Miscellaneous
•
Master clock rate up to 60 MHz.
•Dual rails (3.3V for power minimization, 5V for standard I/O).
•Loopback function provided at the TDM interface.
16
MT90500
•IEEE 1149 (JTAG) Boundary-Scan Test Access Port for testing board-level interconnect.
•Packaging: 240-pin PQFP.
2.8Interrupts
The MT90500 provides a wide variety of interrupt source bits, allowing for easy monitoring of MT90500
operation. All interrupt source bits, including the module level interrupt bits, have an associated mask bit which
enables or disables assertion of the interrupt pin. This enables the user to tailor the interrupt pin activity to the
application. Interrupt source bits are set regardless of the state of the associated mask bit, so even source bits
which are disabled from causing an interrupt pin assertion may be polled by the CPU by reading the
appropriate register.
2.8.1Module Level Interrupts
The following interrupt bits are used to indicate which MT90500 circuit module is the source of the interrupt.
They are set when one or more interrupt source bits in the particular circuit module is set. The CPU can find
the source of an interrupt by reading the register containing these bits and then reading the indicated module’s
interrupt register.
•TX_SAR Module Interrupt
•RX_SAR Module Interrupt
•UTOPIA Module Interrupt
•TDM Module Interrupt
•Timing (TDM Clock Generation) Module Interrupt
2.8.2TX_SAR Interrupts
•
Transmit Non-CBR Data Cell FIFO Overrun Interrupt
•Scheduler error (Indicates that the TX_SAR has too heavy a work load.)
2.8.3RX_SAR Interrupts
•
AAL1-byte Parity Error Interrupt
•AAL1-byte CRC Error Interrupt
•AAL1-byte Sequence Number Error Interrupt
•Pointer-byte Parity Error Interrupt
•Pointer-byte Out of Range Error Interrupt
•Underrun Error Interrupt
•Overrun Error Interrupt
•Miscellaneous Counter Rollover Interrupt
•Underrun Counter Rollover Interrupt
•Overrun Counter Rollover Interrupt
2.8.4UTOPIA Interrupts
•
Receive Non-CBR Data Cell FIFO Overrun Interrupt
•RX UTOPIA Module Internal FIFO Overrun Interrupt
•Receive Non-CBR Data Cell FIFO Receive Cell Interrupt
2.8.5TDM Interrupts
•
Clock Absent Interrupt
•Clock Fail Interrupt
•TDM Out of Bandwidth Interrupt
17
MT90500
•TDM Read Underrun Error Interrupt
•TDM Read Underrun Counter Rollover Interrupt
2.8.6Timing Module Interrupts
•
8 kHz Reference Failure Interrupt
•SRTS TX Underrun Interrupt
•SRTS TX Overrun Interrupt
•SRTS RX Underrun Interrupt
•SRTS RX Overrun Interrupt
•Adaptive Clock Loss of Timing Reference Cell Interrupt
•Adaptive Clock Loss of Synchronization Interrupt
2.9Statistics
The MT90500 provides a number of statistics to allow monitoring of the MT90500. These statistics generally
parallel the operation of some of the interrupt source bits. The counters (except the Timing Recovery counters)
also set rollover interrupt source bits when they reach their terminal counts and return to zero.
2.9.1RX_SAR Statistics
•
Miscellaneous Event Counter: This 16-bit register’s value is incremented each time a (maskselected) miscellaneous error occurs.
•AAL1-byte Parity Error
•AAL1-byte CRC Error
•AAL1 Sequence Number Error
•Pointer-byte Parity Error
•Pointer-byte Out of Range Error
•Miscellaneous Event ID Register: The address of the RX Control Structure that caused the last
miscellaneous error.
•Underrun Count: This 16-bit register’s value is incremented each time a CBR Receive Underrun
occurs.
•Underrun ID Number: The address of the RX Control Structure that caused the last underrun
error.
•Overrun Count: This 16-bit register is incremented each time a CBR Receive Overrun occurs.
•Overrun ID Number: The address of the RX Control Structure that caused the last overrun error.
2.9.2TDM Statistics
•
TDM Read Underrun Time Slot Stream. Contains the time slot and stream on which the last TDM
read underrun was detected.
•TDM Read Underrun Counter. Each time a TDM read underrun occurs, this register’s value is
incremented.
2.9.3Timing Recovery Statistics
•
Event Counter: Counts the reception of timing reference cells or 8 kHz markers.
•CLKx1 Counter: 24-bit counter which keeps a running count of TDM byte-periods.
18
MT90500
3.Pin Descriptions
I/O types are: Output (O), Input (I), Bidirectional (I/O), Power (PWR), or Ground (GND).
Input pad types are: TTL, CMOS, Differential, or Schmitt. The notations “PU” and “PD” are used, respectively,
to indicate that a pad has an internal pullup or pulldown resistor. TTL (5V) inputs are pulled-up to the 5V rail,
CMOS (3.3V) inputs are pulled-up to the 3.3V rail. These weak internal resistors should not be relied upon for
fast data transitions. The 3.3V CMOS inputs have a switching threshold of 1.6V, and tolerate input levels of up
to 5V; therefore they are 5V TTL compatible (with the exception of the TRISTATE pin, which is not 5V tolerant).
Output pad types are generally described by voltage and current capability. Output types used are: 3.3V, 4mA;
5V, 4mA; 5V, 12mA; and open-drain. A notation of “SR” indicates that the pad is slew-rate limited. 3.3V CMOS
outputs will satisfy 5V TTL input thresholds at the rated current.
Table 1 - Primary UTOPIA Bus Pins
Pin #Pin NameI/OTypeDescription
49, 48, 47, 46,
45, 44, 39, 38
52PTXSOCO5V, 4mAPrimary UTOPIA transmit start of cell signal. Asserted by the MT90500 when
51PTXENO5V, 4mAPrimary UTOPIA transmit data enable. Active LOW signal asserted by the
53PTXCLAVITTL PUPrimary UTOPIA transmit cell available indication signal. For cell level flow
82PTXCLKI/OTTL PU /
50PTXPARO5V, 4mAPrimary UTOPIA transmit parity. This signal is the odd parity bit over
57, 58, 59, 62,
63, 64, 65, 66
56PRXSOCITTL PUPrimary UTOPIA receive start of cell signal. Asserted by the PHY when
55PRXENITTL PUPrimary UTOPIA bus data enable. Active LOW signal normally asserted by the
54PRXCLAVITTL PUPrimary UTOPIA receive cell available indication signal. For cell level flow control,
79PRXCLKITTL PUPrimary UTOPIA bus receive clock. This clock, which can run at up to 25 MHz, is
Refer to Figure 63 on page 139 for implementation details regarding the interface between two MT90500s and an external AAL5 SAR.
PTXDATA[7:0]O5V, 4mAPrimary UTOPIA transmit data bus. Byte-wide data driven from MT90500 to PHY
device. Bit 7 is the MSB.
PTXDATA[7:0] contains the first valid byte of the cell.
MT90500 during cycles when PTXDATA[7:0] contains valid cell data.
control, PTXCLAV is asserted by the PHY to indicate to the MT90500 that the
PHY can accept the transfer of a complete cell.
Primary UTOPIA transmit clock. Data transfer & synchronization clock provided by
5V, 4mA
SR
PRXDATA[7:0]ITTL PUPrimary UTOPIA receive data bus. Byte-wide data driven from the PHY to the
the MT90500 to the PHY for transmitting data on PTXDATA[7:0]; software
configurable (in Main Control Register at 0000h) to run at up to 25 MHz. Note that
this pin should be configured as an output for exact compliance with UTOPIA
Level 1, V2.01.
PTXDATA[7:0].
MT90500. PRXDATA[7] is the MSB.
PRXDATA[7:0] contains the first valid byte of a cell.
secondary SAR to indicate that PRXDATA[7:0], PRXSOC, and PRXCLAV will be
sampled at the end of the next clock cycle. If no secondary SAR is used, ground
this pin at the MT90500 and PHY devices. Note that the UTOPIA standard permits
this signal to be permanently asserted (see UTOPIA Level 1, V2.01, footnote 6).
PRXCLAV is asserted by the PHY to indicate it has a complete cell available for
transfer to the RX UTOPIA port.
provided by the secondary SAR device. If no secondary SAR is used, connect to
PTXCLK (this will provide exact compliance with the UTOPIA Level 1, V2.01
specification).
19
MT90500
Table 2 - Secondary UTOPIA Bus Pins
Pin #Pin NameI/OTypeDescription
70, 71, 72, 73,
74, 75, 76, 77
69STXSOCITTL PUSecondary UTOPIA transmit start of cell signal. Asserted by the external SAR
68STXENITTL PUSecondary UTOPIA transmit data enable. Active LOW signal asserted by the
67STXCLAVO5V, 4mASecondary UTOPIA transmit cell available indication signal. For cell level flow
85STXCLKITTL PUSecondary UTOPIA transmit clock, which can run at up to 25 MHz. Data transfer &
Note: MT90500 Secondary UTOPIA port emulates a PHY device for connection to an external SAR (ATM-layer device).
Refer to Figure 63 on page 139 for implementation details regarding the interface between the MT90500 and an external AAL5 SAR.
STXDATA[7:0]ITTL PUSecondary UTOPIA transmit data bus. Byte-wide data driven from the external
SAR to the MT90500. Bit 7 is the MSB.
device when STXDATA[7:0] contains the first valid byte of the cell.
external SAR during cycles when STXDATA[7:0] contains valid cell data.
control, STXCLAV is asserted by the MT90500 to indicate to the external SAR that
the MT90500 can accept the transfer of a complete cell.
synchronization clock provided by the external SAR to the MT90500 for
transmitting data over STXDATA[7:0].
Note: MT90500 TTL inputs are pulled up to the 5 Volt rail. See Table 76 on page 112.
D[15:0]I/OTTL PU /
5V, 4mA SR
A[15:1]ITTL PUCPU Address lines A15-A1.
Active LOW interrupt line.
CPU data bus.
(internal memory and registers when LOW).
All microprocessor accesses to the device are word-wide, but addresses in
this document are given as byte-addresses. The virtual A[0] bit selects
between high and low bytes in a word.
20
MT90500
Table 4 - External Memory Interface Pins
Pin #Pin NameI/OTypeDescription
98MEMCLKO3.3V, 4mAMemory Clock. Internally connected to MCLK.
147MEM_CS0LO3.3V, 4mAActive LOW memory chip select signal. This chip select is used in all memory
modes. When there are two chips per bank, MEM_CS0L is associated with
MEM_DAT[15:0] of Bank 0.
176MEM_CS0HO3.3V, 4mAActive LOW memory chip select signal. This chip select is used when there
are two 16-bit memory chips per bank. MEM_CS0H is associated with
MEM_DAT[31:16] of Bank 0.
148MEM_CS1LO3.3V, 4mAActive LOW memory chip select signal. This chip select is used when there
are two banks and two chips per bank. MEM_CS1L is associated with
MEM_DAT[15:0] of Bank 1.
177MEM_CS1HO3.3V, 4mAActive LOW memory chip select signal. This chip select is used when there
are two banks and two chips per bank. MEM_CS1H is associated with
MEM_DAT[31:16] of Bank 1.
Note: MT90500 3.3 V CMOS inputs are pulled up to the 3.3 Volt rail. See Table 76 on page 112.
MEM_WR[3:0]O3.3V, 4mAActive LOW byte-write enables. MEM_WR[3] is associated with
MEM_DAT[31:24]; MEM_WR[2] is associated with MEM_DAT[23:16];
MEM_WR[1] is associated with MEM_DAT[15:8]; MEM_WR[0] is associated
with MEM_DAT[7:0].
MEM_ADD[17:0]O3.3V, 4mAMemory address lines.
MEM_DAT[31:0]I/O3.3V CMOS
PU / 3.3V 4mA
MEM_PAR[3:0]I/O3.3V CMOS
PU / 3.3V 4mA
Memory data lines. MEM_DAT[31:24] represent the upper byte;
MEM_DAT[23:16] represent the upper-middle byte; MEM_DAT[15:8]
represent the lower-middle byte; MEM_DAT[7:0] represent the lower byte.
Memory parity lines. MEM_PAR[3:0] are the optional “parity” bits that allow
TDM Read Underrun detection. MEM_PAR[3] is related to MEM_DAT[31:24],
MEM_PAR[2] is related to MEM_DAT[23:16], MEM_PAR[1] is related to
MEM_DAT[15:8], and MEM_PAR[0] is related to MEM_DAT[7:0]. When
unused, these pins must be pulled up via external resistors.
21
MT90500
Table 5 - Master Clock, Test, and Power Pins
Pin #Pin NameI/OTypeDescription
87MCLKITTL PUMaster Clock. This signal drives the internal logic (including the RX_SAR and
the TX_SAR) and the external memory (through MEMCLK). 60 MHz for most
applications. MCLK should be more than 5 times CLKx1, and should be more
than 3 times FNXI.
78RESETI5V TTL
Schmitt PU
97TMSI3.3V CMOSPUJTAG Test Mode Select signal.
93TCKI3.3V CMOSPUJTAG Test Clock.
95TDII3.3V CMOSPUJTAG Test Data In.
96TDOO3.3V, 4mASRJTAG Test Data Out.
94TRSTI3.3V CMOSPDJTAG Test Reset input (active LOW). Should be asserted LOW on power-up
Chip reset signal (active LOW). Note that the MT90500 is synchronously reset,
and that MCLK should be applied during reset. To asynchronously tristate
outputs, assert the TRISTATE pin. The TRST pin (JTAG reset) should also be
asserted LOW during chip reset. Reset should last at least 2 µs when MCLK is
60 MHz. Also see SRES bit in register 0000h.
Note: TDO is tristated by TRISTATE pin.
and during reset. Must be HIGH for JTAG boundary-scan operation. Note:
This pin has an internal pull-down.
Output Tristate Control. Asynchronously tristates all output pins when LOW.
Can be asserted LOW on power-up and during reset. Pull up to 3.3V for
normal operation. NOT 5V TOLERANT.
22
Table 6 - TDM Port Pins
Pin #Pin NameI/OTypeDescription
MT90500
25, 23, 22, 19,
18, 17, 15, 14,
12, 11, 10, 9,
8, 6, 5, 4
230CLKx2PIIDiff +Differential clock signal input (+) running at twice the serial TDM data
227CLKx2NIIDiff -Differential clock signal input (-) running at twice the serial TDM data
233CLKx1I/OTTL PU /
232FSYNCI/OTTL PU /
30ICITTL PUInternal connection (must be HIGH).
32CORSIGA /
235CORSIGB / MC /
33CORSIGC /
34CORSIGD /
35CORSIGE /
83EX_8KAITTL PUAn 8 kHz clock input that can be used as reference in the generation of the
234SEC8KI/OTTL PU /
226REF8KCLKO5V, 12mA SRAn 8 kHz clock generated internally. This signal is generated from one of
31FREERUNO 5V, 12mA SRActive HIGH external PLL freerun indication.
236LOCx2O5V, 4mA SRLocal TDM Bus Clockx2.
3LOCx1O5V, 4mA SRLocal TDM Bus Clockx1.
28LSYNCO5V, 4mA SRLocal TDM Bus Frame Sync.
26LOCSToO5V, 4mA SRLocal TDM Bus Serial Data Out Stream.
27LOCSTiITTL PULocal TDM Bus Serial Data In Stream.
231CLKx2/
228CLKx2NOO5V, 12mACLKx2 Negative Output. Differential negative output clock. (Inverse of
ST[15:0]I/OTTL PU /
5V, 12mA SR
5V, 12mA SR
5V, 12mA SR
I/OTTL PU /
CLKFAIL
FNXI
MCTX /
SRTSENA
MCRX /
SRTSDATA
MCCLK
CLKx2PO
5V, 12mA SR
I/OTTL PU /
5V, 12mA SR
I/OTTL PU /
5V, 4mA SR
I/OTTL PU /
5V, 4mA SR
I/OTTL PU /
5V, 4mA SR
5V, 12mA
I/OTTL PU /
5V, 12mA
TDM data streams. Used to pass PCM (voice) bytes or other data types. In
order to enable any of these pins as outputs, the GENOE bit in the TDM
Interface Control Register (6000h) must be set, as well as the appropriate
channel bits in the Output Enable Registers.
stream frequency. This pin is used only in differential clock mode (H-MVIP)
and should be tied HIGH when not in use. For normal (non-differential)
clock mode input, use CLKx2/CLX2PO pin.
stream frequency. This pin is used only in differential clock mode (H-MVIP)
and should be grounded when not in use.
Clockx1. This signal represents the CLKx2 signal divided by 2.
Frame sync. Bidirectional 8 kHz reference to/from main TDM Bus.
CORSIGA I/O when not used by the TDM bus. Clock fail on SCSA bus.
CORSIGB I/O when not used by the TDM bus. Message Channel (I/O) on
the SCSA bus. SRTS FNX Network Clock Input - this input line is required
when SRTS clock recovery mode is used. Note: When used for clock
recovery, this clock must be < MCLK / 3.
CORSIGC I/O when not used by the TDM bus. Message Channel Transmit
(input) toward SCSA bus from HDLC controller. This signal represents
SRTS ENA output when SRTS clock recovery mode is selected.
CORSIGD I/O when not used by the TDM bus. Message Channel Receive
(output) from SCSA bus toward HDLC controller. This signal represents
SRTS DATA output serial line when SRTS clock recovery mode is
selected.
CORSIGE I/O when not used by the TDM bus. Message Channel HDLC
controller clock (output) from the SCSA bus.
REF8KCLK or SEC8K lines.
Secondary alternate 8 kHz clock. Compatible with MVIP and H-MVIP
modes.
several internal sources which are programmed by the user. This output
can provide a reference clock to an external PLL to generate the 16.384 /
32.768 MHz required for the operation of the IC in master mode.
CLKx2 Input/Output / CLKx2 Positive Output. Normal (non-differential)
CLKx2 input in TDM Clock Slave mode. CLKx2 output (differential and nondifferential) in TDM Clock Master mode.
CLKx2PO). Used in TDM Clock Master, differential clock mode (H-MVIP);
active whenever MT90500 is TDM Clock Master. (Leave unconnected if
non-differential clock desired.)
23
MT90500
Table 7 - Reset State of I/O and Output Pins
Pin NameI/OReset StateAdditional Control Information
PTXDATA[7:0]OActive during and after reset.N / A
PTXPAROActive during and after reset.N / A
PTXCLKI/OHigh-impedanceThe PTXCLK_SEL bits in the Main Control Register (0000h) are LOW
after reset; PTXCLK is tristated and an input.
PTXENOActive during and after reset.N / A
PTXSOCOActive during and after reset.N / A
STXCLAVOActive during and after reset.N / A
MEMCLKOContinues to drive at MCLK
rate during reset.
MEM_CS[1:0][H:L]OActive during and after reset.N / A
MEM_WR[3:0]OActive during and after reset.N / A
MEM_OEOActive HIGH during reset.RESET LOW forces this pin HIGH. After reset, this pin goes LOW.
MEM_ADD[17:0]OActive during and after reset.N / A
MEM_DAT[31:0]I/OHigh-impedanceN / A
MEM_PAR[3:0]I/OHigh-impedanceN / A
RDY/DTACKOActive during and after reset.
Tristated when CS is HIGH.
INTOHigh-impedanceThe interrupt enable bits in the Main Control Register at 0000h are reset to
D[15:0]I/OHigh-impedanceN / A
TDOODetermined by TRST and / or
TAP controller state
ST[15:0]I/OHigh-impedanceThe GENOE bit in the TDM Interface Control Register (6000h) is LOW
CLKx1I/OInputThe CLKMASTER bit in the TDM Bus Type Register (6010h) resets to ‘0’;
FSYNCI/OInputThe CLKMASTER bit in the TDM Bus Type Register (6010h) resets to ‘0’;
CORSIGA/
CLKFAIL
CORSIGB / MC /
FNXI
CORSIGC / MCTX /
SRTSENA
CORSIGD / MCRX /
SRTSDATA
CORSIGE
/ MCCLK
SEC8KI/OInputThe SEC8KEN bit in the Master Clock Generation Control Register
REF8KCLKOActive during and after reset.Due to the reset values of the Master Clock Generation Control Register
FREERUNOActive HIGH during and after
LOCx2OActive during and after reset.N / A
LOCx1OActive during and after reset.N / A
I/OInputThe TDM I/O Register at 6004h resets to all zeroes; all CORSIGxCNF are
I/OInputSee CORSIGA.
I/OInputSee CORSIGA.
I/OInputSee CORSIGA.
I/OInputSee CORSIGA.
reset.
N / A
In Motorola mode, pin drives HIGH during reset. In Intel mode, drives LOW
during reset.
zero; interrupts are masked after reset.
N / A
after reset; these TDM data pins are tristated and in loopback mode.
the MT90500 is TDM Slave, and CLKx1 is input from the TDM bus.
the MT90500 is TDM Slave and FSYNC is input from the TDM bus.
set to “00” and all CORSIGx pins are configured as inputs.
(6090h) resets to ‘0’; SEC8K is an input.
(6090h) and the Master Clock / CLKx2 Division Factor (6092h),
REF8KCLK is initially equal to MCLK / 8194.
The FREERUN bits in the Master Clock Generation Control Register at
6090h are “00” after reset; the FREERUN pin is reset to active HIGH.
24
MT90500
Table 7 - Reset State of I/O and Output Pins
Pin NameI/OReset StateAdditional Control Information
LSYNCOActive during and after reset.N / A
LOCSToOActive during and after reset.N / A
CLKx2/CLKx2POI/OInputThe CLKMASTER bit in the TDM Bus Type Register (6010h) resets to ‘0’;
the MT90500 is TDM Slave and CLKx2 is input from the TDM bus.
CLKx2NOOHigh-impedanceThe CLKMASTER bit in the TDM Bus Type Register (6010h) resets to ‘0’;
the MT90500 is TDM Slave and therefore no clock signals are driven from
the MT90500.
Note: All pins are placed in high-impedance by asserting the TRISTATE pin.
As shown in Figure 1, “MT90500 Block Diagram,” on page 12, the MT90500 device consists of the following
major components: TDM Module, External Memory Controller, TX_SAR, RX_SAR, UTOPIA Module, Clock
Recovery, Microprocessor Interface, and Test Interface. This section descr ibes each module in detail.
4.1TDM Module
This circuit module is the interface to the Time Division Multiplexed (TDM) buses, which carry N x 64kbps data.
The TDM module interfaces are:
•16 bidirectional TDM data streams on pins ST[15:0]; these pins can be configured through soft-
ware registers to support various bus formats (ST-BUS, MVIP, H-MVIP, SCSA, or IDL) and data
rates of 2.048 Mbps, 4.096 Mbps, or 8.192 Mbps; (F or the selection of the b us type , see TDM Bus
Type Register at address 6010h in Section 5.)
•the TDM bus clocks (CLKx2, CLKx1) and frame synchronization signal (FSYNC);
•the TDM bus ancillary signals such as SEC8K (MVIP) and CLKFAIL (SCSA);
•a local TDM bus (LOCx2, LOCx1, LSYNC, LOCSTi, and LOCSTo); the format of the bus, which
runs at 2.048 Mbps (LOCx2 = 4.096 Mbps), is user-programmable via software (see Local Bus
Type Register at address 6020h).
The TDM module moves TDM data from the TDM serial inputs to the external memory (where it is read by the
TX_SAR) in the transmit direction, and from the external memory (where it was written by the RX_SAR) to the
TDM outputs in the receive direction. This is done with the aid of an internal TDM frame buff er, which is used to
buffer 4 frames of each TDM channel in both directions; i.e. four frames in the receive direction (ATM to TDM),
and four frames in the transmit direction (TDM to ATM). The TDM module can be divided into four main
processes:
•TDM Clock Logic, which controls all the operations related to clock generation and clock signal
monitoring on the TDM bus;
•TDM Interface Operation, which controls the input and output of the serial TDM data;
•TDM Data to External Memory Process, which transfers TDM input data into Transmit Circular
Buffers in the external memory;
•External Memory to TDM Data Output Process, which transfers TDM output data from Receive
Circular Buffers in the external memory to the TDM output bus.
Each of these processes are described in detail below.
4.1.1TDM Clock Logic
The TDM Clock Logic controls all of the operations related to clock generation and clock signal monitoring on
the TDM bus. The block diagram of the TDM Clock Logic is shown in Figure 3. This module consists of several
blocks, including: selection logic for an 8 kHz reference for the external PLL (REF8KCLK), the main TDM bus
clock generation logic, the local TDM bus clock generation logic, the clock drivers & clock selection for the
SEC8K signal, and the clock failure detection logic.
4.1.1.1TDM Timing Modes
The MT90500 supports 4 major TDM timing modes. There are also a number of TDM timing features which are
independent of the TDM timing mode being used:
•The SEC8K pin (MVIP compatibility) can be programmed as either output or input. The SEC8KEN
bit in the MCGCR Register (6090h) enables the SEC8K pin driver. If the SEC8K pin is enabled as
an output, the SEC8KSEL bit in the same register selects the source for this signal (the EX_8KA
input, or the internal 8 kHz FS_INT signal which is derived from CLK16).
28
MT90500
CLKx2
CLKx1
Main TDM Bus
FSYNC
MCLK
SEC8K
Square
SEC8K_SQ
MT90500
Master/Slave
SEC8KEN
1
0
SEC8KSEL
0
1
ATM Cells
Internal CPU Bus
External CPU Bus
FS_INT
FSYNC
FS_INT
EX_8KA_INT
SRTS Clock
FNXI
Adaptive
Clock
Recovery
Recovery
Main TDM
Bus Timing
Generation
SRTS
and
Clock
Logic
Square
LOCx2
PHLEN
CLK16
(16.384 MHz)
Divide by
1,2,4,or 8
DIV1...8
DIVCLK_SRC
0
Divide by 2
to 16384
1
RXVCLK
SEC8K_INT
EX_8KA_INT
10
EX_8KA
All control bits shown are in Master Clock Generation Control Register (6090h).
BEPLL
REFSEL<1:0>
EX_8KA_SQ
Local TDM
Bus
Clock
Generation
Logic
1
0
0
1
2
3
CLKx2
CLKx1
FSYNC
LOCx1
LSYNC
PLLCLK
FREERUN
REF8KCLK
Detection
Logic
REF8KCLK
Clock Absent
Detection
Logic
Local TDM Bus
MT9041 or
other PLL
External
PLL
(Optional)
Figure 3 - TDM Clock Selection and Generation Logic
•The CLKx2 signal can be selected as single-ended or differential. (Differential CLKx2 allows com-
patibility with the H-MVIP bus.) In TDM Timing Slav e, the CLKx2 signal can be input on the CLKx2
pin, or the differential CLKx2PI and CLKx2NI pins. This selection is made with CLKTYPE in the
TDM Bus Type Register at address 6010h. In TDM Timing Master, the CLKx2 signal is output on
the CLKx2/CLKx2PO pin, and an inverted clock is available on the CLKx2NO pin.
The MT90500 supports the following TDM timing modes:
•TDM Timing Bus Slave - CLKx2 Reference (CLKMASTER = ‘0’ in TDM Bus Type Register at 6010h)
In this mode, the MT90500 is configured as a TDM Timing Slave and all internal TDM timing is synchronized to
the TDM clock inputs: CLKx2, CLKx1, and FSYNC. The following sub-modes are also selectable:
•The CLKx1 can be an input at the CLKx1 pin, or it can be derived internally from CLKx2. This is
controlled by TCLKSYN (address 6010h). If the CLKx1 pin is not used as an input in TDM Slave
mode, it remains high-impedance.
•TDM Timing Slave operation takes its 8 kHz framing from the FSYNC input pin, which would usu-
ally be driven by the TDM bus. To support other implementations, the REF8KCLK output remains
active in TDM Slave mode. An 8 kHz reference output can be made available at REF8KCLK,
selectable from the EX_8KA input, the SEC8K pin, or one of the internal dividers. In addition, the
FREERUN output can be used to monitor the presence of REF8KCLK.
29
MT90500
•TDM Timing Bus Master - Freerun (CLKMASTER = ‘1’ in TDM Bus Type Register at 6010h)
In this mode, the MT90500 is configured as the TDM Timing Master and the MT90500 drives the three TDM
bus clocks: CLKx2, CLKx1, and FSYNC . The MT90500 cloc k gener ator b lock uses either the MCLK input or the
PLLCLK input to generate all of the required clocks. Typically in this mode MCLK or PLLCLK is connected to an
oscillator, and no other synchronization source is used. Several selections must be made:
•The selection of MCLK or PLLCLK is determined by the BEPLL bits in the Master Clock Genera-
tion Control Register at 6090h.
•The selected clock is divided by 1, 2, 4, or 8 to obtain a 16.384 MHz clock, called CLK16. This divi-
sion is controlled by the DIV1...8 bits at 6090h.
•TDM Timing Bus Master - 8 kHz Reference (CLKMASTER = ‘1’ in TDM Bus Type Register at 6010h)
In this mode, the MT90500 is configured as the TDM Timing Master and the MT90500 drives the three TDM
bus clocks, synchronized to one of several possible 8 kHz references. Typically, in this mode, the PLLCLK input
is driven by an external PLL (such as the Mitel MT9041), which is controlled by the REF8KCLK and FREERUN
outputs. The following options are also selectable:
•One of four 8 kHz reference sources must be selected, using the REFSEL bits at 6090h. (See
Figure 3 and Section 4.1.1.2 for further details.)
•If the external PLL is controlled by the FREERUN output pin, the pin’s operation must be specified
by the FREERUN bits at 6090h. The CPU can force the FREERUN pin to either state, or allow the
FREERUN pin to follow the REF8KCLK failure-detection bit (REFFAIL at 6082h).
•Bus Master-Alternate (CLKMASTER = ‘0’, CLKALT = ‘1’ in TDM Bus Type Register at 6010h)
In this mode, the MT90500 is configured as a TDM Timing Slave, but stands ready to become the Timing
Master, should the timing on the TDM bus fail. The switch is normally automatic (based on the CLKFAIL input),
but can also performed by the CPU (for instance: by programming the chip into TDM Timing Master following a
Clock Absent interrupt). The following options are also selectable:
•To make the switch from Alternate to Master automatic, several settings are required: CLKALT at
6010h is set HIGH, and the CORSIGA pin is configured as the CLKFAIL input (CORSIGACNF =
“11” at 6004h).
•The Master-Alternate operates normally as a TDM Timing Slave, and has the same options as the
TDM Timing Slave listed above.
•The Master-Alternate can be set up to switch to Master-Freerun operation, should the TDM bus
clocks fail. The same options as listed above for Master-Freerun apply to this mode.
•The Master-Alternate can be set up to switch to Master-8 kHz Reference operation, should the
TDM bus clocks fail. The same options as listed above for Master-8 kHz Reference apply to this
mode. Additionally, REF8KCLK can be obtained from the TDM bus by dividing CLKx2. This allows
the external PLL to be phase-locked to the TDM bus clocks. Note that in this case the FREERUN
output should be set up to automatically place the external PLL in freerun should the TDM bus
clocks fail.
•The internal 8 kHz (FS_INT) of the Master-Alternate can be phase-locked to the TDM bus FSYNC
by setting PHLEN = ‘1’ at 6090h. (This is only valid when the FSYNC type at 6010h is set to “00”.)
This will align the internal “stand-by” FSYNC, CLKx2, and CLKx1 to the TDM bus to within a clock
cycle of the internal 16.384 MHz clock, allowing for minimal phase-shift should the Master-Alternate MT90500 take over the TDM bus clocks.
4.1.1.2REF8KCLK Selection Logic
The REF8KCLK output pin of the MT90500 is intended to provide a clock ref erence to an optional external PLL.
This signal would usually be an 8 kHz frame pulse, but other signals are possible. The external PLL (e.g. Mitel
MT9041) can be used to multiply the REF8KCLK output to 16.384 MHz (or 32.768 MHz) and attenuate jitter.
The 16.384 MHz can then be applied to the PLLCLK input pin to allow the MT90500 to generate the TDM
30
Loading...
+ 129 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.