| Electronic Components Datasheet Search |
|
AD7280ABSTZ Datasheet(PDF) 33 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD7280ABSTZ Datasheet(HTML) 33 Page - Analog Devices |
|
33 / 48 page ![]() AD7280A Rev. 0 | Page 33 of 48 READING FROM THE AD7280A There are two types of read operation for the AD7280A: • Conversion results read • Register data read The data returned from a conversion result read operation includes the device address, the channel address, the write acknowledge bit, and the 8-bit CRC information, in addition to the 12 bits of conversion data. Table 21 illustrates the 32-bit read cycle for a conversion result read. The data returned from a register data read operation includes the device address, the register address, the write acknowledge bit, and the 8-bit CRC information, in addition to the eight bits of register data. Table 22 illustrates the 32-bit read cycle for a register data read. The AD7280A SPI interface, in combination with the daisy- chain interface, allows the conversion results of any AD7280A in a stack of eight AD7280As to be read back using an N × 8 × 32-bit read cycle, where N is defined as the number of conver- sions completed on that part, that is, 12, 9, or 6 (see Table 8). Device Address The device address is described in the Writing to the AD7280A section. When reading back register or conversion data from the device using the daisy-chain readback mode, the SDI line must be set to write to a specific address. That is, the SDI line should not be allowed to idle high or low, and the address all parts bit must be set to 0. The address must be either the top part in the chain of AD7280A devices or an address with a value higher than that of the top part in the chain. Writing to the highest available address (Address 0x1F) and setting the address all parts bit to 0 is recommended. The 32-bit write command is 0xF800030A. Channel Address The channel address allows each individual voltage and auxil- iary ADC input result to be uniquely identified. Each channel address is four bits wide. The address for each channel is provided in the register map (see Table 13). Register Address The register map for the AD7280A is provided in Table 13. Each register address is six bits long and is used when writing to or reading from the on-chip registers of the AD7280A. Register Data The register data is the 8-bit register data that was requested in a previous write command. Conversion Data The conversion data is the 12-bit conversion result from the cell voltage inputs, the auxiliary ADC inputs, or the ADC self-test conversion. Write Acknowledge Bit As described in the Writing to the AD7280A section, an 8-bit CRC is included in the write command transmitted to the AD7280A. The CRC is calculated based on Bits[D31:D11]. A CRC check is completed before the write command is executed on the device. Using the same CRC algorithm, the AD7280A calculates the CRC and compares it to the CRC that was received by the part in the transmitted write command. If the two CRC values match, the command is executed and the write acknowledge bit in the subsequent transmission of data from the device is set. If the transmitted and calculated CRCs do not match, the write command is not executed, and the write acknowledge bit is set to 0. For examples of the use of the write acknowledge bit, see the Write Acknowledge section. 8-Bit CRC The AD7280A includes an 8-bit cyclic redundancy check (CRC) on all data read back from the device. When reading back conversion data from the AD7280A, the 8-bit CRC includes the device address, the channel address, the conversion data, and the write acknowl- edge bit. When reading back register data from the AD7280A, the 8-bit CRC includes the device address, the register address, the register data, two reserved zero bits, and the write acknowledge bit. In both cases, the CRC is generated on Bits[D31:D10] of the 32-bit read cycle and is transmitted using Bits[D9:D2] of the same read cycle. For more information about the CRC, see the Cyclic Redundancy Check section. Table 21. 32-Bit Read Conversion Result Cycle Device Address1 Channel Address Conversion Data Write Acknowledge 8-Bit CRC Reserved (0 Bits) D31 to D27 D26 to D23 D22 to D11 D10 D9 to D2 D1 to D0 1 The device address is configured LSB first. For example, to address the second device in the stack, that is, the first slave device, the sequence of bits input to the AD7280A should be 10000. The register address, channel address, data bits, and CRC bits are input MSB first. Table 22. 32-Bit Read Register Data Cycle Device Address1 Register Address Register Data Reserved (0 Bits) Write Acknowledge 8-Bit CRC Reserved (0 Bits) D31 to D27 D26 to D21 D20 to D13 D12 to D11 D10 D9 to D2 D1 to D0 1 The device address is configured LSB first. For example, to address the second device in the stack, that is, the first slave device, the sequence of bits input to the AD7280A should be 10000. The register address, data bits, and CRC bits are input MSB first. |
|
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 |