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

X  

ADE7878 数据表(PDF) 65 Page - Analog Devices

部件名 ADE7878
功能描述  Polyphase Multifunction Energy Metering IC with per Phase Active and Reactive Powers
PDF  92 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  AD [Analog Devices]
网页  http://www.analog.com
标志 AD - Analog Devices

ADE7878 数据表(HTML) 65 Page - Analog Devices

Back Button ADE7878 Datasheet HTML 61Page - Analog Devices ADE7878 Datasheet HTML 62Page - Analog Devices ADE7878 Datasheet HTML 63Page - Analog Devices ADE7878 Datasheet HTML 64Page - Analog Devices ADE7878 Datasheet HTML 65Page - Analog Devices ADE7878 Datasheet HTML 66Page - Analog Devices ADE7878 Datasheet HTML 67Page - Analog Devices ADE7878 Datasheet HTML 68Page - Analog Devices ADE7878 Datasheet HTML 69Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 65 / 92 page
background image
ADE7878
Rev. 0 | Page 65 of 92
SPI-Compatible Interface
The SPI of the ADE7878 is always a slave of the communication
and consists of four pins: SCLK, MOSI, MISO, and SS. The
serial clock for a data transfer is applied at the SCLK logic input.
This logic input has a Schmitt trigger input structure that allows
slow rising (and falling) clock edges to be used. All data transfer
operations are synchronized to the serial clock. Data is shifted
into the ADE7878 at the MOSI logic input on the falling edge of
SCLK, and the ADE7878 samples it on the rising edge of SCLK.
Data is shifted out of the ADE7878 at the MISO logic output on
a falling edge of SCLK and can be sampled by the master device
on the rising edge of SCLK. The most significant bit of the word
is shifted in and out first. The maximum serial clock frequency
supported by this interface is 2.5 MHz. MISO stays in high
impedance when no data is transmitted from the ADE7878.
presents details of the connection between the ADE7878
SPI and a master device containing an SPI interface.
Figure 82
The SS logic input is the chip select input. This input is used
when multiple devices share the serial bus. The SS input should
be driven low for the entire data transfer operation. Bringing SS
high during a data transfer operation aborts the transfer and
places the serial bus in a high impedance state. A new transfer
can then be initiated by bringing the SS logic input back low.
However, because aborting a data transfer before completion
leaves the accessed register in a state that cannot be guaranteed,
every time a register is written, its value should be verified by
reading it back. The protocol is similar to the protocol used in
I2C interface.
MOSI
MISO
SCLK
ADE7878
MOSI
MISO
SCK
SPI DEVICE
SS
SS
Figure 82. Connecting ADE7878 SPI with an SPI Device
SPI Read Operation
The read operation using the SPI interface of the ADE7878
initiates when the master sets the SS pin low and begins sending
one byte representing the address of the ADE7878 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 ADE7878
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 I2C protocol. Bit 0
(read/write) of the address byte must be 1 for a read operation.
Next, the master sends the 16-bit address of the register that is
read. After the ADE7878 receives the last bit of 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, it sets the SS and SCLK lines high and the
communication ends. The data lines, MOSI and MISO, go into
a high impedance state. See
for details of the SPI read
operation.
Figure 83
SPI Write Operation
The write operation using the SPI interface of the ADE7878
initiates when the master sets the SS pin low and begins sending
one byte representing the address of the ADE7878 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 ADE7878
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 I2C protocol. Bit 0
(read/write) of the address byte 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 bit is transmitted, the
master sets the SS and SCLK lines high at the end of SCLK cycle
and the communication ends. The data lines MOSI and MISO
go into high impedance state.
See Figure 84 for details of the SPI write operation.
HSDC Interface
The high speed data capture (HSDC) interface is disabled after
default. It can be used only if the ADE7878 is configured with
an I2C interface. The SPI interface cannot be used in conjunc-
tion with HSDC. Bit 6 (HSDCEN) in the CONFIG[15:0]
register activates HSDC when set to 1. If Bit HSDCEN is cleared
to 0, the default value, the HSDC interface is disabled. Setting
Bit HSDCEN to 1 when SPI is in use does not have any effect.



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 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92


数据表 下载

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