MAXIM DS3903E

Rev 0; 6/02
Triple 128-Position Nonvolatile
Digital Potentiometer
The DS3903 contains three nonvolatile (NV) low temperature coefficient digital potentiometers, which can
be accessed through a 2-wire bus. It operates in both
3V and 5V systems, and it features a write-protect pin
that can lock the positions of the potentiometers. An
address pin allows two DS3903s to be placed on the
same 2-wire bus.
Applications
Power-Supply Calibration
Features
♦ Three 128-Position Linear Potentiometers
(Two 10kΩ, One 90kΩ)
♦ NV Wiper Storage
♦ 0 to 5.5V on Any Potentiometer Terminal
Independent of VCC
♦ Low End-to-End Temperature Coefficient
♦ Operates on an Industry-Standard 2-Wire Bus
♦ Write-Protect Pin
Mobile Phones and PDAs
Fiber Optics Transceiver Modules
Portable Electronics
A Small, Low-Cost Replacement for Mechanical
Potentiometers
♦ Supply Voltage: 3V or 5V
♦ Operating Temperature Range: -40°C to +85°C
♦ Packaging: 20-Pin TSSOP
Ordering Information
PART
TEMP RANGE
PIN-PACKAGE
DS3903E-020
-40°C to +85°C
20 TSSOP
DS3903E-020/T&R
-40°C to +85°C
20 TSSOP
(Tape-and-Reel)
Pin Configuration
SDA 1
VCC
20 VCC
SCL 2
19 N.C.
A0 3
18 N.C.
WP 4
17 N.C.
N.C. 5
Typical Operating Circuit
DS3903
16 N.C.
L0 6
15 H0
W1 7
14 W0
VCC
4.7kΩ
2-WIRE
MASTER
13 H1
L2 9
12 W2
GND 10
11 H2
Iref
POTENTIOMETER 2
10kΩ
ADDDR FAh
4.7kΩ
VARIABLE RESISTANCE
FOR ADJUSTABLE
CURRENT SOURCE
VCC
SCL
SDA
WP
POTENTIOMETER 0
10kΩ
ADDDR F9h
A0
L1 8
5.1kΩ
DS3903
VCC
0.1µF
VREF1
HIGH-OUTPUT-IMPEDANCE
VOLTAGE REFERENCE
VCC
POTENTIOMETER 1
90kΩ
ADDDR F8h
VREF2
GND
TSSOP
BUFFERED
VOLTAGE
REFERENCE
MAX427
_____________________________________________ Maxim Integrated Products
For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at
1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com.
1
DS3903
General Description
DS3903
Triple 128-Position Nonvolatile
Digital Potentiometer
ABSOLUTE MAXIMUM RATINGS
Voltage on VCC Pin Relative to Ground.................-0.5V to +6.0V
Voltage on SDA, SCL, A0, and WP
Relative to Ground ...........................................................-0.5V to
VCC + 0.5V
Voltage on L0, L1, L2, W0, W1, W2, H0, H1, and
H2 Relative to Ground ...........................................-0.5V to +6.0V
Current Through W0, W1, and W2......................................±4mA
Operating Temperature Range ...........................-40°C to +85°C
Programming Temperature Range .........................0°C to +70°C
Storage Temperature Range .............................-55°C to +125°C
Soldering Temperature ....................See IPC/JEDEC J-STD-020A
Specification
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
RECOMMENDED DC OPERATING CONDITIONS
(TA = -40° to +85°C)
PARAMETER
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNITS
Supply Voltage
VCC
(Note 1)
+2.7
+5.5
V
Input Logic 1
VIH
(Notes 2, 3)
0.7 x VCC
VCC + 0.3
V
Input Logic 0
VIL
(Notes 2, 3)
-0.3
0.3 x VCC
V
Wiper Current
IW
-3
+3
mA
-0.3
+5.5
V
Resistor Terminals
L0, L1, L2, W0, W1, W2,
H0, H1, H2
VCC = +2.7V to +5.5V
DC ELECTRICAL CHARACTERISTICS
(VCC = 2.7V to 5.5V, TA = -40°C to +85°C.)
PARAMETER
Input Leakage
Standby Supply Current
Low-Level Output Voltage (SDA)
SYMBOL
TYP
MAX
UNITS
+1
µA
VCC = 3V (Note 2)
100
200
VCC = 5V (Note 2)
150
250
IL
Istby
MIN
-1
µA
VOL1
3mA sink current
0
0.4
VOL2
6mA sink current
0
0.6
V
10
pF
110
kΩ
I/O Capacitance
CI/O
WP Internal Pullup Resistance
RWP
2
CONDITIONS
35
______________________________________________________________________
65
V
Triple 128-Position Nonvolatile
Digital Potentiometer
DS3903
AC ELECTRICAL CHARACTERISTICS
(VCC = 2.7V to 5.5V, TA = -40°C to +85°C.)
PARAMETER
SYMBOL
SCL Clock Frequency
fSCL
Bus Free Time Between Stop and
Start Conditions
tBUF
Hold Time (Repeated) Start
Condition
tHD:STA
Low Period of SCL Clock
tLOW
High Period of SCL Clock
tHIGH
Data Hold Time
tHD:DAT
Data Set-Up Time
tSU:DAT
Start Set-Up Time
tSU:STA
CONDITIONS
Fast mode (Note 4)
MIN
0
Standard mode (Note 4)
TYP
0
Fast mode (Note 4)
1.3
Standard mode (Note 4)
4.7
Fast mode (Notes 4, 5)
0.6
Standard mode (Notes 4, 5)
4.0
Fast mode (Note 4)
1.3
Standard mode (Note 4)
4.7
Fast mode (Note 4)
0.6
Standard mode (Note 4)
4.0
MAX
400
100
µs
µs
µs
0
0.9
Standard mode (Notes 4, 6, 7)
0
0.9
100
Standard mode (Note 4)
250
Fast mode
0.6
Standard mode
4.7
µs
20 + 0.1CB
300
Standard mode (Note 8)
20 + 0.1CB
1000
Fast mode (Note 8)
20 + 0.1CB
300
Standard mode (Note 8)
20 + 0.1CB
300
tR
Fall Time of Both SDA and SCL
Signals
tF
Set-Up Time for Stop Condition
tSU:STO
Capacitive Load for Each Bus
CB
(Note 8)
EEPROM Write Time
tW
(Note 9)
Startup Time
tST
Fast mode
0.6
Standard mode
4.7
µs
ns
Fast mode (Note 8)
Rise Time of Both SDA and SCL
Signals
kHz
µs
Fast mode (Notes 4, 6, 7)
Fast mode (Note 4)
UNITS
ns
ns
µs
400
10
pF
ms
2
ms
ANALOG RESISTOR CHARACTERISTICS
(VCC = 2.7V to 5.5V, TA = -40°C to +85°C.)
PARAMETER
End-to-End Resistance Tolerance
SYMBOL
CONDITIONS
+25°C
End-to-End Resistance
Factory-Default Wiper Setting
MIN
-20
TYP
10kΩ Pot
10.5
90kΩ Pot
90
MAX
+20
UNITS
%
kΩ
Position 127 (max resistance)
500
Ω
Absolute Linearity
(Note 10)
-1.0
+1.0
LSB
Relative Linearity
(Note 11)
-0.25
+0.25
LSB
+300
ppm/°C
Wiper Resistance
End-to-End
Temperature Coefficient
Ratiometric
Temperature Coefficient
RW
250
-300
0
±30
ppm/°C
_____________________________________________________________________
3
Note 1:
Note 2:
Note 3:
Note 4:
Note 5:
Note 6:
Note 7:
Note 8:
Note 9:
Note 10:
Note 11:
All voltages are referenced to ground.
ISTBY specified for VCC equal to 3.0V and 5.0V while control port logic pins are driven to the appropriate
logic levels. Appropriate logic levels specify that logic inputs are within a 0.5V of ground or VCC for the
corresponding inactive state. WP must be disconnected or connected high.
I/O pins of fast mode devices must not obstruct the SDA and SCL lines if VCC is switched off.
A fast mode device can be used in a standard mode system, but the requirement tSU:DAT > 250ns must
then be met. This is automatically the case if the device does not stretch the low period of the SCL signal.
If such a device does stretch the low period of the SCL signal, it must output the next data bit to the SDA
line tRMAX + tSU:DAT = 1000ns + 250ns = 1250ns before the SCL line is released.
After this period, the first clock pulse is generated.
The maximum tHD:DAT has only to be met if the device does not stretch the low period (tLOW) of the
SCL signal.
A device must internally provide a hold time of at least 300ns for the SDA signal (referred to the VIN MIN of
the SCL signal) in order to bridge the undefined region of the falling edge of SCL.
CB—total capacitance of one bus line in picofarads, timing referenced to 0.9 x VCC and 0.1 x VCC.
EEPROM write begins after a stop condition occurs.
Absolute linearity is used to measure expected wiper voltage as determined by wiper position in a
voltage-divider configuration.
Relative linearity is used to determine the change of wiper voltage between two adjacent wiper positions
in a voltage-divider configuration.
Typical Operating Characteristics
(VCC = 5.0V, 10kΩ plots apply to both pot0 and pot2, TA = +25°C unless otherwise noted.)
STANDBY SUPPLY CURRENT
vs. TEMPERATURE
100
VCC = 3V
80
60
8
6
4
80
40
60
50
40
30
10
0
0
-40 -30 -20 -10 0 10 20 30 40 50 60 70 80
TEMPERATURE (°C)
4
70
20
2
20
DS3903 toc03
90
W-L RESISTANCE (kΩ)
120
100
DS3903 toc02
VCC = 5V
W-L RESISTANCE
vs. WIPER SETTING (90kΩ)
10
W-L RESISTANCE (kΩ)
140
W-L RESISTANCE
vs. WIPER SETTING (10kΩ)
DS3903 toc01
160
SUPPLY CURRENT (µA)
DS3903
Triple 128-Position Nonvolatile
Digital Potentiometer
0
0
25
50
75
100
125
WIPER SETTING
______________________________________________________________________
0
25
50
75
WIPER SETTING
100
125
Triple 128-Position Nonvolatile
Digital Potentiometer
(VCC = 5.0V, 10kΩ plots apply to both pot0 and pot2, TA = +25°C unless otherwise noted.)
WIPER RESISTANCE
vs. WIPER VOLTAGE (90kΩ)
200
150
VCC = 3V
POS 7Fh
50
1
2
3
4
Tc = 18.0ppm/°C
0.06
WIPER = 60h
0.04
Tc = 3.7ppm/°C
0.02
WIPER = 40h
0
DS3903 toc05
-0.02
Tc = 1.5ppm/°C
-0.04
-0.06
1
2
3
4
5
-40 -30 -20 -10 0 10 20 30 40 50 60 70 80
WIPER VOLTAGE (V)
TEMPERATURE (°C)
VOLTAGE-DIVIDER PERCENT CHANGE
FROM 25°C vs. TEMPERATURE (10kΩ)
END-TO-END RESISTANCE PERCENT CHANGE
FROM 25°C vs. TEMPERATURE (10kΩ)
END-TO-END RESISTANCE PERCENT CHANGE
FROM 25°C vs. TEMPERATURE (90kΩ)
Tc = 1.9ppm/°C
0.8
0.6
0.8
0.6
% CHANGE
Tc = 0.7ppm/°C
-0.02
Tc = 5.0ppm/°C
-0.04
WIPER = 20h
0.4
% CHANGE
0.4
WIPER = 40h
0.2
0
-0.2
0.2
0
-0.2
-0.4
-0.4
-0.6
-0.6
-0.8
-0.8
-1.0
-0.06
-1.0
-40 -30 -20 -10 0 10 20 30 40 50 60 70 80
-40 -30 -20 -10 0 10 20 30 40 50 60 70 80
DS3903 toc09
1.0
DS3903 toc08
1.0
DS3903 toc07
WIPER = 60h
-40 -30 -20 -10 0 10 20 30 40 50 60 70 80
TEMPERATURE (°C)
VOLTAGE-DIVIDER RELATIVE LINEARITY
vs. WIPER SETTING (10kΩ)
VOLTAGE-DIVIDER ABSOLUTE LINEARITY
vs. WIPER SETTING (10kΩ)
0.20
DS3903 toc10
0.05
ABSOLUTE LINEARTIY (LSB)
0.04
0.03
0.02
0.01
TEMPERATURE (°C)
DS3903 toc11
TEMPERATURE (°C)
RELATIVE LINEARTIY (LSB)
% CHANGE (FROM 25°C)
0.08
WIPER VOLTAGE (V)
0
-0.05
VCC = 3V
POS 7Fh
100
0
0.01
-0.03
150
5
0.04
-0.01
200
0
0
0.02
250
WIPER = 20h
0.10
50
0
0.03
0.12
% CHANGE (FROM 25°C)
250
100
300
WIPER RESISTANCE (Ω)
300
WIPER RESISTANCE (Ω)
350
DS3903 toc04
350
VOLTAGE-DIVIDER PERCENT CHANGE
FROM 25°C vs. TEMPERATURE (10kΩ)
DS3903 toc06
WIPER RESISTANCE
vs. WIPER VOLTAGE (10kΩ)
0.16
0.12
0.08
0.04
0
0
0
20
40
60
80
WIPER SETTING
100
120
0
20
40
60
80
100
120
WIPER SETTING
_____________________________________________________________________
5
DS3903
Typical Operating Characteristics (continued)
Typical Operating Characteristics (continued)
(VCC = 5.0V, 10kΩ plots apply to both pot0 and pot2, TA = +25°C unless otherwise noted.)
VOLTAGE-DIVIDER ABSOLUTE LINEARITY
vs. WIPER SETTING (90kΩ)
VOLTAGE-DIVIDER RELATIVE LINEARITY
vs. WIPER SETTING (90kΩ)
ABSOLUTE LINEARTIY (LSB)
0.04
0.03
0.02
DS3903 toc13
0.20
DS3903 toc12
0.05
RELATIVE LINEARTIY (LSB)
DS3903
Triple 128-Position Nonvolatile
Digital Potentiometer
0.16
0.12
0.08
0.04
0.01
0
0
0
20
40
60
80
100
120
0
20
40
60
80
100
120
WIPER SETTING
WIPER SETTING
Pin Description
6
PIN
NAME
FUNCTION
1
SDA
2
SCL
3
A0
Address-Select Input. Determines device 2-wire address.
4
WP
Write-Protect Input. Must be grounded to write to the potentiometer registers. An internal pullup locks
the potentiometer positions if this pin is not connected.
5, 16, 17
18, 19
N.C.
No Connection
6, 8, 9
L0, L1, L2
Potentiometer Low Terminals. Voltages on these pins should remain between GND and +5.5V while
VCC is above +2.7V. Low terminals can be at potentials above the wiper or high terminals.
7, 12, 14
W1, W2, W0
Potentiometer Wiper Terminal. Voltages on these pins should remain between GND and +5.5V while
VCC is above +2.7V.
10
GND
11, 13, 15
H2, H1, H0
20
VCC
2-Wire Serial Data. Input/output for 2-wire data.
2-Wire Serial Clock. Input for 2-wire clock.
Ground Terminal
Potentiometer High Terminals. Voltages on these pins should remain between GND and +5.5V while
VCC is above +2.7V. High terminals can be at potentials below the low terminals.
Supply Voltage Terminal
______________________________________________________________________
Triple 128-Position Nonvolatile
Digital Potentiometer
DS3903
VCC
RWP
EEPROM
POTENTIOMETER 2
10kΩ
ADDDR FAh
POTENTIOMETER 2
ADDDR FAh
GND
POTENTIOMETER 0
ADDDR F9h
SCL
SDA
2-WIRE
INTERFACE
W2
L2
WP
POTENTIOMETER 0
10kΩ
ADDDR F9h
Clock and Data Transitions
H2
H0
W0
The SDA pin is normally pulled high with an external
resistor or device. Data on the SDA pin can only change
during SCL low time periods. Data changes during SCL
high periods indicates a start or stop condition depending on the conditions discussed below. See the timing
diagrams for further details (Figures 2 and 3).
L0
DATA
POTENTIOMETER 1
ADDDR F8h
A0
POTENTIOMETER 1
90kΩ
ADDDR F8h
H1
W1
Start Condition
A high-to-low transition of SDA with SCL high is a start
condition, which must precede any other command. See
the timing diagrams for further details (Figures 2 and 3).
L1
Figure 1. DS3903 Block Diagram
Detailed Description
The DS3903 contains three NV, low-temperature coefficient digital potentiometers. It is accessible through a
2-wire bus, and it serves as a small, low-cost replacement for designs using mechanical potentiometers. The
low end-to-end resistance temperature coefficient is
especially beneficial for designs using a digital potentiometer as a 2-terminal variable resistor.
It operates in both 3V and 5V systems, and it features a
write-protect pin that can lock the positions of the
potentiometers. The address pin allows two DS3903s to
be placed on the same 2-wire bus.
With its low cost and small board space, the DS3903 is
well tailored to replace larger mechanical potentiometers. This allows the automation of calibration in many
instances because the 2-wire interface can easily be
adjusted by test hardware. Once the system is calibrated, the write-protect pin can be disconnected and the
potentiometers retain their settings.
Potentiometer Memory
Organization
The potentiometers of the DS3903 are addressed by
communicating with the registers in Table 1.
Stop Condition
A low-to-high transition of SDA with SCL high is a stop
condition. After a read sequence, the stop command
places the DS3903 into a low-power mode. See the timing diagrams for further details (Figures 2 and 3).
Acknowledge
All address and data bytes are transmitted through a
serial protocol. The DS3903 pulls the SDA line low during the ninth clock pulse to acknowledge that it has
received each word.
Standby Mode
The DS3903 features a low-power mode that is automatically enabled after power-on, after a stop command, and after the completion of all internal
operations.
Memory Reset
After any interruption in protocol, power loss, or system
reset, the following steps reset the DS3903:
1) Clock up to nine cycles.
2) Look for SDA high in each cycle while SCL is high.
3) Create a start condition while SDA is high.
Device Addressing
The DS3903 must receive an 8-bit device address word
following a start condition to enable a specific device
for a read or write operation. The address word is
clocked into the DS3903 MSB to LSB. The address
Table 1. Potentiometer Registers
ADDRESS
POTENTIOMETER
END-TO-END RESISTANCE
NUMBER OF POSITIONS
F8h
Pot 1
90kΩ
*128 (00h to 7Fh)
F9h
Pot 0
10kΩ
*128 (00h to 7Fh)
FAh
Pot 2
10kΩ
*128 (00h to 7Fh)
*The most significant bit of each potentiometer position value is ignored. Writing a value greater than 7Fh to any of the potentiometer
registers results in a valid 7-bit position, without regard to the value of the most significant bit. Example: position 0x82 is the same as
position 0x02.
_____________________________________________________________________
7
DS3903
Device Operation
VCC
DS3903
Triple 128-Position Nonvolatile
Digital Potentiometer
SDA
MSB
SLAVE ADDRESS
R/W
DIRECTION
BIT
ACKNOWLEDGEMENT
SIGNAL FROM RECEIVER
ACKNOWLEDGEMENT
SIGNAL FROM RECEIVER
SCL
1
2
6
7
8
9
1
2
3–7
8
ACK
START
CONDITION
9
ACK
REPEATED IF MORE BYTES
ARE TRANSFERRED
STOP
CONDITION
OR REPEATED
START
CONDITION
Figure 2. 2-Wire Data Transfer Protocol
SDA
tBUF
tHD:STA
tLOW
tR
tSP
tF
SCL
tHD:STA
STOP
tSU:STA
tHIGH
tSU:DAT
START
REPEATED
START
tSU:STO
tHD:DAT
Figure 3. 2-Wire AC Characteristics
word consists of 101000 binary followed by A0 then the
R/W bit. If the R/W bit is high, a read operation is initiated. If the R/W bit is low, a write operation is initiated.
For a device to become active, the value of A0 must be
the same as the hard-wired address pins on the
DS3903. Upon a match of written and hard-wired
addresses, the DS3903 outputs a zero for one clock
cycle as an acknowledge. If the address does not
match, the DS3903 returns to a low-power mode.
8
Write Operations
After receiving a matching device address byte with the
R/W bit set low, the device goes into the write mode of
operation. The master must transmit an 8-bit EEPROM
memory address to the device to define the address
where the data is to be written. After the byte has been
received, the DS3903 transmits a zero for one clock
cycle to acknowledge the memory address has been
received. The master must then transmit an 8-bit data
word to be written into this memory address. The
DS3903 again transmits a zero for one clock cycle to
acknowledge the receipt of the data byte. At this point,
the master must terminate the write operation with a stop
condition. The DS3903 then enters an internally timed
______________________________________________________________________
Triple 128-Position Nonvolatile
Digital Potentiometer
The DS3903 is capable of an 8-byte page write. A page
write is initiated the same way as a byte write, but the
master does not send a stop condition after the first
data byte. Instead, after the slave acknowledges the
data byte has been received, the master can send up
to seven more data bytes using the same nine-clock
sequence. After a write to the last byte in the page, the
address returns to the beginning of the same page.
The master must then terminate the write cycle with a
stop condition or the data clocked into the DS3903 is
not latched into EEPROM. Note that in order for eight
bytes to be stored sequentially (and to prevent looping
around), the address byte must be set to the beginning
of the desired page (three LSBs of the address are 0).
For detailed information concerning page operations,
see the Potentiometer Memory Organization section.
Acknowledge Polling
Once the internally timed write has started and the
DS3903 inputs are disabled, acknowledge polling can
be initiated. The process involves transmitting a start
condition followed by the device address. The R/W bit
signifies the type of operation that is desired. The read
or write sequence is only allowed to proceed if the
internal write cycle has completed and the DS3903
responds with a zero.
Read Operations
After receiving a matching address byte with the R/W bit
set high, the device goes into the read mode of operation. There are three read operations: current address
read, random read, and sequential address read.
Current Address Read
The DS3903 has an internal address register that maintains the address used during the last read or write
operation, incremented by one. This data is maintained
as long as VCC is valid. If the most recent address was
the last byte in memory, then the register resets to the
first address. This address stays valid between operations as long as power is available.
Once the device address is clocked in and acknowledged by the DS3903 with the R/W bit set to high, the
current address data word is clocked out. The master
does not respond with a zero, but does generate a stop
condition afterwards.
must generate another start condition. The master now
initiates a current address read by sending the device
address with the R/W bit set high. The DS3903
acknowledges the device address and serially clocks
out the data byte.
Sequential Address Read
Sequential reads are initiated by either a current
address read or a random address read. After the master receives the first data byte, the master responds
with an acknowledge. As long as the DS3903 receives
this acknowledge after a byte is read, the master can
clock out additional data words from the DS3903. After
reaching address FFh, it resets to address 00h.
The sequential read operation is terminated when the
master initiates a stop condition. The master does not
respond with a zero.
For a more detailed description of 2-wire theory of
operation, see the following section.
2-Wire Serial Port Operation
The 2-wire serial port interface supports a bidirectional
data transmission protocol with device addressing. A
device that sends data on the bus is defined as a transmitter, and a device receiving data as a receiver. The
device that controls the message is called a “master.”
The devices that are controlled by the master are
“slaves.” The bus must be controlled by a master
device that generates the serial clock (SCL), controls
the bus access, and generates the start and stop conditions. The DS3903 operates as a slave on the 2-wire
bus. Connections to the bus are made through the
open-drain I/O lines, SDA and SCL. The following I/O
terminals control the 2-wire serial port: SDA, SCL, and
A0. Timing diagrams for the 2-wire serial port can be
found in Figures 2 and 3. Timing information for the 2wire serial port is provided in the AC Electrical
Characteristics table for 2-wire serial communications.
Random Address Read
A random read requires a dummy byte write sequence
to load in the data word address. Once the device
address and data address bytes are clocked in by the
master, and acknowledged by the DS3903, the master
_____________________________________________________________________
9
DS3903
write process tw to the EEPROM memory. All inputs are
disabled during this write cycle.
DS3903
Triple 128-Position Nonvolatile
Digital Potentiometer
The following bus protocol has been defined:
Data transfer can be initiated only when the bus is not
busy.
During data transfer, the data line must remain stable
whenever the clock line is high. Changes in the data
line while the clock line is high are interpreted as control signals.
Accordingly, the following bus conditions have been
defined:
Bus Not Busy: Both data and clock lines remain high.
Start Data Transfer: A change in the state of the data
line from high to low while the clock is high defines a
start condition.
Stop Data Transfer: A change in the state of the data
line from low to high while the clock line is high defines
the stop condition.
Data Valid: The state of the data line represents valid
data when, after a start condition, the data line is stable
for the duration of the high period of the clock signal. The
data on the line can be changed during the low period of
the clock signal. There is one clock pulse per bit of data.
Figures 2 and 3 detail how data transfer is accomplished
on the 2-wire bus. Depending upon the state of the R/W
bit, two types of data transfer are possible.
Each data transfer is initiated with a start condition and
terminated with a stop condition. The number of data
bytes transferred between start and stop conditions is
not limited and is determined by the master device. The
information is transferred byte-wise and each receiver
acknowledges with a ninth bit.
Within the bus specifications, a regular mode (100kHz
clock rate) and a fast mode (400kHz clock rate) are
defined. The DS3903 works in both modes.
Acknowledge: Each receiving device, when
addressed, is obliged to generate an acknowledge
after the byte has been received. The master device
must generate an extra clock pulse that is associated
with this acknowledge bit.
A device that acknowledges must pull down the SDA
line during the acknowledge clock pulse in such a way
that the SDA line is a stable low during the high period
of the acknowledge-related clock pulse. Of course,
setup and hold times must be taken into account. A
master must signal an end of data to the slave by not
generating an acknowledge bit on the last byte that has
been clocked out of the slave. In this case, the slave
must leave the data line high to enable the master to
generate the stop condition.
Data transfer from a master transmitter to a slave
10
receiver. The first byte transmitted by the master is the
command/control byte. Next follows a number of data
bytes. The slave returns an acknowledge bit after each
received byte.
Data transfer from a slave transmitter to a master
receiver. The master transmits the first byte (the command/control byte) to the slave. The slave then returns
an acknowledge bit. Next follows a number of data
bytes transmitted by the slave to the master. The master returns an acknowledge bit after all received bytes
other than the last byte. At the end of the last received
byte, a not acknowledge can be returned.
The master device generates all serial clock pulses and
the start and stop conditions. A transfer is ended with a
stop condition or with a repeated start condition. Since
a repeated start condition is also the beginning of the
next serial transfer, the bus is not released.
The DS3903 can operate in the following three modes:
1) Slave Receiver Mode: Serial data and clock are
received through SDA and SCL, respectively. After
each byte is received, an acknowledge bit is transmitted. Start and stop conditions are recognized as
the beginning and end of a serial transfer. Address
recognition is performed by hardware after the
slave (device) address and direction bit has been
received.
2)
Slave Transmitter Mode: The first byte is received
and handled as in the slave receiver mode.
However, in this mode the direction bit indicates
that the transfer direction is reversed. Serial data is
transmitted on SDA by the DS3903 while the serial
clock is input on SCL. Start and stop conditions are
recognized as the beginning and end of a serial
transfer.
3)
Slave Address: Command/control byte is the first
byte received following the start condition from the
master device. The command/control byte consists
of a 6-bit control code. For the DS3903, this is set
as 101000 binary for read/write operations. The
next bit of the command/control byte is the device
select bit or slave address (A0). It is used by the
master device to select which of two devices is to
be accessed. When reading or writing the DS3903,
the device-select bits must match the device-select
pin (A0). The last bit of the command/control byte
(R/W) defines the operation to be performed. When
set to a ‘1’, a read operation is selected, and when
set to a ‘0’, a write operation is selected.
Following the start condition, the DS3903 monitors the
SDA bus checking the device type identifier being
transmitted. Upon receiving the 101000 control code,
_____________________________________________________________________
Triple 128-Position Nonvolatile
Digital Potentiometer
Applications Information
Power-Supply Decoupling
To achieve the best results when using the DS3903,
decouple the power supply with a 0.01µF or 0.1µF
capacitor. Use a high-quality ceramic surface-mount
capacitor if possible. Surface-mount components minimize lead inductance, which improves performance,
and ceramic capacitors tend to have adequate highfrequency response for decoupling applications.
Write Protection
The write-protect pin has an internal pullup resistor. To
be able to adjust the potentiometers’ position, this pin
must be grounded. This pin can be left floating or connected to VCC to write protect the potentiometer positions.
Wiper Resistance and Wiper Current Limit
Two substantial differences between digital potentiometers and mechanical potentiometers are the wiper
resistance and the wiper current limit. The wiper resistance (RW) is a result of the interconnecting materials
on the IC between the internal resistive elements and
the wiper pin. This can be modelled by using an ideal
potentiometer, with a resistance of R W connected
between the ideal wiper and wiper terminal of the digital potentiometer. One final note about the wiper resistance is that it has a high temperature coefficient
(approximately +3000PPM), which can be noticeable in
certain circuit configurations.
The wiper current limit (IW) is also due to the interconnecting materials between the internal resistive elements and the wiper terminal. While it may be possible
to exceed this value for a short period without problems, exceeding the wiper current limit is a long-term
reliability problem.
Both characteristics can be minimized in designs by
connecting the wiper terminal to high-impedance
loads. This reduces both the current through the wiper
and the voltage drop across the wiper resistance.
Using a Potentiometer as a
Variable Resistor
There are two ways to make a digital potentiometer into
a variable resistor. The first is to short the wiper terminal
to the high- or low-side terminal. This places wiper
resistance in parallel with the resistance from the wiper
to the high or low side of the potentiometer. The advantage of this method is that it reduces the current
through the wiper, which is advantageous if the current
is approaching the wiper current limit. The disadvantage is that the wiper resistance makes the resistance
versus position nonlinear, particularly for low-resistance
values.
The second way is to attach the wiper terminal, and
either the low- or high-side terminal. The unattached
terminal is connected to the wiper by the resistance
internal to the part, and stays at the same voltage as
the wiper. This method provides a linear resistance versus position function, but it limits the current through
the resistance to IW since there is no current load sharing between the wiper resistance and the paralleled
resistive elements.
Both configurations are heavily influenced by the wiper
resistance, particularly over temperature, where its temperature coefficient noticeably affects the resistor’s value.
Chip Information
TRANSISTOR COUNT: 10,793
SUBSTRATE CONNECTED TO GROUND
Package Information
For the latest package outline information, go to www.maxim-ic.
com/packages.
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 11
© 2002 Maxim Integrated Products
Printed USA
is a registered trademark of Maxim Integrated Products.
DS3903
the appropriate device address bit, and the read/write
bit, the slave device outputs an acknowledge signal on
the SDA line.