数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

EVAL-ADE7858EBZ 数据表(PDF) 50 Page - Analog Devices

部件名 EVAL-ADE7858EBZ
功能描述  Poly Phase Multifunction Energy Metering IC with per Phase Active and Reactive Powers
PDF  76 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  AD [Analog Devices]
网页  http://www.analog.com
标志 AD - Analog Devices

EVAL-ADE7858EBZ 数据表(HTML) 50 Page - Analog Devices

Back Button EVAL-ADE7858EBZ Datasheet HTML 46Page - Analog Devices EVAL-ADE7858EBZ Datasheet HTML 47Page - Analog Devices EVAL-ADE7858EBZ Datasheet HTML 48Page - Analog Devices EVAL-ADE7858EBZ Datasheet HTML 49Page - Analog Devices EVAL-ADE7858EBZ Datasheet HTML 50Page - Analog Devices EVAL-ADE7858EBZ Datasheet HTML 51Page - Analog Devices EVAL-ADE7858EBZ Datasheet HTML 52Page - Analog Devices EVAL-ADE7858EBZ Datasheet HTML 53Page - Analog Devices EVAL-ADE7858EBZ Datasheet HTML 54Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 50 / 76 page
background image
ADE7858
Preliminary Technical Data
Rev. PrA| Page 50 of 76
flag, STATUS1[31:0] register has to be written with bit
15(RSTDONE) set to 1.
Certain interrupts are used in conjunction with other status
registers: bits 0 (NLOAD) and 2 (VANLOAD) in MASK1[31:0]
work in conjunction with status bits in PHNOLAD[15:0]. Bits
16, (SAG), 17 (OI) and 18 (OV) in MASK1[31:0] work with
status bits in PHSTATUS[15:0]. Bits 23 (PKI) and 24 (PKV) in
MASK1[31:0] work with status bits in IPEAK[31:0] and
respectively, VPEAK[31:0]. Bits 6, 7, 8 (REVAPx, x=A, B, C), 10,
11, 12 (REVRPx) and 9, 13, 18 (REVPSUMx) in MASK0[31:0]
work with status bits in PHSIGN[15:0]. When STATUSx[31:0]
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 now STATUSx[31:0] is
written back with the bit set to 1.
Using the Interrupts with an MCU
Figure 58 shows a timing diagram that illustrates a suggested
implementation of the ADE7858 interrupt management using
an MCU. At time t1, IRQx pin goes active low indicating that
one or more interrupt events have occurred in the ADE7858.
The IRQx pin 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 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. 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.
Then, the same STATUSx content is written back into the
ADE7858 to clear the status flag(s) and reset 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 59 shows a recommended timing diagram when status
bits in STATUSx registers work in conjunction with bits in
other registers. Same as above, when IRQx pin goes active low,
STATUSx register is read and if one of these bits is 1, then a
second status register is read immediately to identify the phase
that triggered the interrupt. The name PHx in the figure
denotes one of PHSTATUS, IPEAK, VPEAK or PHSIGN
registers. Then STATUSx is written back to clear the status
flag(s).
GLOBAL
INTERRUPT
MASK
JUMP
to ISR
CLEAR MCU
INTERRUPT
FLAG
READ
STATUSx
WRITE
BACK
STATUSx
ISR ACTION
(BASED ON STATUSx CONTENTS)
ISR RETURN
GLOBAL INTERRUPT
MASK RESET
JUMP
to ISR
IRQx
PROGRAM
SEQUENCE
t
1
t
2
t
3
MCU INTERRUPT
FLAG SET
Figure 58. ADE7858 interrupt management
GLOBAL
INTERRUPT
MASK
JUMP
to ISR
CLEAR MCU
INTERRUPT
FLAG
READ
STATUSx
WRITE
BACK
STATUSx
ISR ACTION
(BASED ON STATUSx CONTENTS)
ISR RETURN
GLOBAL INTERRUPT
MASK RESET
JUMP
to ISR
IRQx
PROGRAM
SEQUENCE
t
1
t
2
t
3
MCU INTERRUPT
FLAG SET
READ
PHx
Figure 59. ADE7858 interrupt management when PHSTATUS, IPEAK, VPEAK or PHSIGN registers are involved
SERIAL INTERFACES
The ADE7858 has three serial port interfaces: one fully licensed
I2C interface, one Serial Peripheral Interface (SPI) and one High
Speed Data Capture Port (HSDC). As the SPI pins are
multiplexed with some of the pins of I2C and HSDC ports, the
ADE7858 accepts two configurations: one using SPI port only
and one using I2C port in conjunction with HSDC port.
Serial interface choice
After reset, the HSDC port is always disabled. The choice
between I2C and SPI port is done by manipulating the SS pin
after power up or after a hardware reset. If SS pin is kept high,
then the ADE7858 will use the I2C port until a new hardware
reset is executed. If SS pin is toggled high low 3 times after
power up or after a hardware reset, then the ADE7858 will use
the SPI port until a new hardware reset is executed. This
manipulation of the SS pin can be accomplished in two ways:



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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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