Single-Channel, 1024-Position, Digital Rheostat
with SPI Interface and 50-TP Memory
AD5174
Rev. B
Information furnished by Analog Devices is believed to be accurate and reliable. However, no
responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other
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.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781.329.4700 www.analog.com
Fax: 781.461.3113 ©2010 Analog Devices, Inc. All rights reserved.
FEATURES
Single-channel, 1024-position resolution
10 kΩ nominal resistance
50-times programmable (50-TP) wiper memory
Rheostat mode temperature coefficient: 35 ppm/°C
2.7 V to 5.5 V single-supply operation
±2.5 V to ±2.75 V dual-supply operation for ac or bipolar
operations
SPI-compatible interface
Wiper setting and memory readback
Power on refreshed from memory
Resistor tolerance stored in memory
Thin LFCSP 10-lead, 3 mm × 3 mm× 0.8 mm package
Compact MSOP, 10-lead, 3 mm × 4.9 mm × 1.1 mm package
APPLICATIONS
Mechanical rheostat replacements
Op-amp: variable gain control
Instrumentation: gain, offset adjustment
Programmable voltage-to-current conversions
Programmable filters, delays, time constants
Programmable power supply
Sensor calibration
FUNCTIONAL BLOCK DIAGRAM
10
V
DD
V
SS
EXT_CAP GND
A
W
AD5174
SCLK
DIN
SDO
SPI
SERIAL
INTERFACE
POWER-ON
RESET
RDAC
REGISTER
50-TP
MEMORY
BLOCK
SYNC
08718-001
Figure 1.
GENERAL DESCRIPTION
The AD5174 is a single-channel, 1024-position digital rheostat
that combines industry leading variable resistor performance
with nonvolatile memory (NVM) in a compact package.
This device supports both dual-supply operation at ±2.5 V to
±2.75 V and single-supply operation at 2.7 V to 5.5 V and offers
50-times programmable (50-TP) memory.
The AD5174 device wiper settings are controllable through the
SPI digital interface. Unlimited adjustments are allowed before
programming the resistance value into the 50-TP memory. The
AD5174 does not require any external voltage supply to facili-
tate fuse blow and there are 50 opportunities for permanent
programming. During 50-TP activation, a permanent blow fuse
command freezes the resistance position (analogous to placing
epoxy on a mechanical rheostat).
The AD5174 is available in a 3 mm × 3mm 10-lead LFCSP
package and in a 10-lead MSOP package. The part is guaranteed
to operate over the extended industrial temperature range of
−40°C to +125°C.
AD5174
Rev. B | Page 2 of 20
TABLE OF CONTENTS
Features .............................................................................................. 1
Applications....................................................................................... 1
Functional Block Diagram .............................................................. 1
General Description......................................................................... 1
Revision History ............................................................................... 2
Specifications..................................................................................... 3
Electrical Characteristics............................................................. 3
Interface Timing Specifications.................................................. 4
Absolute Maximum Ratings............................................................ 6
Thermal Resistance ...................................................................... 6
ESD Caution.................................................................................. 6
Pin Configuration and Function Descriptions............................. 7
Typical Performance Characteristics ............................................. 8
Test Circuits..................................................................................... 11
Theory of Operation ...................................................................... 12
Serial Data Interface................................................................... 12
Shift Register............................................................................... 12
RDAC Register............................................................................ 12
50-TP Memory Block ................................................................ 12
Write Protection ......................................................................... 12
RDAC and 50-TP Read Operation .......................................... 13
Shutdown Mode ......................................................................... 14
Reset ............................................................................................. 14
SDO Pin and Daisy-Chain Operation..................................... 15
RDAC Architecture.................................................................... 16
Programming the Variable Resistor......................................... 16
EXT_CAP Capacitor.................................................................. 17
Terminal Voltage Operating Range ......................................... 17
Power-Up Sequence ................................................................... 17
Outline Dimensions....................................................................... 18
Ordering Guide .......................................................................... 18
REVISION HISTORY
12/10—Rev. A to Rev. B
Changes to SDO Pin Description................................................... 7
Changes to SDO Pin and Daisy-Chain Operation Section....... 15
7/10—Rev. 0 to Rev. A
Changes to Daisy-Chain Operation Section including Changing
Title to SDO Pin and Daisy-Chain Operation Section ............. 15
Added Table 11 ............................................................................... 15
Changes to Ordering Guide .......................................................... 18
3/10—Revision 0: Initial Version
AD5174
Rev. B | Page 3 of 20
SPECIFICATIONS
ELECTRICAL CHARACTERISTICS
VDD = 2.7 V to 5.5 V, VSS = 0 V; VDD = 2.5 V to 2.75 V, VSS = −2.5 V to −2.75 V; −40°C < TA < 125°C, unless otherwise noted.
Table 1.
Parameter Symbol Test Conditions/Comments Min Typ1 Max Unit
DC CHARACTERISTICS—RHEOSTAT MODE
Resolution 10 Bits
Resistor Integral Nonlinearity2, 3 R-INL |VDDVSS| = 3.6 V to 5.5 V −1 +1 LSB
|VDDVSS| = 3.3 V to 3.6 V −1 +1.5 LSB
|VDDVSS| = 2.7 V to 3.3 V −2.5 +2.5 LSB
Resistor Differential Nonlinearity2 R-DNL
−1 +1 LSB
Nominal Resistor Tolerance ±15 %
Resistance Temperature Coefficient4, 5 Code = full scale 35 ppm/°C
Wiper Resistance Code = zero scale 35 70 Ω
RESISTOR TERMINALS
Terminal Voltage Range4, 6 V
TERM V
SS V
DD V
Capacitance A4 f = 1 MHz, measured to GND, code = half scale 90 pF
Capacitance W4 f = 1 MHz, measured to GND, code = half scale 40 pF
Common-Mode Leakage Current4 V
A = VW 50 nA
DIGITAL INPUTS
Input Logic4
High VINH 2.0 V
Low VINL 0.8 V
Input Current IIN ±1 μA
Input Capacitance4 C
IN 5 pF
DIGITAL OUTPUT
Output Voltage4
High VOH R
PULL_UP = 2.2 kΩ to VDD V
DD − 0.1 V
Low VOL R
PULL_UP = 2.2 kΩ to VDD
V
DD = 2.7 V to 5.5 V, VSS = 0 V 0.4 V
V
DD = 2.5 V to 2.75 V, VSS = −2.5 V to −2.75 V 0.6 V
Tristate Leakage Current −1 +1 μA
Output Capacitance4 5 pF
POWER SUPPLIES
Single-Supply Power Range VSS = 0 V 2.7 5.5 V
Dual-Supply Power Range ±2.5 ±2.75 V
Supply Current
Positive IDD 1 μA
Negative ISS −1 μA
50-TP Store Current4, 7
Positive IDD_OTP_STORE 4 mA
Negative ISS_OTP_STORE −4 mA
50-TP Read Current4, 8
Positive IDD_OTP_READ 500 μA
Negative ISS_OTP_READ −500 μA
Power Dissipation9 P
DISS VIH = VDD or VIL = GND 5.5 μW
Power Supply Rejection Ratio4 PSRR ΔVDD/ΔVSS = ±5 V ± 10% −50 −55 dB
AD5174
Rev. B | Page 4 of 20
Parameter Symbol Test Conditions/Comments Min Typ1 Max Unit
DYNAMIC CHARACTERISTICS4, 10
Bandwidth −3 dB, RAW = 5 kΩ, Terminal W, see Figure 24 700 kHz
Total Harmonic Distortion VA = 1 V rms, f = 1 kHz, RAW = 5 kΩ −90 dB
Resistor Noise Density RWB = 5 kΩ, TA = 25°C, f = 10 kHz 13 nV/√Hz
1 Typical specifications represent average readings at 25°C, VDD = 5 V, and VSS = 0 V.
2 Resistor position nonlinearity error (R-INL) is the deviation from an ideal value measured between the maximum resistance and the minimum resistance wiper
positions. R-DNL measures the relative step change from the ideal between successive tap positions.
3 The maximum current in each code is defined by IAW = (VDD − 1)/RAW.
4 Guaranteed by design and not subject to production test.
5 See Figure 9 for more details.
6 Resistor Terminal A and Resistor Terminal W have no limitations on polarity with respect to each other. Dual-supply operation enables ground referenced bipolar
signal adjustment.
7 Different from operating current; the supply current for the fuse program lasts approximately 55 ms.
8 Different from operating current; the supply current for the fuse read lasts approximately 500 ns.
9 PDISS is calculated from (IDD × VDD) + (ISS × VSS).
10 All dynamic characteristics use VDD = +2.5 V, VSS = −2.5 V.
INTERFACE TIMING SPECIFICATIONS
VDD = 2.7 V to 5.5 V, VSS = 0 V; VDD = 2.5 V, VSS = −2.5 V; all specifications TMIN to TMAX, unless otherwise noted.
Table 2.
Parameter Limit1 Unit Test Conditions/Comments
t12 20 ns min SCLK cycle time
t2 10 ns min SCLK high time
t3 10 ns min SCLK low time
t4 15 ns min
SYNC to SCLK falling edge setup time
t5 5 ns min Data setup time
t6 5 ns min Data hold time
t7 1 ns min
SCLK falling edge to SYNC rising edge
t83 400 ns min
Minimum SYNC high time
t9 15 ns min
SYNC rising edge to next SCLK fall ignored
t104 450 ns max SCLK rising edge to SDO valid
tMEMORY_READ 6 μs max Memory readback execute time
tMEMORY_PROGRAM 350 ms max Memory program time
tRESET 600 μs max Reset OTP restore time
tPOWER-UP5 2 ms max Power-on 50-TP restore time
1 All input signals are specified with tr = tf = 1 ns/V (10% to 90% of VDD) and timed from a voltage level of (VIL + VIH)/2.
2 Maximum SCLK frequency is 50 MHz.
3 Refer to tMEMORY_READ and tMEMORY_PROGRAM for memory commands operations.
4 RPULL_UP = 2.2 kΩ to VDD with a capacitance load of 168 pF.
5 Maximum time after VDD − VSS is equal to 2.5 V.
AD5174
Rev. B | Page 5 of 20
Shift Register and Timing Diagrams
DATA BI T S
DB9 (MSB) DB0 (LSB)
D7 D6 D5 D4 D3 D2 D1 D0
CONT ROL BIT S
C0C1
C2 D9 D8
C3
00
08718-002
Figure 2. Shift Register Content
0 0 C3 C2 D7 D6 D5 D2 D1 D0
SCLK
SDO
DIN
SYNC
t
7
t
9
t
1
t
2
t
4
t
3
t
8
t
5
t
6
08718-003
Figure 3. Write Timing Diagram, CPOL=0, CPHA = 1
t
10
t
9
00 00C3 C3
X X C3 D1 D0
D1 D0D0 D0
SCLK
SDO
DIN
SYNC
08718-004
Figure 4. Read Timing Diagram, CPOL=0, CPHA = 1
AD5174
Rev. B | Page 6 of 20
ABSOLUTE MAXIMUM RATINGS
TA = 25°C, unless otherwise noted.
Table 3.
Parameter Rating
VDD to GND –0.3 V to +7.0 V
VSS to GND +0.3 V to −7.0 V
VDD to VSS 7 V
VA, VW to GND VSS − 0.3 V, VDD + 0.3 V
Digital Input and Output Voltage to GND −0.3 V to VDD + 0.3 V
EXT_CAP to VSS 7 V
IA, IW
Pulsed1
Frequency > 10 kHz ±6 mA/d2
Frequency ≤ 10 kHz ±6 mA/√d2
Continuous ±6 mA
Operating Temperature Range3 −40°C to +125°C
Maximum Junction Temperature
(TJ Maximum)
150°C
Storage Temperature Range −65°C to +150°C
Reflow Soldering
Peak Temperature 260°C
Time at Peak Temperature 20 sec to 40 sec
Package Power Dissipation (TJ max − TA)/θJA
Stresses above those listed under Absolute Maximum Ratings
may cause permanent damage to the device. This is a stress
rating only and 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.
THERMAL RESISTANCE
θJA is defined by JEDEC specification JESD-51 and the value is
dependent on the test board and test environment.
Table 4. Thermal Resistance
Package Type θJA1 θ
JC Unit
10-Lead LFCSP 50 3 °C/W
10-Lead MSOP 135 N/A °C/W
1 JEDEC 2S2P test board, still air (0 m/sec airflow).
ESD CAUTION
1 Maximum terminal current is bounded by the maximum current handling of
the switches, maximum power dissipation of the package, and maximum
applied voltage across any two of the A and W terminals at a given
resistance.
2 Pulse duty factor.
3 Includes programming of 50-TP memory.
AD5174
Rev. B | Page 7 of 20
PIN CONFIGURATION AND FUNCTION DESCRIPTIONS
V
DD
1
1
V
SS
2
2
A
3
3
W
4
4
SDO
10
9
8
SCLK
7
5
EXT_CAP
DIN
6
GND
AD5174
TOP VIEW
(Not to Scale)
SYNC
08718-005
SYNC
V
DD
1
V
SS
2
A
3
W
4SDO
10
9
8
SCLK
7
5
EXT_CAP
DIN
6GND
*LEAV E FLOATING OR CONNE CT E D TO V
SS
.
AD5174
(EXPOSED
PAD)*
08718-103
Figure 5. MSOP Pin Configuration Figure 6. LFCSP Pin Configuration
Table 5. Pin Function Descriptions
Pin No. Mnemonic Description
1 VDD Positive Power Supply. Decouple this pin with 0.1 μF ceramic capacitors and 10 μF capacitors.
2 A Terminal A of RDAC. VSS ≤ VAVDD.
3 W Wiper Terminal of RDAC. VSS ≤ VW ≤ VDD.
4 VSS Negative Supply. Connect to 0 V for single-supply applications. Decouple this pin with 0.1 μF ceramic capacitors
and 10 μF capacitors.
5 EXT_CAP
External Capacitor. Connect a 1 μF capacitor between EXT_CAP and VSS. This capacitor must have a voltage
rating of ≥7 V.
6 GND Ground Pin, Logic Ground Reference.
7 SDO Serial Data Output. This pin can be used to clock data from the shift register in daisy-chain mode or in readback
mode. This open-drain output requires an external pull-up resistor even if it is not use.
8 DIN Serial Data Line. This pin is used in conjunction with the SCLK line to clock data into or out of the 16-bit
input register.
9 SCLK Serial Clock Input. Data is clocked into the shift register on the falling edge of the serial clock input. Data can be
transferred at rates of up to 50 MHz.
10 SYNC Falling Edge Synchronization Signal. This is the frame synchronization signal for the input data. When SYNC
goes low, it enables the shift register and data is transferred in on the falling edges of the subsequent clocks.
The selected register is updated on the rising edge of SYNC following the 16th clock cycle. If SYNC is taken
high before the 16th clock cycle, the rising edge of SYNC acts as an interrupt, and the write sequence is ignored
by the RDAC.
EPAD Exposed Pad Leave floating or connected to VSS
AD5174
Rev. B | Page 8 of 20
TYPICAL PERFORMANCE CHARACTERISTICS
0.8
–0.6
–0.4
–0.2
0
0.2
0.4
0.6
0 128 256 384 512 640 768 896 1023
INL (LSB)
CODE (Decimal )
08718-014
+25°C
–40°C
+125°C
Figure 7. R-INL vs. Code vs. Temperature
0.4
–0.3
–0.2
–0.1
0
0.1
0.2
0.3
0 128 256 384 512 640 768 896 1023
DNL (LSB)
CODE (Decimal )
08718-015
+25°C
–40°C
+125°C
Figure 8. R-DNL vs. Code vs. Temperature
700
600
500
400
300
200
100
00 128 256 384 512 640 768 896 1023
RHEOS T AT MO DE T E M PCO ( p p m/ °C)
CODE (Decimal )
08718-019
V
DD
/V
SS
= 5V/0V
Figure 9. Tempco ΔRWA/ΔT vs. Code
0
0.2
0.4
0.6
0.8
1.0
CURRENT ( mA)
VOLTAGE (V)
0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5
0
8718-023
V
DD
/V
SS
= 5V/0V
Figure 10. Supply Current (IDD) vs. Digital Input Voltage
–500
–400
–300
–200
–100
0
100
200
300
400
500
CURRENT (n A)
TEM P E RATURE ( °C)
–40 –30 –20 –10 0 20 30 40 50 60 70 80 90 100 11010
I
DD
= 5V
I
SS
= 5V
I
DD
= 3V
I
SS
= 3V
08718-018
Figure 11. Supply Current (IDD, ISS) vs. Temperature
7
0
1
2
3
4
5
6
0 1023850765 935680510 595340 425170 25585
THEO RE T I CAL l
WA_MAX
(mA)
CODE (Decimal)
08718-028
V
DD
/V
SS
= 5V/0V
Figure 12. Theoretical Maximum Current vs. Code
AD5174
Rev. B | Page 9 of 20
08718-031
V
DD
/V
SS
= 5V/0V
–50
–45
–35
–40
–30
–25
–20
–15
–10
–5
0
1 10M1M100k10k1k10010
GAIN (dB)
FREQUENCY (Hz)
0x040
0x020
0x010
0x008
0x004
0x002
0x001
0x200
0x100
0x080
Figure 13. Bandwidth vs. Frequency vs. Code
THD + N ( dB)
08718-039
0
–120
–100
–80
–60
–40
–20
10 100 1k 10k 100k
FREQUENCY ( Hz) 1M
V
DD
/V
SS
= ±2.5V
CODE = HALF S CALE
f
IN
= 1V rms
NOI SE BW = 22k Hz
Figure 14. THD + N vs. Frequency
0
–100
–80
–60
–40
–20
0.001 0.01 0.1 1
THD + N (dB)
AMPL I TUDE ( V rms)
08718-026
10k
V
DD
/V
SS
= ±2.5V
CO DE = HA LF SC ALE
f
IN
= 1kHz
NOISE BW = 22kHz
Figure 15. THD + N vs. Amplitude
20
–25
–30
–35
–40
–45
–50
–55
–6010 100 1M100k10k1k
PSRR (dB)
FR E QUE NC Y ( Hz )
08718-024
V
DD
/V
SS
= 5V/0V
CODE = HAL F SCAL E
Figure 16. PSRR vs. Frequency
4
5
6
7
8
VOLTAGE (V)
TIME (Seconds)
0.07 0.09 0.11 0.13 0.15 0.17
0
8718-029
Figure 17. VEXT_CAP Waveform While Writing Fuse
20
–70
–60
–50
–40
–30
–20
–10
0
10
–2 420
GLITCH AMPLITUDE (mV)
TIME (µs)
08718-102
V
DD
/V
SS
= ±2.5V
I
AW
= 200µ A
Figure 18. Maximum Glitch Energy
AD5174
Rev. B | Page 10 of 20
1.0
–1.5
–1.0
–0.5
0
0.5
–10 6050403020100
VOLTAGE (mV)
TIME (µs)
08718-100
V
DD
/V
SS
= ±2.5V
I
AW
= 200µ A
0.006
–0.002
–0.001
0
0.001
0.002
0.003
0.004
0.005
0 1000900800700600500400300200100
R
AW
RESI S TANCE (%)
OP E RATION AT 150°C (Hou rs)
08718-101
V
DD
/V
SS
= 5V/0V
I
AW
= 10µA
CODE = HALF S CALE
Figure 19. Digital Feedthrough
Figure 20. Long-Term Drift Accelerated Average by Burn-In
AD5174
Rev. B | Page 11 of 20
TEST CIRCUITS
Figure 21 to Figure 25 define the test conditions used in the Specifications section.
V
MS
I
W
A
W
DUT
08718-033
Figure 21. Resistor Position Nonlinearity Error
(Rheostat Operation; R-INL, R-DNL)
08718-034
R
WA
=
MS
I
W
R
W
=R
WA
2
A
W
I
W
DUT
V
MS
CODE = 0 x00
Figure 22. Wiper Resistance
V
DD
I
W
V
MS
A
W
V+
V
MS
%
V
DD
%
V
MS
V
DD
V
+ = V
DD
±10
%
PSRR (dB) = 20 log
PSS (%/%) =
08718-035
Figure 23. Power Supply Sensitivity (PSS, PSRR)
V
MS
A
W
DUT
V
1G
08718-036
Figure 24. Gain vs. Frequency
I
CM
DUT
W
A
NC = NO CO NNE CT
GND
+2.75V
NC
+2.75V –2.75V
–2.75V
GND
GND
08718-037
Figure 25. Common Leakage Current
AD5174
Rev. B | Page 12 of 20
THEORY OF OPERATION
The AD5174 is designed to operate as a true variable resistor for
analog signals within the terminal voltage range of VSS < VTERM
< VDD. The RDAC register contents determine the resistor wiper
position. The RDAC register acts as a scratchpad register, which
allows unlimited changes of resistance settings. The RDAC register
can be programmed with any position setting by using the SPI
interface. When a desirable wiper position is found, this value
can be stored in a 50-TP memory register. Thereafter, the wiper
position is always restored to that position for subsequent
power-ups. The storing of 50-TP data takes approximately 350 ms;
during this time, the AD5174 locks to prevent any changes from
taking place.
The AD5174 also feature a patented 1% end-to-end resistor
tolerance. This simplifies precision, rheostat mode, and open-
loop applications where knowledge of absolute resistance is
critical.
SERIAL DATA INTERFACE
The AD5174 contains a serial interface (SYNC, SCLK, DIN,
and SDO) that is compatible with SPI interface standards, as well
as most DSPs. This device allows writing of data via the serial
interface to every register.
SHIFT REGISTER
The shift register is 16 bits wide, as shown in Figure 2. The
16-bit word consists of two unused bits, which should be set to
0, followed by four control bits and 10 RDAC data bits. Data is
loaded MSB first (Bit D9). The four control bits determine the
function of the software command as listed in Ta ble 6. Figure 3
shows a timing diagram of a typical AD5174 write sequence.
The write sequence begins by bringing the SYNC line low. The
SYNC pin must be held low until the complete data-word is
loaded from the DIN pin. When SYNC returns high, the serial
data-word is decoded according to the instructions in .
The command bits (Cx) control the operation of the digital
potentiometer. The data bits (Dx) are the values that are loaded
into the decoded register. The AD5174 has an internal counter
that counts a multiple of 16 bits (a frame) for proper operation.
For example, AD5174 works with a 32-bit word but does not
work properly with a 31-bit or 33-bit word. The AD5174
does not require a continuous SCLK when
Table 6
SYNC is high.
To minimize power consumption in the digital input buffers,
operate all serial interface pins close to the VDD supply rails.
RDAC REGISTER
The RDAC register directly controls the position of the digital
rheostat wiper. For example, when the RDAC register is loaded
with all 0s, the wiper is connected to Terminal A of the variable
resistor. The RDAC register is a standard logic register, and there
is no restriction on the number of changes allowed. The basic
mode of setting the variable resistor wiper position (programming
the RDAC register) is accomplished by loading the serial data
input register with Command 1 (see Table 6) and with the desired
wiper position data.
50-TP MEMORY BLOCK
The AD5174 contains an array of 50-TP programmable memory
registers, which allow the wiper position to be programmed up
to 50 times. Table 10 shows the memory map. When the desired
wiper position is determined, the user can load the serial data
input register with Command 3 (see Table 6), which stores the
wiper position data in a 50-TP memory register. The first address
to be programmed is Location 0x01 (see Table 10 ); the AD5174
increments the 50-TP memory address for each subsequent
program until the memory is full. Programming data to 50-TP
consumes approximately 4 mA for 55 ms, and takes approx-
imately 350 ms to complete, during which time the shift register
locks to prevent any changes from occurring. Bit C2 of the
control register can be polled to verify that the fuse program
command was completed properly. No change in supply voltage
is required to program the 50-TP memory; however, a 1 μF
capacitor on the EXT_CAP pin is required (see Figure 28).
Prior to 50-TP activation, the AD5174 presets to midscale
on power-up.
WRITE PROTECTION
At power-up, the serial data input register write commands for
both the RDAC register and the 50-TP memory registers are
disabled. The RDAC write protect bit, C1, of the control register
(see Table 8 and Table 9) is set to 0 by default. This disables any
change of the RDAC register content regardless of the software
commands, except that the RDAC register can be refreshed
from the 50-TP memory using the software reset, Command 4
(see Table 6). To enable programming of the RDAC register,
the write protect bit (Bit C1), of the control register must first
be programmed by loading the serial data input register with
Command 7. To enable programming of the 50-TP memory,
the program enable bit (Bit C0) of the control register, which
is set to 0 by default, must first be set to 1.
AD5174
Rev. B | Page 13 of 20
RDAC AND 50-TP READ OPERATION
A serial data output SDO pin is available for readback of
the internal RDAC register or 50-TP memory contents. The
contents of the RDAC register can be read back through
SDO by using Command 2 (see Table 6). Data from the
RDAC register is clocked out of the SDO pin during the last
10 clocks of the next SPI operation.
It is possible to read back the contents of any of the 50-TP
memory registers through SDO by using Command 5. The
lower six LSB bits, D5 to D0 of the data byte, select which
memory location is to be read back, as shown in Table 10.
Data from the selected memory location is clocked out of the
SDO pin during the next SPI operation. A binary encoded version
address of the most recently programmed wiper memory location
can be read back using Command 6 (see Table 6 ). This can be used
to monitor the spare memory status of the 50-TP memory block.
Tabl e 7 provides a sample listing for the sequence of serial data
input (DIN) words with the serial data output appearing at the
SDO pin in hexadecimal format for a write and read to both the
RDAC register and the 50-TP memory (Memory Location 20).
Table 6. Command Operation Truth Table
Command[DB13:DB10] Data[DB9:DB0]1
Command
Number C3 C2 C1 C0 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Operation
0 0 0 0 0 X X X X X X X X X X NOP: do nothing.
1 0 0 0 1 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Write contents of serial register
data to RDAC.
2 0 0 1 0 X X X X X X X X X X
Read contents of RDAC wiper
register.
3 0 0 1 1 X X X X X X X X X X
Store wiper setting: store RDAC
setting to 50-TP.
4 0 1 0 0 X X X X X X X X X X
Software reset: refresh RDAC with
last 50-TP memory stored value.
52 0 1 0 1 X X X X D5 D4 D3 D2 D1 D0
Read contents of 50-TP from SDO
output in the next frame.
6 0 1 1 0 X X X X X X X X X X
Read address of last 50-TP
programmed memory location.
73 0 1 1 1 X X X X X X X X D1 D0
Write contents of serial register
data to control register.
8 1 0 0 0 X X X X X X X X X X Read contents of control register.
9 1 0 0 1 X X X X X X X X X D0 Software shutdown.
D0 = 0; normal mode.
D0 = 1; device placed in shutdown
mode.
1 X is don’t care.
2 See Table 10 for 50-TP memory map.
3 See Table 9 for bit details.
AD5174
Rev. B | Page 14 of 20
SHUTDOWN MODE
The AD5174 can be shut down by executing the software
shutdown command, Command 9 (see Tabl e 6), and setting
the LSB to 1. This feature places the RDAC in a zero-power-
consumption state where Terminal A is open circuited and
the wiper terminal, W, remains connected. It is possible to
execute any command from Tabl e 6 while the AD5174 is in
shutdown mode. The parts can be taken out of shutdown
mode by executing Command 9 and setting the LSB to 0
or by a software reset, Command 4 (see Table 6).
RESET
The AD5174 can be reset through software by executing Com-
mand 4 (see Table 6). The reset command loads the RDAC
register with the contents of the most recently programmed 50-TP
memory location. The RDAC register loads with midscale if no
50-TP memory location has been previously programmed.
Table 7. Write and Read to RDAC and 50-TP Memory
DIN SDO1 Action
0x1C03 0xXXXX Enable update of the wiper position and the 50-TP memory contents through the digital interface.
0x0500 0x1C03 Write 0x100 to the RDAC register; wiper moves to ¼ full-scale position.
0x0800 0x0500 Prepares data read from RDAC register.
0x0C00 0x100 Stores RDAC register content into the 50-TP memory. A 16-bit word appears out of SDO, where the last 10 bits contain
the contents of the RDAC register (0x100).
0x1800 0x0C00 Prepares data read of the last programmed 50-TP memory monitor location.
0x0000 0xXX19 NOP Instruction 0 sends a 16-bit word out of SDO, where the six LSBs (that is, last six bits) contain the binary address of
the last programmed 50-TP memory location, for example, 0x19 (see Table 10).
0x1419 0x0000 Prepares data read from Memory Location 0x19.
0x2000 0x0100 Prepares data read from the control register. Sends a 16-bit word out of SDO, where the last 10 bits contain the
contents of Memory Location 0x19.
0x0000 0xXXXX NOP Instruction 0 sends a 16-bit word out of SDO, where the last four bits contain the contents of the control register.
If Bit C2 = 1, the fuse program command was successful.
1 X is don’t care.
Table 8. Control Register Bit Map
D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
0 0 0 0 0 0 C2 0 C1 C0
Table 9. Control Register Bit Description
Bit Name Description
C0 50-TP program enable
0 = 50-TP program disabled (default)
1 = enable device for 50-TP program
C1 RDAC register write protect
0 = wiper position frozen to value in 50-TP memory (default)1
1 = allow update of wiper position through digital interface
C2 50-TP memory program success bit
0 = fuse program command was unsuccessful (default)
1 = fuse program command was successful
1 Wiper position frozen to the last value programmed in the 50-TP memory. The wiper is frozen to midscale if the 50-TP memory has not been previously programmed.
AD5174
Rev. B | Page 15 of 20
Table 10. Memory Map
Data Byte[DB9:DB0]1
Command Number D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Register Contents
X X X 0 0 0 0 0 0 0 Reserved
X X X 0 0 0 0 0 0 1 1st programmed wiper location (0x01)
X X X 0 0 0 0 0 1 0 2nd programmed wiper location (0x02)
X X X 0 0 0 0 0 1 1 3rd programmed wiper location (0x03)
X X X 0 0 0 0 1 0 0 4th programmed wiper location (0x04)
… … … … … … … … … …
X X X 0 0 0 1 0 1 0 10th programmed wiper location (0xA)
… … … … … … … … … …
X X X 0 0 1 0 1 0 0 20th programmed wiper location (0x14)
… … … … … … … … … …
X X X 0 0 1 1 1 1 0 30th programmed wiper location (0x1E)
… … … … … … … … … …
X X X 0 1 0 1 0 0 0 40th programmed wiper location (0x28)
… … … … … … … … … …
X X X 0 1 1 0 0 1 0 50th programmed wiper location (0x32)
… … … … … … … … … …
X X X 0 1 1 1 0 0 1 MSB resistance tolerance (0x39)
5
X X X 0 1 1 1 0 1 0 LSB resistance tolerance (0x3A)
1 X is don’t care.
SDO PIN AND DAISY-CHAIN OPERATION
The serial data output pin (SDO) serves two purposes: it can be
used to read the contents of the wiper setting and 50-TP values
using Command 2 and Command 5, respectively (see Table 6)
or the SDO pin can be used in daisy-chain mode. Data is
clocked out of SDO on the rising edge of SCLK. The SDO pin
contains an open-drain N-channel FET that requires a pull-up
resistor. To place the pin in high impedance and minimize the
power dissipation when the pin is used, the 0x8001 data word
followed by Command 0 should be sent to the part. Table 11
provides a sample listing for the sequence of the serial data
input (DIN). Daisy chaining minimizes the number of port pins
required from the controlling IC. As shown in Figure 26, users
need to tie the SDO pin of one package to the DIN pin of the
next package. Users may need to increase the clock period,
because the pull-up resistor and the capacitive loading at the
SDO-to-DIN interface may require additional time delay
between subsequent devices. When two AD5174 devices are
daisy-chained, 32 bits of data are required. The first 16 bits go to
U2, and the second 16 bits go to U1.
Table 11. Minimize Power Dissipation at SDO Pin
DIN SDO1 Action
0xXXXX 0xXXXX Last user command sent to the digipot
0x8001 0xXXXX Prepares the SDO pin to be placed in
high impedance mode
0x0000 High
Impedance
The SDO pin is placed in high
impedance
1 X is don’t care.
Keep the SYNC pin low until all 32 bits are clocked into their
respective serial registers. The SYNC pin is then pulled high to
complete the operation.
DINMOSI
SSSCLK
SDO
SCLK
DIN SDO
AD5174
U1 AD5174
U2
SYNC SCLK
SYNC
DD
µC
R
P
2.2k
08718-006
Figure 26. Daisy-Chain Configuration Using SDO
AD5174
Rev. B | Page 16 of 20
RDAC ARCHITECTURE
To achieve optimum performance, Analog Devices, Inc., has
patented the RDAC segmentation architecture for all the digital
potentiometers. In particular, the AD5174 employs a three-stage
segmentation approach as shown in Figure 27. The AD5174
wiper switch is designed with the transmission gate CMOS
topology.
A
W
10-BIT
ADDRESS
DECODER
R
L
R
L
R
M
R
M
R
W
S
W
R
W
08718-007
Figure 27. Simplified RDAC Circuit
PROGRAMMING THE VARIABLE RESISTOR
Rheostat Operation
The nominal resistance between Terminal W and Terminal A,
RWA , is 10 kΩ and has 1024-tap points accessed by the wiper ter-
minal. The 10-bit data in the RDAC latch is decoded to select
one of the 1024 possible wiper settings. As a result, the general
equation for determining the digitally programmed output
resistance between the W terminal and the A terminal is
WAWA R
D
DR ×=
1024
)( (1)
where:
D is the decimal equivalent of the binary code loaded in the
10-bit RDAC register.
RWA is the end-to-end resistance.
In the zero-scale condition, a finite total wiper resistance of
120 Ω is present. Regardless of which setting the part is oper-
ating in, take care to limit the current between Terminal A and
Terminal W to the maximum continuous current of ±6 mA or
a pulse current specified in Table 3. Otherwise, degradation or
possible destruction of the internal switch contact may occur.
Calculate the Actual End-to-End Resistance
The resistance tolerance is stored in the internal memory
during factory testing. The actual end-to-end resistance can,
therefore, be calculated (which is valuable for calibration,
tolerance matching, and precision applications).
The resistance tolerance (in percentage) is stored in fixed-point
format, using a 16-bit sign magnitude binary. The sign bit(0 =
negative and 1 = positive) and the integer part is located in
Address 0x39 as shown in Table 10. Address 0x3A contains the
fractional part as shown in Table 12.
That is, if the data readback from Address 0x39 is 0000001010 and
data from Address 0x3A is 0010110000, then the end-to-end
resistance can be calculated as follows.
For Memory Location 0x39,
DB[9:8]: XX = dont care
DB[7]: 0 = negative
DB[6:0]: 0001010 = 10
For Memory Location 0x3A,
DB[9:8]: XX = dont care
DB[7:0]: 10110000 = 176 × 2−8 = 0.6875
Therefore, tolerance = −10.6875% and RWA (1023)= 8.931 kΩ.
Table 12. End-to-End Resistance Tolerance Bytes
Data Byte1
Memory Map Address DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0x39 X X Sign 26 2
5 2
4 2
3 2
2 2
1 2
0
0x3A X X 2−1 2
−2 2
−3 2
−4 2
−5 2
−6 2
−7 2
−8
1 X is don’t care.
AD5174
Rev. B | Page 17 of 20
EXT_CAP CAPACITOR
A 1 μF capacitor to VSS must be connected to the EXT_CAP
pin, as shown in Figure 28, on power-up and throughout the
operation of the AD5174.
AD5174
50-TP
MEMORY
BLOCK
EXT_CAP
C1
1µF
V
SS
V
SS
08718-008
Figure 28. EXT_CAP Hardware Setup
TERMINAL VOLTAGE OPERATING RANGE
The positive VDD and negative VSS power supplies of the AD5174
define the boundary conditions for proper 2-terminal digital
resistor operation. Supply signals present on Terminal A and
Terminal W that exceed VDD or VSS are clamped by the internal
forward-biased diodes (see Figure 29).
V
SS
DD
A
W
08718-009
Figure 29. Maximum Terminal Voltages Set by VDD and VSS
The ground pin of the AD5174 is primarily used as a digital
ground reference. To minimize the digital ground bounce, join the
AD5174 ground terminal remotely to the common ground. The
digital input control signals to the AD5174 must be referenced
to the device ground pin (GND) and must satisfy the logic level
defined in the Specifications section. An internal level shift
circuit ensures that the common-mode voltage range of the
three terminals extends from VSS to VDD, regardless of the
digital input level.
POWER-UP SEQUENCE
Because there are diodes to limit the voltage compliance at
Terminal A and Ter minal W (see Figure 29), it is important to
power VDD/VSS first before applying any voltage to Terminal A
and Terminal W; otherwise, the diode is forward-biased such
that VDD/VSS are powered unintentionally. The ideal power-
up sequence is VSS, GND, VDD, digital inputs, VA, and VW.
The order of powering VA, VW, and the digital inputs is not
important as long as they are powered after VDD/VSS.
As soon as VDD is powered, the power-on preset activates,
which first sets the RDAC to midscale and then restores the
last programmed 50-TP value to the RDAC register.
AD5174
Rev. B | Page 18 of 20
OUTLINE DIMENSIONS
2.48
2.38
2.23
0.50
0.40
0.30
121009-A
TOP VIEW
10
1
6
5
0.30
0.25
0.20
BOTTOM VIEW
PIN 1 INDEX
AREA
SEATING
PLANE
0.80
0.75
0.70
1.74
1.64
1.49
0.20 REF
0.05 MAX
0.02 NOM
0.50 BSC
EXPOSED
PAD
3.10
3.00 SQ
2.90
PIN1
INDICATOR
(R0.15)
FOR PROPER CONNECTION OF
THE EXPOSED PAD, REFER TO
THE PIN CONFIGURATION AND
FUNCTION DESCRIPTIONS
SECTION OF THIS DATA SHEET.
Figure 30. 10-Lead Frame Chip Scale Package [LFCSP_WD]
3 mm × 3mm Body, Very Thin, Dual Lead
(CP-10-9)
Dimensions shown in millimeters
COMPLIANT TO JEDEC STANDARDS MO-187-BA
091709-A
0.70
0.55
0.40
5
10
1
6
0.50 BSC
0.30
0.15
1.10 MAX
3.10
3.00
2.90
COPLANARITY
0.10
0.23
0.13
3.10
3.00
2.90
5.15
4.90
4.65
PIN 1
IDENTIFIER
15° MAX
0.95
0.85
0.75
0.15
0.05
Figure 31. 10-Lead Mini Small Outline Package [MSOP]
(RM-10)
Dimensions shown in millimeters
ORDERING GUIDE
Model1 R
AB (kΩ) Resolution Temperature Range Package Description Package Option Branding
AD5174BRMZ-10 10 1,024 −40°C to +125°C 10-Lead MSOP RM-10 DDT
AD5174BRMZ-10-RL7 10 1,024 −40°C to +125°C 10-Lead MSOP RM-10 DDT
AD5174BCPZ-10-RL7 10 1,024 −40°C to +125°C 10-Lead LFCSP_WD CP-10-9 DEF
1 Z = RoHS Compliant Part.
AD5174
Rev. B | Page 19 of 20
NOTES
AD5174
Rev. B | Page 20 of 20
NOTES
©2010 Analog Devices, Inc. All rights reserved. Trademarks and
registered trademarks are the property of their respective owners.
D08718-0-12/10(B)