ade7953 Analog Devices, Inc., ade7953 Datasheet - Page 51

no-image

ade7953

Manufacturer Part Number
ade7953
Description
Single Phase, Multifunction Metering Ic With Neutral Current Measurement Ade7953
Manufacturer
Analog Devices, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ade7953ACPZ
Manufacturer:
Samsung
Quantity:
7 040
Part Number:
ade7953ACPZ
Manufacturer:
ADI
Quantity:
207
Part Number:
ade7953ACPZ
Manufacturer:
ADI
Quantity:
1 263
Part Number:
ade7953ACPZ
Manufacturer:
AD
Quantity:
1 960
Part Number:
ade7953ACPZ
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Company:
Part Number:
ade7953ACPZ
Quantity:
15 000
Company:
Part Number:
ade7953ACPZ
Quantity:
44
Part Number:
ade7953ACPZ-RL
Manufacturer:
ADI/亚德诺
Quantity:
20 000
SPI INTERFACE
The serial peripheral interface (SPI) uses all four communica-
tion pins: CS, SCLK, MOSI, and MISO. The SPI communication
operates in slave mode and, therefore, a clock must be provided
on the SCLK pin (MOSI is an input, and MISO is an output).
This clock synchronizes all communications and can operate up
to a maximum speed of 5 MHz. See the SPI Interface Timing
section for more information about the communication timing
requirements.
The MOSI pin is an input to the ADE7953; data is shifted in on
the falling edge of SCLK to be sampled by the ADE7953 on the
rising edge. The MISO pin is an output from the ADE7953; data
is shifted out on the falling edge of SCLK and should be sampled
by the external microcontroller on the rising edge.
The SPI communication packet consists of two initial bytes
that contain the address of the register that is to be read from
or written to. This address should be transmitted MSB first. The
third byte of the communication determines whether a read or
a write is being issued.
SCLK
SCLK
MOSI
MISO
MOSI
CS
CS
15 14
REGISTER ADDRESS
15 14
REGISTER ADDRESS
1 0
1 0
Rev. 0 | Page 51 of 68
Figure 68. SPI Read
Figure 69. SPI Write
1
0
0
0
0
0
0
0
0
0
0 0 0
0 0 0
The most significant bit of this byte should be set to 1 for a read
operation and to 0 for a write operation. When the third byte
transmission is complete, the register data is either sent from the
ADE7953 on the MISO pin (in the case of a read) or is written
to the ADE7953 MOSI pin by the external microcontroller (in
the case of a write). All data is sent or received MSB first. The
length of the data transfer depends on the width of the register
being accessed. Registers can be 8, 16, 24, or 32 bits long.
Figure 68 and Figure 69 show the data transfer sequence for
an SPI read and an SPI write, respectively. As shown in these
figures, the CS (chip select) input must be driven low to initialize
the communication and driven high at the end of the communi-
cation. Bringing the CS input high before the completion of a
data transfer ends the communication. In this way, the CS input
performs a reset function on the SPI communication. The CS
input allows communication with multiple devices on the same
microcontroller SPI port.
31 30
31 30
REGISTER VALUE
REGISTER VALUE
1 0
1 0
ADE7953

Related parts for ade7953