AD5821
Rev. 0 | Page 9 of 16
1.4
1.3
1.1
1.0
0.9
0.8
0.7
0.5
0.6
0.4
–50 –30 9070503010–10
05950-026
TEMPERATURE (°C)
VOLTAG E (V)
1.2
V
DD
= 2.7V
V
DD
= 3.6V
V
DD
= 5.5V
V
DD
= 4.5V
Figure 17. SCL and SDA Logic Low Level (V
INL
) vs.
Supply Voltage and Temperature
1.4
1.3
1.1
1.0
0.9
0.8
0.7
0.5
0.6
0.4
–50 –30 9070503010–10
05950-025
TEMPERATURE (°C)
VOLTAG E (V)
1.2
V
DD
= 2.7V
V
DD
= 3.6V
V
DD
= 5.5V
V
DD
= 4.5V
Figure 18. XSHUTDOWN Logic High Level (V
INH
) vs.
Supply Voltage and Temperature
1.4
1.3
1.1
1.0
0.9
0.8
0.7
0.5
0.6
0.4
–50 –30 9070503010–10
05950-027
TEMPERATURE (°C)
VOLTAG E (V)
1.2
V
DD
= 2.7V
V
DD
= 3.6V
V
DD
= 5.5V
V
DD
= 4.5V
Figure 19. DNL vs. XSHUTDOWN Logic Low Level (V
INL
) vs.
Supply Voltage and Temperature
AD5821
Rev. 0 | Page 10 of 16
TERMINOLOGY
Relative Accuracy
For the DAC, relative accuracy or integral nonlinearity is a
measurement of the maximum deviation, in LSB, from a
straight line passing through the endpoints of the DAC transfer
function. A typical INL vs. code plot is shown in
Figure 5.
Differential Nonlinearity (DNL)
Differential nonlinearity is the difference between the measured
change and the ideal 1 LSB change between any two adjacent
codes. A specified differential nonlinearity of ±1 LSB maximum
ensures monotonicity. This DAC is guaranteed monotonic by
design. A typical DNL vs. code plot is shown in
Figure 6.
Zero-Code Error
Zero-code error is a measurement of the output error when zero
code (0x0000) is loaded to the DAC register. Ideally, the output
is 0 mA. The zero-code error is always positive in the AD5821
because the output of the DAC cannot go below 0 mA. This is
due to a combination of the offset errors in the DAC and output
amplifier. Zero-code error is expressed in milliamperes (mA).
Gain Error
Gain error is a measurement of the span error of the DAC. It is
the deviation in slope of the DAC transfer characteristic from
the ideal, expressed as a percent of the full-scale range.
Gain Error Drift
Gain error drift is a measurement of the change in gain error
with changes in temperature. It is expressed in LSB/°C.
Digital-to-Analog Glitch Impulse
This is the impulse injected into the analog output when the
input code in the DAC register changes state. It is normally
specified as the area of the glitch in nanoamperes per second
(nA-s) and is measured when the digital input code is changed
by 1 LSB at the major carry transition.
Digital Feedthrough
Digital feedthrough is a measurement of the impulse injected
into the analog output of the DAC from the digital inputs of the
DAC, but it is measured when the DAC output is not updated.
It is specified in nanoamperes per second (nA-s) and measured
with a full-scale code change on the data bus, that is, from all 0s
to all 1s and vice versa.
Offset Error
Offset error is a measurement of the difference between I
SINK
(actual) and I
OUT
(ideal) in the linear region of the transfer
function, expressed in milliamperes (mA). Offset error is
measured on the AD5821 with Code 16 loaded into the DAC
register.
Offset Error Drift
Offset error drift is a measurement of the change in offset error
with a change in temperature. It is expressed in microvolts per
degree Celsius (µV/°C).
AD5821
Rev. 0 | Page 11 of 16
THEORY OF OPERATION
The AD5821 is a fully integrated, 10-bit digital-to-analog
converter (DAC) with 120 mA output current sink capability.
It is intended for driving voice coil actuators in applications
such as lens autofocus, image stabilization, and optical zoom.
The circuit diagram is shown in
Figure 20. A 10-bit current
output DAC coupled with Resistor R generates the voltage that
drives the noninverting input of the operational amplifier. This
voltage also appears across the R
SENSE
resistor and generates the
sink current required to drive the voice coil.
Resistor R and Resistor R
SENSE
are interleaved and matched.
Therefore, the temperature coefficient and any nonlinearities
over temperature are matched, and the output drift over tempera-
ture is minimized. Diode D1 is an output protection diode.
R
SENSE
3.3
R
AD5821
D1
10-BIT
CURRENT
OUTPUT DAC
05950-001
SDA
AGND
XSHUTDOWN
V
DD
DGND
SCL
I
SINK
DGND
V
DD
I
2
C SERIAL
INTERFACE
REFERENCE
POWER-ON
RESET
Figure 20. Block Diagram Showing Connection to Voice Coil
SERIAL INTERFACE
The AD5821 is controlled using the industry-standard I
2
C
2-wire serial protocol. Data can be written to or read from the
DAC at data rates of up to 400 kHz. After a read operation, the
contents of the input register are reset to all 0s.
I
2
C BUS OPERATION
An I
2
C bus operates with one or more master devices that
generate the serial clock (SCL) and read and write data on the
serial data line (SDA) to and from slave devices such as the
AD5821. All devices on an I
2
C bus have their SDA pin connected
to the SDA line and their SCL pin connected to the SCL line of
the master device. I
2
C devices can only pull the bus lines low;
pulling high is achieved by pull-up resistors, R
P
. The value of R
P
depends on the data rate, bus capacitance, and the maximum load
current that the I
2
C device can sink (3 mA for a standard device).
0
5950-016
SCL
SDA
I
2
C MASTER
DEVICE
AD5821
I
2
C SLAVE
DEVICE
I
2
C SLAVE
DEVICE
R
P
R
P
1.8V
Figure 21. Typical I
2
C Bus
When the bus is idle, SCL and SDA are both high. The master
device initiates a serial bus operation by generating a start
condition, which is defined as a high-to-low transition on the
SDA low while SCL is high. The slave device connected to the
bus responds to the start condition and shifts in the next eight
data bits under control of the serial clock. These eight data bits
consist of a 7-bit address, plus a read/write (R/
W
) bit that is 0 if
data is to be written to a device, and 1 if data is to be read from a
device. Each slave device on an I
2
C bus must have a unique address.
The address of the AD5821 is 0001100; however, 0001101,
0001110, and 0001111 address the part because the last two bits
are unused/dont cares (see
Figure 22 and Figure 23). Because the
address plus the R/
W
bit always equals eight bits of data, the write
address of the AD5821 is 00011000 (0x18) and the read address
is 00011001 (0x19) (see
Figure 22 and Figure 23).
At the end of the address data, after the R/
W
bit, the slave
device that recognizes its own address responds by generating
an acknowledge (ACK) condition. This is defined as the slave
device pulling SDA low while SCL is low before the ninth clock
pulse and keeping it low during the ninth clock pulse. Upon
receiving ACK, the master device can clock data into the AD5821
in a write operation, or it can clock it out in a read operation.
Data must change either during the low period of the clock
(because SDA transitions during the high period define a start
condition, as described previously), or during a stop condition,
as described in the
Data Format section.
I
2
C data is divided into blocks of eight bits, and the slave generates
an ACK at the end of each block. Because the AD5821 requires
10 bits of data, two data-words must be written to it when a
write operation occurs, or read from it when a read operation
occurs. At the end of a read or write operation, the AD5821
acknowledges the second data byte. The master generates a stop
condition, defined as a low-to-high transition on SDA while SCL
is high, to end the transaction.
DATA FORMAT
Data is written to the AD5821 high byte first, MSB first, and is
shifted into the 16-bit input register. After all data is shifted in,
data from the input register is transferred to the DAC register.
Because the DAC requires only 10 bits of data, not all bits of the
input register data are used. The MSB is reserved for an active-
high, software-controlled, power-down function. Bit 14 is unused;
Bit 13 to Bit 4 correspond to the DAC data bits, Bit 9 to Bit 0.
Bit 3 to Bit 0 are unused.
During a read operation, data is read in the same bit order.

AD5821BCBZ-REEL

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
IC DAC 10BIT A-OUT 9WLCSP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet