Differential MUX Mode
MUX Address Channel #
START SGL/
DIF
ODD/
SIGN 0 1
1 0 0 + −
1 0 1 −+
Since the input configuration is under software control, it can
be modified as required before each conversion. A channel
can be treated as a single-ended, ground referenced input for
one conversion; then it can be reconfigured as part of a dif-
ferential channel for another conversion. Figure 1 illustrates
the input flexibility which can be achieved.
The analog input voltages for each channel can range from
50mV below ground to 50mV above VCC (typically 5V) without
degrading conversion accuracy.
2.0 THE DIGITAL INTERFACE
A most important characteristic of these converters is their
serial data link with the controlling processor. Using a serial
communication format offers two very significant system im-
provements; it allows many functions to be included in a small
package and it can eliminate the transmission of low level
analog signals by locating the converter right at the analog
sensor; transmitting highly noise immune digital data back to
the host processor.
To understand the operation of these converters it is best to
refer to the Timing Diagrams and Functional Block Diagram
and to follow a complete conversion sequence. For clarity a
separate timing diagram is shown for each device.
1. A conversion is initiated by pulling the CS (chip select)
line low. This line must be held low for the entire
conversion. The converter is now waiting for a start bit
and its MUX assignment word.
2. On each rising edge of the clock the status of the data in
(DI) line is clocked into the MUX address shift register.
The start bit is the first logic “1” that appears on this line
(all leading zeros are ignored). Following the start bit the
converter expects the next 2 to 4 bits to be the MUX
assignment word.
3. When the start bit has been shifted into the start location
of the MUX register, the input channel has been assigned
and a conversion is about to begin. An interval of ½ clock
period (where nothing happens) is automatically inserted
to allow the selected MUX channel to settle. The SARS
line goes high at this time to signal that a conversion is
now in progress and the DI line is disabled (it no longer
accepts data).
4. The data out (DO) line now comes out of TRI-STATE and
provides a leading zero for this one clock period of MUX
settling time.
5. During the conversion the output of the SAR comparator
indicates whether the analog input is greater than (high)
or less than (low) a series of successive voltages
generated internally from a ratioed capacitor array (first
5 bits) and a resistor ladder (last 3 bits). After each
comparison the comparator's output is shipped to the DO
line on the falling edge of CLK. This data is the result of
the conversion being shifted out (with the MSB first) and
can be read by the processor immediately.
6. After 8 clock periods the conversion is completed. The
SARS line returns low to indicate this ½ clock cycle later.
7. The stored data in the successive approximation register
is loaded into an internal shift register. If the programmer
prefers the data can be provided in an LSB first format
[this makes use of the shift enable (SE) control line]. On
the ADC08038 the SE line is brought out and if held high
the value of the LSB remains valid on the DO line. When
SE is forced low the data is clocked out LSB first. On
devices which do not include the SE control line, the data,
LSB first, is automatically shifted out the DO line after the
MSB first data stream. The DO line then goes low and
stays low until CS is returned high. The ADC08031 is an
exception in that its data is only output in MSB first format.
8. All internal registers are cleared when the CS line is high
and the tSELECT requirement is met. See Data Input
Timing under Timing Diagrams. If another conversion is
desired CS must make a high to low transition followed
by address information.
The DI and DO lines can be tied together and controlled
through a bidirectional processor I/O bit with one wire.
This is possible because the DI input is only “looked-at”
during the MUX addressing interval while the DO line is
still in a high impedance state.
www.national.com 14
10555 Version 6 Revision 6 Print Date/Time: 2008/01/10 20:18:10
ADC08031/ADC08032/ADC08034/ADC08038