max536-max537
max536-max537
MAX536/MAX537
The MAX536/MAX537 combine four 12-bit, voltage-output ♦ Four 12-Bit DACs with Output Buffers
digital-to-analog converters (DACs) and four precision ♦ Simultaneous or Independent Control of Four
output amplifiers in a space-saving 16-pin package. DACs via a 3-Wire Serial Interface
Offset, gain, and linearity are factory calibrated to provide ♦ Power-On Reset
the MAX536’s ±1 LSB total unadjusted error. The ♦ SPI/QSPI and MICROWIRE Compatible
MAX537 operates with ±5V supplies, while the MAX536
uses -5V and +10.8V to +13.2V supplies. ♦ ±1 LSB Total Unadjusted Error (MAX536)
♦ Full 12-Bit Performance without Adjustments
Each DAC has a double-buffered input, organized as
an input register followed by a DAC register. A 16-bit ♦ ±5V Supply Operation (MAX537)
serial word is used to load data into each input/DAC ♦ Double-Buffered Digital Inputs
register. The serial interface is compatible with either ♦ Buffered Voltage Output
SPI/QSPI™ or MICROWIRE™, and allows the input and ♦ 16-Pin DIP/SO Packages
DAC registers to be updated independently or simulta-
neously with a single software command. The DAC reg- ______________ Ordering Information
isters can be simultaneously updated with a hardware
LDAC pin. All logic inputs are TTL/CMOS compatible. PIN- INL
PART TEMP RANGE
PACKAGE (LSB)
________________________Applications MAX536ACPE+ 0°C to +70°C 16 PDIP ±0.5
Industrial Process Controls MAX536BCPE+ 0°C to +70°C 16 PDIP ±1
Automatic Test Equipment MAX536ACWE+ 0°C to +70°C 16 Wide SO ±0.5
Digital Offset and Gain Adjustment MAX536BCWE+ 0°C to +70°C 16 Wide SO ±1
CS SCK REFCD
SDI DIP/SO
SPI and QSPI are trademarks of Motorola, Inc. MICROWIRE is a trademark of National Semiconductor Corp.
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642,
or visit Maxim’s website at www.maxim-ic.com.
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
MAX536/MAX537
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.
ELECTRICAL CHARACTERISTICS—MAX536
(VDD = +12V, VSS = -5V, REFAB/REFCD = 8V, AGND = DGND = 0V, RL = 5kΩ, CL = 100pF, TA = TMIN to TMAX, unless
otherwise noted. Typical values are at TA = +25°C.)
2 ____________________________________________________________________________________________________
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
ELECTRICAL CHARACTERISTICS—MAX536 (continued)
MAX536/MAX537
(VDD = +12V, VSS = -5V, REFAB/REFCD = 8V, AGND = DGND = 0V, RL = 5kΩ, CL = 100pF, TA = TMIN to TMAX, unless
otherwise noted. Typical values are at TA = +25°C.)
_______________________________________________________________________________________ 3
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
ELECTRICAL CHARACTERISTICS—MAX536 (continued)
MAX536/MAX537
(VDD = +12V, VSS = -5V, REFAB/REFCD = 8V, AGND = DGND = 0V, RL = 5kΩ, CL = 100pF, TA = TMIN to TMAX, unless
otherwise noted. Typical values are at TA = +25°C.)
4 _______________________________________________________________________________________
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
ELECTRICAL CHARACTERISTICS—MAX537
MAX536/MAX537
(VDD = +5V, VSS = -5V, REFAB/REFCD = 2.5V, AGND = DGND = 0V, RL = 5kΩ, CL = 100pF, TA = TMIN to TMAX, unless
otherwise noted. Typical values are at TA = +25°C.)
_______________________________________________________________________________________ 5
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
MAX536/MAX537
6 _______________________________________________________________________________________
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
MAX536/MAX537
ELECTRICAL CHARACTERISTICS—MAX537 (continued)
(VDD = +5V, VSS = -5V, REFAB/REFCD = 2.5V, AGND = DGND = 0V, RL = 5kΩ, CL = 100pF, TA = TMIN to TMAX, unless
otherwise noted. Typical values are at TA = +25°C.)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
CS Fall to SDO Enable tDV CLOAD = 50pF, MAX537_C/E 75 140 ns
CS Rise to DSO Disable (Note 10) tTR CLOAD = 50pF, MAX537_C/E 70 130 ns
SCK Rise to CS Fall Delay tCSO Continuous SCK, SCK edge ignored 35 ns
CS Rise to SCK Rise Hold Time tCS1 SCK edge ignored, MAX537_C/E 35 ns
LDAC Pulse Width High tLDAC MAX537_C/E 50 ns
CS Pulse Width High tCSW MAX537_C/E 100 ns
Note 2: Guaranteed by design.
Note 3: Crosstalk is defined as the glitch energy at any DAC output in response to a full-scale step change on any other DAC.
Note 4: Digital inputs at 2.4V; with digital inputs at CMOS levels, IDD decreases slightly.
Note 5: All input signals are specified with tR = tF ≤ 5ns. Logic input swing is 0 to 5V.
Note 6: Serial data clocked out of SDO on SCK’s falling edge. (SDO is an open-drain output for the MAX536. The MAX537’s SDO
pin has an internal active pullup.)
Note 7: Serial data clocked out of SDO on SCK’s rising edge.
Note 10: When disabled, SDO is internally pulled high.
_______________________________________________________________________________________ 7
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
MAX536/MAX537
MAX1536/7-03
MAX536/7-02
VSS = -5V REFAB SWEPT 2VP-P DAC CODE = ALL 1s
VOUTA MONITORED 0.175 REFAB = 10VP-P
10
0.6
RELATIVE OUTPUT (dB) 0.150
0 RL = 10kΩ, CL = 100pF
MAX536
TOTAL HARMONIC DISTORTION PLUS NOISE MAX536
MAX536
vs. REFERENCE FREQUENCY SUPPLY CURRENT vs. TEMPERATURE
FULL-SCALE ERROR vs. LOAD
0.200 1 10
MAX1536/7-03b
MAX536/7-05
MAX536/7-04
-1
THD + NOISE (%)
VSS = -5V
0.125 2
0 -5 -10
10 100 200 0.1 1 10 100 1000 -60 -20 20 60 100 140
FREQUENCY (kHz) LOAD (kΩ) TEMPERATURE (°C)
MAX536 MAX536
REFERENCE FEEDTHROUGH AT 400Hz REFERENCE FEEDTHROUGH AT 4kHz
REFAB, REFAB,
5V/div 5V/div
0V 0V
OUTA, OUTA,
100µV/div 200µV/div
500µs/div 50µs/div
INPUT CODE = ALL 0s INPUT CODE = ALL 0s
8 _______________________________________________________________________________________
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
____________________________Typical Operating Characteristics (continued)
MAX536/MAX537
(TA = +25°C, unless otherwise noted.)
MAX536 MAX536
MAX536 NEGATIVE FULL-SCALE SETTLING TIME
DYNAMIC RESPONSE (ALL BITS ON, OFF, ON) (ALL BITS ON TO ALL BITS OFF)
CS,
5V/div
CS,
5V/div
OUTA,
5V/div
OUTA,
2V/div OUTA,
5mV/div
5µs/div 1µs/div
VDD = +15V, VSS = -5V, REFAB = 5V, CL = 100pF, RL = 10kΩ VDD = +15V, VSS = -5V, REFAB = 10V, CL = 100pF, RL = 10kΩ
MAX536
POSITIVE FULL-SCALE SETTLING TIME MAX536
(ALL BITS OFF TO ALL BITS ON) DIGITAL FEEDTHROUGH
CS,
5V/div SCK,
5V/div
OUTA,
5V/div
OUTA, OUTA,
-10V OFFSET AC-COUPLED,
5mV/div
10mV/div
1µs/div
VDD = +15V, VSS = -5V, REFAB = 10V, CL = 100pF, RL = 10kΩ VDD = +15V, VSS = -5V, REFAB = 10V, CS = HIGH,
DIN TOGGLING AT 1⁄2 THE CLOCK RATE,
OUTA = 5V
_______________________________________________________________________________________ 9
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
MAX536/MAX537
MAX536/7-07
MAX1536/7-14
REFAB SWEPT 2VP-P REFAB = 2.5VP-P
VDD = +5V
1.5 10 VOUTA MONITORED 0.175
VSS = -5V
1.0 0.150
RELATIVE OUTPUT (dB)
0
0.5 0.125
-10 RL = 10kΩ, CL = 100pF
0 0.100
-20
-0.5 0.075
-30 RL = NO LOAD, CL = 0pF
-1.0 0.050
-1.5 -40 0.025
-2.0 -50 0
0 1 2 3 4 5 1k 10k 100k 1M 10M 10 100 200
VREF (V) FREQUENCY (Hz) FREQUENCY (kHz)
MAX537
MAX537 MAX537
TOTAL HARMONIC DISTORTION PLUS NOISE
FULL-SCALE ERROR vs. LOAD SUPPLY CURRENT vs. TEMPERATURE
vs. FREQUENCY
0.200 2 5
MAX536/7-11
MAX536/7-10
MAX1536/7-09
0
THD + NOISE (%)
VSS = -5V
0.125 1
0.100 -1
RL = 10kΩ, CL = 100pF -1
0.075 -2
ISS
0.050
-3 -3
0.025
RL = NO LOAD, CL = 0pF
-4 -5
0
10 100 200 0.1 1 10 100 1000 -60 -20 20 60 100 140
FREQUENCY (kHz) LOAD (kΩ) TEMPERATURE (°C)
MAX537 MAX537
REFERENCE FEEDTHROUGH AT 400Hz REFERENCE FEEDTHROUGH AT 4kHz
REFAB,
REFAB,
1V/div
1V/div
0V 0V
OUTA, OUTA,
AC-COUPLED, AC-COUPLED,
100µV/div 100µV/div
500µs/div 50µs/div
INPUT CODE = ALL 0s INPUT CODE = ALL 0s
10 ______________________________________________________________________________________
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
____________________________Typical Operating Characteristics (continued)
MAX536/MAX537
(TA = +25°C, unless otherwise noted.)
MAX537
MAX537
MAX537 NEGATIVE FULL-SCALE SETTLING TIME
DYNAMIC RESPONSE (ALL BITS ON, OFF, ON) (ALL BITS ON TO ALL BITS OFF)
CS,
CS, 5V/div
5V/div
OUTA,
5mV/div
OUTA,
1V/div
5µs/div 1µs/div
VDD = +5V, VSS = -5V, REFAB = 2.5V, CL = 100pF, RL = 10kΩ VDD = +5V, VSS = -5V, REFAB = 2.5V, CL = 100pF, RL = 10kΩ
MAX537
POSITIVE FULL-SCALE SETTLING TIME MAX537
(ALL BITS OFF TO ALL BITS ON) DIGITAL FEEDTHROUGH
CS, SCK,
5V/div 5V/div
OUTA, OUTA,
5mV/div AC-COUPLED,
20mV/div
1µs/div 100ns/div
VDD = +5V, VSS = -5V, REFAB = 2.5V, CL = 100pF, RL = 10kΩ VDD = +5V, VSS = -5V, REFAB = 2.5V, CS = HIGH,
DIN TOGGLING AT 1⁄2 THE CLOCK RATE,
OUTA = 1.25V
______________________________________________________________________________________ 11
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
______________________________________________________________Pin Description
MAX536/MAX537
_______________Detailed Description
The MAX536/MAX537 contain four 12-bit voltage-output
DACs that are easily addressed using a simple 3-wire R R R
VOUT
serial interface. They include a 16-bit data-in/data-out
shift register, and each DAC has a double-buffered
input composed of an input register and a DAC register 2R 2R 2R 2R 2R
(see the Functional Diagram on the front page).
D0 D9 D10 D11
The DACs are “inverted” R-2R ladder networks that
convert 12-bit digital inputs into equivalent analog out-
put voltages in proportion to the applied reference-volt-
age inputs. DAC A and DAC B share the REFAB refer- REF
12 ______________________________________________________________________________________
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
The input impedance at each reference input is code is 5µs when loaded with 5kΩ in parallel with 100pF
MAX536/MAX537
dependent, ranging from a low value of typically 6kΩ (loads less than 5kΩ degrade performance).
(with an input code of 0101 0101 0101) to a high value Output dynamic responses and settling performances
of 60kΩ (with an input code of 0000 0000 0000). Since of the MAX536/MAX537 output amplifier are shown in
the input impedance at the reference pins is code the Typical Operating Characteristics.
dependent, load regulation of the reference source is
important. Serial-Interface Configurations
The REFAB and REFCD reference inputs have a 5kΩ The MAX536/MAX537’s 3-wire or 4-wire serial interface is
guaranteed minimum input impedance. When the two compatible with both MICROWIRE (Figure 2) and
reference inputs are driven from the same source, the SPI/QSPI (Figure 3). In Figures 2 and 3, LDAC can be tied
effective minimum impedance becomes 2.5kΩ. either high or low for a 3-wire interface, or used as the
fourth input with a 4-wire interface. The connection
The reference input capacitance is also code depen- between SDO and the serial-interface port is not neces-
dent and typically ranges from 125pF to 300pF. sary, but may be used for data echo. (Data held in the
shift register of the MAX536/MAX537 can be shifted out
Output Buffer Amplifiers
of SDO and returned to the microprocessor for data veri-
All MAX536/MAX537 voltage outputs are internally
fication; data in the MAX536/MAX537 input/DAC regis-
buffered by precision unity-gain followers with a typical
ters cannot be read.)
slew rate of 5V/µs for the MAX536 and 3V/µs for the
MAX537. With a 3-wire interface (CS, SCK, SDI) and LDAC tied
high, the DACs are double-buffered. In this mode,
With a full-scale transition at the MAX536 output (0 to
depending on the command issued through the serial
8V or 8V to 0), the typical settling time to ±0.5 LSB is
interface, the input register(s) may be loaded
3µs when loaded with 5kΩ in parallel with 100pF (loads
without affecting the DAC register(s), the DAC register(s)
less than 5kΩ degrade performance).
can be loaded directly, or all four DAC registers may be
With a full-scale transition at the MAX537 output (0 to simultaneously updated from the input registers. With a 3-
2.5V or 2.5V to 0), the typical settling time to ±0.5 LSB wire interface (CS, SCK, SDI) and LDAC tied low (Figure
5V
5V
†RP †RP
1kΩ 1kΩ
SDO* MISO* SS
SCK SK
SDI MOSI
SDI SO
CS I/O
CS I/O
LDAC** I/O
LDAC** I/O
CPOL = 0, CPHA = 0
*THE SDO-SI CONNECTION IS NOT REQUIRED FOR WRITING TO THE MAX536,
BUT MAY BE USED FOR READBACK PURPOSES. *THE SDO-MISO CONNECTION IS NOT REQUIRED FOR WRITING TO THE MAX536,
BUT MAY BE USED FOR READBACK PURPOSES.
**THE LDAC CONNECTION IS NOT REQUIRED WHEN USING THE 3-WIRE INTERFACE.
**THE LDAC CONNECTION IS NOT REQUIRED WHEN USING THE 3-WIRE INTERFACE.
†THE MAX537 HAS AN INTERNAL ACTIVE PULLUP TO VDD,
†THE MAX537 HAS AN INTERNAL ACTIVE PULLUP TO VDD,
SO RP IS NOT NECESSARY.
SO RP IS NOT NECESSARY.
_______________________________________________________________________________________ 13
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
;;; ;;
MAX536/MAX537
CS
COMMAND
EXECUTED
SCK
1 8 9 16
SDI
D15 D14 D13.......... ..........D2 D1 D0
MSB LSB
SDO
Q15.......... ...........Q0
MSB FROM LSB FROM
PREVIOUS WRITE PREVIOUS WRITE
; ;;;;
Figure 4. 3-Wire Serial-Interface Timing Diagram (LDAC = GND or VDD)
CS
INPUT REGISTER(S)
UPDATED
SCK
1 8 9 16
SDI
D15 D14 D13 .......... .......... D2 D1 D0
MSB LSB
SDO
Q15.......... .......... Q0
MSB FROM LSB FROM
PREVIOUS WRITE PREVIOUS WRITE
LDAC
DACs
UPDATED
Figure 5. 4-Wire Serial-Interface Timing Diagram for Asynchronous DAC Updating Using LDAC
CS tCSW
SCK
tDS
tDH
SDI
LDAC*
14 ______________________________________________________________________________________
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
4), the DAC registers remain transparent. Any time an Interface timing is optimized when serial data is clocked out
MAX536/MAX537
input register is updated, the change appears at the DAC of the microcontroller/microprocessor on one clock edge
output with the rising edge of CS. and clocked into the MAX536/MAX537 on the other edge.
The 4-wire interface (CS, SCK, SDI, LDAC) is similar to Table 1 lists the serial-interface programming commands.
the 3-wire interface with LDAC tied high, except LDAC is For certain commands, the 12 data bits are “don’t cares”.
a hardware input that simultaneously and asynchronously The programming command Load-All-DACs-From-Shift-
loads all DAC registers from their respective input regis- Register allows all input and DAC registers to be simultane-
ters when driven low (Figure 5). ously loaded with the same digital code from the input shift
register. The NOP (no operation) command allows the regis-
Serial-Interface Description ter contents to be unaffected and is useful when the
The MAX536/MAX537 require 16 bits of serial data. Data is MAX536/MAX537 are configured in a daisy-chain (see the
sent MSB first and can be sent in two 8-bit packets or one Daisy-Chaining Devices section). The command to change
16-bit word (CS must remain low until 16 bits are trans- the clock edge on which serial data is shifted out of the
ferred). The serial data is composed of two DAC address MAX536/MAX537 SDO pin also loads data from all input reg-
bits (A1, A0), two control bits (C1, C0), and the 12 data bits isters to their respective DAC registers.
D11…D0 (Figure 7). The 4-bit address/control code deter-
mines the following: 1) the register(s) to be updated and/or Serial-Data Output
the status of the input and DAC registers (i.e., whether they The serial-data output, SDO, is the internal shift register’s
are in transparent or latch mode), and 2) the edge on which output. The MAX536/MAX537 can be programmed so that
data is clocked out of SDO. data is clocked out of SDO on SCK’s rising (Mode 1) or
Figure 6 shows the serial-interface timing requirements. The falling (Mode 0) edge . In Mode 0, output data at SDO lags
chip-select pin (CS) must be low to enable the DAC’s serial input data at SDI by 16.5 clock cycles, maintaining compati-
interface. When CS is high, the interface control circuitry is bility with MICROWIRE, SPI/QSPI, and other serial interfaces.
disabled and the serial data output pin (SDO) is driven high In Mode 1, output data lags input data by 16 clock cycles.
(MAX537) or is a high-impedance open drain (MAX536). CS On power-up, SDO defaults to Mode 1 timing.
must go low at least tCSS before the rising serial clock (SCK) For the MAX536, SDO is an open-drain output that should be
edge to properly clock in the first bit. When CS is low, data is pulled up to +5V. The data sheet timing specifications for
clocked into the internal shift register via the serial data input SDO use a 1kΩ pullup resistor. For the MAX537, SDO is a
pin (SDI) on SCK’s rising edge. The maximum guaranteed complementary output and does not require an external
clock frequency is 10MHz. Data is latched into the appropri- pullup.
ate MAX536/MAX537 input/DAC registers on CS’s rising Test Pin
edge. The test pin (TP) is used for pre-production analysis of the IC.
Connect TP to VDD for proper MAX536/MAX537 operation.
MSB ..................................................................................LSB
Failure to do so affects DAC operation.
16 Bits of Serial Data
Daisy-Chaining Devices
Address Control Data Bits Any number of MAX536/MAX537s can be daisy-chained by
Bits Bits MSB.............................................LSB connecting the SDO pin of one device (with a pullup resistor,
A1 A0 C1 C0 D11................................................D0 if appropriate) to the SDI pin of the following device in the
chain (Figure 8).
4 Address/
12 Data Bits Since the MAX537’s SDO pin has an internal active pullup,
Control Bits
the SDO sink/source capability determines the time required
Figure 7. Serial-Data Format (MSB Sent First) to discharge/charge a capacitive load. Refer to the serial
data out V OH and V OL specifications in the Electrical
Characteristics.
______________________________________________________________________________________ 15
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
MAX536/MAX537
“X” = Don’t Care. LDAC provides true latch control: when LDAC is low, the DAC registers are transparent; when LDAC is high,
the DAC registers are latched.
When daisy-chaining MAX536s, the delay from CS Additionally, when daisy-chaining devices, the maximum
low to SCK high (tCSS) must be the greater of: clock frequency is limited to:
tDV + tDS 1
fSCK(max) = ——————————————
or 2 (tDO + tRC - 38ns + tDS)
tTR + tRC + tDS - tCSW
For example, with t RC = 23ns (5V ±10% supply with
where tRC is the time constant of the external pullup resistor Rp = 1kΩ and C = 30pF), the maximum clock frequency is
(Rp) and the load capacitance (C) at SDO. For tRC < 20ns, 8.7MHz.
tCSS is simply tDV + tDS. Calculate tRC from the following
Figure 9 shows an alternate method of connecting several
equation:
MAX536/MAX537s. In this configuration, the data bus is
tRC = Rp (C) ln
[( VPULLUP
VPULLUP - 2.4V )] common to all devices; data is not shifted through a
daisy-chain. More I/O lines are required in this configu-
ration because a dedicated chip-select input (CS) is
where VPULLUP is the voltage to which the pullup resistor is
connected. required for each IC.
16 ______________________________________________________________________________________
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
MAX536/MAX537
+5V +5V +5V
CS CS CS CS
TO OTHER
SERIAL DEVICES
DIN
SCK
LDAC
CS1
CS2 TO OTHER
SERIAL DEVICES
CS3
CS CS CS
Figure 9. Multiple devices sharing a common DIN line may be simultaneously updated by bringing LDAC low. CS1, CS2, CS3… are
driven separately, thus controlling which data are written to devices 1, 2, 3…
______________________________________________________________________________________ 17
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
__________Applications Information Bits 6 and 7 are not used. Writes to these bits are ignored.
MAX536/MAX537
The Mode Fault flag detects master/slave conflicts in a multimaster environment. It is set when the “master” controller
MODF
has its SS line (PORT D) pulled low, and cleared by reading the SPSR followed by a write to the SPCR.
*M68HC11 is a Motorola microcontroller. General information about the device was obtained from M68HC11 technical manuals.
18 ______________________________________________________________________________________
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
MAX536/MAX537
Table 4. M68HC11 Programming Code
______________________________________________________________________________________ 19
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
SS is an input intended for use in a multimaster environ- Unipolar Output
MAX536/MAX537
ment. However, SS or unused PORT D bit RXD, TXD, or For a unipolar output, the output voltages and the reference
possibly MISO (if DAC readback is not used) should be inputs are the same polarity. Figure 10 shows the
configured as a general-purpose output and used as CS by MAX536/MAX537 unipolar output circuit, which is also the typ-
setting the appropriate Data Direction Register bit. ical operating circuit. Table 5 lists the unipolar output codes.
The SPCR configuration (memory location $1028) is shown Bipolar Output
below: The MAX536/MAX537 outputs can be configured for
bipolar operation using Figure 11’s circuit. One op amp
BIT
and two resistors are required per DAC. With R1 = R2:
7 6 5 4 3 2 1 0
NAME VOUT = VREF [(2NB/4096) - 1]
SPIE SPE DWOM MSTR CPOL CPHA SPR1 SPR0 where NB is the numeric value of the DAC’s binary input
SETTING AFTER RESET code. Table 6 shows digital codes and corresponding
0 0 0 0 0 1 U* U* output voltages for Figure 11’s circuit.
SETTING FOR TYPICAL SPI COMMUNICATION Table 5. Unipolar Code Table
0 1 0 1 0 0 0** 1**
DAC CONTENTS
*U = Unknown ANALOG OUTPUT
MSB LSB
**Depends on µP clock frequency.
4095
Always configure the 68HC11 as the “master” controller 1111 1111 1111 +VREF ( ——— )
4096
and the MAX536/MAX537 as the “slave” device.
2049
When MSTR = 1 in the SPCR, a write to the Serial 1000 0000 0001 +VREF ( ——— )
4096
Peripheral Data I/O Register (SPDR), located at memory
location $102A, initiates the transmission/reception of 1000 0000 0000
2048 +VREF
+VREF ( ——— ) = ————
data. The data transfer is monitored and the appropri- 4096 2
ate flags are set in the Serial Peripheral Status
Register (SPSR). 2047
0111 1111 1111 +VREF ( ——— )
4096
The SPSR configuration is shown below:
1
BIT 0000 0000 0001 +VREF ( ——— )
7 6 5 4 3 2 1 0 4096
NAME 0000 0000 0000 0V
SPIF WCOL – MODF – – – –
RESET CONDITIONS Table 6. Bipolar Code Table
0 0 0 0 0 0 0 0
DAC CONTENTS
ANALOG OUTPUT
An example of 68HC11 programming code for a MSB LSB
two-byte SPI transfer to the MAX536/MAX537 is given in 1111 1111 1111 2047 )
+VREF ( ———
Table 4. SS is used for CS, the high byte of MAX536/ 2048
MAX537 digital data is stored in memory location $0100,
1 )
and the low byte is stored in memory location $0101. 1000 0000 0001 +VREF ( ———
2048
Interfacing to Other Controllers 1000 0000 0000 0V
When using MICROWIRE, refer to the section on Inter- 1 )
0111 1111 1111 -VREF ( ———
facing to the M68HC11 for guidance, since MICROWIRE 2048
can be considered similar to SPI when CPOL = 0 and
CPHA = 0. When interfacing to Intel’s 80C51/80C31 2047 )
0000 0000 0001 -VREF ( ———
2048
microcontroller family, use bit-pushing to configure a
desired port as the MAX536/MAX537 interface port. Bit- 2048 ) = -V
0000 0000 0000 -VREF ( ——— REF
pushing involves arbitrarily assigning I/O port bits as 2048
interface control lines, and then writing to the port each
time a signal transition is required. 1
NOTE: 1 LSB = (VREF) (
4096
)
20 ______________________________________________________________________________________
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
MAX536/MAX537
+12V (+5V)
REFERENCE INPUTS
MAX536 5 12 14 13
MAX537 MAX536
REFAB REFCD VDD TP
MAX537
R1 R2
DAC A 2
OUTA VREF
+12V (+5V)
1
DAC B OUTB
VOUT
16 DAC
DAC C OUTC OUTPUT
–5V
15 R1 = R2 = 10kΩ 0.1%
DAC D OUTD
Figure 10. Unipolar Output Circuit Figure 11. Bipolar Output Circuit
+12V
(+5V) +12V (+5V)
AC 15kΩ
REFERENCE 5 13 14
INPUT
REFAB TP VDD
+4V (+750mV)
5 13 14 +
10kΩ REFAB TP VDD VIN
-4V
DAC A 2
(-750mV) - OUTA
DAC B 1
OUTB
AGND MAX536/MAX537
4
MAX536/MAX537 + VSS DGND
VSS AGND DGND VBIAS
3 6
3 4 6 -
-5V
-5V
Figure 12. AC Reference Input Circuit Figure 13. AGND Bias Circuit
______________________________________________________________________________________ 21
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
Offsetting AGND
MAX536/MAX537
22 ______________________________________________________________________________________
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
Ordering Information (continued) Package Information
MAX536/MAX537
PIN- INL For the latest package outline information and land patterns
PART TEMP RANGE (footprints), go to www.maxim-ic.com/packages. Note that a
PACKAGE (LSB)
“+”, “#”, or “-” in the package code indicates RoHS status only.
MAX537ACPE+ 0°C to +70°C 16 PDIP ±0.5 Package drawings may show a different suffix character, but
MAX537BCPE+ 0°C to +70°C 16 PDIP ±1 the drawing pertains to the package regardless of RoHS status.
MAX537ACWE+ 0°C to +70°C 16 Wide SO ±0.5 PACKAGE PACKAGE OUTLINE LAND
MAX537BCWE+ 0°C to +70°C 16 Wide SO ±1 TYPE CODE NO. PATTERN NO.
MAX537AEPE+ -40°C to +85°C 16 PDIP ±0.5 16 PDIP P16+9 21-0043 —
MAX537BEPE+ -40°C to +85°C 16 PDIP ±1 16 SO W16+7 21-0042 90-0107
MAX537AEWE+ -40°C to +85°C 16 Wide SO ±0.5
MAX537BEWE+ -40°C to +85°C 16 Wide SO ±1
+Denotes a lead(Pb)-free/RoHS-compliant package.
______________________________________________________________________________________ 23
Calibrated, Quad, 12-Bit
Voltage-Output DACs with Serial Interface
Revision History
MAX536/MAX537
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.
24 ____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600
© 2011 Maxim Integrated Products Maxim is a registered trademark of Maxim Integrated Products, Inc.