Rainbow Electronics DS2152 User Manual
Page 33
DS2152
031897 33/79
errors in the FPS framing pattern (in the ESF mode).
When the MOSCR is operated in this mode, it is dis-
abled during receive loss of synchronization (RLOS = 1)
conditions. See Table 5–3 for a detailed description of
what the MOSCR is capable of counting.
MOSCR1: MULTIFRAMES OUT OF SYNC COUNT REGISTER 1 (Address = 25 Hex)
MOSCR2: MULTIFRAMES OUT OF SYNC COUNT REGISTER 2 (Address = 27 Hex)
(MSB)
(LSB)
MOS/FB11
MOS/FB10
MOS/FB9
MOS/FB8
(note 1)
(note 1)
(note 1)
(note 1)
CRC/FB7
CRC/FB6
CRC/FB5
CRC/FB4
CRC/FB3
CRC/FB2
CRC/FB1
CRC/FB0
SYMBOL
POSITION
NAME AND DESCRIPTION
MOS/FB11
MOSCR1.7
MSB of the 12–Bit Multiframes Out of Sync or F–Bit Error Count (note
#2)
MOS/FB0
MOSCR2.0
LSB of the 12–Bit Multiframes Out of Sync or F–Bit Error Count (note
#2)
NOTES:
1. The lower nibble of the counter at address 25 is used by the Path Code Violation Count Register
2. MOSCR counts either errors in framing bit position (RCR2.0=0) or the number of multiframes out of sync
(RCR2.0=1)
MULTIFRAMES OUT OF SYNC COUNTING ARRANGEMENTS Table 5–3
FRAMING MODE
(CCR2.3)
COUNT MOS OR F–BIT ERRORS
(RCR2.0)
WHAT IS COUNTED
IN THE MOSCRs
D4
MOS
number of multiframes out of sync
D4
F–Bit
errors in the Ft pattern
ESF
MOS
number of multiframes out of sync
ESF
F–Bit
errors in the FPS pattern
6.0
DS0 MONITORING FUNCTION
The DS2152 has the ability to 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 will determine which channel is to be
monitored by properly setting the TCM0 to TCM4 bits in
the CCR5 register. In the receive direction, the RCM0 to
RCM4 bits in the CCR6 register need to be properly set.
The DS0 channel pointed to by the TCM0 to TCM4 bits
will appear in the Transmit DS0 Monitor (TDS0M) regis-
ter and the DS0 channel pointed to by the RCM0 to
RCM4 bits will 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
T1 channel. For example, if DS0 channel 6 in the trans-
mit direction and DS0 channel 15 in the receive direction
needed to be monitored, then the following values
would be programmed into CCR5 and CCR6:
TCM4 = 0
RCM4 = 0
TCM3 = 0
RCM3 = 1
TCM2 = 1
RCM2 = 1
TCM1 = 0
RCM1 = 1
TCM0 = 1
RCM0 = 0.
MOSCR1
MOSCR2