參數(shù)資料
型號: ADE7878ACPZ-RL
廠商: ANALOG DEVICES INC
元件分類: 模擬信號調(diào)理
英文描述: Poly Phase Multifunction Energy Metering IC With Total And Fundamental Powers, No Of Pins: 40, Temperature Range: Ind
中文描述: SPECIALTY ANALOG CIRCUIT, QCC40
封裝: 6 X 6 MM, ROHS COMPLIANT, MO-220WJJD, LFCSP-40
文件頁數(shù): 61/96頁
文件大小: 1096K
代理商: ADE7878ACPZ-RL
ADE7854/ADE7858/ADE7868/ADE7878
Rev. E | Page 64 of 96
INTERRUPTS
The ADE7854/ADE7858/ADE7868/ADE7878 have two interrupt
pins, IRQ0 and IRQ1. Each of the pins is managed by a 32-bit
interrupt mask register, MASK0 and MASK1, respectively. To
enable an interrupt, a bit in the MASKx register must be set to
1. To disable it, the bit must be cleared to 0. Two 32-bit status
registers, STATUS0 and STATUS1, are associated with the inter-
rupts. When an interrupt event occurs in the ADE78xx, the
corresponding flag in the interrupt status register is set to a Logic 1
(see
and
). If the mask bit for this interrupt in
the interrupt mask register is Logic 1, then the
IRQx logic output
goes active low. The flag bits in the interrupt status register are set
irrespective of the state of the mask bits. To determine the source
of the interrupt, the MCU should perform a read of the corres-
ponding STATUSx register and identify which bit is set to 1. To
erase the flag in the status register, write back to the STATUSx
register with the flag set to 1. After an interrupt pin goes low, the
status register is read and the source of the interrupt is identified.
Then, the status register is written back without any change to
clear the status flag to 0. The IRQx pin remains low until the
status flag is cancelled.
By default, all interrupts are disabled. However, the RSTDONE
interrupt is an exception. This interrupt can never be masked
(disabled) and, therefore, Bit 15 (RSTDONE) in the MASK1
register does not have any functionality. The IRQ1 pin always
goes low, and Bit 15 (RSTDONE) in the STATUS1 register is set
to 1 whenever a power-up or a hardware/software reset process
ends. To cancel the status flag, the STATUS1 register has to be
written with Bit 15 (RSTDONE) set to 1.
Certain interrupts are used in conjunction with other status
registers. The following bits in the MASK1 register work in
conjunction with the status bits in the PHNOLOAD register:
Bit 0 (NLOAD)
Bit1 (FNLOAD), available in the ADE7878 only
Bit 2 (VANLOAD)
The following bits in the MASK1 register work with the status bits
in the PHSTATUS register:
Bit 16, (SAG)
Bit 17 (OI)
Bit 18 (OV)
The following bits in the MASK1 register work with the status bits
in the IPEAK and VPEAK registers, respectively:
Bit 23 (PKI)
Bit 24 (PKV)
The following bits in the MASK0 register work with the status bits
in the PHSIGN register:
Bits[6:8] (REVAPx)
Bits[10:12] (REVRPx), available in the ADE7858,
ADE7868, and ADE7878 only
Bit 9, Bit 13, and Bit 18 (REVPSUMx)
When the STATUSx register is read and one of these bits is set
to 1, the status register associated with the bit is immediately
read to identify the phase that triggered the interrupt and only
at that time can the STATUSx register be written back with the bit
set to 1.
Using the Interrupts with an MCU
Figure 79 shows a timing diagram that illustrates a suggested
implementation of the ADE7854/ADE7858/ADE7868/ADE7878
interrupt management using an MCU. At Time t1, the IRQx pin
goes active low indicating that one or more interrupt events
have occurred in the ADE78xx, at which point the following
steps should be taken:
1.
Tie the IRQx pin to a negative-edge-triggered external
interrupt on the MCU.
2.
On detection of the negative edge, configure the MCU to
start executing its interrupt service routine (ISR).
3.
On entering the ISR, disable all interrupts using the global
interrupt mask bit. At this point, the MCU external interrupt
flag can be cleared to capture interrupt events that occur
during the current ISR.
4.
When the MCU interrupt flag is cleared, a read from
STATUSx, the interrupt status register, is carried out. The
interrupt status register content is used to determine the
source of the interrupt(s) and, hence, the appropriate
action to be taken.
5.
The same STATUSx content is written back into the
ADE78xx to clear the status flag(s) and reset the IRQx line
to logic high (t2).
If a subsequent interrupt event occurs during the ISR (t3), that
event is recorded by the MCU external interrupt flag being set
again.
On returning from the ISR, the global interrupt mask bit is
cleared (same instruction cycle) and the external interrupt flag
uses the MCU to jump to its ISR once again. This ensures that
the MCU does not miss any external interrupts.
Figure 80 shows a recommended timing diagram when the
status bits in the STATUSx registers work in conjunction with
bits in other registers. When the IRQx pin goes active low, the
STATUSx register is read, and if one of these bits is 1, a second
相關(guān)PDF資料
PDF描述
ADG529FTQ 4-CHANNEL, DIFFERENTIAL MULTIPLEXER, CDIP18
ADJ24006 POWER/SIGNAL RELAY, SPST, LATCHED, 0.042A (COIL), 6VDC (COIL), 250mW (COIL), THROUGH HOLE-STRAIGHT MOUNT
ADJ24012 POWER/SIGNAL RELAY, SPST, LATCHED, 0.021A (COIL), 12VDC (COIL), 250mW (COIL), THROUGH HOLE-STRAIGHT MOUNT
ADJ24024 POWER/SIGNAL RELAY, SPST, LATCHED, 0.01A (COIL), 24VDC (COIL), 250mW (COIL), THROUGH HOLE-STRAIGHT MOUNT
ADJ24048 POWER/SIGNAL RELAY, SPST, LATCHED, 0.005A (COIL), 48VDC (COIL), 250mW (COIL), THROUGH HOLE-STRAIGHT MOUNT
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ADE7878XCPZ 制造商:Analog Devices 功能描述:POLY PHASE MULTIFUNCTION ENERGY METERING IC WITH TOTAL - Bulk
ADE7880 制造商:Analog Devices 功能描述:BOARD EVAL ENERGY METER ADE
ADE7880ACPZ 功能描述:IC ENERGY METERING 3PH 40LFCSP RoHS:是 類別:集成電路 (IC) >> PMIC - 能量測量 系列:- 產(chǎn)品培訓(xùn)模塊:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 標(biāo)準(zhǔn)包裝:2,500 系列:*
ADE7880ACPZ-RL 功能描述:IC ENERGY METERING 3PH 40LFCSP RoHS:是 類別:集成電路 (IC) >> PMIC - 能量測量 系列:- 產(chǎn)品培訓(xùn)模塊:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 標(biāo)準(zhǔn)包裝:2,500 系列:*
ADE7903ARWZ 功能描述:Energy Monitor (Power Meter) 24 bit SPI 20-SOIC 制造商:analog devices inc. 系列:- 包裝:管件 零件狀態(tài):有效 類型:能量監(jiān)測器(功率計(jì)) 分辨率(位):24 b 采樣率(每秒):- 數(shù)據(jù)接口:SPI 電壓源:單電源 電壓 - 電源:2.97 V ~ 3.63 V 工作溫度:-40°C ~ 85°C 安裝類型:表面貼裝 封裝/外殼:20-SOIC(0.295",7.50mm 寬) 供應(yīng)商器件封裝:20-SOIC 標(biāo)準(zhǔn)包裝:37