28
INDUSTRIAL
TEMPERATURE RANGES
SINGLE CHANNEL T1/E1/J1 LONG HAUL/SHORT HAUL LINE INTERFACE UNIT
3.8.4
INBAND LOOPBACK
When PATT[1:0] bits (MAINT0, 0DH) are set to ‘11’, the IDT82V2081
isconfiguredinInbandLoopbackmode.Inthismode,anunframedactivate/
Deactivate Loopback Code is generated repeatedly in transmit direction
per ANSI T1. 403 which overwrite the transmit signals. In receive direction,
theframedorunframedcodeisdetectedperANSIT1.403,eveninthepres-
ence of 10-2 bit error rate.
If the Automatic Remote Loopback is enabled by setting ARLP bit
(MAINT1, 0EH) to ‘1’, the chip will establish/demolish the Remote Loop-
back based on the reception of the Activate Loopback Code/Deactivate
Loopback Code for 5.1 s. If the ARLP bit (MAINT1, 0EH) is set to ‘0’, the
Remote Loopback can also be demolished forcedly.
3.8.4.1 Transmit Activate/Deactivate Loopback Code
The pattern of the transmit Activate/Deactivate Loopback Code is
defined by the TIBLB[7:0] bits (MAINT3, 10H). Whether the code repre-
sentsanActivateLoopbackCodeoraDeactivateLoopbackCodeisjudged
by the far end receiver. The length of the pattern ranges from 5 bits to 8 bits,
as selected by the TIBLB_L[1:0] bits (MAINT2, 0FH). The pattern can be
programmed to 6-bit-long or 8-bit-long by repeating itself respectively if it
is 3-bit-long or 4-bit-long. When the PATT[1:0] bits (MAINT0, 0DH) are set
to ‘11’, the transmission of the Activate/Deactivate Loopback Code is initi-
ated. If the PATT_CLK bit (MAINT0, 0DH) is set to ‘0’ and the PATT[1:0]
bits (MAINT0, 0DH) are set to ‘00’, the transmission of the Activate/Deac-
tivate Loopback Code will stop.
The local transmit activate/deactivate code setting should be the same
as the receive code setting in the remote end. It is the same thing for the
other way round.
3.8.4.2 Receive Activate/Deactivate Loopback Code
The pattern of the receive Activate Loopback Code is defined by the
RIBLBA[7:0] bits (MAINT4, 11H). The length of this pattern ranges from 5
bits to 8 bits, as selected by the RIBLBA_L [1:0] bits (MAINT2, 0FH). The
pattern can be programmed to 6-bit-long or 8-bit-long respectively by
repeating itself if it is 3-bit-long or 4-bit-long.
The pattern of the receive Deactivate Loopback Code is defined by the
RIBLBD[7:0] bits (MAINT5, 12H). The length of the receive Deactivate
Loopback Code ranges from 5 bits to 8 bits, as selected by the
RIBLBD_L[1:0] bits (MAINT2, 0FH). The pattern can be programmed to 6-
bit-long or 8-bit-long respectively by repeating itself if it is 3-bit-long or 4-
bit-long.
After the Activate Loopback Code has been detected in the receive data
for more than 30 ms (in E1 mode) / 40 ms (in T1/J1 mode), the IBLBA_S
bit (STAT0, 17H) will be set to ‘1’ to declare the reception of the Activate
Loopback Code.
After the Deactivate Loopback Code has been detected in the receive
dataformorethan30ms(InE1mode)/40ms(InT1/J1mode),theIBLBD_S
bit (STAT0, 17H) will be set to ‘1’ to declare the reception of the Deactivate
Loopback Code.
When the IBLBA_IES bit (INTES, 16H) is set to ‘0’, only the ‘0’ to ‘1’ tran-
sition of the IBLBA_S bit will generate an interrupt and set the IBLBA_IS bit
(INTS0, 19H) to ‘1’. When the IBLBA_IES bit is set to ‘1’, any changes of
the IBLBA_S bit will generate an interrupt and set the IBLBA_IS bit (INTS0,
19H) to ‘1’. The IBLBA_IS bit will be reset to ‘0’ after being read.
When the IBLBD_IES bit (INTES, 16H) is set to ‘0’, only the ‘0’ to ‘1’ tran-
sition of the IBLBD_S bit will generate an interrupt and set the IBLBD_IS
bit (INTS0, 19H) to ‘1’. When the IBLBD_IES bit is set to ‘1’, any changes
of the IBLBD_S bit will generate an interrupt and set the IBLBD_IS bit
(INTS0, 19H) to ‘1’. The IBLBD_IS bit will be reset to ‘0’ after being read.
3.8.4.3 Automatic Remote Loopback
When ARLP bit (MAINT1, 0EH) is set to ‘1’, the IDT82V2081 is config-
ured into the Automatic Remote Loopback mode. In this mode, if the Acti-
vate Loopback Code has been detected in the receive data for more than
5.1 s, the Remote Loopback (shown as
Figure-15) will be established auto-
matically, and the RLP_S bit (STAT1, 18H) will be set to ‘1’ to indicate the
establishment of the Remote Loopback. The IBLBA_S bit (STAT0, 17H) is
set to ‘1’ to generate an interrupt. In this case, the Remote Loopback mode
will still be kept even if the receiver stop receiving the Activate Loopback
Code.
If the Deactivate Loopback Code has been detected in the receive data
formorethan5.1s,theRemoteLoopbackwillbedemolishedautomatically,
and the RLP_S bit (STAT1, 18H) will set to ‘0’ to indicate the demolishment
of the Remote Loopback. The IBLBD_S bit (STAT0, 17H) is set to ‘1’ to gen-
erate an interrupt.
The Remote Loopback can also be demolished forcedly by setting
ARLP bit (MAINT1, 0EH) to ‘0’.