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
IEEE P1149.1
JTAG Test
Access Port
Microprocessor
Interface
HDLC
FEAC
LLB
DLB
DS3 / E3
Transmit
Formatter
DS3 / E3
Receive
Framer
Trail
Trace
Buffer
Tx Cell
Processor
Tx
FIFO
System
In
te
rfa
ce
Rx Cell
Processor
Rx
FIFO
Tx Packet
Processor
SL
B
Rx Packet
Processor
TAIS
TUA1
TX FRAC/
PLCP
RX FRAC/
PLCP
Clock Rate
Adapter
TX BERT
RX BERT
PL
B
ALB
UA1
GEN
B3ZS/
HDB3
Encoder
B3ZS/
HDB3
Decoder
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.
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