MAX1204
5V, 8-Channel, Serial, 10-Bit ADC
with 3V Digital Interface
10
Maxim Integrated
Input Bandwidth
The ADC’s input tracking circuitry has a 4.5MHz
small-signal bandwidth. Therefore, it is possible to digi-
tize high-speed transient events and measure periodic
signals with bandwidths exceeding the ADC’s sampling
rate by using undersampling techniques. To avoid
high-frequency signals being aliased into the frequency
band of interest, anti-alias filtering is recommended.
Analog Input Range and Input Protection
Internal protection diodes, which clamp the analog
inputs to V
DD
and V
SS
, allow the analog input pins to
swing from (V
SS
- 0.3V) to (V
DD
+ 0.3V) without dam-
age. However, for accurate conversions near full scale,
the inputs must not exceed V
DD
by more than 50mV, or
be lower than V
SS
by 50mV.
If the analog input exceeds 50mV beyond the sup-
plies, do not forward bias the protection diodes of
off-channels over 2mA, as excessive current
degrades on-channel conversion accuracy.
The full-scale input voltage depends on the voltage at
REF (Tables 1a and 1b).
Quick Look
Use the circuit of Figure 5 to quickly evaluate the
MAX1204’s analog performance. The MAX1204 requires
that a control byte be written to DIN before each conver-
sion. Tying DIN to +3V feeds in control byte $FF hex,
which triggers single-ended unipolar conversions on
CH7 in external clock mode without powering down
between conversions. In external clock mode, the
SSTRB output pulses high for one clock period before
the most significant bit of the conversion result shifts out
of DOUT. Varying the analog input to CH7 alters the
sequence of bits from DOUT. A total of 15 clock cycles
per conversion is required. All SSTRB and DOUT output
transitions occur on SCLK’s falling edge.
How to Start a Conversion
Clocking a control byte into DIN starts conversion on
the MAX1204. With CS low, each rising edge on SCLK
clocks a bit from DIN into the MAX1204’s internal shift
register. After CS falls, the first logic “1” bit defines the
control byte’s MSB. Until this first “start” bit arrives, any
number of logic “0” bits can be clocked into DIN with
no effect. Table 2 shows the control-byte format.
The MAX1204 is fully compatible with MICROWIRE and
SPI devices. For SPI, select the correct clock polarity
and sampling edge in the SPI control registers: set
CPOL = 0 and CPHA = 0. MICROWIRE and SPI both
transmit a byte and receive a byte at the same time.
Using the
Typical Operating Circuit
, the simplest soft-
ware interface requires only three 8-bit transfers to per-
form a conversion (one 8-bit transfer to configure the
ADC, and two more 8-bit transfers to clock out the con-
version result).
Table 1b. Bipolar Full Scale, Zero Scale,
and Negative Full Scale
Table 1a. Unipolar Full Scale
and Zero Scale
REFERENCE
External
ZERO
SCALE
0V
0V
0V
Internal
at REFADJ
at REF
FULL SCALE
+4.096V
V
REFADJ
x 1.68
V
REF
REFERENCE
-1/2 V
REF
-1/2 V
REFADJ
x
1.68
-4.096V/2
NEGATIVE
FULL SCALE
ZERO
SCALE
0V
0V
0V
Internal
at
REFADJ
at REF
FULL SCALE
+4.096V / 2
+1/2 V
REFADJ
x 1.68
+1/2 V
REF
External
MAX1204
5V, 8-Channel, Serial, 10-Bit ADC
with 3V Digital Interface
11
Maxim Integrated
MAX1204
Table 2. Control-Byte Format
Table 3. Channel Selection in Single-Ended Mode (SGL/DIF = 1)
SEL1 SEL0
0 0 0
CH4 CH5SEL2 CH6 CH7 GND
1 0 0 +
0 0 1 +
1 0
CH0
+
1 +
0 1
CH1
0 +
1 1
CH3
0 +
0 1
CH2
1 +
1 1 1 +
Table 4. Channel Selection in Differential Mode (SGL/DIF = 0)
SEL1 SEL0
0 0 0
CH4 CH5SEL2 CH6 CH7
0 0 1 +
0 1 0 +
0 1
CH0
+
1 +
1 0
CH1
0 +
1 0
CH3
1 +
1 1
CH2
0 +
1 1 1 +
PD0
Bit 0
(LSB)
SGL/DIF
Bit 2
PD1
Bit 1
UNI/BIP
Bit 3
SEL 0
Bit 4
Bit 7
(MSB)
SEL 1SEL 2START
Bit 5Bit 6
1 = unipolar, 0 = bipolar. Selects unipolar or bipolar conversion mode. In unipolar mode, an
analog input signal from 0V to V
REF
can be converted; in bipolar mode, the signal can range
from -V
REF
/ 2 to +V
REF
/ 2.
1 = single ended, 0 = differential. Selects single-ended or differential conversions. In single-
ended mode, input signal voltages are referred to GND. In differential mode, the voltage dif-
ference between two channels is measured. (Tables 3 and 4.)
Selects clock and power-down modes.
PD1 PD0 Mode
00 Full power-down (I
DD
= 2µA, internal reference)
01 Fast power-down (I
DD
= 30µA, internal reference)
10 Internal clock mode
11 External clock mode
These three bits select which of the eight channels is used for the conversion
(Tables 3 and 4).
The first logic 1 bit after CS goes low defines the beginning of the control byte.
DescriptionNameBit
UNI/BIP
3
SGL/DIF
2
PD1
PD0
1
0 (LSB)
SEL2
SEL1
SEL0
6
5
4
START7 (MSB)
MAX1204
5V, 8-Channel, Serial, 10-Bit ADC
with 3V Digital Interface
12
Maxim Integrated
Simple Software Interface
Make sure the CPU’s serial interface runs in master
mode so the CPU generates the serial clock. Choose a
clock frequency from 100kHz to 2MHz.
1) Set up the control byte for external clock mode and
call it TB1. TB1’s format should be: 1XXXXX11 binary,
where the Xs denote the particular channel and
conversion mode selected.
2) Use a general-purpose I/O line on the CPU to pull
CS on the MAX1204 low.
3) Transmit TB1 and simultaneously receive a byte
and call it RB1. Ignore RB1.
4) Transmit a byte of all zeros ($00 hex) and simulta-
neously receive byte RB2.
5) Transmit a byte of all zeros ($00 hex) and simulta-
neously receive byte RB3.
6) Pull CS on the MAX1204 high.
Figure 6 shows the timing for this sequence. Bytes RB2
and RB3 contain the result of the conversion padded
with one leading zero, two trailing sub-bits (S1 and S0),
and three trailing zeros. Total conversion time is a func-
tion of the serial clock frequency and the amount of idle
time between 8-bit transfers. To avoid excessive T/H
droop, make sure that the total conversion time does
not exceed 120µs.
Digital Output
In unipolar input mode, the output is straight binary
(Figure 15); for bipolar inputs, the output is two’s-
complement (Figure 16). Data is clocked out at SCLK’s
falling edge in MSB-first format. The digital output logic
level is adjusted with the V
L
pin. This allows DOUT and
SSTRB to interface with 3V logic without the risk of
overdrive. The MAX1204’s digital inputs are designed
to be compatible with 3V CMOS logic as well as 5V
logic.
Internal and External Clock Modes
The MAX1204 can use either an external serial clock
or the internal clock to perform the successive-
approximation conversion. In both clock modes, the
external clock shifts data in and out of the MAX1204.
The T/H acquires the input signal as the last three bits
of the control byte are clocked into DIN. Bits PD1 and
PD0 of the control byte program the clock mode.
Figures 7–10 show the timing characteristics common
to both modes.
External Clock
In external clock mode, the external clock not only shifts
data in and out, but it also drives the A/D conversion
steps. SSTRB pulses high for one clock period after the
last bit of the control byte. Successive-approximation bit
decisions are made and appear at DOUT on each of the
next 12 SCLK falling edges (Figure 6). SSTRB and
DOUT go into a high-impedance state when CS goes
high; after the next CS falling edge, SSTRB outputs a
logic low. Figure 8 shows the SSTRB timing in external
clock mode.
The conversion must complete in some minimum time or
droop on the sample-and-hold can degrade conversion
results. Use internal clock mode if the clock period
exceeds 10µs or if serial-clock interruptions could cause
the conversion interval to exceed 120µs.
Internal Clock
In internal clock mode, the MAX1204 generates its own
conversion clock. This frees the µP from running the
SAR conversion clock, and allows the conversion
results to be read back at the processor’s convenience,
at any clock rate from zero to 2MHz. SSTRB goes low
at the start of the conversion, then goes high when the
conversion is complete. SSTRB is low for a maximum of
10µs, during which time SCLK should remain low for
best noise performance. An internal register stores data
while the conversion is in progress. SCLK clocks the
data out at this register at any time after the conversion
is complete. After SSTRB goes high, the next falling
clock edge produces the MSB of the conversion at
DOUT, followed by the remaining bits in MSB-first for-
mat (Figure 9). CS does not need to be held low once a
conversion is started. Pulling CS high prevents data
from being clocked into the MAX1204 and three-states
DOUT, but it does not adversely affect an internal
clock-mode conversion already in progress. When
internal clock mode is selected, SSTRB does not go
high impedance when CS goes high.
Figure 10 shows the SSTRB timing in internal clock
mode. Data can be shifted in and out of the MAX1204 at
clock rates up to 2.0MHz if the acquisition time, t
ACQ
, is
kept above 1.5µs.

MAX1204AEAP+T

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Analog to Digital Converters - ADC 10-Bit 8Ch 133ksps 5V Precision ADC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union