Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

ADE7759 Datasheet(PDF) 15 Page - Analog Devices

Part # ADE7759
Description  Active Energy Metering IC with di/dt Sensor Interface
PDF  36 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  AD [Analog Devices]
Direct Link  http://www.analog.com
Logo AD - Analog Devices

ADE7759 Datasheet(HTML) 15 Page - Analog Devices

Back Button ADE7759_15 Datasheet HTML 11Page - Analog Devices ADE7759_15 Datasheet HTML 12Page - Analog Devices ADE7759_15 Datasheet HTML 13Page - Analog Devices ADE7759_15 Datasheet HTML 14Page - Analog Devices ADE7759_15 Datasheet HTML 15Page - Analog Devices ADE7759_15 Datasheet HTML 16Page - Analog Devices ADE7759_15 Datasheet HTML 17Page - Analog Devices ADE7759_15 Datasheet HTML 18Page - Analog Devices ADE7759_15 Datasheet HTML 19Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 15 / 36 page
background image
REV. A
ADE7759
–15–
INTERRUPTS
ADE7759 interrupts are managed through the interrupt status
register (STATUS[7:0]) and the interrupt enable register
(IRQEN[7:0]). When an interrupt event occurs in the ADE7759,
the corresponding flag in the status register is set to a Logic 1—see
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 (RSTATUS[7:0]). This is achieved by carrying out a
read from address 05h. The
IRQ output will go logic high on
completion of the interrupt status register read command—
see Interrupt Timing section. When carrying out a read with
reset, the ADE7759 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 will not be 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 following
section for a more detailed description.
Using the ADE7759 Interrupts with an MCU
Figure 17 shows a timing diagram with a suggested implementa-
tion of ADE7759 interrupt management using an MCU. At
time t1, the IRQ line will go active low, indicating that one or
more interrupt events have occurred in the ADE7759. 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 Ser-
vice Routine (ISR). On entering the ISR, all interrupts should
be disabled using the global interrupt enable bit. At this point,
the MCU external interrupt flag can be cleared to capture inter-
rupt 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 will cause the
IRQ line to
be reset logic high (t2)—see Interrupt Timing section. The
status register contents are used to determine the source of
the interrupt(s), and thus the appropriate action will be taken. If
a subsequent interrupt event occurs during the ISR, that event
will be recorded by the MCU external interrupt flag being set
again (t3). On returning from the ISR, the global interrupt mask
will be cleared (same instruction cycle) and the external inter-
rupt flag will cause the MCU to jump to its ISR once again. This
will ensure that the MCU does not miss any external interrupts.
Interrupt Timing
The Serial Interface section should be reviewed first, before the
Interrupt Timing section. As previously described, when the
IRQ output goes low, the MCU ISR must read the interrupt
status register to determine the source of the interrupt. When
reading the status register contents, the
IRQ output is set high
on the last falling edge of SCLK of the first byte transfer (read
interrupt status register command). The
IRQ output is held
high until the last bit of the next 8-bit transfer is shifted out
(interrupt status register contents)—see Figure 18. If an inter-
rupt is pending at this time, the
IRQ output will go low again. If
no interrupt is pending, the
IRQ output will stay high.
IRQ
GLOBAL
INTERRUPT
MASK SET
CLEAR MCU
INTERRUPT
FLAG
READ
STATUS WITH
RESET (05h)
ISR ACTION
(BASED ON
STATUS CONTENTS)
ISR RETURN
GLOBAL INTERRUPT
MASK RESET
MCU
INTERRUPT
FLAG SET
JUMP
TO
ISR
MCU
PROGRAM
SEQUENCE
t3
t2
t1
JUMP
TO
ISR
Figure 17. Interrupt Management
SCLK
DIN
DOUT
IRQ
t9
t1
t11
t11
READ STATUS REGISTER COMMAND
STATUS REGISTER CONTENTS
DB7
CS
00
0
0
01
0
1
DB0
Figure 18. Interrupt Timing



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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