| Zakładka z wyszukiwarką danych komponentów |
|
ADE7858ACPZ Arkusz danych(PDF) 52 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADE7858ACPZ Arkusz danych(HTML) 52 Page - Analog Devices |
|
52 / 76 page ![]() ADE7858 Preliminary Technical Data Rev. PrA| Page 52 of 76 Figure 60. I2C Write Operation of a 32 bit register S ACK generated by Master 01 11 00 0 S T A R T A C K slave address N O A C K Byte3 (MS) of reg A C K Byte2 of reg A C K Byte1of reg S S T O P 70 15 8 31 16 1 A C K Byte0 (LS) of reg 70 0 S 01 11 00 0 S T A R T A C K MS 8 bits of reg address slave address A C K LS 8 bits of reg address A C K 15 8 7 0 ACK generated by ADE7858 ACK generated by ADE7858 Figure 61. I2C Read Operation of a 32-bit register SPI Compatible Interface The Serial Peripheral Interface (SPI) of the ADE7858 is always a slave of the communication and consists in 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 ADE7858 at the MOSI logic input on the falling edge of SCLK and ADE7858 samples it on the rising edge of SCLK. Data is shifted out of the ADE7858 at the MISO logic output on a falling edge of SCLK and can be sampled by the master device on the raising 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.5MHz. MISO stays in high impedance when no data is transmitted from the ADE7858. Figure 62 presents details of the connection between ADE7858 SPI and a master device containing an SPI interface. 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. ADE7858 MOSI SCLK SS\ SPI device MOSI SCK SS\ MISO MISO Figure 62. Connecting ADE7858 SPI with an SPI device The protocol is similar to the protocol used in I2C interface. SPI Read Operation The read operation using the SPI interface of the ADE7858 initiates when the master sets SS pin low and begins sending one byte representing the address of the ADE7858 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 |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |