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

X  

ADE7816 数据表(PDF) 34 Page - Analog Devices

部件名 ADE7816
功能描述  Six Current Channels, One Voltage Channel
PDF  48 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  AD [Analog Devices]
网页  http://www.analog.com
标志 AD - Analog Devices

ADE7816 数据表(HTML) 34 Page - Analog Devices

Back Button ADE7816 Datasheet HTML 30Page - Analog Devices ADE7816 Datasheet HTML 31Page - Analog Devices ADE7816 Datasheet HTML 32Page - Analog Devices ADE7816 Datasheet HTML 33Page - Analog Devices ADE7816 Datasheet HTML 34Page - Analog Devices ADE7816 Datasheet HTML 35Page - Analog Devices ADE7816 Datasheet HTML 36Page - Analog Devices ADE7816 Datasheet HTML 37Page - Analog Devices ADE7816 Datasheet HTML 38Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 34 / 48 page
background image
ADE7816
Data Sheet
Rev. 0 | Page 34 of 48
HSDC Interface
The high speed data capture (HSDC) interface is disabled by
default. It can be used only if the ADE7816 is configured with
an I2C interface. The ADE7816 SPI interface cannot be used
simultaneously with the HSDC port.
Bit 6 (HSDCEN) in the CONFIG register (Address 0xE618)
activates HSDC when set to 1. If the HSDCEN bit is cleared to 0,
the default value, the HSDC interface is disabled. Setting the
HSDCEN bit to 1 when the SPI is in use does not have any effect.
The HSDC port is an interface for sending up to four 32-bit
words to an external device (usually a microprocessor or a DSP).
The words represent the instantaneous values of the currents and
voltage. The registers that are transmitted are IAWV/IDWV,
IBWV/IEWV, ICWV/IFWV, and VWV. All are 24-bit registers
that are sign extended to 32 bits.
The HSDC port can be interfaced with the SPI or similar interfaces.
HSDC is always a master of the communication and consists of
three pins: HSA, HSD, and HSCLK. HSA represents the select
signal. It stays active low or high when a word is transmitted,
and it is usually connected to the select pin of the slave. HSD
sends data to the slave, and it is usually connected to the data
input pin of the slave. HSCLK is the serial clock line that is
generated by the ADE7816, and it is usually connected to the
serial clock input of the slave. Figure 43 shows the connections
between the ADE7816 HSDC and slave devices containing a SPI
interface.
MISO/HSD
HSCLK
ADE7816
MISO
SCK
SPI DEVICE
SS/HSA
SS
Figure 43. Connecting the ADE7816 HSDC with a SPI
The HSDC communication is managed by the HSDC_CFG
register, Address 0xE706 (see Table 28). It is recommended that
the HSDC_CFG register be set to the desired value before enabling
the port, using Bit 6 (HSDCEN) in the CONFIG register. In this
way, the state of various pins belonging to the HSDC port do not
take levels that are inconsistent with the desired HSDC behavior.
After a hardware reset or power-up, the MISO/HSD and SS/HSA
pins are set high.
Bit 0 (HCLK) in the HSDC_CFG register determines the serial
clock frequency of the HSDC communication. When HCLK is 0
(the default value), the clock frequency is 8 MHz. When HCLK is 1,
the clock frequency is 4 MHz. A bit of data is transmitted for every
HSCLK high-to-low transition. The slave device that receives data
from HSDC samples the HSD line on the low-to-high transition
of HSCLK.
The words can be transmitted as 32-bit or 8-bit packages. When
Bit 1 (HSIZE) in the HSDC_CFG register is 0 (the default value),
the words are transmitted as 32-bit packages. When Bit HSIZE is 1,
the registers are transmitted as 8-bit packages. The HSDC interface
transmits the words MSB first.
When Bit 2 (HGAP) is set to 1, a gap of seven HSCLK cycles is
introduced between packages. When the HGAP bit is cleared to 0
(the default value), no gap is introduced between packages and
the communication time is shortest. In this case, HSIZE does
not have any influence on the communication, and a data bit is
placed on the HSD line with every HSCLK high-to-low transition.
For correct operation, Bits[4:3] (HXFER[1:0]) must be set to a
value of 01b. The words representing the instantaneous values
of currents and voltage are transmitted in the following order:
IAWV/IDWV, VWV, IBWV/IEWV, VWV, ICVW/IFWV, and
VWV, followed by one 32-bit word of all 0s. Note that the voltage
waveform is sent three times. Bit 14 (CHANNEL_SEL) of the
COMPMODE register (Address 0xE60E) can be used to select
which group of current channels is transmitted (see the
Selecting a Current Channel Group section).
Bit 5 (HSAPOL) of the HSDC_CFG register determines the
HSA function polarity of the SS/HSA pin during communication.
When the HSAPOL bit is 0 (the default value), HSA is active low
during the communication. This means that HSA stays high
when no communication is in progress. When the communication
starts, HSA goes low and stays low until the communication ends.
Then it goes back to high. When HSAPOL is 1, the HSA function
of the SS/HSA pin is active high during the communication.
This means that HSA stays low when no communication is in
progress. When the communication starts, HSA goes high and
stays high until the communication ends; then it goes back to low.
Bits[7:6] of the HSDC_CFG register are reserved. Any value
written into these bits has no consequence on HSDC behavior.
Figure 44 shows the HSDC transfer protocol for HGAP = 0,
HXFER[1:0] = 01, and HSAPOL = 0. Note that the HSDC
interface sets a data bit on the HSD line every HSCLK high-
to-low transition, and the value of Bit HSIZE is irrelevant.
Figure 45 shows the HSDC transfer protocol for HSIZE = 0,
HGAP = 1, HXFER[1:0] = 01, and HSAPOL = 0. Note that the
HSDC interface introduces a gap of seven HSCLK cycles between
every 32-bit word.
Figure 46 shows the HSDC transfer protocol for HSIZE = 1,
HGAP = 1, HXFER[1:0] = 01, and HSAPOL = 0. Note that the
HSDC interface introduces a gap of seven HSCLK cycles between
every 8-bit word.
See Table 28 for the HSDC_CFG register and descriptions for
the HCLK, HSIZE, HGAP, HXFER[1:0], and HSAPOL bits.



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


数据表 下载

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