| 数据搜索系统,热门电子元器件搜索 |
|
ADE7880 数据表(PDF) 77 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADE7880 数据表(HTML) 77 Page - Analog Devices |
|
77 / 104 page ![]() Data Sheet ADE7880 Rev. A | Page 77 of 104 1 0 15 14 SCLK MOSI MISO 10 31 30 1 0 0 0 0 000 REGISTER VALUE REGISTER ADDRESS SS Figure 104. SPI Read Operation of a 32-Bit Register 0 SCLK MOSI MISO 0 0 0 0001 SS REGISTER ADDRESS REGISTER 0 VALUE 31 0 REGISTER n VALUE 31 0 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 , 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 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 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 sends the harmonic calculations register placed at the next location and so forth until the master sets the ADE7880 ADE7880 ADE7880 ADE7880 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 of harmonic calculations registers. Figure 105 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 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 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/ ADE7880 ADE7880 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 for details of the SPI write operation. Figure 106 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |