![](http://datasheet.mmic.net.cn/110000/GT-96100A_datasheet_3491740/GT-96100A_386.png)
GT-96100A Advanced Communication Controller
386
Revision 1.0
15.5
FlexTDM Synchronization
After enable, the FlexTDM needs to receive one received sync to achieve synchronization. Until synchronization
is achieved, the FlexTDM transmit and receive paths are disabled.
After gaining synchronization, the FlexTDM always predicts when the next sync is expected. If the sync signal is
not asserted when expected, the FlexTDM executes a synchronization lost procedure and a maskable interrupt is
generated. All the MPSCs that are connected to the FlexTDM experience a CD loss and a CTS loss and all the
transmit and receive processes are halted until synchronization is gained again.
30:29
TDIAG
TDM Diagnostic
00 - Normal Operation
The received input is connected to the FlexTDM receive pin (TRXD) and
transmit output is connected to the FlexTDM transmit pin (TTXD).
01 - Echo
TDM receive input is echoed on TDM output with one clock delay. The
received bit stream is processed normally according to DPRAM program-
ming.
10 - Loopback
Transmit data is driven on TDM output, as in normal operation, and is
also connected internally to the TDM receive line. The received bit
stream is processed normally according to DPRAM programming. Trans-
actions on TRXD are not seen by the FlexTDM.
11 - Internal Loopback (transmit output is inactive)
TDM transmit output is internally connected to the TDM receive input.
This mode is useful for TDM loopback testing without affecting the exter-
nal lines.
NOTE: Proper operation of the echo and loopback modes requires that
an identical clock is supplied to the TDM’s transmit and receive
sections. If a TDM entry in the DPRAM is in byte mode (bit
18,’B’ is set to 1) and configured for a MPSC channel in Trans-
parent mode, bits 6 and 7 must never be masked simulta-
neously. For example, a MASK (bits 7:0 of the TDM entry) of
0b00xx xxxx (where x means ’don’t care’), DPRAM entry for
MPSC channel in Transparent mode is not allowed in byte
mode.
0
31
TEN
Enable FlexTDM
0 - FlexTDM disabled.
Transmit output is Z.
1 - FlexTDM enabled.
0
Table 357: FlexTDMx Configuration Register (TCR), Offset: 0x008B08, 0x018B08, 0x028B08,
0x038B08 (where x is FlexTDM 0 to 3)
(Continued)
Bits
Field
Name
F unction
Reset
Value