Data Sheet
SS
SCLK
ADE7880
15 14
1 0
MOSI
MISO
0 0 0 0 0 0 0 1
REGISTER ADDRESS
31 30
1 0
REGISTER VALUE
Figure 104. SPI Read Operation of a 32-Bit Register
SS
SCLK
MOSI
0 0 0 0 0 0 0 1
REGISTER
ADDRESS
31
0
31
0
MISO
REGISTER 0
VALUE
REGISTER n
VALUE
Figure 105. SPI Read Operation of n 32-Bit Harmonic Calculations Registers
SPI Read Operation of Harmonic Calculations Registers
The registers containing the harmonic calculation results are
located starting at Address 0xE880 and are all 32-bit width.
They can be read in two ways: one register at a time (see the SPI
Read Operation section for details) or multiple consecutive
registers at a time in a burst mode. The burst mode initiates
when the master sets the SS/HSA pin low and begins sending
one byte, representing the address of the ADE7880 , on the
MOSI line. The address is the same address byte used for
reading only one register. The master sets data on the MOSI line
starting with the first high-to-low transition of SCLK. The SPI
of the ADE7880 samples data on the low-to-high transitions of
SCLK. Next, the master sends the 16-bit address of the first
harmonic calculations register that is read. After the ADE7880
receives the last bit of the address of the register on a low-to-
high transition of SCLK, it begins to transmit its contents on the
MISO line when the next SCLK high-to-low transition occurs;
thus, the master can sample the data on a low-to-high SCLK
transition. After the master receives the last bit of the first
register, the ADE7880 sends the harmonic calculations register
placed at the next location and so forth until the master sets the
SS and SCLK lines high and the communication ends. The data
lines, MOSI and MISO, go into a high impedance state. See
Figure 105 for details of the SPI read operation of harmonic
calculations registers.
SPI Write Operation
The write operation using the SPI interface of the ADE7880
initiates when the master sets the SS/HSA pin low and begins
sending one byte representing the address of the ADE7880 on
the MOSI line. The master sets data on the MOSI line starting
with the first high-to-low transition of SCLK. The SPI of the
ADE7880 samples data on the low-to-high transitions of SCLK.
The most significant seven bits of the address byte can have any
value, but as a good programming practice, they should be
different from 0111000b, the seven bits used in the I 2 C protocol.
Bit 0 (read/ write) of the address byte must be 0 for a write
operation. Next, the master sends both the 16-bit address of the
register that is written and the 32-, 16-, or 8-bit value of that
register without losing any SCLK cycle. After the last bit is
transmitted, the master sets the SS and SCLK lines high at the
end of the SCLK cycle and the communication ends. The data
lines, MOSI and MISO, go into a high impedance state. See
Figure 106 for details of the SPI write operation.
Rev. A | Page 77 of 104
相关PDF资料
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-ADM1062TQEBZ BOARD EVALUATION FOR ADM1062TQ
EVAL-ADM1075CEBZ BOARD EVAL FOR ADM1075
相关代理商/技术参数
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
EVAL-ADF4002EB1 制造商:Analog Devices 功能描述:EVAL BOARD - Bulk
EVAL-ADF4002EBZ1 功能描述:BOARD EVAL FOR ADF4002 RoHS:是 类别:编程器,开发系统 >> 评估演示板和套件 系列:- 产品培训模块:Obsolescence Mitigation Program 标准包装:1 系列:- 主要目的:电源管理,电池充电器 嵌入式:否 已用 IC / 零件:MAX8903A 主要属性:1 芯锂离子电池 次要属性:状态 LED 已供物品:板
EVAL-ADF4007EBZ1 功能描述:BOARD EVALUATION FOR ADF4007EB1 RoHS:是 类别:编程器,开发系统 >> 评估演示板和套件 系列:- 标准包装:1 系列:PSoC® 主要目的:电源管理,热管理 嵌入式:- 已用 IC / 零件:- 主要属性:- 次要属性:- 已供物品:板,CD,电源
EVAL-ADF4106EB1 制造商:Analog Devices 功能描述:PLL, Frequency Synthesizer