Data Sheet AD7682/AD7689
Rev. J | Page 29 of 38
DIGITAL INTERFACE
The AD7682/AD7689 use a simple 4-wire interface and are
compatible with SPI, MICROWIRE™, QSPI™, digital hosts, and
DSPs (for example, Blackfin® ADSP-BF53x, SHARC®, ADSP-219x,
and ADSP-218x).
The interface uses the CNV, DIN, SCK, and SDO signals and
allows CNV, which initiates the conversion, to be independent
of the readback timing. This is useful in low jitter sampling or
simultaneous sampling applications.
A 14-bit register, CFG[13:0], is used to configure the ADC for
the channel to be converted, the reference selection, and other
components, which are detailed in the Configuration Register,
CFG section.
When CNV is low, reading/writing can occur during
conversion, acquisition, and spanning conversion (acquisition
plus conversion). The CFG word is updated on the first 14 SCK
rising edges, and conversion results are output on the first 15
(or 16, if busy mode is selected) SCK falling edges. If the CFG
readback is enabled, an additional 14 SCK falling edges are
required to output the CFG word associated with the con-
version results with the CFG MSB following the LSB of the
conversion result.
A discontinuous SCK is recommended because the device is
selected with CNV low, and SCK activity begins to write a new
configuration word and clock out data.
The timing diagrams indicate digital activity (SCK, CNV, DIN,
and SDO) during the conversion. However, due to the
possibility of performance degradation, digital activity occurs
only prior to the safe data reading/writing time, tDATA, because
the AD7682/AD7689 provide error correction circuitry that can
correct for an incorrect bit during this time. From tDATA to tCONV,
there is no error correction, and conversion results may be
corrupted. Configure the AD7682/AD7689 and initiate the busy
indicator (if desired) prior to tDATA. It is also possible to corrupt
the sample by having SCK or DIN transitions near the sampling
instant. Therefore, it is recommended to keep the digital pins
quiet for approximately 20 ns before and 10 ns after the rising
edge of CNV, using a discontinuous SCK whenever possible to
avoid any potential performance degradation.
READING/WRITING DURING CONVERSION,
FAST HOSTS
When reading/writing during conversion (n), conversion
results are for the previous (n − 1) conversion, and writing the
CFG register is for the next (n + 1) acquisition and conversion.
After the CNV is brought high to initiate conversion, it must be
brought low again to allow reading/writing during conversion.
Reading/writing must only occur up to tDATA and, because this
time is limited, the host must use a fast SCK.
The SCK frequency required is calculated by
DATA
SCK t
EdgesSCKNumber
f__
≥
The time between tDATA and tCONV is a safe time when digital
activity must not occur, or sensitive bit decisions may be corrupt.
READING/WRITING AFTER CONVERSION, ANY
SPEED HOSTS
When reading/writing after conversion, or during acquisition
(n), conversion results are for the previous (n − 1) conversion,
and writing is for the (n + 1) acquisition.
For the maximum throughput, the only time restriction is that
the reading/writing take place during the tACQ (minimum) time.
For slow throughputs, the time restriction is dictated by the
throughput required by the user, and the host is free to run at
any speed. Thus for slow hosts, data access must take place
during the acquisition phase.
READING/WRITING SPANNING CONVERSION, ANY
SPEED HOST
When reading/writing spanning conversion, the data access
starts at the current acquisition (n) and spans into the con-
version (n). Conversion results are for the previous (n − 1)
conversion, and writing the CFG register is for the next (n + 1)
acquisition and conversion.
Similar to reading/writing during conversion, reading/writing
must only occur up to tDATA. For the maximum throughput, the
only time restriction is that reading/writing take place during
the tACQ + tDATA time.
For slow throughputs, the time restriction is dictated by the
required throughput, and the host is free to run at any speed.
Similar to reading/writing during acquisition, for slow hosts,
the data access must take place during the acquisition phase
with additional time into the conversion.
Data access spanning conversion requires the CNV to be driven
high to initiate a new conversion, and data access is not allowed
when CNV is high. Therefore, the host must perform two
bursts of data access when using this method.
CONFIGURATION REGISTER, CFG
The AD7682/AD7689 use a 14-bit configuration register
(CFG[13:0]), as detailed in Table 12, to configure the inputs, the
channel to be converted, the one-pole filter bandwidth, the
reference, and the channel sequencer. The CFG register is
latched (MSB first) on DIN with 14 SCK rising edges. The
CFG update is edge dependent, allowing for asynchronous or
synchronous hosts.
The register can be written to during conversion, during
acquisition, or spanning acquisition/conversion, and is updated
at the end of conversion, tCONV (maximum). There is always a
one deep delay when writing the CFG register.