
Preliminary Information
MT9071
83
17.3.1
E1 Per Timeslot Trunk Conditioning
The received data on a DSTo timeslot can be replaced by the idle code data bits RXIDC7-0 detailed in Table 97
- E1 Receive Idle Code Data - R/W Address Y09 on a per channel basis when programmed with control
register bit MPDR in the per channel control registers detailed in Table 167 - E1 Per Timeslot 0 to 31 Control
Registers - R/W Address Y90-YAF.
Similarly, the transmitted data from a DSTi timeslot can be replaced by the idle code data bits TXIDC7-0
detailed in Table 99 - E1 Transmit Idle Code Data - R/W Address Y0A on a per channel basis when
programmed with control register bit MPDT in the per channel control registers detailed in Table 167 - E1 Per
Timeslot 0 to 31 Control Registers - R/W Address Y90-YAF.
The received data on a DSto timeslot can also be inverted on a per channel basis by setting control bit RPCI
detailed in Table 167 - E1 Per Timeslot 0 to 31 Control Registers - R/W Address Y90-YAF.
Similarly, the transmitted data from a DSTi timeslot can also be inverted on a per channel basis by setting
control bit TPCI detailed in Table 167 - E1 Per Timeslot 0 to 31 Control Registers - R/W Address Y90-YAF.
17.3.2
See Section 15.0 Loopbacks.
E1 Per Timeslot Looping
17.3.3
E1 Per Timeslot PRBS Testing
The MT9071 includes both a pseudo random bit sequence (PRBS) generator of type (2
15
-1), and a reverse
PRBS generator (decoder), which operates on a bit sequence, and determines if it matches the transmitted
PRBS type (2
15
-1). Bits which don’t match are counted by an internal error counter. This provides for powerful
system debugging and testing without additional external hardware.
If control register bit ADSEQ (see Table 81 - E1 Test, Error and Loopback Control - R/W Address Y01) is zero,
any transmit (internal DSTi) timeslot or combination of transmit timeslots may be connected to the PRBS
generator. Timeslot n is selected by setting the TTSTn bit detailed in Table 167 - E1 Per Timeslot 0 to 31
Control Registers - R/W Address Y90-YAF, where n is 0 to 31. Any data sent on DSTi is overwritten on the
selected timeslots before being output to TTIP/TRNG.
Similarly, if control register bit ADSEQ is zero, any receive timeslot or combination of receive timeslots may be
connected to the PRBS decoder. Timeslot n is selected by setting the RRSTn bit detailed in Table 167 - E1 Per
Timeslot 0 to 31 Control Registers - R/W Address Y90-YAF, where n is 0 to 31. Data on DSTo is not affected.
PRBS data is distributed to the transmit channels sequentially one byte at a time. Consequently, the data
received must be in the same order that it was sent, in order for the PRBS decoder to correctly operate on the
data.
If one channel is tested at a time, then the PRBS transmit timeslot does not have to match the PRBS receive
timeslot. However, if more than one channel is tested, then the number of transmit timeslots must match the
number of receive timeslots, and the order of the transmit timeslots must match the order of the receive
timeslots. This will ensure that the sequential data bytes received by the PRBS decoder are in the correct
order. Consequently, particular care must be taken when using an external loopback where the channel order
may be reversed, or where the data has passed through a digital switch which doesn’t buffer all channels to the
same degree.
The PRBS decoder must have sufficient data pass through it before it begins to operate correctly, therefore, the
errors generated by the decoder immediately following start-up should be ignored.
If the PRBS testing is performed in an external loop around using timeslot control, then both timeslot control
register bits TTSTn and RRSTn should be set.