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

X  

ADE9178 数据表(PDF) 31 Page - Analog Devices

部件名 ADE9178
功能描述  Energy Management DSP with PEN Fault Detection
PDF  122 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  AD [Analog Devices]
网页  http://www.analog.com
标志 AD - Analog Devices

ADE9178 数据表(HTML) 31 Page - Analog Devices

Back Button ADE9178 Datasheet HTML 27Page - Analog Devices ADE9178 Datasheet HTML 28Page - Analog Devices ADE9178 Datasheet HTML 29Page - Analog Devices ADE9178 Datasheet HTML 30Page - Analog Devices ADE9178 Datasheet HTML 31Page - Analog Devices ADE9178 Datasheet HTML 32Page - Analog Devices ADE9178 Datasheet HTML 33Page - Analog Devices ADE9178 Datasheet HTML 34Page - Analog Devices ADE9178 Datasheet HTML 35Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 122 page
background image
Data Sheet
ADE9178
THEORY OF OPERATION
analog.com
Rev. A | 31 of 122
Host SPI Protocol CRC
The ADE9178 SPI port uses CRC to verify the integrity of the
data received and sent over the SPI. CRC-16-CCITT algorithm with
initial value 0xFFFF is used for this purpose.
The CRC of the command field (COMMAND_HEADER + DATA) is
calculated and compared against the CRC field of the command. If
there is a CRC mismatch, command is not executed, HOST_ERR
pin is raised, and status code 0xA (for more details, see Table 11) is
returned. By default the CRC check is enabled and can be disabled
by writing CRC_DIS bit of CONFIG0. For that purpose, use the
following command fields:
Command Header = 0x0001AE00
Register Value = 0x20000180
CRC = 0x26BE
Note that the SPI command frame size is fixed and application
should send 2 dummy bytes as CRC even if CRC check is disabled
for the command. The 16-bit CRC of the response is appended at
the end of every response. There is no option to disable this but
application can ignore the CRC if there is no need to verify the
integrity of the response.
CRC of Configuration Registers
The configuration register CRC feature monitors many register val-
ues. It also optionally includes 15 register sets that are individually
selectable in the CRC_OPTEN register. The result is stored in the
CRC_RSLT register. If any of the monitored registers change value,
the CRC_RSLT changes as well, and the CRC_CHG bit in the
STATUS1 register is set; this can also be configured to generate
an interrupt on IRQ1. For more details, see CRC_OPTEN in the
Register Details: ADE9178 section.
Configuration Lock
To prevent accidental overwriting of configuration registers, a provi-
sion to lock writing of configuration registers is provided. The user
can write 0x1 to the CONFIG_LOCK register to lock the ability to
write to the configuration registers. When the lock is enabled, all
writes to configuration registers other than CONFIG_LOCK throw
an error. The configuration register write can be unlocked by writing
0x0 to the CONFIG_LOCK register.
Burst Register Read
The ADE9178 supports burst reading of up to 256 registers by us-
ing the NUM_REGISTERS field in the SPI write command header
(for more details, see the Host SPI section). There are five address
ranges supported by the ADE9178, which are shown in Table 12.
Table 12. Burst Read Address Ranges
Name
Address Range (Inclusive)
Config registers
0x0 to 0xDD
Output registers
0x200 to 0x295
Status registers
0x400 to 0x40B
Output registers grouped by function
0x600 to 0x630
Output registers grouped by phase
0x631 to 0x661
For each address space, wrap-around happens if start address and
NUM_REGISTERS combination gives an address greater than last
address in that range. For example, if application issues a read
with 0x290 as ADDRESS and NUM_REGISTERS as 10, then the
returned registers are 0x290, 0x291, 0x292, 0x293, 0x294, 0x295,
0x200, 0x201, 0x202, and 0x203.
There are some address gaps in the register map, which are not
documented and untested. Burst read works as if it is a normal
register but the value is undefined.
Clear-on-Read Registers
The energy registers can be configured to be clear-on-read (for
more details, see the Energy Calculation section) and peak regis-
ters are always clear-on-read. If burst access is issued for such
registers, registers are cleared just before initiating the SPI traction
for response. For example, addresses of IPEAK, VPEAK, and
AUXPEAK are 0x285, 0x286, and 0x287, respectively. If a read
is issued with ADDRESS 0x284 and NUM_REGISTERS as 4,
all three peak registers are cleared before sending the values of
registers from 0x284 to 0x287.
Note that the exact time of clearing the register is not defined. It
can vary between the time the command reaches the ADE9178 and
the HOST_RDY pin is asserted. Even if the transaction is aborted
or the response is corrupted for clear-on-register register reads, the
register is cleared and there is no way to retrieve the data.
FULL-SCALE CODES AND CONVERSION
EQUATIONS
The ADE9178 calculates various parameters on the input channels
and provides output as 32-bit registers in fixed point format. It
can be easily converted to physical units such as amperes, volts,
and watt. It is required to have knowledge of what is the input
voltage and current that gives full-scale ADC input and what are
the output registers given by the ADE9178 for such input. Signals
corresponding to full-scale input in physical units are referred as
XFS, where, XFS can be either IFS, VFS_T, or AUXFS based on
whether channels are current, voltage, or auxiliary, respectively.
These parameters are choices made during system design and
it is assumed that the application developers are already aware
of it. Table 13 summarizes the ADE9178 register values when
full-scale inputs are provided at ADC inputs. These are referred as
XFS_CODES, where X can vary based on type of the 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