English
Language : 

SM3 Datasheet, PDF (29/36 Pages) Connor-Winfield Corporation – ULTRA MINIATURE STRATUM 3 MODULE
Application Notes continued
SM3 Application Note on Interrupts
The SM3/3E module supports eight different interrupts and appears in INTR_EVENT (0x12) register. Each interrupt can be
individually enabled or disabled via the INTR_ENABLE (0x13) register. Each bit enables or disables the corresponding interrupt from
asserting the SPI_INT pin. Interrupt events still appear in the INTR_EVENT (0x12) register independent of their enable state. All
interrupts are cleared once INTR_EVENT (0x12) register is read. The interrupts are
1. Any reference changing from available to not available
2. Any reference changing from not available to available
3. M/SREF changing from activity to no activity
4. M/SREF changing from no activity to activity
5. DPLL Mode status change
6. Active reference change
7. Loss of Signal
8. Loss of Lock
Interrupts and Reference change in Autonomous mode: Interrupts can be used to determine the cause of a reference change in
autonomous mode. Let us assume that the module is currently locked to REF1. The module switches to REF2 and SPI_INT pin is
asserted. The user reads the INTR_EVENT (0x12) register.
If the module is operating in autonomous non-revertive mode, the cause can be determined from bits4, 5, 6 and 7. Bit 5 is set to indicate
Active reference change. If Bit 6 is set then the cause of the reference change is Loss of Active Reference. If Bit 7 is set then the cause of
the reference change is a Loss of Lock alarm on the active reference.
If the module is operating in autonomous revertive mode, the cause can be determined from bits 1, 4, 5, 6 and 7. Bit 5 is set to indicate
Active reference change. If Bit6 is set then the cause of the reference change is Loss of Active Reference. If Bit 7 is set then the cause of
the reference change is a Loss of Lock alarm on the active reference. If Bit 1 is set then the cause of the reference change is the
availability of a higher priority reference.
Note: The DPLL Mode Status Change bit (Bit 4) is also set to indicate a change in DPLL_STATUS (0x11) register, during an interrupt
caused by a reference change. The data in DPLL_STATUS (0x11) register however is not useful in determining the cause of a reference
change. This is because bits0-2 of this register always reflects the status of the current active reference and hence cannot be used to
determine the status of the last active reference.
Interrupts in Manual Mode: In manual operating mode, when the active reference fails due to a Loss of Signal or Loss of Lock alarm, an
interrupt is generated. For example, in case of a Loss of Signal, bits 4 and 6 of INTR_EVENT (0x12) register would be set to indicate
Loss of Signal and DPLL Mode Status Change. The user may choose to read the DPLL_STATUS (0x11) register, though in manual
mode bit6 of INTR_EVENT (0x12) register is a mirror of bit 0 of DPLL_STATUS (0x11) register. This holds true for a Loss of Lock alarm,
where bit 7 of INTR_EVENT (0x12) register is a mirror of bit 1 of DPLL_STATUS (0x11) register.
Data Sheet #: TM052 Page 29 of 36 Rev: 03 Date: 11/07/08
© Copyright 2008 The Connor-Winfield Corp. All Rights Reserved Specifications subject to change without notice