Detailed Description
The MAX9939 is a general-purpose PGA with input off-
set trim capability. Its gain and input offset voltage
(V
OS
) are SPI programmable. The device also includes
an uncommitted output operational amplifier that can
be used as either a high-order active filter or to provide
a differential output. The device can be put into shut-
down through SPI.
The gain of the amplifier is programmable between
0.2V/V and 157V/V. The input offset is programmable
between ±17mV and can be used to regain output
dynamic range in high gain settings. An input offset-volt-
age measurement mode enables input offset voltage to
be calibrated out in firmware to obtain excellent DC
accuracy.
The main amplifier accepts a differential input and pro-
vides a single-ended output. The relationship between
the differential input and singled-ended output is given
by the representative equation:
V
OUTA
= V
CC
/2 - Gain x (V
INA+
- V
INA-
) + Gain x V
OS
Architecture
The MAX9939 features three internal amplifiers as
shown in the
Functional Diagram
. The first amplifier
(amplifier LVL) is configured as a differential amplifier
for differential to single-ended conversion with an input
offset-voltage trim network. It has extremely high
Typical Operating Characteristics (continued)
(V
CC
= 5V, V
GND
= 0V, V
IN+
= V
IN-
= 0V, Gain = 10V/V, R
OUTA
= R
OUTB
= 1k to V
CC
/2, T
A
= +25°C, unless otherwise noted.)
Pin Description
PIN NAME FUNCTION
1 SCLK Serial-Clock Input
2 DIN Serial-Data Input. Data is clocked into the serial interface on the rising edge of SCLK.
3 GND Ground
4 INA- PGA Inverting Input
5 INA+ PGA Noninverting Input
6 OUTB Buffer Output
7 INB Buffer Input
8 OUTA PGA Output
9V
CC
Power Supply. Bypass to GND with 0.1µF and 1µF capacitors.
10 CS Acti ve- Low C hi p - S el ect Inp ut. D r i ve CS l ow to enab l e the ser i al i nter face. D r i ve CS hi g h to d i sab l e the ser i al i nter face.
MAX9939
SPI Programmable-Gain Amplifier
with Input V
OS
Trim and Output Op Amp
7
Maxim Integrated
200µs/div
COMMON-MODE REJECTION RESPONSE
INA+
1V/div
INA-
1V/div
MAX9939 toc19
OUTA
2V/div
V
CM
= 1V
P-P
, 1kHz
V
DM
= 25mV
P-P
, 10kHz
GAIN = 157V/V
SHUTDOWN CURRENT vs. SUPPLY VOLTAGE
MAX9939 toc20
VOLTAGE (V)
SHUTDOWN CURRENT (µA)
3.6 4.0
16
20
8
4
12
0
2.8 3.2 4.8 5.24.4
MAX9939
SPI Programmable-Gain Amplifier
with Input V
OS
Trim and Output Op Amp
8
Maxim Integrated
CMRR, gain accuracy, and very low temperature drift
due to precise resistor matching. The output of this
amplifier is level shifted to V
CC
/2.
This amplifier is followed by a programmable-gain
inverting amplifier (amplifier A) with programmable R
F
and R
I
resistors whose gain varies between 0.2V/V and
157V/V. The output of this amplifier is biased at
V
CC
/2 and has extremely high gain accuracy and low
temperature drift.
The MAX9939 has an uncommitted op amp (amplifier
B) whose noninverting input is referenced to V
CC
/2. Its
inverting input and output are externally accessible,
allowing it to be configured either as an active filter or
as a differential output.
A robust input ESD protection scheme allows input volt-
ages at INA+ and INA- to reach ±16V without damag-
ing the MAX9939, thus making the part extremely
attractive for use in front-ends that can be exposed to
high voltages during fault conditions. In addition, its
input-voltage range extends down to -V
CC
/2 (e.g., -2.5V
when powered from a 5V single supply) allowing the
MAX9939 to translate below ground signals to a 0V to
5V output signal. This feature simplifies interfacing
ground-referenced signals with unipolar-input ADCs.
SPI-Compatible Serial Interface
The MAX9939 has a write-only interface, consisting of
three inputs: the clock signal (SCLK), data input (DIN),
and chip-select input (CS). The serial interface works
with the clock polarity (CPOL) and clock phase (CPHA)
both set to 0 (see Figure 1). Initiating a write to the
MAX9939 is accomplished by pulling CS low. Data is
clocked in on the rising edge of each clock pulse, and
is written LSB first. Each write to the MAX9939 consists
of 8 bits (1 byte). Pull CS high after the 8th bit has been
clocked in to latch the data and before sending the
next byte of instruction. Note that the internal register is
not updated if CS is pulled high before the falling edge
of the 8th clock pulse.
Register Description
The MAX9939 consists of three registers: a shift register
and two internal registers. The shift register accepts
data and transfers it to either of the two internal regis-
ters. The two internal registers store data that is used to
determine the gain, input offset voltage, and operating
modes of the amplifier. The two internal registers are the
Input V
OS
Trim register and Gain register. The format of
the 8-bit write to these registers is shown in Tables 1
and 2. Data is sent to the shift register LSB first.
SEL: The SEL bit selects which internal register is writ-
ten to. Set SEL to 0 to write bits D5:D1 to the input V
OS
trim register. Set SEL to 1 to write D4:D1 to the Gain
register (D5 is don’t care when SEL = 1).
CS
SCLK
DIN
D0 D1 D2 D3 D6 D5 D6 D7
Figure 2. SPI Interface Timing Diagram (CPOL = CPHA = 0)
D7
MSB
D6 D5 D4 D3 D2 D1
D0
LSB
SHDN MEAS V4 V3 V2 V1 V0 SEL = 0
Table 1. Input V
OS
Trim Register
D7
MSB
D6 D5 D4 D3 D2 D1
D0
LSB
SHDN MEAS X G3 G2 G1 G0 SEL = 1
X = Don’t care.
Table 2. Gain Register
MAX9939
SPI Programmable-Gain Amplifier
with Input V
OS
Trim and Output Op Amp
9
Maxim Integrated
SHDN: Set SHDN to 0 for normal operation. Set SHDN
to 1 to place the device in a low-power 13µA shutdown
mode. In shutdown mode, the outputs OUTA and OUTB
are high impedance, however, the SPI decode circuitry
is still active. Each instruction requires a write to the
SHDN bit.
MEAS: The MAX9939 provides a means for measuring
its own input offset voltage. When MEAS is set to 1, the
INA- input is disconnected from the input signal path
and internally shorted to INA+. This architecture thus
allows the input common-mode voltage to be compen-
sated at the application-specific input common-mode
voltage of interest. The input offset voltage of the PGA
is the output offset voltage divided by the programmed
gain without any V
OS
trim (i.e., V3:V0 set to 0):
V
OS-INHERENT
= (V
OUTA
- V
CC
/2)/Gain
Program V
OS
to offset V
OS-INHERENT
. The input V
OS
also includes the effect of mismatches in the resistor-
dividers. Setting MEAS to 0 switches the inputs back to
the signals on INA+ and INA-. Each instruction requires
a write to the MEAS bit.
Programming Gain
The PGA’s gain is set by the bits G3:G0 in the Gain reg-
ister. Table 3 shows the relationship between the bits
G3:G0 and the amplifier’s gain. The slew rate and
small-signal bandwidth (SSBW) of the PGA depend on
its gain setting as shown in Table 3.
Programming Input Offset Voltage (V
OS
)
The input offset voltage is set by the bits V4:V0 in the
Input Offset Voltage Trim register. Bit V4 determines the
polarity of the offset. Setting V4 to 0 makes the offset
positive, while setting V4 to 1 makes the offset negative.
Table 4 shows the relationship between V3:V0 and V
OS
.
To determine the effect of V
OS
at the output of the ampli-
fier for gains other than 1, use the following formula:
V
OUTA
= V
CC
/2 + Gain x (V
OS-INHERENT
+ V
OS
)
where V
OS-INHERENT
is the inherent input offset voltage
of the amplifier, which can be measured by setting
MEAS to 1.
Applications Information
Use of Output Amplifier as Active Filter
The output amplifier can be configured as a multiple-
feedback active filter as shown in Figure 3, which tradi-
tionally has better stopband attenuation characteristics
than Sallen-Key filters. These filters also possess inher-
ently better distortion performance since there are no
common-mode induced effects (i.e., the common-
mode voltage of the operational amplifier is always
fixed at V
CC
/2 instead of it being signal dependent
such as in Sallen-Key filters). Choose external resistors
and capacitors to create lowpass, bandpass, or high-
pass filters.
G3:G0
GAIN
(V/V)
SLEW RATE
(V/µs)
SMALL-SIGNAL BANDWIDTH (MHz)
0000 1 2.90 2.15
0001 10 8.99 2.40
0010 20 8.70 1.95
0011 30 12.80 3.40
0100 40 12.50 2.15
0101 60 13.31 2.60
0110 80 12.15 1.91
0111 120 18.53 2.30
1000 157 16.49 1.78
0.2 (V
CC
= 5V)
1001
0.25 (V
CC
= 3.3V)
2.86 1.95
1010 1 2.90 2.15
Table 3. Gain

MAX9939AUB+T

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Special Purpose Amplifiers SPI-Programmable Gain Amplifier
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet