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

X  

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

部件名 ADE9078
功能描述  High Performance
PDF  108 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  AD [Analog Devices]
网页  http://www.analog.com
标志 AD - Analog Devices

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

Back Button ADE9078 Datasheet HTML 61Page - Analog Devices ADE9078 Datasheet HTML 62Page - Analog Devices ADE9078 Datasheet HTML 63Page - Analog Devices ADE9078 Datasheet HTML 64Page - Analog Devices ADE9078 Datasheet HTML 65Page - Analog Devices ADE9078 Datasheet HTML 66Page - Analog Devices ADE9078 Datasheet HTML 67Page - Analog Devices ADE9078 Datasheet HTML 68Page - Analog Devices ADE9078 Datasheet HTML 69Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 65 / 108 page
background image
ADE9078
Data Sheet
Rev. 0 | Page 64 of 107
After the SS line is set high by master, the ADE9078 stops driving
MISO and enables a 100 kΩ weak pull-up. It is recommended to
have the SCLK line idle high. An example of a SPI burst read
operation is given in Figure 97, when BURST_EN = 1. For other
examples, see the Burst Read Waveform Buffer Samples from
SPI section.
SPI PROTOCOL CRC
The ADE9078 SPI port calculates a 16-bit cyclic redundancy
check (CRC-16) of the data sent out on its MOSI pin so that the
integrity of the data received by the master can be checked. The
CRC of the data sent out on the MOSI pin during the last
register read is offered in a 16-bit register, CRC_SPI, and can be
appended to the SPI read data as part of the SPI transaction.
The CRC_SPI register value is appended to the 16-/32-bit data
read from the register addressed in the CMD_HDR for the cases in
Table 25 where CRC is written (see the SPI Read section for
more information).
The CRC result can always be read from the CRC_SPI register
directly.
There is no CRC checking as part of the SPI write register protocol.
To ensure the data integrity of the SPI write operation, read the
register back to verify that the value is written to the ADE9078
correctly.
CRC Algorithm
The CRC algorithm implemented within the ADE9078 is based
on the CRC-16 CCITT algorithm. The data output on MISO is
introduced into a linear feedback shift register (LFSR) based
generator one byte at a time, MSB first without bit reversal, as
shown in Figure 101 and Figure 102. The 16-bit result is written
in the CRC_SPI register.
+
LFSR
GENERATOR
a31
a0
0
7
8
15
16
23
MISO 32-BIT DATA
24
31
24
31
16
23
815
07
Figure 101. CRC Calculation of 32-Bit SPI Data
a15
a0
+
LFSR
GENERATOR
0
7
8
15
MISO 16-BIT DATA
15
8
7
0
Figure 102. CRC Calculation of 16-Bit SPI Data
b0
LFSR
FB
g0
g1
g2
g15
1
g3
b2
b15
a31, a30, ..., a2, a1, a0
Figure 103. LFSR Generator Used for CRC_SPI Calculation
Figure 103 shows how the LFSR works. The MISO 32-bit data
forms the [a31, a30, …, a0] bits used by the LFSR. Bit a0 is Bit 31 of
the first MISO 32-bit data to enter the LFSR, whereas the last
data to enter the LFSR, Bit a31, corresponds to Bit 0 transmitted
on MISO. The formulas that govern the LFSR are as follows:
bi(0) = 1, where i = 0, 1, 2, …, 15, the initial state of the bits that
form the CRC. Bit b0 is the LSB, and Bit b15 is the MSB.
gi, where i = 0, 1, 2, …, 15 are the coefficients of the generating
polynomial defined by the CRC-16 CCITT algorithm as
follows:
G(x) = x16 + x12 + x5 + 1
(1)
g0 = g5 = g12 = 1
(2)
All other gi coefficients are equal to 0.
FB(j) = aj − 1 XOR b15(j − 1)
(3)
b0(j) = FB(j) AND g0
(4)
bi(j) = FB(j) AND gi XOR bi − 1(j − 1), i = 1, 2, 3, …, 15
(5)
Equation 3, Equation 4, and Equation 5 must be repeated for j =
1, 2, …, 32. The value written into the CRC_SPI register contains
Bit bi(32), i = 0, 1, …, 15.
A similar process is followed for 16-bit data (see Figure 102 for
information about how the bits are ordered into the LFSR).
ADDITIONAL COMMUNICATION VERIFICATION
REGISTERS
The ADE9078 includes three registers that allow SPI operations
to be verified. The LAST_CMD (Address 0x04AE, LAST_
DATA_16 (Address 0x4AC), and LAST_DATA_32
(Address 0x423) registers record the received CMD_HDR and
last read/transmitted data. The LAST_DATA_16 register
contains the last data read or written during the last 16-bit
transaction, whereas the LAST_DATA_32 holds the data read
or written during the last 32-bit transaction.
The LAST_CMD register is updated after the CMD_HDR is
received. Note that the three LSBs of LAST_CMD always reads
back as 000. Also note that if a command to read the LAST_CMD,
LAST_DATA_16, or LAST_DATA_32 registers is received,
these three registers are not updated.
During a SPI read operation, LAST_DATA_16 and LAST_DATA_32
are updated within two master clocks after the CMD_HDR is
received.



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 93 94 95 96 97 98 99 100  ...More


数据表 下载

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