English
Language : 

DS3161 Datasheet, PDF (113/384 Pages) Maxim Integrated Products – Single/Dual/Triple/Quad ATM/Packet PHYs for DS3/E3/STS-1
DS3161/DS3162/DS3163/DS3164
Figure 10-9 highlights where each loopback mode is located and gives an overall view of the various loopback
paths available.
Figure 10-9. Loopback Modes
Clock Rate
Adapter
TAIS
TUA1
B3ZS/
HDB3
Encoder
DS3 / E3
Transmit
Formatter
Trail
FEAC Trace HDLC
Buffer
TX FRAC/
PLCP
B3ZS/
HDB3
Decoder
DS3 / E3
Receive
Framer
IEEE P1149.1
JTAG Test
Access Port
UA1
GEN
RX FRAC/
PLCP
Tx Cell
Processor
Tx Packet
Processor
TX BERT
RX BERT
Rx Packet
Processor
Rx Cell
Processor
Tx
FIFO
Rx
FIFO
Microprocessor
Interface
10.5.1.1 Terminal Loopback (TLB)
Terminal loopback is enabled by setting PORT.CR4.LBM[2:0] = 001. Terminal loopback mode will not be enabled
when the port is configured for loop timed mode (set via the PORT.CR3.LOOPT bit).
The terminal loopback is a loopback as close to the pins as possible. It will loop back TLCLKn,TPOSn /
TDATn,TNEGn / TOHMOn to RLCLKn ,RPOSn / RDATn , RNEGn / ROHMIn.
10.5.1.2 Line Loopback (LLB)
Line loopback is enabled by setting PORT.CR4.LBM[2:0] = X10. DLB and LLB are enabled at the same time when
LBM[2:0] = 110, and only LLB is enabled when LBM[2:0] = 010.
The clock from the RLCLK pin will be output to the TCLKOn pin. The POS and NEG data from the RPOSn and
RNEGn pin will be sampled with the receive clock to time it to the pin interface.
When LLB is enabled, unframed all ones AIS can optionally be automatically enabled on the receive data path.
This AIS signal will be output on the RSERn pin in flexible fractional mode, and sent to the receive cell or packet
processor in framer modes, effectively stopping cell or packet data flow. When DLB and LLB is enabled, the AIS
signal will not be transmitted.
Refer to Figure 10-9.
10.5.1.3 Payload Loopback (PLB)
Payload loopback is enabled by setting PORT.CR4.LBM[2:0] = 011.
The payload loopback copies the payload data from the receive framer to the transmit framer (before the fractional
logic) which then re-frames the payload before transmission. Payload loopback is operational in all framing modes
except “- OHM” modes.
When PLB is enabled, unframed all ones AIS transmission can optionally be automatically enabled on the receive
data path. This AIS signal will be output on the RSER pin in flexible fractional mode, and sent to the receive cell or
packet processor in framer modes, effectively stopping cell or packet data flow.
In all modes, the TSOFIn input pin is ignored. The external transmit output pins TDENn and TSOFOn/TDENn can
optionally be disabled by forcing a zero when PLB is enabled.
In the framed modes, the data flow from the transmit cell or packet processor can be optionally disabled when PLB
is enabled. If the data flow is not disabled, the cells or packets from the system interface will be discarded. See
Figure 10-9.