| Electronic Components Datasheet Search |
|
AD7770ACPZ Datasheet(PDF) 59 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD7770ACPZ Datasheet(HTML) 59 Page - Analog Devices |
|
59 / 98 page ![]() AD7770 Data Sheet Rev. C | Page 58 of 97 CS SDO Figure 119. SPI Readback, 16 Bits per Frame CS SDO Figure 120. SPI Readback, 24 Bits per Frame The SPI operates in multiples of 8 bits per frame; Figure 119 shows a readback example in 16 bits per frames, and Figure 120 shows a readback in 24 bits per frame. Note that if the device is configured in SPI control mode, the AD7770 generates a software reset if the SDI pin is sampled high for 64 consecutive clocks. To avoid a reset or unwanted register writes, it is recommended to transfer a 0x8000 command, which generates a readback command that is ignored by the device, as explained in the Σ-Δ Data, ADC Mode section. CALCULATING THE CRC CHECKSUM The AD7770 implements two different CRC checksum generators, one for the Σ-Δ results and another for the SPI control mode. The AD7770 uses a CRC polynomial to calculate the CRC checksum value. The 8-bit CRC polynomial used is x8 + x2 + x + 1. To replicate the polynomial division in hardware, remember that the data is left shifted by eight bits to create a number ending in eight Logic 0s. The polynomial is aligned so that its MSB is adjacent to the leftmost Logic 1 of the data. An exclusive OR (XOR) function is applied to the data to produce a new, shorter number. The polynomial is again aligned so that its MSB is adjacent to the leftmost Logic 1 of the new result, and the procedure is repeated. This process is repeated until the original data is reduced to a value less than the polynomial, the 8-bit checksum. Note that the AD7770 CRC block preset the input shift registers to 1, meaning that the 8 MSBs of user data must be inverted before compute the algorithm. An example of the CRC calculation for 12-bit data is shown in Table 43. Table 43. Example CRC Calculation for 12-Bit Data1 Data 0 0 0 0 0 1 1 0 0 1 0 0 1 1 1 0 0 0 0 0 0 0 0 0 Process Data 1 1 1 1 1 0 0 1 0 1 0 0 1 1 1 0 0 0 0 0 0 0 0 0 Polynomial 1 0 0 0 0 0 1 1 1 1 1 1 1 0 1 0 1 1 1 0 0 0 0 0 1 1 1 1 1 1 0 1 1 0 0 0 1 0 0 0 0 0 1 1 1 1 1 0 1 1 1 1 1 0 1 0 0 0 0 0 1 1 1 1 0 1 1 1 0 0 1 1 1 0 0 0 0 0 1 1 1 1 1 1 0 1 0 0 1 1 1 0 0 0 0 0 1 1 1 1 1 0 1 0 1 0 0 0 1 0 0 0 0 0 1 1 1 1 0 1 0 1 1 1 1 0 1 0 0 0 0 0 1 1 1 1 0 1 1 0 0 1 0 0 1 0 0 0 0 0 1 1 1 1 1 0 0 0 1 1 0 0 1 0 0 0 0 0 1 1 1 1 0 0 0 1 0 1 1 0 1 0 0 0 0 0 1 1 1 CRC 0 1 0 0 0 1 0 0 1 This table represents the division of the data; blank cells are for formatting purposes. |
|
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 |