MAX5304
10-Bit Voltage-Output DAC
in 8-Pin µMAX
_______________________________________________________________________________________ 7
In shutdown mode, the amplifier’s output and the refer-
ence input enter a high-impedance state. The serial
interface remains active. Data in the input register is
retained in shutdown, allowing the MAX5304 to recall
the output state prior to entering shutdown. Exit shut-
down mode by either recalling the previous configura-
tion or updating the DAC with new data. When
powering up the device or bringing it out of shutdown,
allow 20µs for the outputs to stabilize.
Serial-Interface Configurations
The MAX5304’s 3-wire serial interface is compatible
with MICROWIRE (Figure 2) and SPI/QSPI (Figure 3).
The serial-input word consists of three control bits fol-
lowed by 10+3 data bits (MSB first), as shown in Figure
4. The 3-bit control code determines the MAX5304’s
response outlined in Table 1.
The MAX5304’s digital inputs are double buffered.
Depending on the command issued through the serial
interface, the input register can be loaded without
affecting the DAC register, the DAC register can be
loaded directly, or the DAC register can be updated
from the input register (Table 1).
Serial-Interface Description
The MAX5304 requires 16 bits of serial data. Table 1
lists the serial-interface programming commands. For
certain commands, the 10+3 data bits are “don’t
cares.” Data is sent MSB first and can be sent in two 8-
bit packets or one 16-bit word (CS must remain low
until 16 bits are transferred). The serial data is com-
posed of three control bits (C2, C1, C0), followed by
the 10+3 data bits D9...D0, S2, S1, S0 (Figure 4). Set
the sub-bits (S2, S1, S0) to zero. The 3-bit control code
determines the register to be updated and the configu-
ration when exiting shutdown.
Figure 5 shows the serial-interface timing requirements.
The chip-select pin (CS) must be low to enable the
DAC’s serial interface. When CS is high, the interface
control circuitry is disabled. CS must go low at least
t
CSS
before the rising serial-clock (SCLK) edge to prop-
erly clock in the first bit. When CS is low, data is
clocked into the internal shift register through the serial-
data input pin (DIN) on SCLK’s rising edge. The maxi-
mum guaranteed clock frequency is 10MHz. Data is
latched into the MAX5304 input/DAC register on CS’s
rising edge.
SCLK
DIN
CS
SK
SO
I/O
MAX5304
MICROWIRE
PORT
Figure 2. Connections for MICROWIRE
DIN
SCLK
CS
MOSI
SCK
I/O
SPI/QSPI
PORT
SS
+5V
CPOL = 0, CPHA = 0
MAX5304
Figure 3. Connections for SPI/QSPI
Figure 4. Serial-Data Format
3 Control
Bits
10+3 Data Bits
D9 ...............................D0, S2, S1, S0C2 C1 C0
Data Bits
MSB............................LSB Sub-Bits
Control
Bits
16 Bits of Serial Data
MSB ..................................................................................LSB
MAX5304
10-Bit Voltage-Output DAC
in 8-Pin µMAX
8 _______________________________________________________________________________________
16-BIT SERIAL WORD
CS
SCLK
DIN
COMMAND
EXECUTED
9
8
16
1
C1
C2 S0
C0
D9
D8
D7
D6 D3 D2 D1 D0 S2 S1D5 D4
Figure 5. Serial-Interface Timing Diagram
Figure 6. Detailed Serial-Interface Timing Diagram
Table 1. Serial-Interface Programming Commands
X = Don’t care
XXXXXXXXXX
XXXXXXXXXX
10 bits of data
10 bits of data
XXXXXXXXXX
XXX
XXX
C2 C1 C0
000
S2...S0
D9.......................D0
MSB LSB
000
XXX
11 1
X1 0
X0 1
X0 0
01 1
SCLK
DIN
t
CSO
t
CSS
t
CL
t
CH
t
CP
t
CSW
t
CS1
t
CSH
t
DS
t
DH
CS
Shutdown
Update DAC register from input register (also exit shutdown; recall
previous state).
Load input register; DAC register unchanged.
FUNCTION
Load input register; DAC register immediately updated (also exit
shutdown).
No operation (NOP)
16-BIT SERIAL WORD
MAX5304
10-Bit Voltage-Output DAC
in 8-Pin µMAX
_______________________________________________________________________________________ 9
Figure 7 shows a method of connecting several
MAX5304s. In this configuration, the clock and the data
bus are common to all devices, and separate chip-
select lines are used for each IC.
Applications Information
Unipolar Output
For a unipolar output, the output voltage and the refer-
ence input have the same polarity. Figure 8 shows the
MAX5304 unipolar output circuit, which is also the typi-
cal operating circuit. Table 2 lists the unipolar output
codes.
Figure 9 illustrates a Rail-to-Rail
®
output configuration.
This circuit shows the MAX5304 with the output amplifi-
er configured for a closed-loop gain of +2V/V to provide
a 0 to 5V full-scale range when a 2.5V reference is used.
Bipolar Output
The MAX5304 output can be configured for bipolar
operation using Figure 10’s circuit according to the fol-
lowing equation:
V
OUT
= V
REF
[(2NB / 1024) - 1]
where NB is the numeric value of the DAC’s binary
input code. Table 3 shows digital codes (offset binary)
and corresponding output voltages for Figure 10’s cir-
cuit.
Using an AC Reference
In applications where the reference has AC signal com-
ponents, the MAX5304 has multiplying capability within
the reference input range specifications. Figure 11
shows a technique for applying a sine-wave signal to
the reference input where the AC signal is offset before
being applied to REF. The reference voltage must
never be more negative than GND.
TO OTHER
SERIAL DEVICES
MAX5304
DIN
SCLK
CS
MAX5304
DIN
SCLK
MAX5304
DIN
SCLK
DIN
SCLK
CS1
CS2
CS3
CS
CS
Figure 7. Multiple MAX5304s Sharing Common DIN and SCLK Lines
Table 2. Unipolar Output Codes
Note: ( ) are for sub-bits.
ANALOG OUTPUT
11 1111 1111 (000)
10 0000 0001 (000)
DAC CONTENTS
MSB LSB
10 0000 0000 (000)
01 1111 1111 (000)
00 0000 0000 (000) 0V
00 0000 0001 (000)
+V
1023
1024
REF
+V
513
1024
REF
+V
512
1024
V
2
REF
REF
=
+
+V
511
1024
REF
+V
1
1024
REF
Rail-to-Rail is a registered trademark of Nippon Motorola, Ltd.

MAX5304CUA+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Digital to Analog Converters - DAC 10-Bit 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