| Electronic Components Datasheet Search |
|
AD7380 Datasheet(PDF) 23 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD7380 Datasheet(HTML) 23 Page - Analog Devices |
|
23 / 31 page ![]() Data Sheet AD7380/AD7381 Rev. 0 | Page 23 of 31 READING FROM DEVICE REGISTERS All the registers in the device can be read over the serial interface. A register read is performed by issuing a register read command followed by an additional SPI command that can be either a valid command or NOP. The format for a read command is shown in Table 14. Bit D15 must be set to 0 to select a read command. Bits[D14:D12] contain the register address, and the subsequent twelve bits, Bits[D11:D0], are ignored. WRITING TO DEVICE REGISTERS All the read/write registers in the AD7380/AD7381 can be written to over the serial interface. The length of an SPI write access is determined by the CRC write function. An SPI access is 16-bit if CRC write is disabled and is 24-bit when CRC write is enabled. The format for a write command is shown in Table 15. Bit D15 must be set to 1 to select a write command. Bits[D14:D12] contain the register address, and the subsequent twelve bits, Bits[D11:D0], contain the data to be written to the selected register. CS SDI S0 S1 S2 S3 S4 SDOA SDOB RESULT S0 REG 1DATA REG 2DATA RESULT S3 INVALID RESULT S0 INVALID READ REG 1 READ REG 2 NOP NOP NOP RESULT S3 Figure 40. Register Read CS SDI S0 S1 S2 S3 SDOA SDOB RESULT S0 RESULT S1 RESULT S2 INVALID WRITE REG 1 WRITE REG 2 NOP NOP Figure 41. Register Write |
|
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 |