![](http://datasheet.mmic.net.cn/Exar-Corporation/XRT86L30IV-F_datasheet_100156/XRT86L30IV-F_236.png)
XRT86L30
225
SINGLE T1/E1/J1 FRAMER/LIU COMBO
REV. 1.0.1
The table below shows the Receive AIS State Change status bits of the Alarm and Error Status Register.
The Receive AIS State bit of the Alarm and Error Status Register (AESR), on the other hand, is a read-only bit
indicating there is AIS alarm detected in the incoming DS1 frame.
The table below shows the Receive AIS State status bits of the Alarm and Error Status Register.
12.2
Red Alarm
The Alarm indication logic within the Receive Framer block of the XRT86L30 framer monitors the incoming
DS1 frames for red alarm or Loss of Frame (LOF) condition. Red alarm condition are detected and declared
according to the following procedure:
1. The red alarm is detected by monitoring the occurrence of Loss of Frame (LOF) over a 6 ms interval.
2. An LOF valid flag will be posted on the interval when one or more LOF occurred during the interval.
3. Each interval with a valid LOF flag increments a flag counter which declares RED alarm when 63 valid
intervals have been accumulated.
4. An interval without valid LOF flag decrements the flag counter. The Red alarm is removed when the
counter reaches zero.
If LOF condition is present in the incoming DS1 frame, the XRT86L30 framer can generate a Receive Red
Alarm State Change interrupt associated with the setting of Receive Red Alarm State Change bit of the Alarm
and Error Status Register to one.
To enable the Receive Red Alarm State Change interrupt, the Receive Red Alarm State Change Interrupt
Enable bit of the Alarm and Error Interrupt Enable Register (AEIER) has to be set to one. In addition, the Alarm
and Error Interrupt Enable bit of the Block Interrupt Enable Register (BIER) needs to be one.
The table below shows configurations of the Receive Red Alarm State Change Interrupt Enable bit of the Alarm
and Error Interrupt Enable Register (AEIER).
ALARM AND ERROR STATUS REGISTER (AESR) (ADDRESS = 0X0B02H)
BIT
NUMBER
BIT NAME
BIT TYPE
BIT DESCRIPTION
1
Receive AIS State
Change
RUR /
WC
0 - There is no change of AIS state in the incoming DS1 payload data.
1 - There is change of AIS state in the incoming DS1 payload data.
ALARM AND ERROR STATUS REGISTER (AESR) (ADDRESS = 0X0B02H)
BIT
NUMBER
BIT NAME
BIT TYPE
BIT DESCRIPTION
6
Receive AIS State
R
0 - There is no AIS alarm condition detected in the incoming DS1 payload
data.
1 - There is AIS alarm condition detected in the incoming DS1 payload
data.
ALARM AND ERROR INTERRUPT ENABLE REGISTER (AEIER) (ADDRESS = 0X0B03H)
BIT
NUMBER
BIT NAME
BIT TYPE
BIT DESCRIPTION
2
Receive Red Alarm
State Change
Interrupt Enable
R/W
0 - The Receive Red Alarm State Change interrupt is disabled. No Receive
Loss of Frame (RxLOF) interrupt will be generated upon detection of LOF
condition.
1 - The Receive Red Alarm State Change interrupt is enabled. Receive
Loss of Frame (RxLOF) interrupt will be generated upon detection of LOF
condition.