ADE7753
ADE7753 INTERRUPTS
ADE7753 interrupts are managed through the interrupt status
register (STATUS[15:0]) and the interrupt enable register
(IRQEN[15:0]). When an interrupt event occurs in the ADE7753,
the corresponding flag in the status register is set to Logic 1—
see the Interrupt Status Register section. If the enable bit for this
interrupt in the interrupt enable register is Logic 1, then the
IRQ logic output goes active low. The flag bits in the status
register are set irrespective of the state of the enable bits.
To determine the source of the interrupt, the system master
(MCU) should perform a read from the status register with
reset (RSTSTATUS[15:0]). This is achieved by carrying out a
read from Address 0x0C. The IRQ output goes logic high on
completion of the interrupt status register read command—see
the Interrupt Timing section. When carrying out a read with
reset, the ADE7753 is designed to ensure that no interrupt
events are missed. If an interrupt event occurs just as the status
register is being read, the event is not lost and the IRQ logic
output is guaranteed to go high for the duration of the interrupt
status register data transfer before going logic low again to
indicate the pending interrupt. See the next section for a more
detailed description.
Using the ADE7753 Interrupts with an MCU
Figure 46 shows a timing diagram with a suggested implemen-
tation of ADE7753 interrupt management using an MCU. At
time t 1 , the IRQ line goes active low indicating that one or more
interrupt events have occurred in the ADE7753. The IRQ logic
output should be tied to a negative edge-triggered external
interrupt on the MCU. On detection of the negative edge, the
MCU should be configured to start executing its interrupt
service routine (ISR). On entering the ISR, all interrupts should
be disabled by using the global interrupt enable bit. At this
point, the MCU external interrupt flag can be cleared to capture
interrupt events that occur during the current ISR. When the
MCU interrupt flag is cleared, a read from the status register
with reset is carried out. This causes the IRQ line to be reset
logic high (t 2 )—see the Interrupt Timing section. The status
register contents are used to determine the source of the
interrupt(s) and therefore the appropriate action to be taken. If
a subsequent interrupt event occurs during the ISR, that event is
recorded by the MCU external interrupt flag being set again
(t 3 ). On returning from the ISR, the global interrupt mask is
cleared (same instruction cycle), and the external interrupt flag
causes the MCU to jump to its ISR once a gain. This ensures
that the MCU does not miss any external interrupts.
MCU
INTERRUPT
t 1
t 2
t 3
FLAG SET
IRQ
MCU
PROGRAM
SEQUENCE
JUMP
TO
ISR
GLOBAL
INTERRUPT
MASK SET
CLEAR MCU
INTERRUPT
FLAG
READ
STATUS WITH
RESET (0x05)
ISR ACTION
(BASED ON STATUS CONTENTS)
ISR RETURN
GLOBAL INTERRUPT
MASK RESET
JUMP
TO
ISR
02875-0-044
Figure 45. ADE7753 Interrupt Management
CS
t 1
SCLK
t 9
DIN
0
0
0
0
0
1
0
1
t 11
t 11
DOUT
DB7
DB0 DB7
DB 0
READ STATUS REGISTER COMMAND
STATUS REGISTER CONTENTS
IRQ
02875-0-045
Figure 46. ADE7753 Interrupt Timing
Rev. C | Page 21 of 60
相关PDF资料
EVAL-ADE7754EBZ BOARD EVALAUTION FOR ADE7754
EVAL-ADE7755ZEB BOARD EVALUATION FOR AD7755
EVAL-ADE7758ZEB BOARD EVAL FOR AD7758
EVAL-ADE7759EBZ BOARD EVALUATION FOR ADE7759
EVAL-ADE7762EBZ BOARD EVALUATION FOR ADE7762
EVAL-ADE7763ZEB BOARD EVALUATION FOR ADE7763
EVAL-ADE7816EBZ BOARD EVALUATION FOR ADE7816
EVAL-ADE7878EBZ BOARD EVAL FOR ADE7878
相关代理商/技术参数
EVAL-ADE7754EB 制造商:Analog Devices 功能描述:EVALUATION BOARD FOR POWER METERING, POLYPHASE MULTIFUNCTION ENERGY METERING IC WITH SERIAL PORT 制造商:Analog Devices 功能描述:PWR METERING, POLYPHASE MULTIFUNCTION ENERGY METERING IC W/ - Bulk
EVAL-ADE7754EBZ 功能描述:BOARD EVALAUTION FOR ADE7754 RoHS:是 类别:编程器,开发系统 >> 评估演示板和套件 系列:- 标准包装:1 系列:- 主要目的:电信,线路接口单元(LIU) 嵌入式:- 已用 IC / 零件:IDT82V2081 主要属性:T1/J1/E1 LIU 次要属性:- 已供物品:板,电源,线缆,CD 其它名称:82EBV2081
EVAL-ADE7755EB 制造商:Analog Devices 功能描述:EVAL BOARD ENERGY METERINGW/PULSE OUTPUT - Bulk
EVAL-ADE7755EBZ 制造商:AD 制造商全称:Analog Devices 功能描述:Energy Metering IC with Pulse Output
EVAL-ADE7755EBZ1 制造商:AD 制造商全称:Analog Devices 功能描述:Energy Metering IC with Pulse Output
EVAL-ADE7755ZEB 功能描述:BOARD EVALUATION FOR AD7755 RoHS:是 类别:编程器,开发系统 >> 评估演示板和套件 系列:- 标准包装:1 系列:- 主要目的:电信,线路接口单元(LIU) 嵌入式:- 已用 IC / 零件:IDT82V2081 主要属性:T1/J1/E1 LIU 次要属性:- 已供物品:板,电源,线缆,CD 其它名称:82EBV2081
EVAL-ADE7756EB 制造商:Analog Devices 功能描述:EVAL BD DOCUMENTATION ADE7756 ENERGY METERING IC - Bulk 制造商:Rochester Electronics LLC 功能描述:
EVAL-ADE7757AEBZ 制造商:Analog Devices 功能描述:EVALUATION BOARDS - Bulk