The MAX5812 is a single, 12-bit voltage-output, digital-toanalog converter (DAC) with an I2C™-compatible 2-wire
interface that operates at clock rates up to 400kHz. The
device operates from a single 2.7V to 5.5V supply and
draws only 100µA at VDD= 3.6V. A low-power powerdown mode decreases current consumption to less than
1µA. The MAX5812 features three software-selectable
power-down output impedances: 100kΩ, 1kΩ, and high
impedance. Other features include an internal precision
Rail-to-Rail®output buffer and a power-on reset circuit
that powers up the DAC in the 100kΩ power-down mode.
The MAX5812 features a double-buffered I2C-compatible
serial interface that allows multiple devices to share a single bus. All logic inputs are CMOS-logic compatible and
buffered with Schmitt triggers, allowing direct interfacing
to optocoupled and transformer-isolated interfaces. The
MAX5812 minimizes digital noise feedthrough by disconnecting the clock (SCL) signal from the rest of the device
when an address mismatch is detected.
The MAX5812 is specified over the extended temperature
range of -40°C to +85°C and is available in a space-saving 6-pin SOT23 package. Refer to the MAX5811 for the
10-bit version.
Applications
Digital Gain and Offset Adjustments
Programmable Voltage and Current Sources
Programmable Attenuation
VCO/Varactor Diode Control
Low-Cost Instrumentation
Battery-Operated Equipment
Features
♦ Ultra-Low Supply Current
100µA at V
DD
= 3.6V
130µA at VDD= 5.5V
♦ 300nA Low-Power Power-Down Mode
♦ Single 2.7V to 5.5V Supply Voltage
♦ Fast 400kHz I
2
C-Compatible 2-Wire Serial
Interface
♦ Schmitt-Trigger Inputs for Direct Interfacing to
(VDD= +2.7V to +5.5V, GND = 0, RL= 5kΩ, CL= 200pF, TA= T
MIN
to T
MAX
, unless otherwise noted. Typical values are at
V
DD
= +5V, TA= +25°C.) (Note 1)
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
VDD, SCL, SDA to GND............................................-0.3V to +6V
OUT, ADD to GND........................................-0.3V to V
DD
+ 0.3V
Maximum Current Into Any Pin ...........................................50mA
Note 1: All devices are 100% production tested at TA= +25°C and are guaranteed by design for TA= T
MIN
to T
MAX
.
Note 2: Static specifications are tested with the output unloaded.
Note 3: Linearity is guaranteed from codes 115 to 3981.
Note 4: Offset and gain error limit the FSR.
Note 5: Guaranteed by design. Not production tested.
ELECTRICAL CHARACTERISTICS (continued)
(VDD= +2.7V to +5.5V, GND = 0, RL= 5kΩ, CL= 200pF, TA= T
MIN
to T
MAX
, unless otherwise noted. Typical values are at
V
DD
= +5V, TA= +25°C.) (Note 1)
Digital FeedthroughCode = 000 hex, digital inputs from 0 to V
Digital-to-Analog Glitch Impulse
POWER SUPPLIES
Supply Voltage RangeV
Supply Current with No Load
Power-Down Supply CurrentAll digital inputs at 0 or V
TIMING CHARACTERISTICS (Figure 1)
Serial Clock Frequencyf
Bus Free Time Between STOP
and START Conditions
START Condition Hold Timet
SCL Pulse Width Lowt
SCL Pulse Width Hight
Repeated START Setup Timet
Data Hold Timet
Data Setup Timet
SDA and SCL Receiving
Rise Time
SDA and SCL Receiving
Fall Time
SDA Transmitting Fall Timet
STOP Condition Setup Timet
Bus CapacitanceC
Maximum Duration of
Suppressed Pulse Widths
PARAMETERSYMBOLCONDITIONSMINTYPMAXUNITS
Major carry transition, code = 7FF hex to 800
hex and 800 hex to 7FF hex
DD
All digital inputs at 0 or VDD = 3.6V100170
All digital inputs at 0 or V
SCL
t
BUF
HD, STA
LOW
HIGH
SU, STA
HD, DAT
SU, DAT
t
t
SU-STO
t
SP
(Note 5)0300ns
r
(Note 5)0300ns
f
(Note 5)
f
(Note 5)400pF
b
DD
DD
= 5.5V130190
= 5.5V0.31µA
DD
2.75.5V
0400kHz
1.3µs
0.6µs
1.3µs
0.6µs
0.6µs
00.9µs
100ns
20 +
0.1C
0.6µs
050ns
0.2nV-s
12nV-s
b
µA
250ns
Page 4
MAX5812
12-Bit Low-Power, 2-Wire, Serial
Voltage-Output DAC
The MAX5812 is a 12-bit, voltage-output DAC with an
I2C/SMBus-compatible 2-wire interface. The device consists of a serial interface, power-down circuitry, input
and DAC registers, a 12-bit resistor string DAC, unitygain output buffer, and output resistor network. The serial interface decodes the address and control bits,
routing the data to either the input or DAC register. Data
can be directly written to the DAC register immediately
updating the device output, or can be written to the
input register without changing the DAC output. Both
registers retain data as long as the device is powered.
DAC Operation
The MAX5812 uses a segmented resistor string DAC
architecture, which saves power in the overall system
and guarantees output monotonicity. The MAX5812’s
input coding is straight binary with the output voltage
given by the following equation:
where N = 12(bits), and D = the decimal value of the
input code (0 to 4095).
Output Buffer
The MAX5812 analog output is buffered by a precision
unity-gain follower that slews 0.5V/µs. The buffer output
swings rail-to-rail and is capable of driving 5kΩ in parallel with 200pF. The output settles to ±0.5LSB within 4µs.
Power-On Reset
The MAX5812 features an internal power-on-reset
(POR) circuit that initializes the device upon power-up.
The DAC registers are set to zero-scale and the device
is powered down with the output buffer disabled and
the output pulled to GND through the 100kΩ termination resistor. Following power-up, a wake-up command
must be initiated before conversions are performed.
Power-Down Modes
The MAX5812 has three software-controlled, lowpower, power-down modes. All three modes disable
the output buffer and disconnect the DAC resistor
string from VDD, reducing supply current draw to
300nA. In power-down mode 0, the device output is
high impedance. In power-down mode 1, the device
output is internally pulled to GND by a 1kΩ termination
resistor. In power-down mode 2, the device output is
internally pulled to GND by a 100kΩ termination resistor. Table 1 shows the power-down mode command
words.
Upon wake-up, the DAC output is restored to its previous value. Data is retained in the input and DAC registers during power-down mode.
Digital Interface
The MAX5812 features an I2C/SMBus-compatible
2-wire interface consisting of a serial data line (SDA)
Pin Description
Table 1. Power-Down Command Bits
PINNAMEFUNCTION
1VDDPower Supply and DAC Reference Input
2GNDGround
3SDABidirectional Serial Data I/O
4SCLSerial Clock Line
5ADDAddress Select. A logic high sets the address LSB to 1; a logic low sets the address LSB to 0.
6OUTAnalog Output
V
=
OUT
()
VD
×
REF
N
2
POWER-DOWN
COMMAND BITS
PD1PD0
00Power-up device. DAC output restored to previous value.
01Power-down mode 0. Powers down device with output floating.
10Power-down mode 1. Powers down device with output terminated with 1kΩ to GND.
11Power-down mode 2. Powers down device with output terminated with 100kΩ to GND.
MODE/FUNCTION
Page 8
MAX5812
12-Bit Low-Power, 2-Wire, Serial
Voltage-Output DAC
and a serial clock line (SCL). The MAX5812 is SMBus
compatible within the range of VDD= 2.7V to 3.6V. SDA
and SCL facilitate bidirectional communication between
the MAX5812 and the master at rates up to 400kHz.
Figure 1 shows the 2-wire interface timing diagram. The
MAX5812 is a transmit/receive slave-only device, relying upon a master to generate a clock signal. The master, typically a microcontroller, initiates data transfer on
the bus and generates SCL to permit that transfer.
A master device communicates to the MAX5812 by
transmitting the proper address followed by command
and/or data words. Each transmit sequence is framed
by a START (S) or REPEATED START (Sr) condition and
a STOP (P) condition. Each word transmitted over the
bus is 8 bits long and is always followed by an
acknowledge clock pulse.
The MAX5812 SDA and SCL drivers are open-drain outputs, requiring a pullup resistor (500Ω or greater) to
generate a logic high voltage (see the Typical OperatingCircuit). Series resistors RSare optional. These series
resistors protect the input stages of the MAX5812 from
high-voltage spikes on the bus lines and minimize
crosstalk and undershoot of the bus signals.
Bit Transfer
One data bit is transferred during each SCL clock
cycle. The data on SDA must remain stable during the
high period of the SCL clock pulse. Changes in SDA
while the SCL is high are control signals (see the
START and STOP Conditions section). SDA and SCL
idle high when the I2C bus is not busy.
START and STOP Conditions
When the serial interface is inactive, SDA and SCL idle
high. A master device initiates communication by issuing a START condition. A START condition is a high-to-
Figure 1. Two-Wire Serial lnterface Timing Diagram
low transition on SDA with SCL high. A STOP condition
is a low-to-high transition on SDA while SCL is high
(Figure 2). A START condition from the master signals
the beginning of a transmission to the MAX5812. The
master terminates transmission by issuing a not
acknowledge followed by a STOP condition (see the
Acknowledge Bit section). The STOP condition frees the
bus. If a repeated START condition (Sr) is generated
instead of a STOP condition, the bus remains active.
When a STOP condition or incorrect address is detected, the MAX5812 internally disconnects SCL from the
serial interface until the next START condition, minimizing digital noise and feedthrough.
Early STOP Conditions
The MAX5812 recognizes a STOP condition at any point
during transmission except when a STOP condition
occurs in the same high pulse as a START condition
(Figure 3). This condition is not a legal I2C format, at
least one clock pulse must separate any START and
STOP conditions.
Repeated START Conditions
A repeated start (S
r
) condition might indicate a change
of data direction on the bus. Such a change occurs
when a command word is required to initiate a read
operation. Sralso can be used when the bus master is
writing to several I2C devices and does not want to
relinquish control of the bus. The MAX5812 serial interface supports continuous write operations with or without an Srcondition separating them. Continuous read
operations require Srconditions because of the change
in direction of data flow.
Acknowledge Bit (ACK)
The acknowledge bit (ACK) is the ninth bit attached to
any 8-bit data word. ACK is always generated by the
receiving device. The MAX5812 generates an ACK
when receiving an address or data by pulling SDA low
during the ninth clock period. When transmitting data,
the MAX5812 waits for the receiving device to generate
an ACK. Monitoring ACK allows detection of unsuccessful data transfers. An unsuccessful data transfer
occurs if a receiving device is busy or if a system fault
has occurred. In the event of an unsuccessful data
transfer, the bus master should reattempt communication at a later time.
Slave Address
A bus master initiates communication with a slave
device by issuing a START condition followed by the
7-bit slave address (Figure 4). When idle, the MAX5812
waits for a START condition followed by its slave
address. The serial interface compares each address
value bit-by-bit, allowing the interface to power-down
immediately when an incorrect address is detected.
The LSB of the address word is the Read/Write (R/W)
bit. R/W indicates whether the master is writing to or
reading from the MAX5812 (R/W = 0 selects the write
condition, R/W = 1 selects the read condition). After
receiving the proper address, the MAX5812 issues an
ACK by pulling SDA low for one clock cycle.
The MAX5812 has eight factory/user-programmed
addresses (Table 2). Address bits A6 through A1 are
preset; A0 is controlled by ADD. Connecting ADD to
GND sets A0 = 0. Connecting ADD to VDDsets A0 = 1.
This feature allows up to eight MAX5812s to share a bus.
Write Data Format
In write mode (R/W = 0), data that follows the address
byte controls the MAX5812 (Figure 5). Bits C3–C0 configure the MAX5812 (Table 3). Bits D11–D0 are DAC
data. Input and DAC registers update on the falling
edge of SCL during the acknowledge bit. Should the
write cycle be prematurely aborted, data will not be
updated and the write cycle must be repeated. Figure
6 shows two example write data sequences.
Figure 4. Slave Address Byte Definition
Table 2. MAX5812 I2C Slave Addresses
Figure 5. Command Byte Definition
PARTV
MAX5812LGND0010 000
MAX5812LV
MAX5812MGND0010 010
MAX5812MV
MAX5812NGND0110 100
MAX5812NV
MAX5812PGND1010 100
MAX5812PV
S A6A5A4A3A2A1A0R/W
C3C2C1C0D11D10D9D8
ADD
DD
DD
DD
DD
DEVICE ADDRESS
...A0)
(A
6
0010 001
0010 011
0110 101
1010 101
Page 10
MAX5812
12-Bit Low-Power, 2-Wire, Serial
Voltage-Output DAC
*When C3 = 0 and C2 = 1, data bits D11 and D10 write to the power-down registers (PD1 and PD0).
X = Don’t care.
C3C2C1C0D11/PD1* D10/PD0*D9–D8
1100
1101
1110
1111 XXXX
10XX XXXX
01XX00XXPowers up device.
01XX 01XX
01XX 10XX
01XX 11XX
SERIAL DATA INPUT
DAC
DATA
DAC
DATA
DAC
DATA
DAC
DATA
DAC
DATA
DAC
DATA
DAC
DATA
DAC
DATA
DAC
DATA
Load DAC with a new data from the following data byte
and update DAC output simultaneously as soon as data
is available from the serial bus. The DAC and input
registers are updated with the new data.
Load input register with the data from the following data
byte. DAC output remains unchanged.
Load input register with data from the following data byte.
Update DAC output to the previously stored data.
Update DAC output from input register. The device will
ignore any new data.
Read data request. Data bits are ignored. The contents of
the DAC register are available on the bus.
Power-down mode 0. Powers down device with output
floating.
Power-down mode 1. Powers down device with output
terminated with 1kΩ to GND.
Power-down mode 2. Powers down device with output
terminated with 100kΩ to GND.
In read mode (R/W = 1), the MAX5812 writes the contents of the DAC register to the bus. The direction of
data flow reverses after the address acknowledge by
the MAX5812. The device transmits the first byte of
data, waits for the master to acknowledge, and then
transmits the second byte. Figure 7 shows an exampleread data sequence.
I
2
C Compatibility
The MAX5812 is compatible with existing I2C systems.
SCL and SDA are high-impedance inputs; SDA has an
open drain that pulls the data line low during the ninth
clock pulse. The Typical Operating Circuit shows a typical I
2
C application. The communication protocol sup-
ports standard I
2
C 8-bit communications. The general
call address is ignored. The MAX5812 address is com-
patible only with the 7-bit I
2
C addressing protocol. Ten-
bit address formats are not supported.
Digital Feedthrough Suppression
When the MAX5812 detects an address mismatch, the
serial interface disconnects the SCL signal from the
core circuitry. This minimizes digital feedthrough
caused by the SCL signal on a static output. The serial
interface reconnects the SCL signal when a valid
START condition is detected.
Applications Information
Powering the Device From an
External Reference
The MAX5812 uses the VDDas the DAC voltage reference. Any power-supply noise is directly coupled to the
device output. The circuit in Figure 8 uses a precision
voltage reference to power the MAX5812, isolating the
device from any power-supply noise. Powering the
MAX5812 in such a manner greatly improves overall
performance, especially in noisy systems. The
MAX6030 (3V, 75ppm/°C) or the MAX6050 (5V,
75ppm/°C) precision voltage references are ideal
choices because of the low power requirements of the
MAX5812.
Digital Inputs and Interface Logic
The MAX5812 2-wire digital interface is I2C and SMBuscompatible. The two digital inputs (SCL and SDA) load
Figure 7. Example Read Word Data Sequence
Figure 8. Powering the MAX5812 from An External Reference
MSBLSBMSBLSB
SA6
SrA6
MSBLSB
D7D6D5D4D3D2D1D0
A4A3A2A1A0C3C2
A5
DATA BYTES GENERATED BY MASTER DEVICE
A4A3A2A1A0
A5
DATA BYTES GENERATED BY MAX5812
IN
MAX6030/
MAX6050
GND
OUT
V
DD
MAX5812
GND
R/W
= 0
LSBMSB
R/W
= 1
OUT
XX XXX
ACK
MSBLSB
ACK
ACKP
XX
X
PD0D11D10D9D8
PD1
ACK GENERATED BY
MASTER DEVICE
ACK
ACK
Page 12
MAX5812
the digital input serially into the DAC. Schmitt-trigger
buffered inputs allow slow transition interfaces such as
optocouplers to interface directly to the device. The
digital inputs are compatible with CMOS logic levels.
Power-Supply Bypassing and
Ground Management
Careful PC board layout is important for optimal system
performance. Keep analog and digital signals separate
to reduce noise injection and digital feedthrough. Use a
ground plane to ensure that the ground return from
GND to the power supply ground is short and low
impedance. Bypass V
DD
with a 0.1µF capacitor to
ground as close to the device as possible.
Chip Information
TRANSISTOR COUNT: 7172
PROCESS: BiCMOS
12-Bit Low-Power, 2-Wire, Serial
Voltage-Output DAC
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 13