
MT90500
32
4.1.2
TDM Interface Operation
4.1.2.1
Main TDM Bus Operation
The main TDM bus (pins ST[15:0]) supports SCSA, MVIP, H-MVIP, ST-BUS, and IDL protocols. These buses
have different frame sync pulse orientations and different data sampling specifications, as well as different pin
requirements. However, all of these buses are composed of 16 data pins, as well as CLKx2, CLKx1, and
FSYNC lines.
The TDM bus type is controlled by the TDM Bus Type Register at 6010h. In all bus types, outputs change on
the rising edge of CLKx1. Inputs can be sampled at the 2/4, 3/4 or 4/4 point of the CLKx1 signal. MVIP/SCSA/
ST-BUS all use a negative FSYNC that is asserted for one CLKx2 cycle, straddling the frame boundary. The
IDL bus uses a positive FSYNC which is asserted for one cycle of CLKx1, preceding the frame boundary. (See
Figure 39, “Nominal TDM Bus Timing,” on page 114.)
4.1.2.2
TDM Loopback
The General Output Enable bit (GENOE in the TDM Interface Control Register at 6000h) is used to enable data
to be driven out on the TDM output streams. When this bit it not set (i.e. it is LOW), the internal TDM transmit
buses are connected to the internal TDM receive buses (while the internal TDM buses are disconnected from
the external TDM buses) giving a TDM loopback from ATM receive back to ATM transmit. In this mode, the
internally-generated TDM clocks and synchronization signals are used. This allows the user to test the
MT90500 in stand-alone mode by passing receive ATM cells through the SAR, through the internal loopback at
the TDM interface, and back through the SAR and out as transmit ATM cells.
4.1.2.3
Per-channel Output Enable Feature
The ST[15:0] pins are bidirectional, and are able to switch between input and output directions on a per-
channel basis. The Output Enable Registers located at addresses 7000 + 2N (N = 0, 1, ..., 127) are used for
individual time slot output enable control. Depending on the TDM bus rate, up to 128 registers (256 bytes) are
used to provide up to 2048 individual channel-output-enable bits. At 2.048 Mbps, 32 registers are used; at
4.096 Mbps, 64 registers are used; and at 8.192 Mbps, 128 registers are used.
During each channel period (TDM time slot), 16 output enable bits (one register) are read from the Output
Enable Registers. Within each frame, 32, 64, or 128 registers are read (depending on the TDM bus rate). The
GENOE bit must be set HIGH, as well as the individual channel-output-enable bit, in order for a TDM channel
to be transmitted from the MT90500 onto the TDM bus. In order to prevent data collisions on the TDM bus, the
user should clear all Output Enable Register bits for channels not used as outputs, prior to setting the GENOE
bit. The GENOE signal, when inactive, asynchronously deactivates the tristate buffers on the data pins and
routes the output paths back into the input paths, causing the TDM bus to enter the TDM Loopback mode (see
Section 4.1.2.2).
Since the ST pins are bidirectional, the input sampling is always active and output data can be re-sampled back
into the MT90500. This re-sampling is used when LOCSTi channels are output on a ST pin and then re-
sampled for ATM transmission, when ST outputs are re-sampled for transfer to the LOCSTo pin, or for test and
verification purposes.
4.1.2.4
Local Bus Operation
The local bus signals are:
LOCx2, LOCx1, LSYNC - clock output signals;
LOCSTi, LOCSTo - Local Serial TDM data in and data out.
The MT90500 provides three output clocks for the local TDM bus: LOCx2, LOCx1 and LSYNC. These clocks
are derived from CLKx2, and controlled by the relevant bits in the Local Bus Type Register (register 6020h).
The LCLKDIV bits allow LOCx2 to be equal to CLKx2, CLKx2 / 2, or CLKx2 / 4 (note that the local bus rate is
2.048 Mbps, which is always equal to, or less than, the main TDM bus rate). Also in register 6020h are the
control bits to select the LSYNC frame-pulse type, the routing of TDM streams onto and from the local bus, and
the LOCSTi sampling point.Except for the rate, the local bus type can be configured independently of the main
TDM bus type.