| поискавой системы для электроныых деталей |
|
AD5413 датащи(PDF) 30 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD5413 датащи(HTML) 30 Page - Analog Devices |
|
30 / 49 page ![]() AD5413 Data Sheet Rev. 0 | Page 30 of 49 Sticky Diagnostic Results Bits section for more details). Therefore, to clear the SPI_CRC_ERR bit, write a 1 to Bit 0 of the DIGITAL_DIAG_RESULTS register. Writing a 1 clears the SPI_CRC_ERR bit and causes the FAULT pin to return high, assuming that there are no other active faults. When configuring the FAULT_PIN_CONFIG register, the user decides whether the SPI CRC error affects the FAULT pin. See the FAULT Pin Configuration Register section for more details. The SPI CRC feature is used for both transmitting and receiving data packets. SPI Interface Slip Bit An additional slip bit enhances the interface robustness. The MSB of the SPI frame must equal the inverse of MSB – 1 for the frame to be considered valid. If an incorrect slip bit is detected, the data is ignored and the SLIPBIT_ERR bit in the DIGITAL_DIAG_ RESULTS register is asserted. SPI Interface SCLK Count Feature An SCLK count feature is also built into the SPI diagnostics. If the CRC is enabled, only SPI frames with exactly 32 SCLK falling edges are accepted by the interface as a valid write. If the CRC is disabled, SPI fames with either 24 or 32 SCLK falling edges are accepted by the interface as a valid write. SPI frame lengths other than these are ignored and the SCLK_COUNT_ERR flag asserts in the DIGITAL_DIAG_RESULTS register. Readback Modes The AD5413 offers the following four readback modes: Two-stage readback mode Autostatus readback mode Shared SYNC autostatus readback mode Echo mode The two-stage readback consists of a write to a dedicated register, TWO_STAGE_READBACK_SELECT, to select the register location to be read back. This write is followed by a no operation (NOP) command, during which the contents of the selected register are available on the SDO pin. Table 11. SDO Contents for Read Operation MSB LSB [D31:D30] D29 [D28:24] [D23:D8] [D7:D0] 0b10 FAULT pin status Register address Data CRC Bits[D31:D30] = 0b10 are used for synchronization purposes during readback. If autostatus readback mode is selected, the status register contents are available on the SDO line during each SPI transaction. This feature allows the user to continuously monitor the status register and to act quickly if a fault occurs. The AD5413 powers up with this feature disabled. When this feature is enabled, the normal two-stage readback feature is not available. Only the status register is available on the SDO when autostatus readback mode is selected. To read back other registers, disable the automatic readback feature and then follow the two-stage readback sequence. The automatic status readback can be re-enabled after the register is read back. The shared AD5413 SYNC autostatus readback is a unique version of the autostatus readback mode used to avoid SDO bus contention when multiple devices share the same SYNC line. See the Shared Autostatus Readback Mode section for more details. Echo mode behaves similarly to autostatus readback mode, except that every second readback consists of an echo of the previous command written to the AD5413 (see Figure 63). See the Reading from Registers section for further details on the readback modes. PREVIOUS COMMAND PREVIOUS COMMAND STATUS REGISTER CONTENTS Figure 63. SDO Contents in Echo Mode USER DIGITAL OFFSET AND GAIN CONTROL The AD5413 has a USER_GAIN register and a USER_OFFSET register that trim the gain and offset errors from the entire signal chain. The USER_GAIN register allows the user to adjust the DAC channel gain in steps of 1 LSB. The USER_GAIN register coding is straight binary, as shown in Table 12. The default code in the USER_GAIN register is 0xFFFC, which results in a no gain factor applied to the programmed output. In theory, the gain can be tuned across the full range of the output. In practice, the maximum recommended gain trim is approximately 50% of the programmed range to maintain accuracy. The lower two bits, D1 and D0, are unused and must not be written to. Table 12. Gain Register Adjustment Gain Adjustment Factor D13 [D12:D3] D2 [D1:D0] 1 1 1 1 X 16383/16384 1 1 0 X … … … … X 2/16384 0 0 1 X 1/16384 0 0 0 X The USER_OFFSET register allows the user to adjust the DAC channel offset from −8192 LSBs to +8192 LSBs in steps of 1 LSB. The USER_OFFSET register coding is straight binary, as shown in Table 13. The default code in the USER_OFFSET register is 0x8000, which results in zero offset programmed to the output. The lower two bits, D1 and D0, are unused and must not be written to. Table 13. Offset Register Adjustment Gain Adjustment Factor D13 [D12:D3] D2 [D1:D0] +8192 LSBs 1 1 1 X +8191LSBs 1 1 0 X … … … … X No Adjustment (Default) 1 0 0 X … … … … X −8191 LSBs 0 0 1 X −8192 LSBs 0 0 0 X |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |