| Electronic Components Datasheet Search |
|
AD9139 Datasheet(PDF) 32 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD9139 Datasheet(HTML) 32 Page - Analog Devices |
|
32 / 56 page ![]() AD9139 Data Sheet INTERRUPT REQUEST OPERATION The AD9139 provides an interrupt request output signal on Pin 50 and Pin 51 (IRQ2 and IRQ1, respectively) to notify an external host processor of significant device events. Upon assertion of the interrupt, query the device to determine the precise event that occurred. The IRQ1 pin and IRQ2 pin are open-drain, active low outputs. Pull the IRQx pin high (DVDD18 supply) external to the device. The IRQx pin can be tied to the interrupt pins of other devices with open-drain outputs to wire-OR these pins together. Eleven event flags provide visibility into the device. These flags are located in the two event flag registers, Register 0x05 and Register 0x06. The behavior of each event flag is independently selected in the interrupt enable registers, Register 0x03 and Register 0x04. When the flag interrupt enable is active, the event flag latches and triggers the IRQ1 and/or IRQ2 pins. When the flag interrupt is disabled, the event flag monitors the source signal, but the IRQ1 and IRQ2 pins remain inactive. INTERRUPT WORKING MECHANISM Figure 40 shows the interrupt related circuitry and how the event flag signals propagate to the IRQx output. The INTERRUPT_ ENABLE signal represents one bit from the interrupt enable register. The EVENT_FLAG_SOURCE signal represents one bit from the event flag register. The EVENT_FLAG_SOURCE signal represents one of the device signals that can be monitored, such as the PLL_LOCK signal from the PLL phase detector or the FIFO_OVERFLOW signal from the FIFO controller. When an interrupt enable bit is set high, the corresponding event flag bit reflects a positively tripped version of the EVENT_FLAG_ SOURCE signal; that is, the event flag bit is latched on the rising edge of the EVENT_FLAG_SOURCE signal. This signal also asserts the external IRQx pins. When an interrupt enable bit is set low, the event flag bit reflects the present status of the EVENT_FLAG_SOURCE signal, and the event flag has no effect on the external IRQx pins. Clear the latched version of an event flag (the INTERRUPT_ SOURCE signal) in one of two ways. The recommended method is by writing 1 to the corresponding event flag bit. The second method is to use a hardware or software reset to clear the INTERRUPT_SOURCE signal. The IRQ2 circuitry works in the same way as the IRQ1 circuitry. Any one or multiple event flags can be enabled to trigger the IRQx pins. The user can select one or both hardware interrupt pins for the enabled event flags. Register 0x07 and Register 0x08 determine the pin to which each event flag is routed. Set Register 0x07 and Register 0x08 to 0 for IRQ1 and set these registers to 1 for IRQ2. INTERRUPT SERVICE ROUTINE Interrupt request management starts by selecting the set of event flags that require host intervention or monitoring. Enable the events that require host action so that the host is notified when they occur. For events requiring host intervention upon IRQx activation, run the following routine to clear an interrupt request: 1. Read the status of the event flag bits that are being monitored. 2. Set the interrupt enable bit low to monitor the unlatched EVENT_FLAG_SOURCE signal directly. 3. Perform any actions that may be required to clear the EVENT_FLAG_SOURCE signal. In many cases, no specific actions are required. 4. Read the event flag to verify that the actions taken have cleared the EVENT_FLAG_SOURCE signal. 5. Clear the interrupt by writing 1 to the event flag bit. 6. Set the interrupt enable bits of the events to be monitored. Note that some EVENT_FLAG_SOURCE signals are latched signals. Clear these signals by writing to the corresponding event flag bit. For more information about each of the event flags, see the Device Configuration Register Map and Description section. Figure 40. Simplified Schematic of IRQx Circuitry INTERRUPT_ENABLE EVENT_FLAG_SOURCE DEVICE_RESET EVENT_FLAG INTERRUPT_ SOURCE 1 0 OTHER INTERRUPT SOURCES IRQ WRITE_1_TO_EVENT_FLAG Rev. A | Page 32 of 56 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |