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

X  

ADE9078 数据表(PDF) 71 Page - Analog Devices

部件名 ADE9078
功能描述  High Performance
PDF  108 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  AD [Analog Devices]
网页  http://www.analog.com
标志 AD - Analog Devices

ADE9078 数据表(HTML) 71 Page - Analog Devices

Back Button ADE9078 Datasheet HTML 67Page - Analog Devices ADE9078 Datasheet HTML 68Page - Analog Devices ADE9078 Datasheet HTML 69Page - Analog Devices ADE9078 Datasheet HTML 70Page - Analog Devices ADE9078 Datasheet HTML 71Page - Analog Devices ADE9078 Datasheet HTML 72Page - Analog Devices ADE9078 Datasheet HTML 73Page - Analog Devices ADE9078 Datasheet HTML 74Page - Analog Devices ADE9078 Datasheet HTML 75Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 71 / 108 page
background image
ADE9078
Data Sheet
Rev. 0 | Page 70 of 107
To ensure that a buffer’s worth of samples is captured before the
event, follow this sequence:
1.
Select center capture on trigger mode by setting
WF_CAP_SEL = 1 and WF_MODE = 2.
2.
Disable all trigger events by writing WFB_TRG_CFG = 0.
3.
Ensure that at least half of the buffer is filled by enabling an
interrupt to occur on IRQ0 when the Page 7 is filled by
setting only Bit 7 in the WFB_PG_IRQEN register and
enabling the PAGE_FULL bit in the STATUS0 register.
Alternatively, read the WFB_LAST_PAGE register instead
of using the interrupt.
4.
Start the capture by writing WF_CAP_EN = 1.
5.
Wait for the buffer to be filled, which is indicated by the
PAGE_FULL interrupt occurring or WFB_LAST_PAGE = 15.
6.
Enable the desired waveform buffer events in the WFB_
TRG_CFG register and set the WFB_TRIG_IRQ bit in the
STATUS0 register to generate an interrupt when the event
has occurred and the waveform buffer has stopped filling.
7.
When the WFB_TRIG_IRQ occurs, read the WFB_TRIG_
ADDR register to acquire the address of the trigger event
that is within a sample or two of when the event occurred.
The last filled address is 1024 samples later.
Save Event Address and Keep Filling
To record the waveform buffer address when a trigger event
occurs while still filling the buffer, select WF_MODE = 3 for
continuous filling. When a trigger event that is enabled in the
WFB_TRG_CFG register occurs, the WFB_TRIG bit in the
STATUS0 register is set. WFB_TRIG can be configured to
generate an interrupt on the IRQ0 pin. Read the WFB_TRIG_
ADDR bits in the WFB_TRIG_STAT register to acquire the
waveform buffer address for the event. Only the first enabled
trigger address is stored; any later trigger events are ignored.
RESAMPLED WAVEFORMS
When resampling is enabled, the data from all seven channels is
calculated and stored into the buffer. One sample set consists of
one sample per channel, seven samples total, which are from the
same point in time. Each resampled waveforms sample is 16 bits.
Figure 109 shows how the resampled waveforms are stored into
the buffer. Every sample set is separated in memory from the
adjacent one by the use of spare cells, as shown in Figure 109.
These spare cells do not contain any sample data. There is one
16-bit spare cell at the end of every fourth consecutive 32-bit
memory location. If the neutral current channel is disabled, the
16-bit location that stores IN samples also act as spare cells.
IN, IF WF_IN_EN = 1
SPARECELL, IF WF_IN_EN = 0
SPARE CELL
0
15
31
0 xFFF
0x802
0x801
0x800
IN
VC
VB
VA
IC
IB
IA
IN
VC
VB
VA
IC
IB
IA
IN
VC
VB
VA
IC
IB
IA
Figure 109. Resampled Waveform Sample Storage
The waveform buffer contains 2048 32-bit memory locations
and can hold 512 (2048/4) sets of samples in coherent fill mode.
In the ADE9078, the buffer is filled with 64 points per line cycle,
which implies that the buffer can hold eight line cycles worth
of data at any instant in time. With a 50 Hz line frequency, the
buffer contains 160 ms worth of resampled data.
First, to disable the waveform buffer, clear the WF_CAP_EN bit.
Then, clear the WF_CAP_SEL bit in the WFB_CFG register to
select resampled data to be stored in the waveform buffer. Finally,
set the WF_CAP_EN bit to start the resampling process. The
waveform buffer starts filling from its first address location,
Address 0x800. When the waveform buffer is full, the COH_
WFB_FULL bit of STATUS0 goes high, which can be enabled
to generate an interrupt on IRQ0. Note that this bit is the only
status bit available for the resampled waveforms.
The time taken to fill the buffer depends on the line frequency.
The waveform buffer values are retained even when the waveform
buffer is disabled, by clearing the WF_CAP_EN bit in the
WFB_CFG register.
To receive a new set of resampled data, disable the waveform
buffer by resetting the WF_CAP_EN bit of the WFB_CFG register
to 0, and enable it again by setting the same bit to 1.
CONFIGURING THE WAVEFORM BUFFER
The waveform source, type of capture (fixed data rate or
resampled), and fill mode (continuous, one time, or based on
trigger) must be configured in the WFB_CFG register. To do so,
first disable the waveform buffer by writing WF_CAP_EN = 0.
Then, write the WF_SRC, WF_CAP_SEL, and WF_MODE bits
of the WFB_CFG register.



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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

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