MAX509/MAX510
Quad, Serial 8-Bit DACs
with Rail-to-Rail Outputs
10 ______________________________________________________________________________________
• • •
• • •
• • •
• • •
• • •
t
LDW
SCLK
DIN
DOUT
LDAC
CS
t
DO
t
DH
t
DS
t
CSH0
t
CSS
t
CH
t
CL
t
CSH1
t
CSH2
t
CLL
NOTE: TIMING SPECIFICATION t
CLL
IS RECOMMENDED TO MINIMIZE OUTPUT GLITCH, BUT IS NOT MANDATORY.
Figure 2. Detailed Serial Interface Timing (Mode 0 Shown)
Table 1. Serial-Interface Programming Commands
Mode 0, DOUT clocked out on falling edge of SCLK.
All DACs updated from input registers.
Mode 1, DOUT clocked out on rising edge of SCLK
(default). All DACs updated from respective input
registers.
LDAC” Command, all DACs updated from respective
input registers.
12-Bit Serial Word
0
0
1
1
0
0
1
1
C0
0
0
0
0
0
1
1
1
1
1
1
1
1
C1
1
1
1
0
0
1
1
1
1
0
0
0
0
A0
0
1
X
1
0
0
1
0
1
0
1
0
1
FunctionLDAC
D7 . . . . . . . . D0
A1
XX X X X X X X X1
XX X X X X X X X1
XX X X X X X X X0
No Operation (NOP), shifts data in shift register.XX X X X X X X X X
Update all DACs from shift register.X8-Bit DAC DataX
Load input and DAC register A.
Load input and DAC register B.
Load input and DAC register C.
Load input and DAC register D.
1
1
1
1
8-Bit DAC Data
8-Bit DAC Data
8-Bit DAC Data
8-Bit DAC Data
Load DAC A input register, DAC output unchanged.
Load DAC B input register, DAC output unchanged.
Load DAC C input register, DAC output unchanged.
Load DAC D input register, DAC output unchanged.
1
1
1
1
8-Bit DAC Data
8-Bit DAC Data
8-Bit DAC Data
8-Bit DAC Data
Serial Input Data Format and Control Codes
The 12-bit serial input format shown in Figure 3 com-
prises two DAC address bits (A1, A0), two control bits
(C1, C0) and eight bits of data (D0...D7).
The 4-bit address/control code configures the DAC as
shown in Table 1.
Load Input Register, DAC Registers Unchanged
(Single Update Operation)
When performing a single update operation, A1 and A0
select the respective input register. At the rising edge
of CS, the selected input register is loaded with the cur-
rent shift-register data. All DAC outputs remain
unchanged. This preloads individual data in the input
register without changing the DAC outputs.
Load Input and DAC Registers
This command directly loads the selected DAC register
at CS's rising edge. A1 and A0 set the DAC address.
Current shift-register data is placed in the selected
input and DAC registers.
For example, to load all four DAC registers simultaneously
with individual settings (DAC A = 1V, DAC B = 2V, DAC
C = 3V and DAC D = 4V), five commands are required.
First, perform four single input register update opera-
tions. Next, perform an “LDAC” command as a fifth
command. All DACs will be updated from their respec-
tive input registers at the rising edge of CS.
Update All DACs from Shift Registers
All four DAC registers are updated with shift-register
data. This command allows all DACs to be set to any
analog value within the reference range. This command
can be used to substitute CLR if code 00 hex is pro-
grammed, which clears all DACs.
No Operation (NOP)
The NOP command (no operation) allows data to be shift-
ed through the MAX509/MAX510 shift register without
affecting the input or DAC registers. This is useful in daisy
chaining (also see the
Daisy-Chaining Devices
section).
For this command, the data bits are "Don't Cares." As an
example, three MAX509/MAX510s are daisy-chained (A, B
and C), and DAC A and DAC C need to be updated. The
36-bit-wide command would consist of one 12-bit word for
device C, followed by an NOP instruction for device B and
a third 12-bit word with data for device A. At CS's rising
edge, only device B is not updated.
“LDAC” Command (Software)
All DAC registers are updated with the contents of their
respective input registers at CS's rising edge. With the
exception of using CS to execute, this performs the
same function as the asynchronous LDAC.
Set DOUT Phase – SCLK Rising (Mode 1, Default)
Mode 1 resets the serial output DOUT to transition at
SCLK's rising edge. This is the MAX509/MAX510’s
default setting after the supply voltage has been
applied.
The command also loads all DAC registers with the con-
tents of their respective input registers, and is identical to
the “LDAC command.
MAX509/MAX510
Quad, Serial 8-Bit DACs
with Rail-to-Rail Outputs
______________________________________________________________________________________ 11
This is the first bit shifted in
A1 A0 C1 C0 D7 D6
● ● ●
D1 D0
DIN
DOUT
Control and
Address bits
8-bit DAC data
MSB
LSB
Figure 3. Serial Input Format
(LDAC = H)
(LDAC = x)
(LDAC = x)
(LDAC = x)
(LDAC = x)
(LDAC = H)
1 01 1 xxxxxxxx
D0D1D2D3D4D5D6D7C0
C1
A0
A1
8-Bit DAC Data0 0x 0
D0
D1D2D3D4D5D6D7
C0
C1
A0
A1
xxx xx xxx0 0x 1
D0D1D2D3D4D5D6D7C0
C1
A0
A1
1 00 x xx x xx x xx
D0D1D2D3D4D5D6D7C0
C1
A0
A1
8-Bit Data0 1Address
D0
D1D2D3D4D5D6D7
C0
C1
A0
A1
8-Bit Data1 1Address
D0
D1D2D3D4D5D6D7
C0
C1
A0
A1
Set DOUT Phase – SCLK Falling (Mode 0)
This command resets DOUT to transition at SCLK's falling
edge. Once this command is issued, the phase of DOUT is
latched and will not change except on power-up or if the
specific command is issued that sets the phase to rising
edge.
The same command also updates all DAC registers with
the contents of their respective input registers, identical to
the “LDAC” command.
LDAC Operation (Hardware)
LDAC is typically used in 4-wire interfaces (Figure 7).
LDAC allows asynchronous hardware control of the DAC
outputs and is level-sensitive. With LDAC low, the DAC reg-
isters are transparent and any time an input register is
updated, the DAC output immediately follows.
Clear DACs with CLR
Strobing the CLR pin low causes an asynchronous clear of
input and DAC registers and sets all DAC outputs to zero.
Similar to the LDAC pin, CLR can be invoked at any time,
typically when the device is not selected (CS = H). When
the DAC data is all zeros, this function is equivalent to the
"Update all DACs from Shift Registers" command.
Digital Inputs and Outputs
Digital inputs and outputs are compatible with both TTL and
5V CMOS logic. The power-supply current (I
DD
) depends
on the input logic levels. Using CMOS logic to drive CS,
SCLK, DIN, CLR and LDAC turns off the internal level trans-
lators and minimizes supply currents.
Serial Data Output
DOUT is the output of the internal shift register. DOUT can be
programmed to clock out data on SCLK's falling edge (mode
0) or rising edge (mode 1). In mode 0, output data lags the
input data by 12.5 clock cycles, maintaining compatibility with
Microwire, SPI, and QSPI. In mode 1, output data lags the input
by 12 clock cycles. On power-up, DOUT defaults to mode 1
timing. DOUT never three-states; it always actively drives either
high or low and remains unchanged when CS is high.
Interfacing to the Microprocessor
The MAX509/MAX510 are Microwire, SPI, and QSPI compati-
ble. For SPI and QSPI, clear the CPOL and CPHA configura-
tion bits (CPOL = CPHA = 0). The SPI/QSPI CPOL = CPHA
= 1 configuration can also be used if the DOUT output is
ignored.
The MAX509/MAX510 can interface with Intel's
80C5X/80C3X family in mode 0 if the SCLK clock polarity is
inverted. More universally, if a serial port is not available,
three lines from one of the parallel ports can be used for bit
manipulation.
Digital feedthrough at the voltage outputs is greatly mini-
mized by operating the serial clock only to update the regis-
ters. Also see the Clock Feedthrough photo in the
Typical
Operating Characteristics
section. The clock idle state is low.
Daisy-Chaining Devices
Any number of MAX509/MAX510s can be daisy-chained by
connecting the DOUT pin of one device to the DIN pin of the
following device in the chain. The NOP instruction (Table 1)
allows data to be passed from DIN to DOUT without chang-
ing the input or DAC registers of the passing device. A three-
wire interface updates daisy-chained or individual
MAX509/MAX510s simultaneously by bringing CS high.
Quad, Serial 8-Bit DACs
with Rail-to-Rail Outputs
12 ______________________________________________________________________________________
SCLK
DIN
DOUT
CS
SK
SO
SI
I/0
MICROWIRE
PORT
MAX509
MAX510
THE DOUT-SI CONNECTION IS NOT REQUIRED FOR WRITING TO THE
MAX509/MAX510, BUT MAY BE USED FOR READ-BACK PURPOSES.
Figure 4. Connections for MICROWIRE
DOUT
DIN
SCLK
CS
MISO
MOSI
SCK
I/0
SPI
PORT
MAX509
MAX510
THE DOUT-MISO CONNECTION IS NOT REQUIRED FOR WRITING TO THE
MAX509/MAX510, BUT MAY BE USED FOR READ-BACK PURPOSES.
CPOL = 0, CPHA = 0
Figure 5. Connections for SPI
(LDAC = x)
A1 A0 C1 C0 D7 D6 D5 D4 D3 D2 D1 D0
xxxxxxxx1 0 1 0
MAX509/MAX510

MAX509BCWP+

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