Electronic Components Datasheet Search
  English  ▼

X  

AD4680 Datasheet(PDF) 23 Page - Analog Devices

Part # AD4680
Description  Differential Inputs, 1 MSPS/500 kSPS, Dual Simultaneous Sampling SAR ADCs
PDF  29 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  AD [Analog Devices]
Direct Link  http://www.analog.com
Logo AD - Analog Devices

AD4680 Datasheet(HTML) 23 Page - Analog Devices

Back Button AD4680 Datasheet HTML 19Page - Analog Devices AD4680 Datasheet HTML 20Page - Analog Devices AD4680 Datasheet HTML 21Page - Analog Devices AD4680 Datasheet HTML 22Page - Analog Devices AD4680 Datasheet HTML 23Page - Analog Devices AD4680 Datasheet HTML 24Page - Analog Devices AD4680 Datasheet HTML 25Page - Analog Devices AD4680 Datasheet HTML 26Page - Analog Devices AD4680 Datasheet HTML 27Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 29 page
background image
Data Sheet
AD4680/AD4681
Rev. 0 | Page 23 of 29
READING FROM DEVICE REGISTERS
All 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 no operation command (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 12 bits, Bits[D11:D0], are
ignored.
WRITING TO DEVICE REGISTERS
All read/write registers in the AD4680/AD4681 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 14.
Bit D15 must be set to 1 to select a write command.
Bits[D14:D12] contain the register address, and the subsequent
12 bits, Bits[D11:D0], contain the data to be written to the
selected register.
CRC
The AD4680/AD4681 have CRC checksum modes that can be
used to improve interface robustness by detecting errors in data
transmissions. The CRC feature is independently selectable for
SPI interface reads and SPI interface writes. For example, the
CRC function for SPI writes can be enabled to prevent
unexpected changes to the device configuration but disabled on
SPI reads, therefore maintaining a higher throughput rate. The
CRC feature is controlled by the programming of the CRC_W
and CRC_R bits in the CONFIGURATION1 register.
CRC Read
If enabled, a CRC is appended to the conversion result or
register reads and consists of an 8-bit word. The CRC is
calculated in the conversion result for ADC A and ADC B and
is output on SDOA. A CRC is also calculated and appended to
register read outputs.
The CRC read function can be used in 2-wire SPI mode, 1-wire
SPI mode, and resolution boost mode.
CRC Write
To enable the CRC write function, the CRC_W bit in the
CONFIGURATION1 register must be set to 1. To set the
CRC_W bit to 1 to enable the CRC feature, the request frame
must have a valid CRC appended to the frame.
After the CRC feature is enabled, all register write requests are
ignored unless accompanied by a valid CRC command, requiring a
valid CRC to both enable and disable the CRC write feature.
CRC Polynomial
For CRC checksum calculations, the following polynomial is
always used: x8 + x2 + x + 1.
The following is an example of how to generate the checksum
on a conversion read. The 16-bit data conversion result of the
two channels are combined to produce a 32-bit data. The
8 MSBs of the 32-bit data are inverted and then left shifted by
eight bits to create a number ending in eight Logic 0s. The
polynomial is aligned such that the 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 such that the MSB is adjacent to the
leftmost Logic 1 of the new result, and the procedure is
repeated. This process repeats until the original data is reduced
to a value less than the polynomial, which is the 8-bit
checksum. The polynomial for this example is 100000111.
Let the original data of two channels be 0xAAAA and 0x5555,
that is, 1010 1010 1010 1010 and 0101 0101 0101 0101. The data
of the two channels is appended including eight zeros on the
right, and then becomes 1010 1010 1010 1010 0101 0101 0101
0101 0000 0000.
Table 12 shows the CRC calculation of 16-bit, 2-channel data
for the AD4680/AD4681. In the final XOR operation, the
reduced data is less than the polynomial. Therefore, the
remainder is the CRC for the assumed data.
CS
SDI
S0
S1
S2
S3
S4
SDOA
RESULT S0
REG 1DATA
REG 2DATA
RESULT S3
INVALID
RESULT S0
INVALID
READ REG 1
READ REG 2
NOP
NOP
NOP
RESULT S3
SDOB/ALERT
Figure 43. Register Read
CS
SDI
S0
S1
S2
S3
RESULT S0
RESULT S1
RESULT S2
INVALID
WRITE REG 1
WRITE REG 2
NOP
NOP
SDOA
SDOB/ALERT
Figure 44. Register Write



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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