MAX5115/MAX5116
Nonvolatile, Quad, 8-Bit DACs with 2-Wire Serial
Interface
______________________________________________________________________________________ 13
Acknowledge Bit (ACK) and Not-
Acknowledge Bit (NACK)
Successful data transfers are acknowledged with an
acknowledge bit (ACK) or a not-acknowledge bit
(NACK). Both the master and the MAX5115/MAX5116
(slave) generate acknowledge bits. To generate an
acknowledge, the receiving device must pull SDA low
before the rising edge of the acknowledge-related
clock pulse (ninth pulse) and keep it low during the
high period of the clock pulse (Figure 7). To generate a
not acknowledge, the receiver allows SDA to be pulled
high before the rising edge of the acknowledge-related
clock pulse and leaves it high during the high period of
the clock pulse.
Monitoring the acknowledge bits allows for detection of
unsuccessful data transfers. An unsuccessful data
transfer happens if a receiving device is busy or if a
system fault has occurred. In the event of an unsuc-
cessful data transfer, the master should reattempt com-
munication at a later time.
Slave Address
A master initiates communication with a slave device
by issuing a START condition followed by a slave
address (Figure 8). The slave address consists of 7
address bits and a read/write bit (R/W). When idle, the
device continuously waits for a START condition fol-
lowed by its slave address. When the device recog-
nizes its slave address, it acquires the data byte and
executes the command. The first 3 bits (MSBs) of the
slave address have been factory programmed and are
always 010. Connect A3–A0 to V
DD
or GND to program
the remaining 4 bits of the slave address. The least sig-
nificant bit (LSB) of the address byte (R/W) determines
whether the master is writing to or reading from the
MAX5115/MAX5116. (R/W = 0 selects a write condition.
R/W = 1 selects a read condition.) After receiving the
address, the MAX5115/MAX5116 (slave) issues an
acknowledge by pulling SDA low for one clock cycle.
SCL
SDA
STOP START
SCL
SDA
ILLEGAL
STOP
START
ILLEGAL EARLY STOP CONDITION
LEGAL STOP CONDITION
Figure 6. Early STOP Conditions
189
ACKNOWLEDGE
NOT ACKNOWLEDGE
SCL
S
SDA
Figure 7. Acknowledge and Not-Acknowledge Bits
SCL
SDA
123
0
A3
10
894567
A2 A1 A0
R/W
ACK
ACKNOWLEDGE
S
Figure 8. Slave Address Byte
MAX5115/MAX5116
Nonvolatile, Quad, 8-Bit DACs with 2-Wire Serial
Interface
14 ______________________________________________________________________________________
Write Cycle
The write command requires 27 clock cycles. In write
mode (R/W = 0), the command byte that follows the
address byte controls the MAX5115/MAX5116 (Table 1).
For a write function, set bits C7 and C6 to zero. Set bits
C5 and C4 to select the volatile or nonvolatile register
(Table 2). Set bits C3–C0 to select the respective DAC
register (Table 3). The registers update on the rising
edge of the 26th SCL pulse. Prematurely aborting the
write cycle does not update the DAC. See Table 4 for a
summary of the write commands.
Read Cycle
A read command requires 36 clock cycles. In read
mode, the MAX5115/MAX5116 send the contents of the
volatile and nonvolatile registers to the bus. Reading a
register requires a REPEATED START (Sr) condition. To
read a register first, write a read command (R/W = 0,
Figure 9). Set the most significant 2 bits of the com-
mand byte to 10 (C7 = 1 and C6 = 0). Set bits C5 and
C4 to read from either the volatile or nonvolatile register
(Table 5). Set bits C3–C0 to select the desired DAC
register (Table 6). After the command byte, send a (Sr)
condition followed by the address of the device
(R/W = 1). The MAX5115/MAX5116 then acknowledge
and send the data on the bus.
Mute/Power-Down Mode
The MAX5115/MAX5116 feature software-controlled
mute and power-down modes for each DAC. The
power-down mode places the DAC output in a high-
impedance state and reduces quiescent-current con-
sumption (25µA (max) with all DACs powered-down).
S0
1
0
A3 A2 A1 A0
A3 A2 A1 A0
10NVVR3R2R1R0
C7 C6 C5 C4 C3 C2 C1 C0
Sr 0
1
0
MSB LSB
MSB LSB
LSBMSB
ACK
ACK
ACK
NACK
R/W
= 1
D7 D6
D5
D4 D3 D2 D1 D0 P
MSB LSB
ADDRESS AND COMMAND BYTES GENERATED BY MASTER DEVICE
DATA BYTE GENERATED BY MAX5115/MAX5116
NACK GENERATED BY
MASTER DEVICE
R/W
= 0
Figure 9. Example Read Word Data Sequence
ADDRESS BYTE COMMAND BYTE DATA BYTE
START
R/W
C
7
C
6
C
5
C
4
C
3
C
2
C
1
C
0
D
7
D
6
D
5
D
4
D
3
D
2
D
1
D
0
STOP
Master
SDA
S010
A
3
A
2
A
1
A
0
0
C
7
C
6
N
V
V
R
3
R
2
R
1
R
0
D7–D0 P
Slave
SDA
A
C
K
A
C
K
A
C
K
Table 1. Write Operation
MAX5115/MAX5116
Nonvolatile, Quad, 8-Bit DACs with 2-Wire Serial
Interface
______________________________________________________________________________________ 15
Mute drives the selected DAC output to the correspond-
ing REFL_ voltage. The volatile DAC registers retain data
and the output returns to its previous state when mute is
disabled. The MAX5116 also features an asynchronous
MUTE input that mutes all DACs simultaneously.
The volatile and nonvolatile registers remain active
while the MAX5115/MAX5116 are in mute and power-
down modes. Writing to or reading from the volatile or
nonvolatile registers does not remove the MAX5115/
MAX5116 from mute or power-down mode. Writing or
transferring data to the volatile registers while the
device is muted or powered down updates the DAC
outputs to the new state upon exiting mute or power-
down mode.
Mute/Power-Down Register and Operation
Separate nonvolatile and volatile control registers store
and update the state of the mute/power-down mode for
each DAC. Tables 7 and 8 show how to access and
control each register. Register access is gained by set-
ting control bits C3–C0 to 0100. Bits C5 and C4 indi-
cate whether the nonvolatile or volatile control register
is accessed. The volatile register maintains data while
NONVOLATILE
(NV)
VOLATILE
(V)
FUNCTION
00
Transfer data from NVREG_ to
VREG_
0 1 Write to VREG_
1 0 Write to NVREG_
1 1 Write to NVREG and VREG_
Table 2. Volatile and Nonvolatile Write
Selection
R3 R2 R1 R0 FUNCTION
0 0 0 0 DAC0
0 0 0 1 DAC1
0 0 1 0 DAC2
0 0 1 1 DAC3
1 1 1 1 All DACs*
Table 3. DAC Write Selection
*This option is only valid for a write to all volatile registers.
DATA BYTE
ADDRESS
BYTE
COMMAND BYTE
MSB LSB
COMMAND
S
T
A
R
T
R/W
A
C
K
C
7
C
6
C
5
C
4
C
3
C
2
C
1
C
0
A
C
K
D
7
D
6
D
5
D
4
D
3
D
2
D
1
D
0
A
C
K
STOP
Write VREG_ S 0 0 0 0 1
R
3
R
2
R
1
R
0
D7–D0 P
Write All
VREG_*
S 0 00011111 D7–D0 P
Write
NVREG_
S 0 0010
R
3
R
2
R
1
R
0
D7–D0 P
Write VREG_
and NVREG_
S 0 0011
R
3
R
2
R
1
R
0
D7–D0 P
Transfer
NVREG_ to
VREG_
S 0 0000
R
3
R
2
R
1
R
0
—P
Table 4. Write-Command Summary
*This option is only valid for a write to all volatile registers.

MAX5116EEE+

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

Products related to this Datasheet