| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AD7779ACPZ bảng dữ liệu(PDF) 59 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD7779ACPZ bảng dữ liệu(HTML) 59 Page - Analog Devices |
|
59 / 101 page ![]() AD7779 Data Sheet Rev. A | Page 58 of 100 CH0_HEADER _+_CH0_8_BITS_MSB CH0_16_BITS_LSB CS SDO Figure 120. SPI Readback, 16 Bits per Frame CS SDO CH0_HEADER _+_CH0_16_BITS_MSB CH0_8_BITS_LSB_+_CH1_HEADER_+CH1_8_BITS_MSB Figure 121. SPI Readback, 24 Bits per Frame The SPI operates in multiples of 8 bits per frame; Figure 120 shows a readback example in 16 bits per frames, whereas Figure 121 shows a readback in 24 bits per frame. Note that if the device is configured in SPI control mode, the AD7779 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 SPI Software Reset section. CALCULATING THE CRC CHECKSUM The AD7779 implements two different CRC checksum generators, one for the Σ-∆ results and another for the SPI control mode. The AD7779 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 the hardware, 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 XOR (exclusive OR) 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. This is the 8-bit checksum. Note that the AD7779 CRC block presets the input shift registers to 1, which means that the 8 MSBs of user data must be inverted before computing the algorithm. As an example of CRC calculation for 16-bit data using the XOR is shown in Table 42. Table 42. Example CRC Calculation for 16-Bit Data1, 2 Data 0 0 0 0 0 1 1 0 0 1 0 0 1 1 1 0 N/A N/A N/A N/A N/A N/A N/A N/A 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. 2 N/A means not applicable. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |