MISO/HSD, and SS /HSA. The functions used in the SPI-compatible
interface are SCLK, MOSI, MISO, and SS . The serial clock for
read/ write bit. Because this is a read operation, it must be set to 1;
ADE7816
I 2 C Read Operation
The read operation, using the I 2 C interface of the ADE7816 , is
accomplished in two stages. The first stage sets the pointer to
the address of the register; the second stage reads the contents
of the register (see Figure 40).
The first stage is initiated when the master generates a start con-
dition. It consists of one byte, representing the address of the
ADE7816 , followed by the 16-bit address of the target register. The
ADE7816 acknowledges every byte received. The address byte is
similar to the address byte of a write operation and is equal to 0x70
(see the I 2 C Write Operation section for details). After the last
byte of the register address is sent and acknowledged by the
ADE7816 , the second stage begins with the master generating
a new start condition, followed by an address byte. The most
significant seven bits of this address byte constitute the address of
the ADE7816 , which is 0111000b. Bit 0 of the address byte is a
E
A A
therefore, the first byte of the read operation is 0x71. After this byte
is received, the ADE7816 generates an acknowledge. Then the
Data Sheet
SPI-Compatible Interface
The ADE7816 SPI is always a slave of the communication and
consists of four pins (with dual functions): SCLK/SCL, MOSI/SDA,
E
A A
E
A A
a data transfer is applied at the SCLK logic input. This logic input
has a Schmitt trigger input structure that allows the use of slow
rising (and falling) clock edges. All data transfer operations
synchronize to the serial clock. Data shifts into the ADE7816
at the MOSI logic input on the falling edge of SCLK, and the
ADE7816 samples it on the rising edge of SCLK. Data shifts out
of the ADE7816 at the MISO logic output on a falling edge of
SCLK and can be sampled by the master device on the raising
edge of SCLK. The most significant bit of the word is shifted in
and out first. The maximum serial clock frequency that is
supported by this interface is 2.5 MHz. MISO stays in high
impedance when no data is transmitted from the ADE7816 .
Figure 38 shows details of the connection between the ADE7816
SPI and a master device containing a SPI interface.
ADE7816 sends the value of the register, and, after every eight bits
are received, the master generates an acknowledge. All the bytes
are sent with the most significant bit first. Registers can be 8, 16,
or 32 bits. After the last bit of the register is received, the master
does not acknowledge the transfer but, instead, generates a stop
ADE7816
MOSI/SDA
MISO/HSD
SCLK/SCL
SS/HSA
SPI DEVICE
MOSI
MISO
SCK
SS
condition.
Figure 38. Connecting the ADE7816 SPI with a SPI Device
15
8
7
0
31
16
15
8
7
0
7
0
S 0 1 1 1 0 0 0 0
S
SLAVE ADDRESS
A MS 8 BITS OF A LS 8 BITS OF A
C REGISTER ADDRESS C REGISTER ADDRESS C
K K K
BYTE 3 (MS)
OF REGISTER
A A A
C BYTE 2 OF REGISTER C BYTE 1 OF REGISTER C
K K K
BYTE 0 (LS) OF
REGISTER
A
C
K
ACKNOWLEDGE
GENERATED BY
ADE7816
Figure 39. I 2 C Write Operation of a 32-Bit Register
15
8
7
0
S 0 1 1 1 0 0 0 0
SLAVE ADDRESS
A MSB 8 BITS OF
C REGISTER ADDRESS
K
A LSB 8 BITS OF
C REGISTER ADDRESS
K
A
C
K
ACKNOWLEDGE
GENERATED BY
ADE7816
ACKNOWLEDGE
GENERATED BY
MASTER
N
O
31
A
16 C 15
K
A
8 C
K
7
A
0 C
K
7
A
C
0 K
S
0
1
1
1
0
0
0 1
S
SLAVE ADDRESS
A
C
K
BYTE 3 (MSB)
OF REGISTER
BYTE 2 OF
REGISTER
BYTE 1 OF
REGISTER
BYTE 0 (LSB)
OF REGISTER
ACKNOWLEDGE
GENERATED BY
ADE7816
Figure 40. I 2 C Read Operation of a 32-Bit Register
Rev. A | Page 32 of 48
相关PDF资料
EVAL-ADE7878EBZ BOARD EVAL FOR ADE7878
EVAL-ADE7880EBZ BOARD EVAL FOR ADE7880
EVAL-ADE7953EBZ BOARD EVAL FOR ADE7953
EVAL-ADF4002EBZ1 BOARD EVAL FOR ADF4002
EVAL-ADG788EBZ BOARD EVALUATION FOR ADG788
EVAL-ADM1021AEB BOARD EVAL FOR ADM1021
EVAL-ADM1023EB BOARD EVAL FOR ADM1023
EVAL-ADM1031EB BOARD EVAL FOR ADM1031
相关代理商/技术参数
EVAL-ADE7854EBZ 制造商:Analog Devices 功能描述:EVALUATION BOARDS - Boxed Product (Development Kits)
EVAL-ADE7858EBZ 制造商:AD 制造商全称:Analog Devices 功能描述:Poly Phase Multifunction Energy Metering IC with per Phase Active and Reactive Powers
EVAL-ADE7878EBZ 功能描述:BOARD EVAL FOR ADE7878 RoHS:是 类别:编程器,开发系统 >> 评估演示板和套件 系列:- 标准包装:1 系列:PCI Express® (PCIe) 主要目的:接口,收发器,PCI Express 嵌入式:- 已用 IC / 零件:DS80PCI800 主要属性:- 次要属性:- 已供物品:板
EVAL-ADE7880EBZ 功能描述:BOARD EVAL FOR ADE7880 RoHS:是 类别:编程器,开发系统 >> 评估演示板和套件 系列:* 产品培训模块:Obsolescence Mitigation Program 标准包装:1 系列:- 主要目的:电源管理,电池充电器 嵌入式:否 已用 IC / 零件:MAX8903A 主要属性:1 芯锂离子电池 次要属性:状态 LED 已供物品:板
EVAL-ADE7880EBZ 制造商:Analog Devices 功能描述:ADE7880, ENERGY METER, 3 PH, SPI, I2C, E
EVAL-ADE7913EBZ 制造商:AD 制造商全称:Analog Devices 功能描述:3-Channel, Isolated, Sigma-Delta ADC with SPI
EVAL-ADE7953EBZ 功能描述:BOARD EVAL FOR ADE7953 RoHS:是 类别:编程器,开发系统 >> 评估演示板和套件 系列:- 标准包装:1 系列:PSoC® 主要目的:电源管理,热管理 嵌入式:- 已用 IC / 零件:- 主要属性:- 次要属性:- 已供物品:板,CD,电源
EVAL-ADF4001EBZ2 制造商:Analog Devices 功能描述:Evaluation Board For Pll Frequency Synthesizer 制造商:Analog Devices 功能描述:ADF4001 PLL SYNTHESIZER EVAL BOARD