DS21Q58 E1 Quad Transceiver
37 of 74
12.
Each DS21Q58 framer can monitor one DS0 (64kbps) channel in the transmit direction and one DS0 channel in the
receive direction at the same time. In the transmit direction, the user determines which channel is to be monitored
by properly setting the TCM0 to TCM4 bits in the CCR3 register. In the receive direction, the RCM0 to RCM4 bits in
the CCR4 register need to be properly set. The DS0 channel pointed to by the TCM0 to TCM4 bits appear in the
transmit DS0 monitor (TDS0M) register and the DS0 channel pointed to by the RCM0 to RCM4 bits appear in the
receive DS0 (RDS0M) register. The TCM4 to TCM0 and RCM4 to RCM0 bits should be programmed with the
decimal decode of the appropriate E1 channel. For example, if DS0 channel 6 in the transmit direction and DS0
channel 15 in the receive direction needed to be monitored, then the following values would be programmed into
CCR4 and CCR5:
TCM4 = 0
RCM4 = 0
TCM3 = 0
RCM3 = 1
TCM2 = 1
RCM2 = 1
TCM1 = 0
RCM1 = 1
TCM0 = 1
RCM0 = 0
Register Name:
CCR3
(Repeated here from Section
6
for convenience.)
Register Description:
Common Control Register 3
Register Address:
14 Hex
Bit #
7
6
5
4
Name
RLB
LLB
LIAIS
TCM4
TCM3
NAME
BIT
FUNCTION
RLB
7
Remote Loopback
LLB
6
Local Loopback
LIAIS
5
Line Interface AIS Generation Enable
Transmit Channel Monitor Bit 4
. MSB of a channel decode that
determines which transmit channel data appears in the TDS0M register.
See Section
10
or details.
TCM3
3
Transmit Channel Monitor Bit 3
TCM2
2
Transmit Channel Monitor Bit 2
TCM1
1
Transmit Channel Monitor Bit 1
TCM0
0
Transmit Channel Monitor Bit 0.
LSB of the channel decode.
Register Name:
TDS0M
Register Description:
Transmit DS0 Monitor Register
Register Address:
22 Hex
Bit #
7
6
5
4
Name
B1
B2
B3
B4
NAME
BIT
FUNCTION
Transmit DS0 Channel Bit 1.
MSB of the DS0 channel (first bit to be
transmitted).
B2
6
Transmit DS0 Channel Bit 2
B3
5
Transmit DS0 Channel Bit 3
B4
4
Transmit DS0 Channel Bit 4
B5
3
Transmit DS0 Channel Bit 5
B6
2
Transmit DS0 Channel Bit 6
B7
1
Transmit DS0 Channel Bit 7
Transmit DS0 Channel Bit 8.
LSB of the DS0 channel (last bit to be
transmitted).
DS0 MONITORING FUNCTION
3
2
1
0
TCM2
TCM1
TCM0
TCM4
4
3
B5
2
B6
1
B7
0
B8
B1
7
B8
0