40-channel DAC in 80-lead LQFP and 100-ball CSP_BGA
Guaranteed monotonic to 14 bits
Maximum output voltage span of 4 × V
Nominal output voltage span of −4 V to +8 V
Multiple, independent output voltage spans available
System calibration function allowing user-programmable
off
set and gain
Channel grouping and addressing features
Thermal shutdown function
DSP/microcontroller-compatible serial interface
SPI/LVDS serial interface
DV
CCVDDVSS AGND DGND
STATE
14
88
14
14
14
14
14
14
14
14
88
14
14
14
14
14
14
14
14
14
A/B SELECT
REGISTER
X1A
REGISTER
X1B
REGISTER
M REGISTER
C REGISTER
X1A
REGISTER
X1B
REGISTER
M REGISTER
C REGISTER
A/B SELECT
REGISTER
X1A
REGISTER
X1B
REGISTER
M REGISTER
C REGISTER
X1A
REGISTER
X1B
REGISTER
M REGISTER
C REGISTER
SPI/LVDS
SYNC
SDI
SCLK
SYNC
SDI
SCLK
SDO
BUSY
RESET
CLR
CONTROL
REGISTER
SERIAL
INTERFACE
MACHINE
AD5371
(20 V)
REF
FUNCTIONAL BLOCK DIAGRAM
TO
MUX2
14
14
TO
MUX2
14
14
14
14
14
14
14
MUX 1MUX 1MUX 1MUX 1
14
14
14
14
14
14
14
X2A
REGISTER
X2B
REGISTER
X2A
REGISTER
X2B
REGISTER
X2A
REGISTER
X2B
REGISTER
X2A
REGISTER
X2B
REGISTER
Serial Input, Voltage Output DAC
AD5371
2.5 V to 5.5 V digital interface
Digital reset (
Clear function to user-defined SIGGNDx
Simultaneous update of DAC outputs
APPLICATIONS
Level setting in automatic test equipment (ATE)
Variable optical attenuators (VOA)
Optical switches
Industrial control systems
Instrumentation
LDAC
OFS0
REGISTER
14
DAC 0
REGISTER
MUX 2
14
DAC 7
REGISTER
MUX 2
OFS1
REGISTER
14
DAC 0
REGISTER
MUX 2
14
DAC 7
REGISTER
MUX 2
GROUP 2 TO GROUP 4
ARE SAME AS GROUP 1
RESET
1414
14
14
1414
14
14
)
OFFSET
DAC 0
DAC 0
DAC 7
OFFSET
DAC 1
DAC 0
DAC 7
BUFFER
BUFFER
BUFFER
OUTPUT BUFF ER
POWER-DOW N
OUTPUT BUFF ER
POWER-DOW N
BUFFER
OUTPUT BUFF ER
POWER-DOW N
OUTPUT BUFF ER
POWER-DOW N
VREF2 SUPPLIES
GROUP 2 TO GROUP 4
GROUP 0
AND
CONTROL
AND
CONTROL
GROUP 1
AND
CONTROL
AND
CONTROL
VREF0
VOUT0
VOUT1
VOUT2
VOUT3
VOUT4
VOUT5
VOUT6
VOUT7
SIGGND0
VREF1
VOUT8
VOUT9
VOUT10
VOUT11
VOUT12
VOUT13
VOUT14
VOUT15
SIGGND1
VREF2
VOUT16
TO
VOUT39
Figure 1.
Rev. B
Information furnished by Analog Devices is believed to be accurate and reliable. However, no
responsibility is assumed by Anal og Devices for its use, nor for any infringements of patents or ot her
rights of third parties that may result from its use. Specifications subject to change without notice. No
license is granted by implication or otherwise under any patent or patent rights of Analog Devices.
Trademarks and registered trademarks are the property of their respective owners.
Change to SPI Write Mode Section.............................................. 24
Changes to Ordering Guide.......................................................... 31
8/07—Revision 0: Initial Version
AD5371
www.BDTIC.com/ADI
GENERAL DESCRIPTION
The AD53711 contains 40 14-bit DACs in a single 80-lead LQFP
or 100-ball CSP_BGA. The device provides buffered voltage
outputs with a span of 4× the reference voltage. The gain and
offset of each DAC can be independently trimmed to remove
errors. For even greater flexibility, the device is divided into five
groups of eight DACs. Three offset DACs allow the output range
of the groups to be adjusted. Group 0 can be adjusted by Offset
DAC 0, Group 1 can be adjusted by Offset DAC 1, and Group 2
to Group 4 can be adjusted by Offset DAC 2.
The AD5371 offers guaranteed operation over a wide supply
nge, with V
ra
from −16.5 V to −4.5 V and VDD from 9 V to
SS
16.5 V. The output amplifier headroom requirement is 1.4 V
operating with a load current of 1 mA.
1
Protected by U.S. Patent No. 5,969,657; other patents pending.
AD536016 4 × V
AD536114 4 × V
AD536216 4 × V
AD536314 4 × V
AD537016 4 × V
AD5371 14 4 × V
AD537216 4 × V
AD537314 4 × V
AD537814 ±8.75 V 32 ±3
AD537914 ±8.75 V 40 ±3
(20 V) 16 ±4
REF
(20 V) 16 ±1
REF
(20 V) 8 ±4
REF
(20 V) 8 ±1
REF
(12 V) 40 ±4
REF
(12 V) 40 ±1
REF
(12 V) 32 ±4
REF
(12 V) 32 ±1
REF
The AD5371 has a high speed serial interface that is compatible
with SPI, QSPI™, MICROWIRE™, and DSP interface standards
and can handle clock speeds of up to 50 MHz. It also has a
100 MHz low voltage differential signaling (LVDS) serial
interface.
The DAC registers are updated on reception of new data. All the
o
utputs can be updated simultaneously by taking the
LDAC
input low. Each channel has a programmable gain and an offset
adjust register to allow removal of gain and offset errors.
Each DAC output is gained and buffered on chip with respect
to
an external SIGGNDx input. The DAC outputs can also be
switched to SIGGNDx via the
CLR
pin.
Rev. B | Page 3 of 28
AD5371
www.BDTIC.com/ADI
SPECIFICATIONS
PERFORMANCE SPECIFICATIONS
DVCC = 2.5 V to 5.5 V; VDD = 9 V to 16.5 V; VSS = −16.5 V to −8 V; VREF = 3 V; AGND = DGND = SIGGNDx = 0 V; CL = open circuit;
= open circuit; gain (M), offset (C), and DAC offset registers at default values; temperature range for the AD5371 is −40°C to +85°C; all
R
L
specifications T
Table 2.
Parameter Min Typ1 Max Unit Test Conditions/Comments1
ACCURACY
Resolution 14 Bits
Integral Nonlinearity (INL) −1 +1 LSB
Differential Nonlinearity (DNL) −1 +1 LSB Guaranteed monotonic by design
Zero-Scale Error −10 +10 mV Before calibration
Full-Scale Error −10 +10 mV Before calibration
Gain Error 0.1 % FSR
Zero-Scale Error2 1 LSB After calibration
Full-Scale Error2 1 LSB After calibration
Span Error of Offset DAC −35 +35 mV See the Offset DACs section for details
VOUTx Temperature Coefficient
(VOUT0 to VOUT39)
DC Crosstalk2 120 µV
REFERENCE INPUTS (VREF0, VREF1, VREF2)2
VREFx Input Current −10 +10 µA Per input; typically ±30 nA
VREFx Range 2 5 V ±2% for specified operation
SIGGND INPUTS (SIGGND0 TO SIGGND4)2
DC Input Impedance 50 kΩ Typically 55 kΩ
Input Range −0.5 +0.5 V
SIGGNDx Gain 0.995 1.005
OUTPUT CHARACTERISTICS2
Output Voltage Range VSS + 1.4 VDD − 1.4 V I
Nominal Output Voltage Range −4 +8 V
Short-Circuit Current 15 mA VOUTx to DVCC, VDD, or VSS
Load Current −1 +1 mA
Capacitive Load 2200 pF
DC Output Impedance 0.5 Ω
DIGITAL INPUTS
Input High Voltage 1.7 V DVCC = 2.5 V to 3.6 V
2.0 V DVCC = 3.6 V to 5.5 V
Input Low Voltage 0.8 V DVCC = 2.5 V to 5.5 V
Input Current −1 +1 µA
CLR High Impedance Leakage Current
Input Capacitance2 10 pF
DIGITAL OUTPUTS (SDO, BUSY)
Output Low Voltage 0.5 V Sinking 200 A
Output High Voltage (SDO) DVCC − 0.5 V Sourcing 200 A
SDO High Impedance Leakage Current −5 +5 µA
High Impedance Output Capacitance2 10 pF
MIN
to T
, unless otherwise noted.
MAX
5
−20 +20 µA
ppm
FSR/°C
Includes linearity, offset, and gain drift
Typically 20 µV; measured channel at midscale,
full-scale change on any other channel
= 1 mA
LOAD
Excluding CLR
pin
Rev. B | Page 4 of 28
AD5371
www.BDTIC.com/ADI
Parameter Min Typ1Max Unit Test Conditions/Comments
1
LVDS INTERFACE (REDUCED RANGE LINK)
Digital Inputs
2
Input Voltage Range 875 1575 mV
Input Differential Threshold –0.1 +0.1 V
External Termination Resistance 80 100 132 Ω
Differential Input Voltage 100 mV
POWER REQUIREMENTS
DVCC 2.5 5.5 V
VDD 9 16.5 V
VSS −16.5 −4.5 V
Power Supply Sensitivity
2
∆Full Scale/∆VDD −75 dB
∆Full Scale/∆VSS −75 dB
∆Full Scale/∆DVCC −90 dB
DICC 2 mA
= 5.5 V, VIH = DVCC, VIL = GND; normal
DV
CC
operating conditions
IDD 18 mA Outputs unloaded, DAC outputs = 0 V
20 mA Outputs unloaded, DAC outputs = full scale
ISS −18 mA Outputs unloaded, DAC outputs = 0 V
−20 mA Outputs unloaded, DAC outputs = full scale
Power Dissipation Unloaded (P) 280 mW VSS = −8 V, VDD = 9.5 V, DVCC = 2.5 V
Power-Down Mode Control register power-down bit set
DICC 5 μA
IDD 35 μA
ISS −35 μA
Junction Temperature
1
Typical specifications are at 25°C.
2
Guaranteed by design and characterization; not production tested.
3
θJA represents the package thermal impedance.
3
130 °C TJ = TA + P
TOTAL
× θJA
AC CHARACTERISTICS
DVCC = 2.5 V; VDD = 15 V; VSS = −15 V; VREF = 3 V; AGND = DGND = SIGGNDx = 0 V; CL = 200 pF; RL = 10 kΩ; gain (M), offset (C),
and DAC offset registers at default values; all specifications T
Table 3. AC Characteristics
1
Parameter Min Typ Max Unit Test Conditions/Comments
DYNAMIC PERFORMANCE
Output Voltage Settling Time 20 μs Settling to 1 LSB from a full-scale change
30 μs DAC latch contents alternately loaded with all 0s and all 1s
Slew Rate 1 V/μs
Digital-to-Analog Glitch Energy 5 nV-s
Glitch Impulse Peak Amplitude 10 mV
Channel-to-Channel Isolation 100 dB VREF0, VREF1, VREF2 = 2 V p-p, 1 kHz
DAC-to-DAC Crosstalk 20 nV-s
Digital Crosstalk 0.2 nV-s
Digital Feedthrough 0.02 nV-s Effect of input bus activity on DAC output under test
Output Noise Spectral Density @ 10 kHz 250 nV/√Hz V
1
Guaranteed by design and characterization; not production tested.
MIN
to T
, unless otherwise noted.
MAX
= 0 V
REF
Rev. B | Page 5 of 28
AD5371
www.BDTIC.com/ADI
TIMING CHARACTERISTICS
DVCC = 2.5 V to 5.5 V; VDD = 9 V to 16.5 V; VSS = −16.5 V to −8 V; VREFx = 3 V; AGND = DGND = SIGGNDx = 0 V; CL = 200 pF to GND;
R
= open circuit; gain (M), offset (C), and DAC offset registers at default values; all specifications T
L
MIN
to T
, unless otherwise noted.
MAX
Table 4. SPI Interface
Parameter
t1
1 , 2 , 3
Limit at T
MIN
, T
Unit Description
MAX
20 ns min SCLK cycle time
t2 8 ns min SCLK high time
t3 8 ns min SCLK low time
t4 11 ns min
t
5
20 ns min
t6 10 ns min
t
7
5 ns min Data setup time
falling edge to SCLK falling edge setup time
SYNC
Minimum SYNC
th
SCLK falling edge to SYNC rising edge
24
high time
t8 5 ns min Data hold time
4
t
9
t
1/1.5 μs typ/μs max
10
42 ns max
rising edge to BUSY falling edge
SYNC
pulse width low (single-channel update); see Table 9
BUSY
t11 600 ns max Single-channel update cycle time
t12 20 ns min
t13 10 ns min
t14 3 μs max
t15 0 ns min
t16 3 μs max
rising edge to LDAC falling edge
SYNC
pulse width low
LDAC
rising edge to DAC output response time
BUSY
rising edge to LDAC falling edge
BUSY
falling edge to DAC output response time
LDAC
t17 20/30 μs typ/μs max DAC output settling time
t18 140 ns max
t19 30 ns min
t20 400 μs max
t21 270 ns min
5
t
22
25 ns max SCLK rising edge to SDO valid
t23 80 ns max
1
Guaranteed by design and characterization; not production tested.
2
All input signals are specified with tR = tF = 2 ns (10% to 90% of DVCC) and timed from a voltage level of 1.2 V.
3
See Figure 4 and Figure 5.
4
t9 is measured with the load circuit shown in Figure 2.
5
t22 is measured with the load circuit shown in Figure 3.
/RESET pulse activation time
CLR
pulse width low
RESET
time indicated by BUSY low
RESET
Minimum SYNC
rising edge to BUSY falling edge
RESET
high time in readback mode
Table 5. LVDS Interface
Parameter
1, 2, 3
Limit at T
MIN
, T
Unit Description
MAX
t1 12 ns min SCLK cycle time
t2 5 ns min SCLK pulse width high and low time
t3 5 ns min
to SCLK setup time
SYNC
t4 3 ns min Data setup time
t5 3 ns min Data hold time
t6 3 ns min
t7 10 ns min
1
Guaranteed by design and characterization; not production tested.
2
All input signals are specified with tR = tF = 2 ns (10% to 90% of DVCC) and timed from a voltage level of 1.2 V.
3
See Figure 6.
SCLK to SYNC
high time
SYNC
Rev. B | Page 6 of 28
hold time
AD5371
T
V
V
www.BDTIC.com/ADI
Circuit and Timing Diagrams
DV
TO
OUTPUT
PIN
Figure 2. Load Circuit for
CC
R
L
2.2k
Ω
C
L
50pF
BUSY
Timing Diagram
200µAI
O OUTPUT
PIN
C
L
V
OL
05814-002
50pF
200µAI
Figure 3. Load Circuit for SDO Timing Diagram
OL
OH
VOH (MIN) – VOL (MAX)
2
5814-003
t
1
SCLK
SYNC
BUSY
LDAC
OUTx
LDAC
OUTx
SDI
1
1
2
2
1
2
t
3
t
4
t
5
t
7
t
8
DB23
24
t
2
t
6
DB0
t
9
t
1
t
11
t
10
12
t
13
24
t
17
t
14
t
15
t
13
t
17
t
16
CLR
t
18
VOUTx
t
19
RESET
VOUTx
BUSY
1
LDAC ACTIVE DURING BUSY.
2
LDAC ACTIVE AFTER BUSY.
t
23
t
18
t
20
Figure 4. SPI Write Timing
Rev. B | Page 7 of 28
05814-004
AD5371
S
S
www.BDTIC.com/ADI
SCLK
SYNC
SDI
INPUT WORD SPECIFIES
REGISTER T O BE READ
SDO
t
22
DB0DB23DB23
LSB FROM PREVIOUS WRITE
t
21
NOP CONDITI ON
DB0
DB23DB15
SELECTED REG ISTER DATA CLOCKED OUT
48
DB0
DB0
05814-005
Figure 5. SPI Read Timing
YNC
YNC
SCLK
t
3
t
1
t
6
SCLK
SDI
SDI
MSB
D23
t
2
t
4
t
5
LSB
D0
5814-006
Figure 6. LVDS Timing
Rev. B | Page 8 of 28
AD5371
www.BDTIC.com/ADI
ABSOLUTE MAXIMUM RATINGS
TA = 25°C, unless otherwise noted. Transient currents of up to
60 mA do not cause SCR latch-up.
Table 6.
Parameter Rating
VDD to AGND −0.3 V to +17 V
VSS to AGND −17 V to +0.3 V
DVCC to DGND −0.3 V to +7 V
Digital Inputs to DGND −0.3 V to DVCC + 0.3 V
Digital Outputs to DGND −0.3 V to DVCC + 0.3 V
VREF0, VREF1, VREF2 to AGND −0.3 V to +5.5 V
VOUT0 through VOUT39 to AGND VSS − 0.3 V to VDD + 0.3 V
SIGGND0 through SIGGND4 to AGND −1 V to +1 V
AGND to DGND −0.3 V to +0.3 V
Operating Temperature Range (TA)
Industrial (B Version) −40°C to +85°C
Storage Temperature Range −65°C to +150°C
Operating Junction Temperature
max)
(T
J
θJA Thermal Impedance
80-Lead LQFP 38.72°C/W
100-Ball CSP_BGA 40°C/W
Reflow Soldering
Peak Temperature 230°C
Time at Peak Temperature 10 sec to 40 sec
130°C
Stresses above those listed under Absolute Maximum Ratings
may cause permanent damage to the device. This is a stress
rating only; functional operation of the device at these or any
other conditions above those indicated in the operational
section of this specification is not implied. Exposure to absolute
maximum rating conditions for extended periods may affect
device reliability.
DAC Outputs. Buffered analog outputs for each of the 40 D
is capable of driving an output load of 10 kΩ to ground. Typical output impedance of these
amplifiers is 0.5 Ω.
K1, K2, L1, M2,
M3, L4, M5
SIGGND4
VOUT37
V
SS
VOUT36
VOUT35
L
V
M
SS
05814-025
AC channels. Each analog output
Rev. B | Page 11 of 28
AD5371
www.BDTIC.com/ADI
Pin No. Ball No. Mnemonic Description
58 D11 SIGGND0 Reference Ground for DAC 0 to DAC 7. VOUT0 to VOUT7 are referenced to this voltage.
31 L7 SIGGND1 Reference Ground for DAC 8 to DAC 15. VOUT8 to VOUT15 are referenced to this voltage.
41 L12 SIGGND2 Reference Ground for DAC 16 to DAC 23. VOUT16 to VOUT23 are referenced to this voltage.
7 F1 SIGGND3 Reference Ground for DAC 24 to DAC 31. VOUT24 to VOUT31 are referenced to this voltage.
16 L3 SIGGND4 Reference Ground for DAC 32 to DAC 39. VOUT32 to VOUT39 are referenced to this voltage.
52 G12 VREF0 Reference Input for DAC 0 to DAC 7. This reference voltage is referred to AGND.
21 M4 VREF1 Reference Input for DAC 8 to DAC 15. This reference voltage is referred to AGND.
50 H11 VREF2 Reference Input for DAC 16 to DAC 39. This reference voltage is referred to AGND.
19, 44
20, 45
64, 76 A11, A12 DGND Ground for All Digital Circuitry. Connect both DGND pins to the DGND plane.
65, 75 A10, B10 DVCC
66 A9
67 B9 SYNC
68 A8 SCLK
69 B8
70 A7 SDI
71 B7
72 A6
74 B5 SDO
77
22 to 24,
35, 42,
43, 51,
53, 59
J5 to J9, L11,
M12
E4, F4, G4, H4,
J4, L2, M1
A1, B1, C1, C2,
D4 to D9, E9,
F9, G9, H9
A2, B6, F2, F11,
G1, G11
VDD
VSS
SYNC
SCLK
SDI
/LVDS Interface Selection Pin. If the pin is low, the SPI interface is selected. If the pin is high, the
SPI
AGND Ground for All Analog Circuitry. Connect the AGND pin to the AGND plane.
NC No Connect. Do not connect these pins.
Positive Analog Power Supply; 9 V to 16.5 V for specified performance. Decouple these pins
with 0.1 μF c
Negative Analog Power Supply; −16.5 V to −8 V for specified performance. Decouple these
pins with 0.1 μF
Logic Power Supply; 2.5 V to 5.5 V. Decouple these pins
10 μF capacitors.
Active Low or Differential SYNC Input (Complement) for SPI or LVDS Interface. This is the
frame synchronization signal for the SPI or LVDS serial interface. See the Timing Characteristics
section for more details.
Differential SYNC Input for LVDS Interface. This is the fr
LVDS serial interface. See the Timing Characteristics section for more details.
Serial Clock Input for SPI or LVDS Interface. See the Timing Characteristics section for more
detail
Differential Serial Clock Input (Complement) for LVDS Interface. See the Timing Characteristics
section for more details.
Serial Data Input for SPI or LVDS Interface. See the Timing Characteristics section for more
detail
Differential Serial Data Input (Complement) for LVDS Interface. See the Timing Characteristics
section for more details.
LVDS interface is selected.
Serial Data Output for SPI Interface. CMOS output. SDO can be used f
clocked out on SDO on the rising edge of SCLK and is valid on the falling edge of SCLK.
eramic capacitors and 10 μF capacitors.
ceramic capacitors and 10 μF capacitors.
with 0.1 μF ceramic capacitors and
ame synchronization signal for the
s.
s.
or readback. Data is
Rev. B | Page 12 of 28
AD5371
www.BDTIC.com/ADI
TYPICAL PERFORMANCE CHARACTERISTICS
0.50
0.25
0
TA = 25°C
= –15V
V
SS
= +15V
V
DD
VREF = +4. 096V
0
INL (LSB)
–0.25
–0.50
0
409681921228 8
DAC CODE
Figure 9. Typical INL Plot
7
6
5
4
3
NUMBER OF UNIT S
2
1
0
–0.6–0.300.30.6
INL (LSB)
Figure 10. Typical INL Distribution
VDD = +15V
V
= –15V
SS
T
= 25°C
A
16383
–0.01
AMPLITUDE ( V)
05814-009
–0.02
02468
TIME (µs)
Figure 12. Analog Crosstalk Due to
0.0050
T
= 25°C
A
V
= –15V
SS
V
= +15V
DD
VREF = +4.096V
0.0025
0
AMPLI TUDE (V )
–0.0025
05814-010
–0.0050
012345
TIME (µs)
LDAC
05814-012
10
05814-013
Figure 13. Digital Crosstalk
1.0
0.5
0
INL ERROR (LSB)
–0.5
–1.0
TEMPERATURE (° C)
VDD = +15V
= –15V
V
SS
= +5V
DV
CC
VREF = +3V
05814-011
806040200
Figure 11. Typical INL Error vs. Temperature
1.0
0.5
0
DNL (LSB)
–0.5
–1.0
0
4096819212288
Figure 14. Typical DNL Plot
Rev. B | Page 13 of 28
DAC CO DE
16383
05814-014
AD5371
www.BDTIC.com/ADI
600
500
400
300
200
OUTPUT NOISE (nV/ Hz)
100
0
012345
FREQUENCY (Hz)
Figure 15. Output Noise Spectral Density
05814-015
14
12
10
8
6
NUMBER OF UNITS
4
2
0
(mA)
I
DD
Figure 18. Typical I
Distribution
DD
VSS = –15V
= +15V
V
DD
= 25°C
T
A
14.0013.7513.5013.2513. 00
05814-018
0.50
VSS = –12V
V
= +12V
DD
VREF = +3V
0.45
DV
= +5.5V
= +12V
Figure 17. I
CC
TEMPERATURE (°C)
Figure 16. DI
TEMPERATURE (°C)
DV
= +2.5V
CC
vs. Temperature
CC
vs. Temperature
DD/ISS
= +3.6V
DV
CC
I
DD
I
SS
0.40
(mA)
CC
DI
0.35
0.30
0.25
–40–200 20406080
14.0
13.5
( |mA| )
13.0
SS
/I
DD
I
12.5
VSS = –12V
V
DD
VREF = +3V
12.0
–40–200 20406080
14
12
10
8
6
NUMBER OF UNIT S
4
2
05814-016
0
DI
(mA)
CC
Figure 19. Typical DI
Distribution
CC
DVCC = 5V
T
= 25°C
A
0.500.450.400.350.30
05814-019
05814-017
Rev. B | Page 14 of 28
AD5371
www.BDTIC.com/ADI
TERMINOLOGY
Integral Nonlinearity (INL)
Integral nonlinearity, or endpoint linearity, is a measure of the
max
imum deviation from a straight line passing through the
endpoints of the DAC transfer function. It is measured after
adjusting for zero-scale error and full-scale error and is
expressed in least significant bits (LSB).
Differential Nonlinearity (DNL)
Differential nonlinearity is the difference between the measured
cha
nge and the ideal 1 LSB change between any two adjacent
codes. A specified differential nonlinearity of 1 LSB maximum
ensures monotonicity.
Zero-Scale Error
Zero-scale error is the error in the DAC output voltage when
al
l 0s are loaded into the DAC register. Zero-scale error is a
measure of the difference between VOUT (actual) and VOUT
(ideal), expressed in millivolts (mV), when the channel is at its
minimum value. Zero-scale error is mainly due to offsets in the
output amplifier.
Full-Scale Error
Full-scale error is the error in the DAC output voltage when all
1s a
re loaded into the DAC register. Full-scale error is a measure
of the difference between VOUT (actual) and VOUT (ideal),
expressed in millivolts, when the channel is at its maximum
value. Full-scale error does not include zero-scale error.
Gain Error
Gain error is the difference between full-scale error and
zer
o-scale error. It is expressed as a percentage of the full-
scale range (FSR).
Gain Error = F
VOUT Temperature Coefficient
The VOUT temperature coefficient includes output error
co
ntributions from linearity, offset, and gain drift.
DC Output Impedance
DC output impedance is the effective output source resistance.
t is dominated by package lead resistance.
I
DC Crosstalk
The DAC outputs are buffered by op amps that share common
V
and VSS power supplies. If the dc load current changes in
DD
one channel (due to an update), this change can result in a
further dc change in one or more channel outputs. This effect is
more significant at high load currents and is reduced as the load
currents are reduced. With high impedance loads, the effect is
virtually immeasurable. Multiple V
provided to minimize dc crosstalk.
ull-Scale Error − Zero-Scale Error
and VSS terminals are
DD
Output Voltage Settling Time
Output voltage settling time is the amount of time it takes for
t
he output of a DAC to settle to a specified level for a full-scale
input change.
Digital-to-Analog Glitch Energy
Digital-to-analog glitch energy is the amount of energy that is
i
njected into the analog output at the major code transition. It
is specified as the area of the glitch in nV-s. It is measured by
toggling the DAC register data between 0x1FFF and 0x2000.
Channel-to-Channel Isolation
Channel-to-channel isolation refers to the proportion of input
sig
nal from the reference input of one DAC that appears at the
output of another DAC operating from another reference. It is
expressed in decibels and measured at midscale.
DAC-to-DAC C rosst a l k
DAC-to-DAC crosstalk is the glitch impulse that appears at the
utput of one converter due to both the digital change and
o
subsequent analog output change at another converter. It is
specified in nV-s.
Digital Crosstalk
Digital crosstalk is defined as the glitch impulse transferred to
t
he output of one converter due to a change in the DAC register
code of another converter. It is specified in nV-s.
Digital Feedthrough
When the device is not selected, high frequency logic activity
o
n the digital inputs of the device can be capacitively coupled
both across and through the device to appear as noise on the
VOUTx pins. It can also be coupled along the supply and
ground lines. This noise is digital feedthrough.
Output Noise Spectral Density
Output noise spectral density is a measure of internally genera
ted random noise. Random noise is characterized as a spectral
density (voltage per √Hz). It is measured by loading all DACs
to midscale and measuring noise at the output. It is measured
in nV/√Hz.
Rev. B | Page 15 of 28
AD5371
www.BDTIC.com/ADI
THEORY OF OPERATION
DAC ARCHITECTURE
The AD5371 contains 40 DAC channels and 40 output amplifiers
in a single package. The architecture of a single DAC channel
consists of a 14-bit resistor-string DAC followed by an output
buffer amplifier. The resistor-string section is simply a string of
resistors, of equal value, from VREFx to AGND. This type of
architecture guarantees DAC monotonicity. The 14-bit binary
digital code loaded to the DAC register determines at which
node on the string the voltage is tapped off before being fed into
the output amplifier. The output amplifier multiplies the DAC
Table 8. Register Descriptions
Word
Register
Name
X1A 14 0x1555 Input Data Register A. One for each DAC channel.
X1B 14 0x1555 Input Data Register B. One for each DAC channel.
M 14 0x3FFF Gain trim registers. One for each DAC channel.
C 14 0x2000 Offset trim registers. One for each DAC channel.
X2A 14
X2B 14
DAC
OFS0 14 0x1555 Offset DAC 0 data register. Sets offset for Group 0.
OFS1 14 0x1555 Offset DAC 1 data register. Sets offset for Group 1.
OFS2 14 0x1555 Offset DAC 2 data register. Sets offset for Group 2 to Group 4.
Control 3 0x00
0 = global selection of X1A input data registers.
1 = global selection of X1B input data registers.
Bit 1 = enable thermal shutdown.
0 = disable thermal shutdown.
1 = enable thermal shutdown.
Bit 0 = software power-down.
0 = software power-up.
1 = software power-down.
A/B Select 0 8 0x00 Each bit in this register determines if a DAC in Group 0 takes its data from Register X2A or Register X2B.
0 = X2A.
1 = X2B.
A/B Select 1 8 0x00 Each bit in this register determines if a DAC in Group 1 takes its data from Register X2A or Register X2B.
0 = X2A.
1 = X2B.
A/B Select 2 8 0x00 Each bit in this register determines if a DAC in Group 2 takes its data from Register X2A or Register X2B.
0 = X2A.
1 = X2B.
A/B Select 3 8 0x00 Each bit in this register determines if a DAC in Group 3 takes its data from Register X2A or Register X2B.
0 = X2A.
1 = X2B.
A/B Select 4 8 0x00 Each bit in this register determines if a DAC in Group 4 takes its data from Register X2A or Register X2B.
0 = X2A.
1 = X2B.
Leng
(Bits)
Default
th
alue Description
V
Not user
ccessible
a
Not user
ccessible
a
Not user
ccessible
a
Output Data Register A. One for each DAC channel. These registers store the final, calibrated DAC
data after gain and offset trimming. They are not readable or directly writable.
Output Data Register B. One for each DAC channel. These registers store the final, calibrated DAC
data after gain and offset trimming. They are not readable or directly writable.
Data registers from which the DACs take their final input data. The DAC registers are updated from
the X2A or X2B register. They are not readable or directly writable.
Bit 2 = A
/B.
output voltage by 4. The nominal output span is 12 V with a 3 V
reference and 20 V with a 5 V reference.
CHANNEL GROUPS
The 40 DAC channels of the AD5371 are arranged into five
groups of eight channels. The eight DACs of Group 0 derive
their reference voltage from VREF0. The eight DACs of Group 1
derive their reference voltage from VREF1. Group 2 to Group 4
derive their reference voltage from VREF2. Each group has its
own signal ground pin.
Rev. B | Page 16 of 28
AD5371
www.BDTIC.com/ADI
A/B REGISTERS AND GAIN/OFFSET ADJUSTMENT
Each DAC channel has seven data registers. The actual DAC
data-word can be written to either the X1A or the X1B input
X2A
X2B
A
/B bit in the control
MUX
DAC
REGIS TER
DAC
05814-020
register, depending on the setting of the
register. If the
A
If the
A
/B bit is 0, data is written to the X1A register.
/B bit is 1, data is written to the X1B register. Note that
this single bit is a global control and affects every DAC channel
in the device. It is not possible to set up the device on a perchannel basis so that some writes are to X1A registers and
some writes are to X1B registers.
X1A
REGISTER
X1B
REGISTER
REGISTER
REGISTER
Figure 20. Data Registers Associated with Each DAC Channel
MUX
M
C
REGISTER
REGISTER
Each DAC channel also has a gain (M) register and an offset (C)
register that allow trimming out of the gain and offset errors of
the entire signal chain. Data from the X1A register is operated
on by a digital multiplier and adder controlled by the contents of
the M and C registers. The calibrated DAC data is then stored in
the X2A register. Similarly, data from the X1B register is operated
on by the multiplier and adder and stored in the X2B register.
Although Figure 20 shows a multiplier and adder for each
nnel, there is only one multiplier and one adder in the device
cha
shared among all channels. This has implications for the update
speed when several channels are updated simultaneously, as
described in the
Register Update Rates section.
Each time data is written to the X1A register, or to the M or C
egister with the
r
A
/B control bit set to 0, the X2A data is recalculated and the X2A register is automatically updated. Similarly,
X2B is updated each time data is written to X1B, or to M or C
A
with
/B set to 1. The X2A and X2B registers are not readable
or directly writable by the user.
Data output from the X2A and X2B registers is routed to the
f
inal DAC register by a multiplexer. Whether each individual
DAC takes its data from the X2A or X2B register is controlled
by an 8-bit A/B select register associated with each group of
eight DACs. If a bit in this register is 0, the DAC takes its data
from the X2A register; if 1, the DAC takes its data from the X2B
register (Bit 0 through Bit 7 control DAC 0 to DAC 7).
Note that because there are 40 bits in five registers, it is possible
o set up, on a per-channel basis, whether each DAC takes its
t
data from the X2A or X2B register. A global command is also
provided that sets all bits in the A/B select registers to 0 or to 1.
LOAD DAC
All DACs in the AD5371 can be updated simultaneously by
LDAC
taking
low when each DAC register is updated from
either its X2A or X2B register, depending on the setting of the
A/B select registers. The DAC register is not readable or directly
writable by the user.
LDAC
can be permanently tied low, and
the DAC output is updated whenever new data appears in the
appropriate DAC register.
OFFSET DACS
In addition to the gain and offset trim for each DAC, there are
three 14-bit offset DACs, one for Group 0, one for Group 1, and
one for Group 2 to Group 4. These allow the output range of all
DACs connected to them to be offset within a defined range.
Thus, subject to the limitations of headroom, it is possible to set
the output range of Group 0, Group 1, or Group 2 to Group 4 to
be unipolar positive, unipolar negative, or bipolar, either symmetrical or asymmetrical about 0 V. The DACs in the AD5371 are
factory trimmed with the offset DACs set at their default values.
This results in optimum offset and gain performance for the
default output range and span.
When the output range is adjusted by changing the value of the
o
ffset DAC, an extra offset is introduced due to the gain error of
the offset DAC. The amount of offset is dependent on the magnitude of the reference and how much the offset DAC deviates from
its default value. See the
w
orst-case offset occurs when the offset DAC is at positive or
negative full scale. This value can be added to the offset present
in the main DAC channel to give an indication of the overall
offset for that channel. In most cases, the offset can be removed
by programming the C register of the channel with an appropriate
value. The extra offset caused by the offset DAC needs to be taken
into account only when the offset DAC is changed from its default
value.
Figure 21 shows the allowable code range that can be loaded
t
o the offset DAC, depending on the reference value used. Thus,
for a 5 V reference, the offset DAC should not be programmed
with a value greater than 8192 (0x2000).
5
4
3
)
V
(
F
E
R
V
2
1
0
0409681921228816383
Specifications section for this offset. The
RESERVED
OFFS ET DAC CO DE
Figure 21. Offset DAC Code Range
05814-021
Rev. B | Page 17 of 28
AD5371
V
www.BDTIC.com/ADI
OUTPUT AMPLIFIER
The output amplifiers can swing to 1.4 V below the positive
supply and 1.4 V above the negative supply, which limits how
much the output can be offset for a given reference voltage. For
example, it is not possible to have a unipolar output range of
20 V, because the maximum supply voltage is ±16.5 V.
S1
OUT
S2
CLR
R6
10kΩ
S3
SIGGNDx
CLR
05814-022
SIGGNDx
DAC
CHANNEL
R4
R3
60kΩ
20kΩ
OFFSET
DAC
Figure 22. Output Amplif
R5
60kΩ
R1
20kΩ
CLR
R2
20kΩ
ier and Offset DAC
Figure 22 shows details of a DAC output amplifier and its
connections to its corresponding offset DAC. On power-up,
S1 is open, disconnecting the amplifier from the output. S3 is
closed, so the output is pulled to the corresponding SIGGNDx
(R1 and R2 are greater than R6). S2 is also closed to prevent the
output amplifier from being open-loop. If
the output remains in this condition until
CLR
is low at power-up,
CLR
is taken high.
The DAC registers can be programmed, and the outputs assume
the programmed values when
CLR
is taken high. Even if
CLR
is
high at power-up, the output remains in this condition until
V
> 6 V and VSS < −4 V and the initialization sequence has
DD
finished. The outputs then go to their power-on default value.
TRANSFER FUNCTION
OUTPUT
VOLTAGE
8V
ACTUAL
TRANSFER
FUNCTION
IDEAL
TRANSFER
FUNCTION
0
–4V
Figure 23. DAC Transfer Function
DAC CODE
ZERO-SCALE
ERROR
The output voltage of a DAC in the AD5371 is dependent on the
value in the input register, the value of the M and C registers,
and the value in the offset DAC.
16383
FULL-SCAL E
ERROR
+
ZERO-SCALE
ERROR
05814-008
The input code is the value in the X1A or X1B register that is
a
pplied to the DAC (X1A, X1B default code = 5461).
14
DAC_CODE = INPUT_CODE ×
(M + 1)/2
+ C − 213.
where:
M = co
de in gain register − default code = 2
C = code in offset register − default code = 2
14
− 1.
13
.
The DAC output voltage is calculated as follows:
VOUT = 4 × VREFx × (DAC_
OFFSET_CODE)/2
14
+ V
SIGGND
CODE –
where:
D
AC_CODE should be within the range of 0 to 16,383.
VREF = 3.0 V for a 12 V span and 5.0 V for a 20 V span.
OFFSET_CODE is the code loaded to the offset DAC. On
power-up, the default code loaded to the offset DAC is 5461
(0x1555). With a 3 V reference, this gives a span of −4 V to +8 V.
REFERENCE SELECTION
The AD5371 has three reference input pins. The voltage applied
to the reference pins determines the output voltage span on
VOUT0 to VOUT39. VREF0 determines the voltage span for
VOUT0 to VOUT7 (Group 0), VREF1 determines the voltage
span for VOUT8 to VOUT15 (Group 1), and VREF2 determines the voltage span for VOUT16 to VOUT39 (Group 2 to
Group 4). The reference voltage applied to each VREF pin can
be different, if required, allowing each group to have a different
voltage span. The output voltage range and span can be adjusted
further by programming the offset and gain registers for each
channel and by programming the offset DACs. If the offset and
gain features are not used (that is, the M and C registers are left
at their default values), the required reference levels can be
calculated as follows:
VREF = (VOUT
− VOUT
MAX
If the offset and gain features of the AD5371 are used, the
equired output range is slightly different. The selected output
r
range should take into account the system offset and gain errors
that need to be trimmed out. Therefore, the selected output
range should be larger than the actual required range.
Calculate the required reference levels as follows:
1. I
dentify the nominal output range on VOUT.
2. I
dentify the maximum offset span and the maximum gain
required on the full output signal range.
3. C
alculate the new maximum output range on VOUT,
including the expected maximum offset and gain errors.
4. Ch
oose the new required VOUT
the VOUT limits centered on the nominal values. Note that
V
and VSS must provide sufficient headroom.
DD
alculate the value of VREF as follows:
5. C
VREF = (VOUT
− VOUT
MAX
MIN
MIN
)/4
)/4
and VOUT
MAX
, keeping
MIN
Rev. B | Page 18 of 28
AD5371
www.BDTIC.com/ADI
Reference Selection Example
If
Nominal output range = 12 V (−4 V to +8 V)
Zero-scale error = ±70 mV
Gain error = ±3%, and
SIGGNDx = AGND = 0 V
Then
Gain error = ±3%
=> Maximum positive gain error = 3%
=
> Output range including gain error = 12 + 0.03(12) = 12.36 V
Zero-scale error = ±70 mV
=> Maximum offset error span = 2(70 mV) = 0.14 V
=> O
utput range including gain error and zero-scale error =
12.36 V + 0.14 V = 12.5 V
VREF calculation
Actual output range = 12.5 V, that is, −4.25 V to +8.25 V;
VREF = (8.25 V + 4.25 V)/4 = 3.125 V
If the solution yields an inconvenient reference level, the user
can a
dopt one of the following approaches:
se a resistor divider to divide down a convenient, higher
•U
reference level to the required level.
elect a convenient reference level above VREF and modify
•S
the gain and offset registers to digitally downsize the reference.
In this way, the user can use almost any convenient reference
level but can reduce the performance by overcompaction of
the transfer function.
•U
se a combination of these two approaches.
CALIBRATION
The user can perform a system calibration on the AD5371 to
reduce gain and offset errors to below 1 LSB. This reduction is
achieved by calculating new values for the M and C registers and
reprogramming them.
The M and C registers should not be programmed until both
t
he zero-scale and full-scale errors are calculated.
Reducing Zero-Scale Error
Zero-scale error can be reduced as follows:
et the output to the lowest possible value.
1. S
2. M
easure the actual output voltage and compare it to the
required value. This gives the zero-scale error.
alculate the number of LSBs equivalent to the error and
3. C
add this number to the default value of the C register. Note
that only negative zero-scale error can be reduced.
Reducing Full-Scale Error
Full-scale error can be reduced as follows:
1. M
easure the zero-scale error.
2. S
et the output to the highest possible value.
easure the actual output voltage and compare it to the
3. M
required value. Add this error to the zero-scale error. This
is the span error, which includes the full-scale error.
alculate the number of LSBs equivalent to the span error
4. C
and subtract this number from the default value of the M
register. Note that only positive full-scale error can be
reduced.
AD5371 Calibration Example
This example assumes that a −4 V to +8 V output is required.
The DAC output is set to −4 V but measured at −4.03 V. This
gives a zero-scale error of −30 mV.
1 LSB = 12 V/16,384 = 732.42 μV
30 mV = 41 LSBs
The full-scale error can now be calculated. The output is set to
8 V a
nd a value of 8.02 V is measured. This gives a full-scale
error of +20 mV and a span error of +20 mV − (−30 mV) =
+50 mV.
50 mV = 68 LSBs
The errors can now be removed as follows:
dd 41 LSBs to the default C register value:
1. A
8192 + 41 = 8233
2. S
ubtract 68 LSBs from the default M register value:
16,383 − 68 = 16,315
3. P
rogram the M register to 16,315; program the C register
to 8233.
ADDITIONAL CALIBRATION
The techniques described in the previous section are usually
enough to reduce the zero-scale and full-scale errors in most
applications. However, there are limitations whereby the errors
may not be sufficiently reduced. For example, the offset (C)
register can only be used to reduce the offset caused by the
negative zero-scale error. A positive offset cannot be reduced.
Likewise, if the maximum voltage is below the ideal value, that
is, a negative full-scale error, the gain (M) register cannot be
used to increase the gain to compensate for the error.
These limitations can be overcome by increasing the reference
va
lue. With a 3 V reference, a 12 V span is achieved. The ideal
voltage range for the AD5371 is −4 V to +8 V. Using a +3.1 V
reference increases the range to −4.133 V to +8.2667 V. Clearly,
in this case, the offset and gain errors are insignificant, and the
M and C registers can be used to raise the negative voltage to
−4 V and then reduce the maximum voltage to +8 V to give the
most accurate values possible.
Rev. B | Page 19 of 28
AD5371
www.BDTIC.com/ADI
RESET FUNCTION
The reset function is initiated by the
RESET
edge of
sequence to reset the X, M, and C registers to their default values.
This sequence typically takes 300 μs, and the user should not
write to the part during this time. On power-up, it is recommended that the user bring
properly initialize the registers.
When the reset sequence is complete (and provided that
high), the DAC output is at a potential specified by the default
register settings, which is equivalent to SIGGNDx. The DAC
outputs remain at SIGGNDx until the X, M, or C register is
updated and
to the default state by pulsing
that, because the reset function is triggered by the rising edge,
bringing
, the AD5371 state machine initiates a reset
RESET
LDAC
is taken low. The AD5371 can be returned
RESET
low has no effect on the operation of the AD5371.
RESET
pin. On the rising
high as soon as possible to
RESET
low for at least 30 ns. Note
CLR
is
CLEAR FUNCTION
CLR
is an active low input that should be high for normal oper-
CLR
ation. The
CLR
When
stages, VOUT0 to VOUT39, is switched to the externally set
potential on the relevant SIGGNDx pin. While
LDAC
pulses are ignored. When
DAC outputs return to their previous values. The contents of
the input registers and the DAC registers are not affected by
CLR
taking
outputs, bring
adjust the output span.
pin has an internal 500 kΩ pull-down resistor.
is low, the input to each of the DAC output buffer
CLR
is low, all
CLR
is taken high again, the
low. To prevent glitches from appearing on the
CLR
low before writing to the offset DAC to
BUSY AND LDAC FUNCTIONS
The value of an X2 (A or B) register is calculated each time the
user writes new data to the corresponding X1, C, or M register.
During the calculation of X2, the
BUSY
is low, the user can continue writing new data to the X1,
M, or C register (see the Register Update Rates section for more
d
etails), but no DAC output updates can take place.
BUSY
The
resistor. When multiple AD5371 devices are used in one system,
the
required that no DAC in any device be updated until all other
DACs are ready to be updated. When each device has finished
updating the X2 (A or B) register, it releases the
another device has not finished updating its X2 register, it holds
BUSY
The DAC outputs are updated by taking the
LDAC
and the DAC outputs are updated immediately after
high. A user can also hold the
pin is bidirectional and has a 50 kΩ internal pull-up
BUSY
pins can be tied together. This is useful when it is
low, thus delaying the effect of
goes low while
BUSY
BUSY
LDAC
is active, the
LDAC
input permanently low.
output goes low. While
BUSY
pin. If
going low.
LDAC
input low. If
LDAC
event is stored
BUSY
goes
In this case, the DAC outputs are updated immediately after
BUSY
goes high. Whenever the A/B select registers are written
BUSY
to,
The AD5371 has flexible addressing that allows writing of data
o a single channel, all channels in a group, the same channel in
t
Group 0 to Group 4, the same channel in Group 1 to Group 4, or
all channels in the device. This means that 1, 4, 5, 8, or 40 DAC
register values may need to be calculated and updated. Because
there is only one multiplier shared among 40 channels, this task
must be done sequentially so that the length of the
varies according to the number of channels being updated.
Table 9.
Action
Loading X1A, X1B, C, or M to 1 channel2 1.5 μs maximum
Loading X1A, X1B, C, or M to 5 channels 3.9 μs maximum
Loading X1A, X1B, C, or M to 8 channels 5.7 μs maximum
Loading X1A, X1B, C, or M to 40 channels 24.9 μs maximum
1
BUSY
2
A single channel update is typically 1 μs.
The AD5371 contains an extra feature whereby a DAC register
is not updated unless its X2A or X2B register has been written
to since the last time
LDAC
of the X2A or X2B register, depending on the setting of the A/B
select registers. However, the AD5371 updates the DAC register
only if the X2A or X2B data has changed, thereby removing
unnecessary digital crosstalk.
also goes low for approximately 500 ns.
BUSY
pulse
BUSY
Pulse Widths
Pulse Width1
BUSY
pulse width = ((number of channels + 1) × 600 ns) + 300 ns.
LDAC
was brought low. Normally, when
is brought low, the DAC registers are filled with the contents
POWER-DOWN MODE
The AD5371 can be powered down by setting Bit 0 in the
control register to 1. This turns off the DACs, thus reducing the
current consumption. The DAC outputs are connected to their
respective SIGGNDx potentials. The power-down mode does
not change the contents of the registers, and the DACs return to
their previous voltage when the power-down bit is cleared to 0.
THERMAL SHUTDOWN FUNCTION
The AD5371 can be programmed to shut down the DACs if
the temperature on the die exceeds 130°C. Setting Bit 1 in the
control register to 1 enables this function (see Table 17). If the
die tem
perature exceeds 130°C, the AD5371 enters a thermal
shutdown mode that is equivalent to setting the power-down bit
in the control register to 1. To indicate that the AD5371 has
entered thermal shutdown mode, Bit 4 of the control register is
set to 1. The AD5371 remains in thermal shutdown mode, even
if the die temperature falls, until Bit 1 in the control register is
cleared to 0.
Rev. B | Page 20 of 28
AD5371
www.BDTIC.com/ADI
TOGGLE MODE
The AD5371 has two X2 registers per channel, X2A and X2B,
that can be used to switch the DAC output between two levels
with ease. This approach greatly reduces the overhead required
by a microprocessor, which would otherwise need to write to
each channel individually. When the user writes to the X1A,
X1B, M, or C register, the calculation engine takes a certain
amount of time to calculate the appropriate X2A or X2B value.
If an application, such as a data generator, requires that the
DAC output switch between two levels only, any method that
reduces the amount of calculation time necessary is advantageous.
If the bit is set to 0, Register X2A is selected. If the bit is set to 1, Register X2B is selected.
F7 F6 F5 F4 F3 F2 F1 F0
For the data generator example, the user needs only to set the
hig
h and low levels for each channel once by writing to the X1A
and X1B registers. The values of X2A and X2B are calculated and
stored in their respective registers. The calculation delay, therefore,
happens only during the setup phase, that is, when programming
the initial values. To toggle a DAC output between the two levels,
it is only required to write to the relevant A/B select register to
set the MUX2 register bit. Furthermore, because there are eight
MUX2 control bits per register, it is possible to update eight
channels with a single write.
ond to each DAC output.
sp
Bits1
Table 10 shows the bits that corre-
Rev. B | Page 21 of 28
AD5371
www.BDTIC.com/ADI
SERIAL INTERFACE
The AD5371 contains two high speed serial interfaces: an SPIcompatible interface operating at clock frequencies up to 50 MHz
(20 MHz for read operations) and an LVDS interface. To minimize
both the power consumption of the device and the on-chip digital
noise, the interface powers up fully only when the device is being
written to, that is, on the falling edge of
SYNC
.
SPI INTERFACE
The serial interface is 2.5 V LVTTL-compatible when operating
from a 2.5 V to 3.6 V DV
SPI
when the
as described in Tabl e 11 .
Table 11. Pins That Control the SPI Interface
Pin Description
SYNC
SDI Serial data input pin
SCLK Clocks data in and out of the device
SDO Serial data output pin for data readback
When the SPI mode is used, the SYNC,
should be connected to DGND either directly or by using pulldown resistors.
/LVDS pin is held low. It is controlled by four pins,
Frame synchronization input
supply. The SPI interface is selected
CC
SDI
, and
SCLK
pins
LVDS INTERFACE
The LVDS interface uses the same input pins, with the same
designations, as the SPI interface; however, SDO is not used. In
addition, three other pins are provided for the complementary
signals needed for differential operation, as described in Tabl e 12 .
Table 12. Pins That Control the LVDS Interface
Pin Description
SYNC Differential frame synchronization signal
SYNCDifferential frame synchronization signal
(complement)
SDI Differential serial data input
SDI
SCLK Differential serial clock input
SCLK
Differential serial data input (complement)
Differential serial clock input (complement)
SPI WRITE MODE
The AD5371 allows writing of data via the serial interface to
every register directly accessible to the serial interface, that is,
all registers except the X2A, X2B, and DAC registers. The X2A
and X2B registers are updated when the user writes to the X1A,
X1B, M, or C register, and the DAC data registers are updated
LDAC
by
The serial word (see Table 13) is 24 bits long: 14 of these bits are
da
determine what is done with the data; and two bits are reserved.
The serial interface works with both a continuous and a burst
(ga
the AD5371 by clock pulses applied to SCLK. The first falling
edge of
must be applied to SCLK to clock in 24 bits of data before
is taken high again. If
clock edge, the write operation is aborted.
If a continuous clock is used,
the 25
AD5371. If more than 24 falling clock edges are applied before
SYNC
an externally gated clock of exactly 24 pulses is used,
be taken high any time after the 24
The input register addressed is updated on the rising edge of
SYNC
taken low again.
.
ta bits; six bits are address bits; two bits are mode bits that
ted) serial clock. Serial data applied to SDI is clocked into
SYNC
starts the write cycle. At least 24 falling clock edges
SYNC
SYNC
is taken high before the 24th falling
SYNC
th
falling clock edge. This inhibits the clock within the
is taken high again, the input data becomes corrupted. If
Bit I1 and Bit I0 are reserved for future use and should be set to 0 when writing the serial word. These bits read back as 0.
Rev. B | Page 22 of 28
1
1
I0
AD5371
www.BDTIC.com/ADI
SPI READBACK MODE
The AD5371 allows data readback via the serial interface from
every register directly accessible to the serial interface, that is,
all registers except the X2A, X2B, and DAC data registers. To
read back a register, it is first necessary to tell the AD5371
which register is to be read. This is achieved by writing a word
whose first two bits are the Special Function Code 00 to the
device. The remaining bits then determine which register is to
be read back.
If a readback command is written to a special function register,
ata from the selected register is clocked out of the SDO pin
d
during the next SPI operation. The SDO pin is normally threestated but becomes driven as soon as a read command is issued.
The pin remains driven until the register data is clocked out.
See
Figure 5 for the read timing diagram. Note that due to the
ming requirements of t
ti
SPI interface during a read operation should not exceed 20 MHz.
(25 ns), the maximum speed of the
22
LVDS OPERATION
The LVDS interface operates as follows. Note that, because the
LVDS signals are differential, when a signal goes high, its
complementary signal goes low, and vice versa.
SYNC
1. The
2. Af
ter
has elapsed, SCLK can start to clock in the data.
3. Da
transition of SCLK and must be stable at this time (observe
setup and hold time specifications).
SYNC
4.
time to latch the data.
The same comments about burst and continuous clocks for the
S
PI interface apply to the LVDS interface. However, readback is
not available when using the LVDS interface.
signal frames the data. SCLK is initially high.
SYNC
goes high and the
ta is clocked into the AD5371 on the high-to-low
can then be taken low after the SCLK-to-
SYNC
-to-SCLK setup time
SYNC
hold
REGISTER UPDATE RATES
The value of the X2A register or the X2B register is calculated
each time the user writes new data to the corresponding X1, C, or
M register. The calculation is performed by a three-stage process.
The first two stages take approximately 600 ns each, and the
third stage takes approximately 300 ns. When the write to the
X1, C, or M register is complete, the calculation process begins.
If the write operation involves the update of a single DAC channel,
the user is free to write to another register, provided that the
write operation does not finish until the first-stage calculation is
complete, that is, 600 ns after the completion of the first write
operation. If a group of channels is being updated by a single
write operation, the first-stage calculation is repeated for each
channel, taking 600 ns per channel. In this case, the user should
not complete the next write operation until this time has elapsed.
CHANNEL ADDRESSING AND SPECIAL MODES
If the mode bits are not 00, the data-word D13 to D0 is written
to the device. Address Bit A5 to Address Bit A0 determine
which channels are written to, and the mode bits determine to
which register (X1A, X1B, C, or M) the data is written, as shown in
Table 14 and Table 15. Data is to be written to the X1A register
hen the
w
register when the
Table 14. Mode Bits
M1 M0 Action
1 1 Write to DAC input data (X) register
1 0 Write to DAC offset (C) register
0 1 Write to DAC gain (M) register
0 0
The AD5371 has very flexible addressing that allows the writing
of data to a single channel, all channels in a group, the same
channel in Group 0 to Group 4, the same channel in Group 1 to
Group 4, or all channels in the device (see Tabl e 15 ).
A
/B bit in the control register is 0, or to the X1B
A
/B bit is 1.
Special function, used in combination
with other bits
of the data-word
Rev. B | Page 23 of 28
AD5371
www.BDTIC.com/ADI
Table 15 shows which groups and which channels are addressed for every combination of Address Bit A5 to Address Bit A0.
Table 15. Group and Channel Addressing
Address Bit A2
to Address Bit A0
000
000
010
011
100
101
110 Reserved
111 Reserved
000 001 010 011 100 101 110 111
All groups,
annels
all ch
Group 0,
annels
all ch
Group 1,
annels
all ch
Group 2,
annels
all ch
Group 3,
annels
all ch
Group 4,
annels
all ch
Group 0,
Channel 0
Group 0,
Channel 1
Group 0,
Channel 2
Group 0,
Channel 3
Group 0,
Channel 4
Group 0,
Channel 5
Group 0,
l 6
Channe
Group 0,
l 7
Channe
Group 1,
Channel 0
Group 1,
Channel 1
Group 1,
Channel 2
Group 1,
Channel 3
Group 1,
Channel 4
Group 1,
Channel 5
Group 1,
Channel 6
Group 1,
Channel 7
Address Bit A5 to Address Bit A3
Group 2,
Channel 0
Group 2,
Channel 1
Group 2,
Channel 2
Group 2,
Channel 3
Group 2,
Channel 4
Group 2,
Channel 5
Group 2,
Channel 6
Group 2,
Channel 7
Group 3,
Channel 0
Group 3,
Channel 1
Group 3,
Channel 2
Group 3,
Channel 3
Group 3,
Channel 4
Group 3,
Channel 5
Group 3,
Channel 6
Group 3,
Channel 7
Group 4,
Channel 0
Group 4,
Channel 1
Group 4,
Channel 2
Group 4,
Channel 3
Group 4,
Channel 4
Group 4,
Channel 5
Group 4,
Channel 6
Group 4,
Channel 7
Group 0,
Group 1,
Group 2,
Group 3,
Group 4;
Channel 0
Group 0,
Group 1,
Group 2,
Group 3,
Group 4;
Channel 1
Group 0,
Group 1,
Group 2,
Group 3,
Group 4;
Channel 2
Group 0,
Group 1,
Group 2,
Group 3,
Group 4;
Channel 3
Group 0,
Group 1,
Group 2,
Group 3,
Group 4;
Channel 4
Group 0,
Group 1,
Group 2,
Group 3,
Group 4;
Channel 5
Group 0,
Group 1,
Group 2,
Group 3,
Group 4;
Channel 6
Group 0,
Group 1,
Group 2,
Group 3,
Group 4;
Channel 7
Group 1,
Group 2,
Group 3,
Group 4;
Channel 0
Group 1,
Group 2,
Group 3,
Group 4;
Channel 1
Group 1,
Group 2,
Group 3,
Group 4;
Channel 2
Group 1,
Group 2,
Group 3,
Group 4;
Channel 3
Group 1,
Group 2,
Group 3,
Group 4;
Channel 4
Group 1,
Group 2,
Group 3,
Group 4;
Channel 5
Group 1,
Group 2,
Group 3,
Group 4;
Channel 6
Group 1,
Group 2,
Group 3,
Group 4;
Channel 7
Rev. B | Page 24 of 28
AD5371
www.BDTIC.com/ADI
SPECIAL FUNCTION MODE
If the mode bits are 00, the special function mode is selected, as shown in Tab le 16. Bit I21 to Bit I16 of the serial data-word select the special
function, and the remaining bits are data required for execution of the special function, for example, the channel address for data readback.
The codes for the special functions are shown in Table 17 . Table 18 shows the addresses for data readback.
F3 = reserved. This bit should be 0 when writing to the control register.
F2 = 1: Select Register X1B for input.
F2 = 0: Select Register X1A for input.
F1 = 1: Enable thermal shutdown mode.
F1 = 0: Disable thermal shutdown mode.
F0 = 1: Software power-down.
F0 = 0: Software power-up.
0 0 0 0 1 0 XX[F13:F0] Write data in F13 to F0 to OFS0 register.
0 0 0 0 1 1 XX[F13:F0] Write data in F13 to F0 to OFS1 register.
0 0 0 1 0 0 XX[F13:F0] Write data in F13 to F0 to OFS2 register.
0 0 0 1 0 1 See Table 18Select register for readback.
0 0 0 1 1 0 XXXX XXXX [F7:F0] Write data in F7 to F0 to A/B Select Register 0.
0 0 0 1 1 1 XXXX XXXX [F7:F0] Write data in F7 to F0 to A/B Select Register 1.
0 0 1 0 0 0 XXXX XXXX [F7:F0] Write data in F7 to F0 to A/B Select Register 2.
0 0 1 0 0 1 XXXX XXXX [F7:F0] Write data in F7 to F0 to A/B Select Register 3.
0 0 1 0 1 0 XXXX XXXX [F7:F0] Write data in F7 to F0 to A/B Select Register 4.
0 0 1 0 1 1 XXXX XXXX [F7:F0] Block write to A/B select registers.
F7 to F0 = 0: Write all 0s (all channels use the X2A register).
F7 to F0 = 1: Write all 1s (all channels use the X2B register).
0 1 1 1 0 0 Reserved
F4 = overtemperature indicator (read-only bit). This bit should be 0
when wr
Bit F6 to Bit F0 are don’t cares for the data readback function.
1
Bit F12 to Bit F7 select the channel to be read back,
from Channel 0 = 001000 to Channel 39 = 101111
M register
Rev. B | Page 26 of 28
AD5371
www.BDTIC.com/ADI
APPLICATIONS INFORMATION
POWER SUPPLY DECOUPLING
In any circuit where accuracy is important, careful consideration
of the power supply and ground return layout helps to ensure
the rated performance. Design the PCB on which the AD5371 is
mounted so that the analog and digital sections are separated
and confined to certain areas of the board. If the AD5371 is in a
system where multiple devices require an AGND-to-DGND
connection, make the connection at one point only. Establish the
star ground point as close as possible to the device. For supplies
with multiple pins (V
, VDD, DVCC), it is recommended that
SS
these pins be tied together and that each supply be decoupled
only once.
The AD5371 should have ample supply decoupling of 10 μF in
p
arallel with 0.1 μF on each supply, located as close to the package
as possible, ideally right up against the device. The 10 μF capacitors
are the tantalum bead type. The 0.1 μF capacitor should have low
effective series resistance (ESR) and low effective series inductance
(ESI)—typical of the common ceramic types that provide a low
impedance path to ground at high frequencies—to handle transient
currents due to internal logic switching.
Avoid digital lines running under the device because they can
uple noise onto the device. Allow the analog ground plane,
co
however, to run under the AD5371 to avoid noise coupling. The
power supply lines of the AD5371 should use as large a trace as
possible to provide low impedance paths and reduce the effects of
glitches on the power supply line. Shield fast switching digital
signals with digital ground to avoid radiating noise to other
parts of the board, and never run them near the reference
inputs. It is essential to minimize noise on all VREF lines.
Avoid crossover of digital and analog signals. Run traces on
pposite sides of the board at right angles to each other. This
o
reduces the effects of feedthrough through the board. A microstrip
technique is by far the best approach, but it is not always possible
with a double-sided board. In this technique, the component side
of the board is dedicated to ground plane, while signal traces
are placed on the solder side.
As is the case for all thin packages, care must be taken to avoid
lexing the package and to avoid a point load on the surface of
f
this package during the assembly process.
POWER SUPPLY SEQUENCING
When the supplies are connected to the AD5371, it is important
that the AGND and DGND pins be connected to the relevant
ground plane before the positive or negative supplies are applied.
In most applications, this is not an issue because the ground pins
for the power supplies are connected to the ground pins of the
AD5371 via ground planes. When the AD5371 is to be used in a
hot-swap card, care should be taken to ensure that the ground
pins are connected to the supply grounds before the positive or
negative supplies are connected. This is required to prevent
currents from flowing in directions other than toward an analog
or digital ground.
INTERFACING EXAMPLES
The SPI interface of the AD5371 is designed to allow the
part to be easily connected to industry-standard DSPs and
microcontrollers. Figure 24 shows how the AD5371 connects to
t
he Analog Devices, Inc., Blackfin® DSP. The Blackfin has an
integrated SPI port that can be connected directly to the SPI
pins of the AD5371, as well as programmable input/output pins
that can be used to set or read the state of the digital input or
output pins associated with the interface.
AD5371
SPISELx
SCK
MOSI
MISO
PF10
ADSP-BF531
Figure 24. Interfacing to a Blackfin DSP
PF9
PF8
PF7
The Analog Devices ADSP-21065L is a floating-point DSP with
two serial ports (SPORTs). Figure 25 shows how one SPORT
n be used to control the AD5371. In this example, the transmit
ca
frame synchronization (TFSx) pin is connected to the receive
frame synchronization (RFSx) pin. Similarly, the transmit and
receive clocks (TCLKx and RCLKx) are also connected. The user
can write to the AD5371 by writing to the transmit register of
the ADSP-21065L. A read operation can be accomplished by
first writing to the AD5371 to tell the part that a read operation
is required. A second write operation with an NOP instruction
causes the data to be read from the AD5371. The DSP receive
interrupt can be used to indicate when the read operation is
complete.