| Electronic Components Datasheet Search |
|
AD7770ACPZ Datasheet(PDF) 45 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD7770ACPZ Datasheet(HTML) 45 Page - Analog Devices |
|
45 / 98 page ![]() AD7770 Data Sheet Rev. C | Page 44 of 97 SPI Read/Write Register Mode (SPI Control Mode) The AD7770 has on-board registers to configure and control the device. The registers have 7-bit addresses—the 7-bit register address on the SDI line selects the register for the read/write function. The 7-bit register address follows the R/W bit in the SDI data. The 8 bits on the SDI line following the 7-bit register address are the data to be written to the selected register if the SPI is a write transfer. Data on the SDI line is clocked into the AD7770 on the rising edge of SCLK, as shown in Figure 3. The data on the SDO line during the SPI transfer contains the 8-bit 0010 0000 header: 8 bits of register data in the case of a read (R) operation, or 8 zeros in the case of a write (W) operation. With the CRC disabled, the basic data frame on the SDI line during the transfer is 16 bits long, as shown in Figure 102. When the CRC is enabled, a minimum frame length of 24 SCLK periods are required on SPI transfers. The 24 bits of data on the SDO line consist of an 8-bit header (0010 0000), 8 bits of data, and an 8-bit CRC (see Figure 103). R/W A6 A5 A4 A3 A2 A1 A0 D6 D7 D5 D4 D3 D2 D1 D0 0 SDO CS SCLK SDI 0 1 0 0 0 0 0 R7 R6 R5 R4 R3 R2 R1 R0 Figure 102. 16-Bit SPI Transfer—CRC Disabled R/W A6 A5 A4 A3 A2 A1 A0 D6 D7 D5 D4 D3 D2 D1 D0 ICRC7 ICRC6 ICRC5 ICRC4 ICRC3 ICRC2 ICRC1 ICRC0 0 SDO CS SCLK SDI 0 1 0 0 0 0 0 R7 R6 R5 R4 R3 R2 R1 R0 ICRC7 ICRC6 ICRC5 ICRC4 ICRC3 ICRC2 ICRC1 ICRC0 Figure 103. 24-Bit SPI Transfer—CRC Enabled SPI SAR Diagnostic Mode (SPI Control Mode) Setting Bit 5 in the GENERAL_USER_CONFIG_2 register configures the SDO line to shift out data from the SAR ADC conversions, as described in Table 23. In SAR mode, the AD7770 internal registers can be written to, but any readback command is ignored because the SDO data frame is dedicated to shift out the conversion results from the SAR ADC. To exit this mode of operation, reset Bit 5 in the GENERAL_ USER_CONFIG_2 register. The data on the SDO line during the SPI transfer contains a 4-bit 0010 header and the 12-bit SAR conversion result if the CRC is disabled. When the CRC is enabled, a minimum frame length of 24 SCLK periods are required on SPI transfers. The 24 bits of data on the SDO line consist of a 4-bit header (0010), the 12-bit data, and an 8-bit CRC, as shown in Figure 104. Per the SPI read/write register mode (see the SPI Read/Write Register Mode section), the SDI line contains the R/W bit, a 7-bit register address, the 8-bit data, and an 8-bit CRC (if enabled). To avoid unwanted writes to the internal register while the SAR conversions are read back through the SDO line, it is recom- mended to send a readback command, for example, 0x8000, to the device, which is ignored because the SDO pin shifts out the content of the SAR ADC. If consecutive conversions are performed in the SAR ADC, read back the result from the previous conversion before a new conversion is generated. Otherwise, the results are corrupted. Σ-Δ Data, ADC Mode In pin control mode, the SPI can be used to read back the Σ-Δ conversions as described in Table 13. In SPI control mode, the SPI reads back the Σ-Δ conversions by setting GENERAL_USER_ CONFIG_3, Bit 4, as described in Table 23; in this mode, the AD7770 internal register can be written to, but any readback command is ignored because the SDO data frame is dedicated to shifting out the conversion results from the Σ-Δ ADCs. To avoid unwanted writes to the internal register, it is recommended to send a readback command, for example, 0x8000, to the device, which is ignored because the SDO pin shifts out the content of the Σ-Δ ADC. The SDO pin data can be read back in any multiple of 8 bits, for example, as 64 bits, 2 × 32 bits, 4 × 16 bits, or 8 × 8 bits. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |