AD5398A
Rev. 0 | Page 9 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
AD5398A 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 mA.
Gain Error
This 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
This is a measurement of the change in gain error with changes
in temperature. It is expressed in LSB/°C.
Digital-to-Analog Glitch Impulse
Digital-to-analog glitch impulse 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 nA-sec
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, however is measured when the DAC output is not
updated. It is specified in nA-sec 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 mA. Offset error is measured on the
AD5398A with Code 16 loaded into the DAC register.
Offset Error Drift
This is a measurement of the change in offset error with a
change in temperature. It is expressed in µV/°C.
AD5398A
Rev. 0 | Page 10 of 16
THEORY OF OPERATION
The AD5398A is a fully integrated 10-bit DAC with 120 mA
output current sink capability and is intended for driving voice
coil actuators in applications such as lens autofocus, image sta-
bilization, and optical zoom. The circuit diagram is shown in
Figure 16. 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.
The R and R
SENSE
resistors are interleaved and matched. There-
fore, the temperature coefficient and any nonlinearities over
temperature are matched and the output drift over temperature
is minimized. Diode D1 is an output protection diode.
07795-015
POWER-ON
RESET
SDA
AGND
DGND
V
DD
SCL
PD
I
SINK
V
DD
V
BAT
VOICE COIL
ACTUATOR
D1
R
SENSE
3.3
I
2
C SERIAL
INTERFACE
10-BIT
CURRENT
OUTPUT DAC
REFERENCE
R
AD5398A
DGND
Figure 16. Circuit Diagram Showing Connection to
Voice Coil
SERIAL INTERFACE
The AD5398A 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 up to 400 kHz. After a read operation,
the contents of the input register are reset to all zeros.
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/write data on the serial
data line (SDA) to/from slave devices such as the AD5398A. On
all devices on an I
2
C bus, the SCL pin is connected to the SCL
line and the SDA pin is connected to the SDA line. I
2
C devices
can only pull the bus lines low; pulling high is achieved by the
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).
07795-016
SCL
SDA
I
2
C MASTER
DEVICE
AD5398A
I
2
C SLAVE
DEVICE
I
2
C SLAVE
DEVICE
R
P
R
P
V
DD
Figure 17. 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 line 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 the control of the serial clock. These eight data
bits consist of a 7-bit address, plus a read/write bit, which 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 AD5398A is 0001100; however,
0001101, 0001110, and 0001111 address the part because the
last two bits are unused/don’t care (see Figure 18 and Figure 19).
Because the address plus R/
W
bit always equals eight bits of data,
another way of looking at it is that the write address of the
AD5398A is 0001 1000 (0x18) and the read address is 0001 1001
(0x19). Again, Bit 6 and Bit 7 of the address are unused, and,
therefore, the write addresses can also be 0x1A, 0x1C, and 0x1E,
and the read address can be 0x1B, 0x1D, and 0x1F (see
and ).
Figure 18
Figure 19
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 an ACK, the master device can clock data into the
AD5398A 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 condi-
tion as described in the section. Data Format
I
2
C data is divided into blocks of eight bits, and the slave
generates an ACK at the end of each block. The AD5398A
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
AD5398A 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.
AD5398A
Rev. 0 | Page 11 of 16
DATA FORMAT
Data is written to the AD5398A 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.
The data format is shown in Table 6. When referring to this table,
note that Bit 14 is unused; Bit 13 to Bit 4 correspond to the DAC
data bits, D9 to D0; and Bit 3 to Bit 0 are unused.
During a read operation, data is read in the same bit order.
07795-017
PD X D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 X X X X
00
SCL
SDA
START BY
MASTER
ACK BY
AD5398A
1191
ACK BY
AD5398A
ACK BY
AD5398A
STOP BY
MASTER
FRAME 3
LEAST SIGNIFICANT
DATA BYTE
FRAME 2
MOST SIGNIFICANT
DATA BYTE
FRAME 1
SERIAL BUS
ADDRESS BYTE
01 1XXR/W
9
Figure 18. Write Operation
07795-018
PD X D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 X X X X
00
SCL
SDA
START BY
MASTER
ACK BY
AD5398A
1191
ACK BY
AD5398A
ACK BY
AD5398A
STOP BY
MASTER
FRAME 3
LEAST SIGNIFICANT
DATA BYTE
FRAME 2
MOST SIGNIFICANT
DATA BYTE
FRAME 1
SERIAL BUS
ADDRESS BYTE
01 1XXR/W
9
Figure 19. Read Operation
Table 6. Data Format
Serial Data-
Words
High Byte Low Byte
Bit
15
Bit
14
Bit
13
Bit
12
Bit
11
Bit
10
Bit
9
Bit
8
Bit
7
Bit
6
Bit
5
Bit
4
Bit
3
Bit
2
Bit
1
Bit
0
Serial Data Bits SD7 SD6 SD5 SD4 SD3 SD2 SD1 SD0 SD7 SD6 SD5 SD4 SD3 SD2 SD1 SD0
Input Register R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
Function
1
PD X D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 X X X X
1
PD = soft power-down; X = unused/don’t care; and D7 to D0 = DAC data.

AD5398ABCBZ-REEL

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Digital to Analog Converters - DAC 10-Bit I2C 250uS IC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet