DAC121C081/ DAC121C085
12-Bit Micro Power Digital-to-Analog Converter with an
I2C-Compatible Interface
DAC121C081/ DAC121C085 12-Bit Micro Power Digital-to-Analog Converter
General Description
The DAC121C081 is a 12-bit, single channel, voltage-output
digital-to-analog converter (DAC) that operates from a +2.7V
to 5.5V supply. The output amplifier allows rail-to-rail output
swing and has an 8.5µsec settling time. The DAC121C081
uses the supply voltage as the reference to provide the widest
dynamic output range and typically consumes 132µA while
operating at 5.0V. It is available in 6-lead TSOT and LLP
packages and provides three address options (pin selectable).
As an alternative, the DAC121C085 provides nine I2C addressing options and uses an external reference. It has the
same performance and settling time as the DAC121C081. It
is available in an 8-lead MSOP.
The DAC121C081 and DAC121C085 use a 2-wire, I2C-compatible serial interface that operates in all three speed modes,
including high speed mode (3.4MHz). An external address
selection pin allows up to three DAC121C081 or nine
DAC121C085 devices per 2-wire bus. Pin compatible alternatives to the DAC121C081 are available that provide additional address options.
The DAC121C081 and DAC121C085 each have a 16-bit register that controls the mode of operation, the power-down
condition, and the output voltage. A power-on reset circuit
ensures that the DAC output powers up to zero volts. A powerdown feature reduces power consumption to less than a
microWatt. Their low power consumption and small packages
make these DACs an excellent choice for use in battery operated equipment. Each DAC operates over the extended
industrial temperature range of −40°C to +125°C.
The DAC121C081 and DAC121C085 are each part of a family of pin compatible DACs that also provide 8 and 10 bit
resolution. For 8-bit DACs see the DAC081C081 and
DAC081C085. For 10-bit DACs see the DAC101C081 and
DAC101C085.
Features
Guaranteed Monotonicity to 12-bits
■
Low Power Operation: 156 µA max @ 3.3V
■
Extended power supply range (+2.7V to +5.5V)
■
I2C-Compatible 2-wire Interface which supports standard
■
(100kHz), fast (400kHz), and high speed (3.4MHz) modes
Rail-to-Rail Voltage Output
■
Very Small Package
■
Key Specifications
Resolution12 bits
■
INL±8 LSB (max)
■
DNL+0.6 / -0.5 LSB (max)
■
Settling Time8.5 µs (max)
■
Zero Code Error+10 mV (max)
■
Full-Scale Error−0.7 %FS (max)
■
Supply Power
■
Normal380 µW (3V) / 730 µW (5V) typ
—
Power Down0.5 µW (3V) / 0.9 µW (5V) typ
—
Applications
Industrial Process Control
■
Portable Instruments
■
Digital Gain and Offset Adjustment
■
Programmable Voltage & Current Sources
■
Test Equipment
■
Pin-Compatible Alternatives
All devices are fully pin and function compatible.
ResolutionTSOT-6 and LLP-6
Packages
12-bitDAC121C081DAC121C085
10-bitDAC101C081DAC101C085
8-bitDAC081C081DAC081C085
MSOP-8 Package w/
External Reference
Connection Diagrams
3000490130004902
I2C® is a registered trademark of Phillips Corporation.
Power supply input. For the TSOT and LLP versions, this
Supply
supply is used as the reference. Must be decoupled to
GND.
Serial Data bi-directional connection. Data is clocked into
Digital
Input/Output
or out of the internal 16-bit register relative to the clock
edges of SCL. This is an open drain data line that must be
pulled to the supply (VA) by an external pull-up resistor.
Serial Clock Input. SCL is used together with SDA to
control the transfer of data in and out of the device.
Digital Input,
three levels
Tri-state Address Selection Input. Sets the two Least
Significant Bits (A1 & A0) of the 7-bit slave address. (see
Table 1)
DAC121C081/ DAC121C085
ADR1
Digital Input,
three levels
Tri-state Address Selection Input. Sets Bits A6 & A3 of the
7-bit slave address. (see Table 1)
Unbufferred reference voltage. For the MSOP-8, this
V
REF
Supply
supply is used as the reference. V
must be free of noise
REF
and decoupled to GND.
Exposed die attach pad can be connected to ground or left
PAD
(LLP only)
Ground
floating. Soldering the pad to the PCB offers optimal
thermal performance and enhances package selfalignment during reflow.
Package Pinouts
V
OUT
TSOT123456N/AN/AN/A
LLP654321N/AN/A7
MSOP-886543127N/A
V
A
GNDSDASCLADR0ADR1
V
REF
PAD (LLP only)
3www.national.com
Absolute Maximum Ratings
(Notes 1, 2)
If Military/Aerospace specified devices are required,
please contact the National Semiconductor Sales Office/
Distributors for availability and specifications.
Supply Voltage, V
A
−0.3V to +6.5V
Operating Ratings (Notes 1, 2)
Operating Temperature Range
Supply Voltage, V
Reference Voltage, V
A
REFIN
Digital Input Voltage (Note 7)0.0V to 5.5V
Output Load0 to 1500 pF
−40°C ≤ TA ≤ +125°C
Voltage on any Input Pin−0.3V to +6.5V
Input Current at Any Pin (Note 3)±10 mA
Package Input Current (Note 3)±20 mA
Power Consumption at TA = 25°C
DAC121C081/ DAC121C085
ESD Susceptibility (Note 5)
VA, GND, V
REF
, V
OUT
,
ADR0, ADR1 pins:
Human Body Model
Machine Model
Charged Device Model (CDM)
SDA, SCL pins:
Human Body Model
Machine Model
Charged Device Model (CDM)
See (Note 4)
2500V
250V
1000V
5000V
350V
1000V
Package Thermal Resistances
Package
6-Lead TSOT250°C/W
6-Lead LLP190°C/W
8-Lead MSOP240°C/W
Soldering process must comply with National
Semiconductor's Reflow Temperature Profile specifications.
Refer to www.national.com/packaging. (Note 6)
θ
JA
Junction Temperature+150°C
Storage Temperature−65°C to +150°C
Electrical Characteristics
Values shown in this table are design targets and are subject to change before product release.
The following specifications apply for VA = +2.7V to +5.5V, V
limits apply for T
≤ TA ≤ T
MIN
and all other limits are at TA = 25°C, unless otherwise specified.
MAX
SymbolParameterConditions
STATIC PERFORMANCE
Resolution12Bits (min)
Monotonicity12Bits (min)
INLIntegral Non-Linearity
DNLDifferential Non-Linearity
I
I
OUT
OUT
= 0
= 0
ZEZero Code Error
FSEFull-Scale Error
GEGain ErrorAll ones Loaded to DAC register−0.2−0.7%FSR (max)
ZCEDZero Code Error Drift−20µV/°C
OUT
VA = 3V
VA = 5V
)
TC GEGain Error Tempco
ANALOG OUTPUT CHARACTERISTICS (V
DAC121C085
Output Voltage Range(Note 10)
DAC121C081
ZCOZero Code Output
FSOFull Scale Output
I
Output Short Circuit Current
OS
(I
SOURCE
)
VA = 3V, I
VA = 5V, I
VA = 3V, I
VA = 5V, I
VA = 3V, V
VA = 5V, V
= VA, CL = 200 pF to GND, input code range 48 to 4047. Boldface
set to midscale. 2-wire interface quiet (SCL = SDA = VA). (output unloaded)
OUT
DAC121C081 Supply Current
DAC121C085 Supply Current
V
REF
(DAC121C085 only)
Power Consumption
ST
(VA & V
Supply Current
for DAC121C085)
REF
VA = 2.7V to 3.6V
VA = 4.5V to 5.5V
VA = 2.7V to 3.6V
VA = 4.5V to 5.5V
VA = 2.7V to 3.6V
VA = 4.5V to 5.5V
VA = 3.0V
VA = 5.0V
105156µA (max)
132214µA (max)
86118µA (max)
98152µA (max)
3743µA (max)
5361µA (max)
380µW
730µW
Continuous Operation -- 2-wire interface actively addressing the DAC and writing to the DAC register. (output unloaded)
I
CO_VA-1VA
I
CO_VA-5VA
I
CO_VREF
P
CO
DAC121C081 Supply Current
DAC121C085 Supply Current
V
Supply Current
REF
(DAC121C085 only)
Power Consumption
(VA & V
for DAC121C085)
REF
f
f
f
f
f
f
SCL
SCL
SCL
SCL
SCL
SCL
=400kHz
=3.4MHz
=400kHz
=3.4MHz
=400kHz
=3.4MHz
VA = 2.7V to 3.6V
VA = 4.5V to 5.5V
VA = 2.7V to 3.6V
VA = 4.5V to 5.5V
VA = 2.7V to 3.6V
VA = 4.5V to 5.5V
VA = 2.7V to 3.6V
VA = 4.5V to 5.5V
VA = 2.7V to 3.6V
VA = 4.5V to 5.5V
VA = 3.0V
VA = 5.0V
VA = 3.0V
VA = 5.0V
134220µA (max)
192300µA (max)
225320µA (max)
374500µA (max)
101155µA (max)
142220µA (max)
193235µA (max)
325410µA (max)
33.555µA (max)
49.571.4µA (max)
480µW
1.06mW
810µW
2.06mW
Power Down -- 2-wire interface quiet (SCL = SDA = VA) after PD mode written to DAC register. (output unloaded)
I
P
Supply Current
PD
(VA & V
Power Consumption
PD
(VA & V
for DAC121C085)
REF
for DAC121C085)
REF
All Power Down
Modes
All Power Down
Modes
VA = 2.7V to 3.6V
VA = 4.5V to 5.5V
VA = 3.0V
VA = 5.0V
0.131.52µA (max)
0.153.25µA (max)
0.5µW
0.9µW
Units
(Limits)
www.national.com6
A.C. and Timing Characteristics
Values shown in this table are design targets and are subject to change before product release.
The following specifications apply for VA = +2.7V to +5.5V, V
for T
≤ TA ≤ T
MIN
and all other limits are at TA = 25°C, unless otherwise specified.
MAX
SymbolParameter
t
s
Output Voltage Settling Time
(Note 10)
400h to C00h code change
RL = 2kΩ, CL = 200 pF
SROutput Slew Rate1V/µs
Glitch ImpulseCode change from 800h to 7FFh12nV-sec
Digital Feedthrough0.5nV-sec
V
Multiplying Bandwidth(Note 12)
Total Harmonic Distortion(Note 12)
t
WU
Wake-Up Time
= 2.5V ± 0.1Vpp
REF
V
= 2.5V ± 0.1Vpp
REF
input frequency = 10kHz
VA = 3V
VA = 5V
DIGITAL TIMING SPECS (SCL, SDA)
Standard Mode
f
SCL
Serial Clock Frequency
Fast Mode
High Speed Mode, Cb = 100pF
High Speed Mode, Cb = 400pF
Standard Mode
t
LOW
SCL Low Time
Fast Mode
High Speed Mode, Cb = 100pF
High Speed Mode, Cb = 400pF
Standard Mode
t
HIGH
SCL High Time
Fast Mode
High Speed Mode, Cb = 100pF
High Speed Mode, Cb = 400pF
Standard Mode
t
SU;DAT
Data Setup Time
Fast Mode
High Speed Mode
Standard Mode
Fast Mode
t
HD;DAT
Data Hold Time
High Speed Mode, Cb = 100pF
High Speed Mode, Cb = 400pF
Standard Mode
Fast Mode
High Speed Mode
Standard Mode
Fast Mode
High Speed Mode
Standard Mode
Fast Mode
t
SU;STA
t
HD;STA
t
BUF
Setup time for a start or a repeated
start condition
Hold time for a start or a repeated start
condition
Bus free time between a stop and start
condition
Standard Mode
t
SU;STO
Setup time for a stop condition
Fast Mode
High Speed Mode
= VA, RL = Infinity, CL = 200 pF to GND. Boldface limits apply
REF
Limits
(Notes 9,
13)
Conditions (Note 13)
Typical
(Note 9)
68.5µs (max)
160kHz
70dB
0.8µsec
0.5µsec
100
400
3.4
1.7
4.7
1.3
160
320
4.0
0.6
60
120
250
100
10
0
3.45
0
0.9
0
70
0
150
4.7
0.6
160
4.0
0.6
160
4.7
1.3
4.0
0.6
160
Units
(Limits)
kHz (max)
kHz (max)
MHz (max)
MHz (max)
µs (min)
µs (min)
ns (min)
ns (min)
µs (min)
µs (min)
ns (min)
ns (min)
ns (min)
ns (min)
ns (min)
µs (min)
µs (max)
µs (min)
µs (max)
ns (min)
ns (max)
ns (min)
ns (max)
µs (min)
µs (min)
ns (min)
µs (min)
µs (min)
ns (min)
µs (min)
µs (min)
µs (min)
µs (min)
ns (min)
DAC121C081/ DAC121C085
7www.national.com
SymbolParameter
t
rDA
Rise time of SDA signal
DAC121C081/ DAC121C085
t
t
t
t
C
t
t
fDA
rCL
rCL1
fCL
b
SP
outz
Fall time of SDA signal
Rise time of SCL signal
Rise time of SCL signal after a
repeated start condition and after an
acknowledge bit.
Fall time of a SCL signal
Capacitive load for each bus line (SCL
and SDA)
Pulse Width of spike suppressed
(Notes 11, 10)
SDA output delay (see Section 1.9)
Limits
(Notes 9,
13)
Units
(Limits)
Conditions (Note 13)
Typical
(Note 9)
Standard Mode1000ns (max)
Fast Mode
High Speed Mode, Cb = 100pF
High Speed Mode, Cb = 400pF
20+0.1C
300
10
80
20
160
b
ns (min)
ns (max)
ns (min)
ns (max)
ns (min)
ns (max)
Standard Mode250ns (max)
Fast Mode
High Speed Mode, Cb = 100pF
High Speed Mode, Cb = 400pF
20+0.1C
250
10
80
20
160
b
ns (min)
ns (max)
ns (min)
ns (max)
ns (min)
ns (max)
Standard Mode1000ns (max)
Fast Mode
High Speed Mode, Cb = 100pF
High Speed Mode, Cb = 400pF
20+0.1C
300
10
40
20
80
b
ns (min)
ns (max)
ns (min)
ns (max)
ns (min)
ns (max)
Standard Mode1000ns (max)
Fast Mode
High Speed Mode, Cb = 100pF
High Speed Mode, Cb = 400pF
20+0.1C
300
10
80
20
160
b
ns (min)
ns (max)
ns (min)
ns (max)
ns (min)
ns (max)
Standard Mode300ns (max)
Fast Mode
High Speed Mode, Cb = 100pF
High Speed Mode, Cb = 400pF
20+0.1C
300
10
40
20
80
b
ns (min)
ns (max)
ns (min)
ns (max)
ns (min)
ns (max)
400pF (max)
Fast Mode
High Speed Mode
Fast Mode
High Speed Mode
87
38
50
10
270
60
ns (max)
ns (max)
ns (max)
ns (max)
Note 1: Absolute Maximum Ratings indicate limits beyond which damage to the device may occur. Operating Ratings indicate conditions for which the device is
functional, but do not guarantee specific performance limits. For guaranteed specifications and test conditions, see the Electrical Characteristics. The guaranteed
specifications apply only for the test conditions listed. Some performance characteristics may degrade when the device is not operated under the listed test
conditions. Operation of the device beyond the maximum Operating Ratings is not recommended.
Note 2: All voltages are measured with respect to GND = 0V, unless otherwise specified.
Note 3: When the input voltage at any pin exceeds 5.5V or is less than GND, the current at that pin should be limited to 10 mA. The 20 mA maximum package
input current rating limits the number of pins that can safely exceed the power supplies with an input current of 10 mA to two.
Note 4: The absolute maximum junction temperature (TJmax) for this device is 150°C. The maximum allowable power dissipation is dictated by TJmax, the
junction-to-ambient thermal resistance (θJA), and the ambient temperature (TA), and can be calculated using the formula PDMAX = (TJmax − TA) / θJA. The values
for maximum power dissipation will be reached only when the device is operated in a severe fault condition (e.g., when input or output pins are driven beyond
the operating ratings, or the power supply polarity is reversed).
Note 5: Human body model is a 100 pF capacitor discharged through a 1.5 kΩ resistor. Machine model is a 220 pF capacitor discharged through 0 Ω. Charge
device model simulates a pin slowly acquiring charge (such as from a device sliding down the feeder in an automated assembler) then rapidly being discharged.
www.national.com8
Note 6: Reflow temperature profiles are different for lead-free packages.
Note 7: The inputs are protected as shown below. Input voltage magnitudes up to 5.5V, regardless of VA, will not cause errors in the conversion result. For
example, if VA is 3V, the digital input pins can be driven with a 5V logic device.
30004904
Note 8: To guarantee accuracy, it is required that VA and V
Note 9: Typical figures are at TJ = 25°C, and represent most likely parametric norms. Test limits are guaranteed to National's AOQL (Average Outgoing Quality
Level).
Note 10: This parameter is guaranteed by design and/or characterization and is not tested in production.
Note 11: Spike suppression filtering on SCL and SDA will supress spikes that are less than 50ns for standard-fast mode and less than 10ns for hs-mode.
Note 12: Applies to the Multiplying DAC configuration. In this configuration, the reference is used as the analog input. The value loaded in the DAC Register will
digitally attenuate the signal at Vout.
Note 13: Cb refers to the capacitance of one bus line. Cb is expressed in pF units.
be well bypassed.
REF
DAC121C081/ DAC121C085
Specification Definitions
DIFFERENTIAL NON-LINEARITY (DNL) is the measure of
the maximum deviation from the ideal step size of 1 LSB,
which is V
DIGITAL FEEDTHROUGH is a measure of the energy injected into the analog output of the DAC from the digital inputs
when the DAC output is not updated. It is measured with a
full-scale code change on the data bus.
FULL-SCALE ERROR is the difference between the actual
output voltage with a full scale code (FFFh) loaded into the
DAC and the value of VA x 4095 / 4096.
GAIN ERROR is the deviation from the ideal slope of the
transfer function. It can be calculated from Zero and FullScale Errors as GE = FSE - ZE, where GE is Gain error, FSE
is Full-Scale Error and ZE is Zero Error.
GLITCH IMPULSE is the energy injected into the analog output when the input code to the DAC register changes. It is
specified as the area of the glitch in nanovolt-seconds.
INTEGRAL NON-LINEARITY (INL) is a measure of the deviation of each individual code from a straight line through the
input to output transfer function. The deviation of any given
code from this straight line is measured from the center of that
code value. The end point method is used. INL for this product
is specified over a limited range, per the Electrical Tables.
LEAST SIGNIFICANT BIT (LSB) is the bit that has the smallest value or weight of all bits in a word. This value is
where V
the DAC resolution in bits, which is 12 for the DAC121C081.
/ 4096 = VA / 4096.
REF
LSB = V
is the supply voltage for this product, and "n" is
REF
REF
/ 2
n
MAXIMUM LOAD CAPACITANCE is the maximum capacitance that can be driven by the DAC with output stability
maintained.
MONOTONICITY is the condition of being monotonic, where
the DAC has an output that never decreases when the input
code increases.
MOST SIGNIFICANT BIT (MSB) is the bit that has the largest
value or weight of all bits in a word. Its value is 1/2 of VA.
MULTIPLYING BANDWIDTH is the frequency at which the
output amplitude falls 3dB below the input sine wave on
V
with a full-scale code loaded into the DAC.
REFIN
POWER EFFICIENCY is the ratio of the output current to the
total supply current. The output current comes from the power
supply. The difference between the supply and output currents is the power consumed by the device without a load.
SETTLING TIME is the time for the output to settle to within
1/2 LSB of the final value after the input code is updated.
TOTAL HARMONIC DISTORTION (THD) is the measure of
the harmonics present at the output of the DACs with an ideal
sine wave applied to V
. THD is measured in dB.
REFIN
WAKE-UP TIME is the time for the output to exit power-down
mode. This time is measured from the rising edge of SCL
during the ACK bit of the lower data byte to the time the output
voltage deviates from the power-down voltage of 0V.
ZERO CODE ERROR is the output error, or voltage, present
at the DAC output after a code of 000h has been entered.
9www.national.com
Transfer Characteristic
DAC121C081/ DAC121C085
30004905
Timing Diagrams
FIGURE 1. Input / Output Transfer Characteristic
30004960
FIGURE 2. Serial Timing Diagram
www.national.com10
DAC121C081/ DAC121C085
Typical Performance Characteristics V
4047, unless otherwise stated.
INL
30004920
INL/DNL vs Temperature at VA = 3.0V
REF
= VA, f
= 3.4MHz, TA = 25°C, Input Code Range 48 to
SCL
DNL
INL/DNL vs Temperature at VA = 5.0V
30004921
INL/DNL vs V
at VA = 3.0V
REFIN
30004922
30004924
30004923
INL/DNL vs V
11www.national.com
at VA = 5.0V
REFIN
30004925
INL/DNL vs V
DAC121C081/ DAC121C085
A
Zero Code Error vs. V
A
Zero Code Error vs. Temperature
Full Scale Error vs. Temperature
30004926
30004928
Full Scale Error vs. V
A
Total Supply Current vs. V
30004927
30004936
A
30004929
www.national.com12
30004930
V
Supply Current vs. V
REF
DAC121C081/ DAC121C085
A
Total Supply Current vs. Temperature @ VA = 3V
30004931
Total Supply Current vs. Temperature @ VA = 5V
30004933
Power-On Reset
30004932
5V Glitch Response
30004934
30004935
13www.national.com
1.0 Functional Description
1.1 DAC SECTION
The DAC121C081 is fabricated on a CMOS process with an
architecture that consists of switches and resistor strings that
are followed by an output buffer.
For simplicity, a single resistor string is shown in Figure 3.
This string consists of 4096 equal valued resistors with a
switch at each junction of two resistors, plus a switch to
ground. The code loaded into the DAC register determines
which switch is closed, connecting the proper node to the
amplifier. The input coding is straight binary with an ideal output voltage of:
DAC121C081/ DAC121C085
V
= V
OUT
where D is the decimal equivalent of the binary code that is
loaded into the DAC register. D can take on any integer value
between 0 and 4095. This configuration guarantees that the
DAC is monotonic.
x (D / 4096)
REF
1.2 OUTPUT AMPLIFIER
The output amplifier is rail-to-rail, providing an output voltage
range of 0V to VA when the reference is VA. All amplifiers,
even rail-to-rail types, exhibit a loss of linearity as the output
approaches the supply rails (0V and VA, in this case). For this
reason, linearity is specified over less than the full output
range of the DAC. However, if the reference is less than VA,
there is only a loss in linearity in the lowest codes. The output
capabilities of the amplifier are described in the Electrical Tables.
The output amplifiers are capable of driving a load of 2 kΩ in
parallel with 1500 pF to ground or to VA. The zero-code and
full-scale outputs for given load currents are available in the
Electrical Characteristics Table.
1.3 REFERENCE VOLTAGE
The DAC121C081 uses the supply (VA) as the reference.
With that said, VA must be treated as a reference. The Analog
output will only be as clean as the reference (VA). It is recommended that the reference be driven by a voltage source
with low output impedance.
The DAC121C085 comes with an external reference supply
pin (V
kept as clean as possible.
). For the DAC121C085, it is important that V
REF
REF
be
The Applications section describes a handful of ways to drive
the reference appropriately. Refer to Section 2.1 for details.
30004907
FIGURE 3. DAC Resistor String
www.national.com14
DAC121C081/ DAC121C085
1.4 SERIAL INTERFACE
The I2C-compatible interface operates in all three speed
modes. Standard mode (100kHz) and Fast mode (400kHz)
are functionally the same and will be referred to as StandardFast mode in this document. High-Speed mode (3.4MHz) is
an extension of Standard-Fast mode and will be referred to
as Hs-mode in this document. The following diagrams describe the timing relationships of the clock (SCL) and data
(SDA) signals. Pull-up resistors or current sources are required on the SCL and SDA busses to pull them high when
they are not being driven low. A logic zero is transmitted by
driving the output low. A logic high is transmitted by releasing
the output and allowing it to be pulled-up externally. The appropriate pull-up resistor values will depend upon the total bus
capacitance and operating speed.
1.4.1 Basic I2C Protocol
The I2C interface is bi-directional and allows multiple devices
to operate on the same bus. To facilitate this bus configuration, each device has a unique hardware address which is
referred to as the "slave address." To communicate with a
particular device on the bus, the controller (master) sends the
slave address and listens for a response from the slave. This
response is referred to as an acknowledge bit. If a slave on
the bus is addressed correctly, it Acknowledges (ACKs) the
master by driving the SDA bus low. If the address doesn't
match a device's slave address, it Not-acknowledges
(NACKs) the master by letting SDA be pulled high. ACKs also
occur on the bus when data is being transmitted. When the
master is writing data, the slave ACKs after every data byte
is successfully received. When the master is reading data, the
master ACKs after every data byte is received to let the slave
know it wants to receive another data byte. When the master
wants to stop reading, it NACKs after the last data byte and
creates a Stop condition on the bus.
All communication on the bus begins with either a Start condition or a Repeated Start condition. The protocol for starting
the bus varies between Standard-Fast mode and Hs-mode.
In Standard-Fast mode, the master generates a Start condition by driving SDA from high to low while SCL is high. In Hsmode, starting the bus is more complicated. Please refer to
section 1.4.3 for the full details of a Hs-mode Start condition.
A Repeated Start is generated to either address a different
device, or switch between read and write modes. The master
generates a Repeated Start condition by driving SDA low
while SCL is high. Following the Repeated Start, the master
sends out the slave address and a read/write bit as shown in
Figure 4. The bus continues to operate in the same speed
mode as before the Repeated Start condition.
All communication on the bus ends with a Stop condition. In
either Standard-Fast mode or Hs-Mode, a Stop condition occurs when SDA is pulled from low to high while SCL is high.
After a Stop condition, the bus remains idle until a master
generates a Start condition.
Please refer to the Phillips I2C® Specification (Version 2.1
Jan, 2000) for a detailed description of the serial interface.
FIGURE 4. Basic Operation.
1.4.2 Standard-Fast Mode
In Standard-Fast mode, the master generates a start condition by driving SDA from high to low while SCL is high. The
Start condition is always followed by a 7-bit slave address and
a Read/Write bit. After these eight bits have been transmitted
by the master, SDA is released by the master and the
DAC121C081 either ACKs or NACKs the address. If the slave
address matches, the DAC121C081 ACKs the master. If the
address doesn't match, the DAC121C081 NACKs the master.
For a write operation, the master follows the ACK by sending
the upper eight data bits to the DAC121C081. Then the
DAC121C081 ACKs the transfer by driving SDA low. Next,
the lower eight data bits are sent by the master. The
DAC121C081 then ACKs the transfer. At this point, the DAC
30004911
output updates to reflect the contents of the 16-bit DAC register. Next, the master either sends another pair of data bytes,
generates a Stop condition to end communication, or generates a Repeated Start condition to communicate with another
device on the bus.
For a read operation, the DAC121C081 sends out the upper
eight data bits of the DAC register. This is followed by an ACK
by the master. Next, the lower eight data bits of the DAC register are sent to the master. The master then produces a
NACK by letting SDA be pulled high. The NACK is followed
by a master-generated Stop condition to end communication
on the bus, or a Repeated Start to communicate with another
device on the bus.
15www.national.com
1.4.3 High-Speed (Hs) Mode
For Hs-mode, the sequence of events to begin communication differ slightly from Standard-Fast mode. Figure 5 describes this in further detail. Initially, the bus begins running
in Standard-Fast mode. The master generates a Start condition and sends the 8-bit Hs master code (00001XXX) to the
DAC121C081. Next, the DAC121C081 responds with a
NACK. Once the SCL line has been pulled to a high level, the
master switches to Hs-mode by increasing the bus speed and
generating a Repeated Start condition (driving SDA low while
SCL is pulled high). At this point, the master sends the slave
DAC121C081/ DAC121C085
FIGURE 5. Beginning Hs-Mode Communication
address to the DAC121C081, and communication continues
as shown above in the "Basic Operation" Diagram (see Figure
4).
When the master generates a Repeated Start condition while
in Hs-mode, the bus stays in Hs-mode awaiting the slave address from the master. The bus continues to run in Hs-mode
until a Stop condition is generated by the master. When the
master generates a Stop condition on the bus, the bus must
be started in Standard-Fast mode again before increasing the
bus speed and switching to Hs-mode. ns16705
30004912
1.4.4 I2C Slave (Hardware) Address
The DAC has a seven-bit I2C slave address. For the MSOP-8
version of the DAC, this address is configured by the ADR0
and ADR1 address selection inputs. For the DAC121C081,
the address is configured by the ADR0 address selection input. ADR0 and ADR1 can be grounded, left floating, or tied to
VA. If desired, the address selection inputs can be set to VA/
2 rather than left floating. The state of these inputs sets the
address the DAC responds to on the I2C bus (see Table 1).
In addition to the selectable slave address, there is also a
broadcast address (1001000) for all DAC121C081's and
DAC121C085's on the 2-wire bus. When the bus is addressed
by the broadcast address, all the DAC121C081's and
DAC121C085's will respond and update synchronously. Fig-ure 6 and Figure 7 describe how the master device should
address the DAC via the I2C-Compatible interface.
Keep in mind that the address selection inputs (ADR0 and
ADR1) are only sampled until the DAC is correctly addressed
with a non-broadcast address. At this point, the ADR0 and
ADR1 inputs TRI-STATE and the slave address is "locked".
Changes to ADR0 and ADR1 will not update the selected
slave address until the device is power-cycled.
DAC121C081
(TSOT & LLP) *
A
A
V
A
---------------
Floating---------------
GND---------------
V
A
---------------
* Pin-compatible alternatives to the DAC121C081 options are available with additional address options.
www.national.com16
DAC121C081/ DAC121C085
1.4.5 Writing to the DAC Register
To write to the DAC, the master addresses the part with the
correct slave address (A6-A0) and writes a "zero" to the read/
write bit. If addressed correctly, the DAC returns an ACK to
the master. The master then sends out the upper data byte.
The DAC responds by sending an ACK to the master. Next,
the master sends the lower data byte to the DAC. The DAC
responds by sending an ACK again. At this point, the master
FIGURE 6. Typical Write to the DAC Register
1.4.6 Reading from the DAC Register
To read from the DAC register, the master addresses the part
with the correct slave address (A6-A0) and writes a "one" to
the read/write bit. If addressed correctly, the DAC returns an
ACK to the master. Next, the DAC sends out the upper data
byte. The master responds by sending an ACK to the DAC to
indicate that it wants to receive another data byte. Then the
either sends the upper byte of the next data word to be converted by the DAC, generates a Stop condition to end communication, or generates a Repeated Start condition to begin
communication with another device on the bus. Until generating a Stop condition, the master can continuously write the
upper and lower data bytes to the DAC register. This allows
for a maximum DAC conversion rate of 188.9 kilo-conversions per second in Hs-mode.
30004964
DAC sends the lower data byte to the master. Assuming only
one 16-bit data word is read, the master sends a NACK after
receiving the lower data byte. At this point, the master either
generates a Stop condition to end communication, or a Repeated Start condition to begin communication with another
device on the bus.
FIGURE 7. Typical Read from the DAC Register
17www.national.com
30004963
1.5 DAC REGISTER
The DAC register, Figure 8, has sixteen bits. The first two bits
are always zero. The next two bits determine the mode of
operation (normal mode or one of three power-down modes).
The final twelve bits of the shift register are the data bits. The
data format is straight binary (MSB first, LSB last), with twelve
0's corresponding to an output of 0V and twelve 1's corresponding to a full-scale output of VA - 1 LSB. When writing to
the DAC Register, V
ACK following the lower data byte.
will update on the rising edge of the
OUT
DAC121C081/ DAC121C085
FIGURE 8. DAC Register Contents
1.6 POWER-ON RESET
The power-on reset circuit controls the output voltage of the
DAC during power-up. Upon application of power, the DAC
register is filled with zeros and the output voltage is 0 Volts.
The output remains at 0V until a valid write sequence is made
to the DAC.
When resetting the device, it is crutial that the VA supply be
lowered to a maximum of 200mV before the supply is raised
again to power-up the device. Dropping the supply to within
200mV of GND during a reset will ensure the ADC performs
as specified.
30004908
1.8 POWER-DOWN MODES
The DAC121C081 has three power-down modes. In powerdown mode, the supply current drops to 0.13µA at 3V and
0.15µA at 5V (typ). The DAC121C081 is put into power-down
mode by writing a one to PD1 and/or PD0. The outputs can
be set to high impedance, terminated by 2.5 kΩ to GND, or
terminated by 100 kΩ to GND (see Figure 8).
The bias generator, output amplifier, resistor string, and other
linear circuitry are all shut down in any of the power-down
modes. When the DAC121C081 is powered down, the value
written to the DAC register, including the power-down bits, is
saved. While the DAC is in power-down, the saved DAC register contents can be read back. When the DAC is brought out
of power-down mode, the DAC register contents will be overwritten and V
value.
will be updated with the new 12-bit data
OUT
The time to exit power-down (Wake-Up Time) is typically
0.8µsec at 3V and 0.5µsec at 5V.
1.9 ADDITIONAL TIMING INFORMATION: t
The t
bus. After the SCL bus is driven low by the I2C master, the
specification is provided to aid the design of the I2C
outz
outz
SDA bus will be held for a short time by the DAC121C081.
This time is referred to as t
the relationship between the fall of SCL, at the 30% threshold,
. The following figure illustrates
outz
to the time when the DAC begins to transition the SDA bus.
The t
specification only applies when the DAC is in control
outz
of the SDA bus. The DAC is only in control of the bus during
an ACK by the DAC121C081 or a data byte read from the
DAC (see Figure 7).
1.7 SIMULTANEOUS RESET
The broadcast address allows the I2C master to write a single
word to multiple DACs simultaneously. Provided that all of the
DACs exist on a single I2C bus, every DAC will update when
the broadcast address is used to address the bus. This feature allows the master to reset all of the DACs on a shared
I2C bus to a specific digital code. For instance, if the master
writes a power-down code to the bus with the broadcast address, all of the DACs will power-down simultaneously.
FIGURE 9. Data Output Timing
The t
Mode and 38nsec in Hs-Mode.
specification is typically 87nsec in Standard-Fast
outz
30004965
www.national.com18
DAC121C081/ DAC121C085
2.0 Applications Information
2.1 USING REFERENCES AS POWER SUPPLIES
While the simplicity of the DAC121C081 implies ease of use,
it is important to recognize that the path from the reference
input (VA for the DAC121C081 & V
to V
will have essentially zero Power Supply Rejection
OUT
Ratio (PSRR). Therefore, it is necessary to provide a noisefree supply voltage to the reference. In order to use the full
dynamic range of the DAC121C085, the supply pin (VA) and
V
can be connected together and share the same supply
REF
voltage. Since the DAC121C081 consumes very little power,
a reference source may be used as the supply voltage. The
advantages of using a reference source over a voltage regulator are accuracy and stability. Some low noise regulators
can also be used. Listed below are a few reference and power
supply options for the DAC121C081. When using the
DAC121C081, it is important to treat the analog supply (VA)
as the reference.
2.1.1 LM4132
The LM4132, with its 0.05% accuracy over temperature, is a
good choice as a reference source for the DAC121C081. The
4.096V version is useful if a 0 to 4.095V output range is desirable or acceptable. Bypassing the LM4132 VIN pin with a
0.1µF capacitor and the V
improve stability and reduce output noise. The LM4132
pin with a 2.2µF capacitor will
OUT
comes in a space-saving 5-pin SOT23.
FIGURE 10. The LM4132 as a power supply
for the DAC121C085)
REF
30004913
2.1.2 LM4050
Available with accuracy of 0.44%, the LM4050 shunt reference is also a good choice as a reference for the
DAC121C081. It is available in 4.096V and 5V versions and
comes in a space-saving 3-pin SOT23.
30004914
FIGURE 11. The LM4050 as a power supply
The minimum resistor value in the circuit of Figure 11 must
be chosen such that the maximum current through the
LM4050 does not exceed its 15 mA rating. The conditions for
maximum current include the input voltage at its maximum,
the LM4050 voltage at its minimum, and the DAC121C081
drawing zero current. The maximum resistor value must allow
the LM4050 to draw more than its minimum current for regulation plus the maximum DAC121C081 current in full operation. The conditions for minimum current include the input
voltage at its minimum, the LM4050 voltage at its maximum,
the resistor value at its maximum due to tolerance, and the
DAC121C081 draws its maximum current. These conditions
can be summarized as
R(min) = ( VIN(max) − VZ(min) ) /IZ(max)
and
R(max) = ( VIN(min) − VZ(max) ) / ( (I
(max) + IZ(min) )
DAC
where VZ(min) and VZ(max) are the nominal LM4050 output
voltages ± the LM4050 output tolerance over temperature, I
(max) is the maximum allowable current through the LM4050,
IZ(min) is the minimum current required by the LM4050 for
proper regulation, and I
DAC121C081 supply current.
(max) is the maximum
DAC
Z
19www.national.com
2.1.3 LP3985
The LP3985 is a low noise, ultra low dropout voltage regulator
with a 3% accuracy over temperature. It is a good choice for
applications that do not require a precision reference for the
DAC121C081. It comes in 3.0V, 3.3V and 5V versions,
among others, and sports a low 30 µV noise specification at
low frequencies. Since low frequency noise is relatively difficult to filter, this specification could be important for some
applications. The LP3985 comes in a space-saving 5-pin
SOT23 and 5-bump micro SMD packages.
DAC121C081/ DAC121C085
2.2 BIPOLAR OPERATION
The DAC121C081 is designed for single supply operation and
thus has a unipolar output. However, a bipolar output may be
obtained with the circuit in Figure 14. This circuit will provide
an output voltage range of ±5 Volts. A rail-to-rail amplifier
should be used if the amplifier supplies are limited to ±5V.
30004917
FIGURE 14. Bipolar Operation
30004915
FIGURE 12. Using the LP3985 regulator
An input capacitance of 1.0µF without any ESR requirement
is required at the LP3985 input, while a 1.0µF ceramic capacitor with an ESR requirement of 5mΩ to 500mΩ is required
at the output. Careful interpretation and understanding of the
capacitor specification is required to ensure correct device
operation.
2.1.4 LP2980
The LP2980 is an ultra low dropout regulator with a 0.5% or
1.0% accuracy over temperature, depending upon grade. It is
available in 3.0V, 3.3V and 5V versions, among others.
30004916
FIGURE 13. Using the LP2980 regulator
The output voltage of this circuit for any code is found to be
VO = (VA x (D / 4096) x ((R1 + R2) / R1) - VA x R2 / R1)
where D is the input code in decimal form. With VA = 5V and
R1 = R2,
VO = (10 x D / 4096) - 5V
A list of rail-to-rail amplifiers suitable for this application are
indicated in Table 2.
TABLE 2. Some Rail-to-Rail Amplifiers
AMPPKGS
Typ V
OS
Typ I
SUPPLY
LMP7701SOT23-537 uV0.79 mA
LMV841SC70-550 uV1 mA
LMC7111SOT23-50.9 mV25 µA
LM7301
SO-8
SOT23-5
0.03 mV620 µA
LM8261SOT23-50.7 mV1 mA
Like any low dropout regulator, the LP2980 requires an output
capacitor for loop stability. This output capacitor must be at
least 1.0µF over temperature, but values of 2.2µF or more will
provide even better performance. The ESR of this capacitor
should be within the range specified in the LP2980 data sheet.
Surface-mount solid tantalum capacitors offer a good combination of small size and ESR. Ceramic capacitors are attractive due to their small size but generally have ESR values that
are too low for use with the LP2980. Aluminum electrolytic
capacitors are typically not a good choice due to their large
size and have ESR values that may be too high at low temperatures.
www.national.com20
DAC121C081/ DAC121C085
2.3 DSP/MICROPROCESSOR INTERFACING
Interfacing the DAC121C081 to microprocessors and DSPs
is quite simple. The following guidelines are offered to simplify
the design process.
2.3.1 Interfacing to the 2-wire Bus
Figure 15 shows a microcontroller interfacing to the
DAC121C081 via the 2-wire bus. Pull-up resistors (Rp)
should be chosen to create an appropriate bus rise time and
to limit the current that will be sunk by the open-drain outputs
of the devices on the bus. Please refer to the I2C Specification
for further details. Typical pull-up values to use in StandardFast mode bus applications are 2kΩ to 10kΩ. SCL and SDA
series resisters (RS) near the DAC121C081 are optional. If
high-voltage spikes are expected on the 2-wire bus, series
resistors should be used to filter the voltage on SDA and SCL.
The value of the series resistance must be picked to ensure
the VIL threshold can be achieved. If used, RS is typically
51Ω.
2.3.2 Interfacing to a Hs-mode Bus
Interfacing to a Hs-mode bus is very similar to interfacing to
a Standard-Fast mode bus. In Hs-mode, the specified rise
time of SCL is shortened. To create a faster rise time, the
master device (microcontroller) can drive the SCL bus high
and low. In other words, the microcontroller can drive the line
high rather than leaving it to the pull-up resistor. It is also possible to decrease the value of the pull-up resistors or increase
the pull-up current to meet the tighter timing specs. Please
refer to the I2C Specification for further details.
2.4 LAYOUT, GROUNDING, AND BYPASSING
For best accuracy and minimum noise, the printed circuit
board containing the DAC121C081 should have separate
analog and digital areas. The areas are defined by the locations of the analog and digital power planes. Both of these
planes should be located on the same board layer. There
should be a single ground plane. A single ground plane is
preferred if digital return current does not flow through the
analog ground area. Frequently a single ground plane design
will utilize a "fencing" technique to prevent the mixing of analog and digital ground current. Separate ground planes should
only be utilized when the fencing technique is inadequate.
The separate ground planes must be connected in one place,
preferably near the DAC121C081. Special care is required to
guarantee that digital signals with fast edge rates do not pass
over split ground planes. They must always have a continuous return path below their traces.
The DAC121C081 power supply should be bypassed with a
4.7µF and a 0.1µF capacitor as close as possible to the device
with the 0.1µF right at the device supply pin. The 4.7µF capacitor should be a tantalum type and the 0.1µF capacitor
should be a low ESL, low ESR type. The power supply for the
DAC121C081 should only be used for analog circuits.
Avoid crossover of analog and digital signals and keep the
clock and data lines on the component side of the board.
These clock and data lines should have controlled
impedances.
Power Managementwww.national.com/powerFeedbackwww.national.com/feedback
Switching Regulatorswww.national.com/switchers
LDOswww.national.com/ldo
LED Lightingwww.national.com/led
PowerWisewww.national.com/powerwise
Serial Digital Interface (SDI)www.national.com/sdi
Temperature Sensorswww.national.com/tempsensors
Wireless (PLL/VCO)www.national.com/wireless
THE CONTENTS OF THIS DOCUMENT ARE PROVIDED IN CONNECTION WITH NATIONAL SEMICONDUCTOR CORPORATION
(“NATIONAL”) PRODUCTS. NATIONAL MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY
OR COMPLETENESS OF THE CONTENTS OF THIS PUBLICATION AND RESERVES THE RIGHT TO MAKE CHANGES TO
SPECIFICATIONS AND PRODUCT DESCRIPTIONS AT ANY TIME WITHOUT NOTICE. NO LICENSE, WHETHER EXPRESS,
IMPLIED, ARISING BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS
DOCUMENT.
TESTING AND OTHER QUALITY CONTROLS ARE USED TO THE EXTENT NATIONAL DEEMS NECESSARY TO SUPPORT
NATIONAL’S PRODUCT WARRANTY. EXCEPT WHERE MANDATED BY GOVERNMENT REQUIREMENTS, TESTING OF ALL
PARAMETERS OF EACH PRODUCT IS NOT NECESSARILY PERFORMED. NATIONAL ASSUMES NO LIABILITY FOR
APPLICATIONS ASSISTANCE OR BUYER PRODUCT DESIGN. BUYERS ARE RESPONSIBLE FOR THEIR PRODUCTS AND
APPLICATIONS USING NATIONAL COMPONENTS. PRIOR TO USING OR DISTRIBUTING ANY PRODUCTS THAT INCLUDE
NATIONAL COMPONENTS, BUYERS SHOULD PROVIDE ADEQUATE DESIGN, TESTING AND OPERATING SAFEGUARDS.
EXCEPT AS PROVIDED IN NATIONAL’S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, NATIONAL ASSUMES NO
LIABILITY WHATSOEVER, AND NATIONAL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY RELATING TO THE SALE
AND/OR USE OF NATIONAL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR
PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY
RIGHT.
LIFE SUPPORT POLICY
NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR
SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF THE CHIEF EXECUTIVE OFFICER AND GENERAL
COUNSEL OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein:
DAC121C081/ DAC121C085 12-Bit Micro Power Digital-to-Analog Converter
Life support devices or systems are devices which (a) are intended for surgical implant into the body, or (b) support or sustain life and
whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected
to result in a significant injury to the user. A critical component is any component in a life support device or system whose failure to perform
can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness.
National Semiconductor and the National Semiconductor logo are registered trademarks of National Semiconductor Corporation. All other
brand or product names may be trademarks or registered trademarks of their respective holders.