The SS logic input is the chip select input. This input is used
when multiple devices share the serial bus. Drive the SS input
low for the entire data transfer operation. Bringing SS high
receives the last bit, it sets the SS and SCLK lines high, and the
then be initiated by returning the SS logic input to low. However,
master sets the SS /HSA pin low and begins sending one byte,
master sets the SS /HSA pin low and begins sending one byte,
are used in the I 2 C protocol. Bit 0 (read/ write ) of the address byte
used in the I 2 C protocol. Bit 0 (read/ write ) of the address byte must
bit is trans-mitted, the master sets the SS and SCLK lines high at
Data Sheet
E
A A
E
A A
E
A A
during a data transfer operation aborts the transfer and places
the serial bus in a high impedance state. A new transfer can
E
A A
because aborting a data transfer before completion leaves the
accessed register in a state that cannot be guaranteed, the value of a
register should be verified by reading it back each time it is written.
The protocol is similar to the protocol used with the I 2 C interface.
SPI Read Operation
The read operation, using the SPI interface, initiates when the
E
A A
representing the address of the ADE7816 , on the MOSI line. The
master sets data on the MOSI line starting with the first high-to-
low transition of SCLK. The ADE7816 SPI 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 good programming
practice, they should be different from 0111000b, the seven bits
E
A A
be set to 1 for a read operation. Next, the master sends the 16-bit
address of the register to be read. After the ADE7816 receives the
last address bit of the register on a low-to-high transition of SCLK,
SS
SCLK
15 14
ADE7816
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
E
A A
communication ends. The data lines, MOSI and MISO, go into
a high impedance state (see Figure 41).
SPI Write Operation
The write operation, using the SPI interface, initiates when the
E
A A
representing the address of the ADE7816 , on the MOSI line.
The master sets data on the MOSI line, starting with the first high-
to-low transition of SCLK. The SPI 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 that
E
A A
must be 0 for a write operation. Next, the master sends 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
E
A A
the end of the SCLK cycle and the communication ends. The data
lines, MOSI and MISO, go into a high impedance state (see
1 0
MOSI
MISO
0 0 0 0 0 0 0 1
REGISTER ADDRESS
31 30
1 0
REGISTER VALUE
Figure 41. SPI Read Operation of a 32-Bit Register
SS
SCLK
15 14
1 0 31 30
1 0
MOSI
0 0 0 0 0 0 0 0
REGISTER
ADDRESS
REGISTER VALUE
Figure 42. SPI Write Operation of a 32-Bit Register
Rev. A | Page 33 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