Ad5593r Datasheet
Ad5593r Datasheet
AD5593R
8-Channel, 12-Bit, Configurable ADC/DAC with On-Chip Reference, I2C Interface
GENERAL DESCRIPTION
FEATURES The AD5593R has eight input/output (I/O) pins, which can be inde-
► 8-channel, configurable ADC/DAC/GPIO pendently configured as digital-to-analog converter (DAC) outputs,
analog-to-digital converter (ADC) inputs, digital outputs, or digital
►Configurable as any combination of
inputs. When an I/O pin is configured as an analog output, it is
► 8 12-bit DAC channels
driven by a 12-bit DAC. The output range of the DAC is 0 V to VREF
► 8 12-bit ADC channels or 0 V to 2 × VREF. When an I/O pin is configured as an analog
► 8 general-purpose I/O pins input, it is connected to a 12-bit ADC via an analog multiplexer.
► Integrated temperature sensor The input range of the ADC is 0 V to VREF or 0 V to 2 × VREF.
► 16-lead TSSOP and LFCSP and 16-ball WLCSP packages The I/O pins can also be configured to be general-purpose, digital
input or output (GPIO) pins. The state of the GPIO pins can be set
► I2C interface
or read back by accessing the GPIO write data register and GPIO
APPLICATIONS read configuration registers, respectively, via an I2C write or read
operation.
► Control and monitoring
The AD5593R has an integrated 2.5 V, 20 ppm/°C reference that
► General-purpose analog and digital I/O
is turned off by default and an integrated temperature indicator that
gives an indication of the die temperature. The temperature value is
read back as part of an ADC read sequence.
The AD5593R is available in 16-lead TSSOP and LFCSP, as well
as a 16-ball WLCSP, and operates over a temperature range of
−40°C to +105°C.
Table 1. Related Products
Product Description
AD5592R AD5593R equivalent with SPI interface
AD5592R-1 AD5593R equivalent with SPI interface and VLOGIC pin
FUNCTIONAL BLOCK DIAGRAM
Figure 1.
Rev. H
Information furnished by Analog Devices is believed to be accurate and reliable "as is". However, no responsibility is assumed by Analog
DOCUMENT FEEDBACK 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
TECHNICAL SUPPORT registered trademarks are the property of their respective owners.
Data Sheet AD5593R
TABLE OF CONTENTS
REVISION HISTORY
8/2023—Rev. G to Rev. H
Changes to Table 3.......................................................................................................................................... 6
Change to Figure 36...................................................................................................................................... 20
Changes to Figure 37 and Figure 38............................................................................................................. 21
Changes to Figure 39.................................................................................................................................... 22
Changes to Figure 41.................................................................................................................................... 24
Changes to Figure 42.................................................................................................................................... 25
Change to Reset Function Section................................................................................................................ 26
Changes to Table 8........................................................................................................................................ 28
Changes to Table 9........................................................................................................................................ 28
1/2023—Rev. F to Rev. G
Changes to Figure 42.................................................................................................................................... 25
analog.com Rev. H | 2 of 47
Data Sheet AD5593R
SPECIFICATIONS
VDD = 2.7 V to 5.5 V, VLOGIC = 2.7 V to 5.5 V, VREF = 2.5 V (internal), Temperature Range TA = TMIN to TMAX, unless otherwise noted. Typical
specs are verified by characterization, not production tested.
Table 2.
Parameter Min Typ Max Unit Test Conditions/Comments
TEMPERATURE RANGE (TA)
Specified Performance −40 +105 °C
ADC PERFORMANCE fIN = 10 kHz sine wave
Resolution 12 Bits
Input Range1 0 VREF V ADC range select bit = 0
0 2 × VREF V ADC range select bit = 1
Integral Nonlinearity (INL) −2 +2 LSB
Differential Nonlinearity (DNL) −1 +1 LSB
Offset Error ±5 mV
Gain Error 0.3 % FSR
Track Time (tTRACK)2 500 ns
Conversion Time (tCONV)2 2 µs
Signal to Noise Ratio (SNR)3 69 dB VDD = 2.7 V, input range = 0 V to VREF
67 dB VDD = 5.5 V, input range = 0 V to VREF
61 dB VDD = 5.5 V, input range = 0 V to 2 × VREF
Signal-to-Noise + Distortion (SINAD) Ratio 69 dB VDD = 2.7 V, input range = 0 V to VREF
67 dB VDD = 3.3 V, input range = 0 V to VREF
60 dB VDD = 5.5 V, input range = 0 V to 2 × VREF
Total Harmonic Distortion (THD) −91 dB VDD = 2.7 V, input range = 0 V to VREF
−89 dB VDD = 3.3 V, input range = 0 V to VREF
−72 dB VDD = 5.5 V, input range = 0 V to 2 × VREF
Spurious Free Dynamic Range (SFDR) 91 dB VDD = 2.7 V, input range = 0 V to VREF
91 dB VDD = 3.3 V, input range = 0 V to VREF
72 dB VDD = 5.5 V, input range = 0 V to 2 × VREF
Aperture Delay2 15 ns VDD = 3 V
12 ns VDD = 5 V
Aperture Jitter2 50 ps
Channel-to-Channel Isolation −95 dB fIN = 5 kHz
Full Power Bandwidth 8.2 MHz At 3 dB
1.6 MHz At 0.1 dB
DAC PERFORMANCE4
Resolution 12 Bits
Output Range 0 VREF V DAC range select bit = 0
0 2 × VREF V DAC range select bit = 1
INL −1 +1 LSB
DNL −1 +1 LSB
Offset Error −3 +3 mV
Offset Error Drift2 8 µV/°C
Gain Error ±0.2 % FSR Output range = 0 V to VREF
±0.1 % FSR Output range = 0 V to 2 × VREF
Zero Code Error 0.65 2 mV
Total Unadjusted Error (TUE) ±0.03 ±0.25 % FSR Output range = 0 V to VREF
±0.015 ±0.1 % FSR Output range = 0 V to 2 × VREF
Capacitive Load Stability 2 nF RLOAD = ∞
10 nF RLOAD = 1 kΩ
Resistive Load 1 kΩ
analog.com Rev. H | 3 of 47
Data Sheet AD5593R
SPECIFICATIONS
Table 2. (Continued)
Parameter Min Typ Max Unit Test Conditions/Comments
Short-Circuit Current 25 mA
DC Crosstalk2 −4 +4 µV Single channel, full-scale output change
DC Output Impedance 0.2 Ω
DC Power Supply Rejection Ratio (PSRR)2 0.15 mV/V DAC code = midscale, VDD = 3 V ± 10% or 5 V ± 10%
Load Impedance at Rails5 25 Ω
Load Regulation 200 µV/mA VDD = 5 V ± 10%, DAC code = midscale, −10 mA ≤ IOUT ≤ +10 mA
200 µV/mA VDD = 3 V ± 10%, DAC code = midscale, −10 mA ≤ IOUT ≤ +10 mA
Power-Up Time 7 µs Exiting power-down mode, VDD = 5 V
DAC AC SPECIFICATIONS
Slew Rate 1.25 V/µs
Settling Time 6 µs
DAC Glitch Impulse 2 nV-sec
DAC to DAC Crosstalk 1 nV-sec
Digital Crosstalk 0.1 nV-sec
Analog Crosstalk 1 nV-sec
Digital Feedthrough 0.1 nV-sec
Multiplying Bandwidth 240 kHz DAC code = full scale, output range = 0 V to 2 × VREF
Output Voltage Noise Spectral Density 200 nV/√Hz DAC code = midscale, output range = 0 V to 2 × VREF, measured
at 10 kHz
SNR 81 dB
SFDR 77 dB
SINAD 74 dB
Total Harmonic Distortion −76 dB
REFERENCE INPUT
VREF Input Voltage 1 VDD V
DC Leakage Current −1 +1 µA No I/Ox pins configured as DACs
VREF Input Impedance 12 kΩ DAC output range = 0 V to 2 × VREF
24 kΩ DAC output range = 0 V to VREF
REFERENCE OUTPUT
VREF Output Voltage 2.495 2.5 2.505 V
VREF Temperature Coefficient 20 ppm/°C
Capacitive Load Stability 5 μF RLOAD = 2 kΩ
Output Impedance 0.15 Ω VDD = 2.7 V
0.7 Ω VDD = 5 V
Output Voltage Noise 10 µV p-p 0.1 Hz to 10 Hz
Output Voltage Noise Density 240 nV/√Hz At ambient, f = 1 kHz, CL = 10 nF
Line Regulation 20 µV/V At ambient, sweeping VDD from 2.7 V to 5.5 V
10 µV/V At ambient, sweeping VDD from 2.7 V to 3.3 V
Load Regulation
Sourcing 210 µV/mA At ambient, −5 mA ≤ load current ≤ +5 mA
Sinking 120 µV/mA At ambient, −5 mA ≤ load current ≤ +5 mA
Output Current Load Capability ±5 mA VDD ≥ 3 V
GPIO OUTPUT
ISOURCE and ISINK 1.6 mA
Output Voltage
High, VOH VDD − 0.2 V ISOURCE = 1 mA
Low, VOL 0.4 V ISINK = 1 mA
GPIO INPUT
Input Voltage
analog.com Rev. H | 4 of 47
Data Sheet AD5593R
SPECIFICATIONS
Table 2. (Continued)
Parameter Min Typ Max Unit Test Conditions/Comments
High, VIH VDD × 0.7 V
Low, VIL VDD × 0.3 V
Input Capacitance 20 pF
Hysteresis 0.2 V
Input Current ±1 µA
LOGIC INPUTS
Input Voltage
High, VINH 0.7 × VLOGIC V
Low, VINL 0.3 × VLOGIC V
Input Current, IIN −1 +0.01 +1 µA
Input Capacitance, CIN 10 pF
LOGIC OUTPUT (SDA)
Output High Voltage, VOH VLOGIC − 0.2 V ISOURCE = 200 µA; VLOGIC = 2.7 V to 5.5 V
Output Low Voltage, VOL 0.4 V ISINK = 200 µA
Floating-State Output Capacitance 10 pF
TEMPERATURE SENSOR2
Resolution 12 Bits
Operating Range −40 +105 °C
Accuracy ±3 °C
Track Time 5 µs ADC buffer enabled
20 µs ADC buffer disabled
POWER REQUIREMENTS
VDD 2.7 5.5 V
IDD Digital inputs = 0 V or VLOGIC
Power-Down Mode 3.5 µA
Normal Mode
VDD = 5 V 1.6 mA I/O0 to I/O7 are DACs, internal reference, gain = 2
1 mA I/O0 to I/O7 are DACs, external reference, gain = 2
2.4 mA I/O0 to I/O7 are DACs and sampled by the ADC, internal
reference, gain = 2
1.1 mA I/O0 to I/O7 are DACs and sampled by the ADC, external
reference, gain = 2
1 mA I/O0 to I/O7 are ADCs, internal reference, gain = 2
0.75 mA I/O0 to I/O7 are ADCs, external reference, gain = 2
0.5 mA I/O0 to I/O7 are general-purpose outputs
0.5 mA I/O0 to I/O7 are general-purpose inputs
VDD = 3 V 1.1 mA I/O0 to I/O7 are DACs, internal reference, gain = 1
1 mA I/O0 to I/O7 are DACs, external reference, gain = 1
1.1 mA I/O0 to I/O7 are DACs and sampled by the ADC, internal
reference, gain = 1
0.78 mA I/O0 to I/O7 are DACs and sampled by the ADC, external
reference, gain = 1
0.75 mA I/O0 to I/O7 are ADCs, internal reference, gain = 1
0.5 mA I/O0 to I/O7 are ADCs, external reference, gain = 1
0.45 mA I/O0 to I/O7 are general-purpose outputs
0.45 mA I/O0 to I/O7 are general-purpose inputs
VLOGIC 1.8 VDD V
ILOGIC 3.5 μA
analog.com Rev. H | 5 of 47
Data Sheet AD5593R
SPECIFICATIONS
1 When using the internal ADC buffer, there is a dead band of 0 V to 5 mV.
2 Guaranteed by design and characterization; not production tested.
3 All specifications expressed in decibels are referred to full-scale input, FSR, and tested with an input signal at 0.5 dB below full scale, unless otherwise specified.
4 DC specifications tested with the outputs unloaded, unless otherwise noted. Linearity calculated using a reduced code range of 8 to 4085. An upper dead band of 10 mV
exists when VREF = VDD.
5 When drawing a load current at either rail, the output voltage headroom with respect to that rail is limited by the 25 Ω typical channel resistance of the output devices. For
example, when sinking 1 mA, the minimum output voltage = 25 Ω × 1 mA = 25 mV (see Figure 26 and Figure 27).
TIMING CHARACTERISTICS
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; VDD = 2.7 V to 5.5 V, 1.8
V ≤ VLOGIC ≤ VDD; 2.5 V ≤ VREF ≤ VDD; all specifications TMIN to TMAX, unless otherwise noted.
Table 3.
Parameter1 Min Typ Max Unit Conditions/Comments
t1 2.5 µs SCL cycle time
t2 0.6 µs tHIGH, SCL high time
t3 1.3 µs tLOW, SCL low time
t4 0.6 µs tHD,STA, start/repeated start condition hold time
t5 100 ns tSU,DAT, data setup time
t 62 0.9 µs tHD,DAT, data hold time
t7 0.6 µs tSU,STA, setup time for repeated start
t8 0.6 µs tSU,STO, stop condition setup time
t9 1.3 µs tBUF, bus free time between a stop and a start condition
t10 300 ns tR, rise time of SCL and SDA when receiving
0 ns tR, rise time of SCL and SDA when receiving (CMOS compatible)
t11 250 ns tF, fall time of SDA when transmitting
0 ns tF, fall time of SDA when receiving (CMOS compatible)
300 ns tF, fall time of SCL and SDA when receiving
20 + 0.1 × CB3 ns tF, fall time of SCL and SDA when transmitting
tRESETL_PW 250 ns RESET low pulse width
CB3 400 pF Capacitive load for each bus line
Timing Diagram
analog.com Rev. H | 6 of 47
Data Sheet AD5593R
ABSOLUTE MAXIMUM RATINGS
TA = 25°C, unless otherwise noted. Transient currents of up to 100 Do not use θJA, θJC, and θJB thermal resistances to perform direct
mA do not cause SCR latch-up. calculation/measurement of the die temperature because doing so
Table 4.
results in incorrect values. The thermal resistances assume 100%
of the power that is dissipated along the specified path between the
Parameter Rating
measurement points. The thermal resistances are directly depend-
VDD to GND −0.3 V to +7 V ent on the PCB design and environment.
VLOGIC to GND −0.3 V to +7 V
I/Ox to GND −0.3 V to VDD + 0.3 V
If direct measurement of the package is required, the ΨJT and ΨJB
values must be used because they more accurately reflect the true
Digital Inputs to GND −0.3 V to VLOGIC + 0.3 V
thermal dissipation paths.
Digital Outputs to GND −0.3 V to VLOGIC +0.3 V
VREF to GND −0.3 V to VDD +0.3 V θJC must only be used where an external heat sink is attached
Operating Temperature Range −40°C to +105°C directly to the package.
Storage Temperature Range −65°C to +150°C System level thermal simulation is highly recommended.
Junction Temperature (TJ max) +150°C
Lead Temperature JEDEC industry-standard For more details about the thermal resistances, refer to JE-
Soldering J-STD-020 DEC51-12: Guidelines for Reporting and Using Electronic Package
Thermal Information.
Stresses at or above those listed under Absolute Maximum Ratings
Table 5. Thermal Resistance
may cause permanent damage to the product. This is a stress
rating only; functional operation of the product at these or any other Package Type θJA θJB θJC-TOP ΨJT ΨJB Unit
conditions above those indicated in the operational section of this CP-16-32 92.4 39.6 48.2 0.9 37.4 °C/W
specification is not implied. Operation beyond the maximum operat- RU-16 127 60.2 42.2 2.6 59.1 °C/W
ing conditions for extended periods may affect product reliability. CB-16-3 103.2 64 0 0 78 °C/W
analog.com Rev. H | 7 of 47
Data Sheet AD5593R
PIN CONFIGURATION AND FUNCTION DESCRIPTIONS
Figure 3. 16-Lead TSSOP Pin Configuration Figure 5. 16-Ball WLCSP Pin Configuration
analog.com Rev. H | 8 of 47
Data Sheet AD5593R
TYPICAL PERFORMANCE CHARACTERISTICS
Figure 6. ADC INL; VDD = 5.5 V Figure 9. ADC DNL; VDD = 2.7 V
Figure 7. ADC DNL; VDD = 5.5 V Figure 10. Histogram of ADC Codes; VDD = 2.7 V
Figure 8. ADC INL; VDD = 2.7 V Figure 11. Histogram of Codes; VDD = 5.5 V
analog.com Rev. H | 9 of 47
Data Sheet AD5593R
TYPICAL PERFORMANCE CHARACTERISTICS
Figure 12. ADC Bandwidth Figure 15. DAC Adjacent Code Glitch
Figure 13. DAC INL Figure 16. DAC Digital to Analog Glitch (Rising)
Figure 14. DAC DNL Figure 17. DAC Digital to Analog Glitch (Falling)
analog.com Rev. H | 10 of 47
Data Sheet AD5593R
TYPICAL PERFORMANCE CHARACTERISTICS
Figure 18. DAC Settling Time (100 Code Change, Rising Edge) Figure 21. DAC Settling Time, Output Range = 0 V to 2 × VREF
Figure 19. DAC Settling Time (100 Code Change, Falling Edge) Figure 22. DAC Settling Time vs. Capacitive Load
Figure 20. DAC Settling Time, Output Range = 0 V to VREF Figure 23. DAC 1/f Noise with External Reference
analog.com Rev. H | 11 of 47
Data Sheet AD5593R
TYPICAL PERFORMANCE CHARACTERISTICS
Figure 24. DAC 1/f Noise with Internal Reference Figure 27. DAC Output Sink and Source Capability, Output Range = 0 V to 2 ×
VREF
Figure 26. DAC Output Sink and Source Capability, Output Range = 0 V to
VREF Figure 29. Reference Noise Spectral Density
analog.com Rev. H | 12 of 47
Data Sheet AD5593R
TYPICAL PERFORMANCE CHARACTERISTICS
analog.com Rev. H | 13 of 47
Data Sheet AD5593R
TERMINOLOGY
Signal-to-(Noise + Distortion) (dB) = 6.02N + 1.76 Offset error is a measure of the difference between VOUT (actual)
and VOUT (ideal) expressed in mV in the linear region of the transfer
Thus, for a 12-bit converter, this is 74 dB. function. Offset error can be negative or positive.
analog.com Rev. H | 14 of 47
Data Sheet AD5593R
TERMINOLOGY
VREF(NOM) is the nominal reference output voltage, 2.5 V. Temp Range is the specified temperature range of −40°C to
+105°C.
analog.com Rev. H | 16 of 47
Data Sheet AD5593R
THEORY OF OPERATION
Resistor String
The simplified segmented resistor string DAC structure is shown
in Figure 32. The code loaded to the DAC register determines the
switch on the string that is connected to the output buffer.
Because each resistance in the string has the same value, R, the
string DAC is guaranteed monotonic.
Figure 33. Output Voltage Range of the DAC with Gain = 1 (Unloaded
Condition)
analog.com Rev. H | 17 of 47
Data Sheet AD5593R
THEORY OF OPERATION
Each conversion takes 2 µs. The ADC has a range bit (ADC range (10,000 × 5.8 × 10−12 × 1.5) + 1 nA = 88 nA
select in the general-purpose control register, see Bit 5 in Table 19) Under the same conditions, the ADC input current in unbuffered
that sets the input range as 0 V to VREF or 0 V to 2 × VREF. All input mode is as follows:
channels share the same range. The output coding of the ADC is
straight binary. It is possible to set each I/Ox pin as both a DAC and (10,000 × 28.9 × 10−12 × 1.5) = 433.5 nA
an ADC. In this case, the primary function is that of the DAC. If the
pin is selected for inclusion in an ADC conversion sequence, the
voltage on the pin is converted and made available via the serial
interface. This allows the DAC voltage to be monitored.
analog.com Rev. H | 18 of 47
Data Sheet AD5593R
THEORY OF OPERATION
GPIO SECTION AD5593R during this time. The AD5593R has a software reset that
performs the same function as the RESET pin. The reset function is
Each of the eight I/Ox pins can be configured as a general-purpose activated by writing 0x0F to the pointer byte and 0x0D and 0xAC to
digital input by programming the GPIO read configuration register the most significant and least significant bytes of the software reset
or output pin by programming the GPIO write configuration register. register, respectively.
When an I/Ox pin is configured as an output, the pin can be set
high or low by programming the GPIO write data register. Logic TEMPERATURE INDICATOR
levels for general-purpose outputs are relative to VDD and GND.
When an I/Ox pin is configured as an input, its status can be The AD5593R contains an integrated temperature indicator that
determined by setting the pointer byte to 0b01100000. When an can be read to provide an estimation of the die temperature. This
I/Ox pin is set as an output, it is possible to read its status by also can be used in fault detection where a sudden rise in die temper-
setting it as an input pin. When reading the status of the I/Ox pins ature may indicate a fault condition, such as a shorted output.
set as inputs the status of an I/Ox pin set as both and input and Temperature readback is enabled by setting Bit 8 in the ADC
output pin is also returned. sequence register. The temperature result is then added to the ADC
sequence. The temperature result has an address of 0b1000 (see
INTERNAL REFERENCE Table 34) and care must be taken that this result is not confused
with the readback from DAC0 (see Table 32). The temperature
The AD5593R contains an on-chip 2.5 V reference. The reference conversion takes 5 µs with the ADC buffer enabled and 20 µs when
is powered down by default and is enabled by setting Bit 9 in the the buffer is disabled. Calculate the temperature using the following
power-down/reference control register to 1. When the on-chip refer- formulae:
ence is powered up, the reference voltage appears on the VREF pin
and may be used as a reference source for other components. For ADC gain = 1,
When the internal reference is used, it is recommended to decouple ADC Code − 0.5 / VREF × 4095
VREF to GND using a 100 nF capacitor. It is recommended that Temperature (°C) = 25 + 2.654 × 2.5 / VREF
the internal reference be buffered before using it elsewhere in
the system. When the reference is powered down, an external For ADC gain = 2,
reference must be connected to VREF. Suitable external reference
Temperature (°C) =
sources for the AD5593R include the AD780, AD1582, ADR431, ADC Code − 0.5 / 2 × VREF × 4095
REF193, and ADR391. 25 + 1.327 × 2.5 / VREF
RESET FUNCTION The range of codes returned by the ADC when reading from the
The AD5593R has an asynchronous RESET pin. For normal oper- temperature indicator is approximately 645 to 1035, (for ADC gain
ation, RESET is tied high. A falling edge on RESET resets all = 1) corresponding to a temperature between −40°C and +105°C.
registers to their default values and reconfigures the I/O pins to The accuracy of the temperature indicator is typically 3°C when
their default values (85 kΩ pull-down resistor to GND). The reset averaged over five samples.
function takes 250 µs maximum; do not write new data to the
analog.com Rev. H | 19 of 47
Data Sheet AD5593R
SERIAL INTERFACE
The AD5593R has a 2-wire, I2C-compatible serial interface (refer tions on the SDA line must occur during the low period of SCL and
to The I2C -Bus Specification, Version 2.1, January 2000). The remain stable during the high period of SCL. When all data bits
AD5593R is connected to an I2C bus as a slave device under the have been read or written, a stop condition is established.
control of a master device. See Figure 2 for a timing diagram of
a typical write sequence. The AD5593R supports standard mode In write mode, the master pulls the SDA line high during the 10th
(100 kHz) and fast mode (400 kHz). Support is not provided for clock pulse to establish a stop condition. In read mode, the master
10-bit addressing and general call addressing. The AD5593R has a issues a no acknowledge for the ninth clock pulse (that is, the
7-bit slave address; its six MSBs are set to 001000. The LSB is set SDA line remains high). The master brings the SDA line low before
by the state of the A0 address pin, which determines the state of the 10th clock pulse and then high during the 10th clock pulse to
the A0 bit. The facility to change the logic level of the A0 pin before establish a stop condition.
a read or write operation allows the user to incorporate multiple WRITE OPERATION
AD5593R devices on one bus.
When writing to the AD5593R, the user must begin with a start
The 2-wire serial bus protocol operates as follows: the master command followed by an address byte R/W = 0), after which the
initiates data transfer by establishing a start condition when a AD5593R acknowledges that it is prepared to receive data by
high-to-low transition on the SDA line occurs while SCL is high. pulling SDA low. The AD5593R requires three bytes of data. The
The following byte is the address byte, which consists of the 7-bit first byte is the pointer byte. This byte contains information defining
slave address. The slave address corresponding to the transmitted the type of operation that is required of the AD5593R, such as
address responds by pulling SDA low during the ninth clock pulse configuring the I/O pins and writing to a DAC. The pointer byte is
(this is termed the acknowledge bit). At this stage, all other devices followed by the most significant byte and the least significant byte,
on the bus remain idle while the selected device waits for data to be as shown in Figure 36. After these data bytes are acknowledged by
written to or read from its shift register. the AD5593R, a stop condition follows.
Data is transmitted over the serial bus in sequences of nine clock
pulses (eight data bits followed by an acknowledge bit). The transi-
analog.com Rev. H | 20 of 47
Data Sheet AD5593R
SERIAL INTERFACE
READ OPERATION follow to read two bytes of data from the AD5593R. Both bytes are
acknowledged by the master, as shown in Figure 37.
When reading data back from the AD5593R, the user begins with a
start command followed by an address byte (R/W = 0), after which It is also possible to perform consecutive readbacks without having
the AD5593R acknowledges that it is prepared to transmit data by to provide interim start and stop conditions or slave addresses. This
pulling SDA low. The pointer byte is then written to select what is method can be used to read blocks of conversions from the ADC,
to be read back. A repeat start or a new I2C transmission can then as shown in Figure 39.
Figure 38. Read One 16-Bit Word, Maintain Control of the Bus
analog.com Rev. H | 21 of 47
Data Sheet AD5593R
SERIAL INTERFACE
analog.com Rev. H | 22 of 47
Data Sheet AD5593R
SERIAL INTERFACE
set the corresponding bit to 1. For example, setting Bit 0 in the the primary function is as an output pin. This configuration allows
DAC pin configuration register configures I/O0 as a DAC. In the the status of the output pin to be determined by programming the
event that the bit for an I/O channel is set in multiple configuration GPIO read configuration register and then setting the pointer byte
registers, the I/O channel adopts the function dictated by the last to 0b01100000.
write operation.
The general-purpose control register contains a lock configuration
The exceptions to this rule are that an I/Ox pin can be set as both bit. When the lock configuration bit is set to 1, any writes to the pin
a DAC and ADC or as a digital input and output. When an I/Ox pin configuration registers are ignored, thus preventing the function of
is configured as a DAC and ADC, the primary function is as a DAC the I/O pins from being changed.
and the ADC can be used to measure the voltage being provided
by the DAC. This feature can be used to monitor the output voltage The I/O pins can be reconfigured any time when the AD5593R is in
to detect short circuits or overload conditions. Figure 40 shows an idle state, that is, no ADC conversions are taking place and no
an example of how to configure I/O1 and I/O7 as DACs. When registers are being read back. The lock configuration bit must also
a pin is configured as both a general-purpose input and output, be set to 0.
analog.com Rev. H | 23 of 47
Data Sheet AD5593R
SERIAL INTERFACE
DAC WRITE OPERATION the LDAC mode bits to 10, the values in the input registers transfer
to the DAC registers and the analog outputs update simultaneously.
Data is written to a DAC when the mode bits (Bits[7:4]) of the The LDAC mode bits then revert to 01.
pointer byte are 0b0001 (see Table 8). Bits[2:0] determine which
DAC is addressed (see Table 12). Data to be written to the DAC DAC READBACK
is contained in the MSB and LSB, as shown in Table 31. Data is
written to the selected DAC input register. Data written to the input The input register of each DAC can be read back via the I2C inter-
register can be automatically copied to the DAC register, if required. face. This can be useful to confirm that the data was received cor-
Data is transferred to the DAC register based on the setting of the rectly before writing to the LDAC mode register or simply checking
LDAC mode register (see Table 23). what value was last loaded to a DAC. Data can be read back from
a DAC only when no ADC conversion sequence is taking place. A
DAC input register can be read back using the sequence shown in
LDAC Mode Operation
Figure 37 or Figure 38. The mode dependent bits, Bits[3:0], of the
The transfer of data from an input register to a DAC register is DAC readback mode register (pointer byte = 0b0101XXXX), select
controlled by Bits[1:0] of the LDAC mode register (pointer byte which DAC input register is to be read back (see Table 14). When
= 0b00000111). When the LDAC mode bits (Bits[1:0]) are set to the DAC register is read back as shown in Table 32, the MSB of the
00, new data is automatically transferred from the input register to most significant data byte is a 1 to indicate that the result is a DAC
the DAC register and the analog output updates. When the LDAC register. The next three bits (Bits[14:12]) contain the DAC register
mode bits are set to 01, data remains in the input register. This address (see Table 32) and Bits[11:0] contain the DAC register
allows writes to input registers without affecting the analog outputs. value. Figure 41 shows an example of reading the input register of
After loading the input registers with the desired values and setting DAC2.
analog.com Rev. H | 24 of 47
Data Sheet AD5593R
SERIAL INTERFACE
ADC OPERATION sequence. If the REP bit is clear, the ADC clocks out the last result
on subsequent I2C reads. When ADC data is clocked out by the
The ADC channels of the AD5593R operate as a traditional multi- serial interface, Bit 15 = 0 to indicate that the result is ADC data.
channel ADC, where each serial transfer selects the next channel Bits[14:12] contain a 3-bit address to indicate which ADC the data
for conversion. The user must write to the ADC pin configuration is coming from, and Bits[11:0] contain the 12-bit ADC result (see
register (see Table 20) to select the input channels as ADC inputs Table 33).
to be included in the conversion sequence before initiating any
conversions. This is done using the I2C write sequence shown in Figure 42 shows how to configure the AD5593R to perform ADC
Figure 36. When writing to the ADC sequence register (see Table conversions. In Step 1, I/O7 and I/O0 are configured as ADCs.
18), select which channels are to be converted in sequence. The Step 2 writes to the ADC sequence register, sets the REP bit, and
user can also set the REP bit to have the ADC repeat conversions selects ADC7 and ADC0 for inclusion in the conversion sequence.
in the sequence. Step 3 selects the ADCs for reading and Step 4 begins reading the
ADC results (see Table 33). The conversions are repeated until a
When the sequence register has been written to, the ADC begins stop condition is given by the controller.
to track the first channel in the sequence. ADC data can be read
from the AD5593R using any of the three read operations shown in The ADC sequence can be changed by writing the new sequence
Figure 37, Figure 38, and Figure 39, with the I2C block read (Figure to the ADC sequence register when conversions are not taking
39) being the most efficient. place. When a new sequence is written, any channels remaining to
be converted from the earlier sequence are ignored and the ADC
If more than one channel is selected in the ADC sequence register, starts converting the first channel of the new sequence.
the ADC converts all selected channels sequentially in ascending
order. Conversion is started by the rising edge of SCL at the To stop the ADC conversion sequence, clear the REP, TEMP, and
acknowledge (ACK) preceding the MSB (see Figure 39). ADC7 to ADC0 bits in the ADC sequence register to 0.
If the REP bit is set after all of the selected channels in the
sequence register have been converted, the ADC repeats the
analog.com Rev. H | 25 of 47
Data Sheet AD5593R
SERIAL INTERFACE
Setting Pins as Outputs The AD5593R has a power-down/reference control register (pointer
byte = 0b00001011) that reduces the power consumption when
To set a pin as a general-purpose output, set the appropriate bit in certain functions are not needed. The power-down register allows
the GPIO write configuration register (pointer byte = 0b00001000) any channels set as DACs to be placed in a power-down state
to 1. For example, setting Bit 0 to 1 enables I/O0 as a general-pur- individually. When in power-down, the DAC outputs are three-stat-
pose output. ed. When a DAC channel is returned into normal mode, the DAC
output returns to its previous value. The internal reference and its
The outputs can be independently configured as push/pull or open- buffer are powered down by default and are enabled by setting
drain outputs. When in push/pull configuration, the output is driven the EN_REF bit in the power-down/reference control register. The
to VDD or GND as determined by the data in the GPIO write internal reference voltage then appears at the VREF pin.
data register (pointer byte = 0b00001001). When in open-drain
configuration (pointer byte = 0b00001100), the output is driven to There is no dedicated power-down function for the ADC, but the
GND when a data bit in the GPIO write data register sets the pin ADC is automatically powered down if none of the I/Ox pins are
low. When the pin is set high, the output is not driven and must be selected as ADCs. The ADC powers up if a read of the tempera-
pulled high by an external resistor. This allows multiple output pins ture indicator is initiated. The PD_ALL bit powers down all the
to be tied together. If all the pins are normally high, it allows one pin DACs, the reference, its buffer, and the ADC. The PD_ALL bit also
to pull down the others. This is commonly used where multiple pins overrides the settings of Bits[9:0]. Table 27 shows the power-down
are used to trigger an alarm or interrupt pin. The state of the output register.
pin is controlled by setting or clearing the bits in the GPIO write
data register (pointer byte = 0b00001001). A data bit is ignored if it RESET FUNCTION
is written to a location that is not configured as an output. The AD5593R can be reset to its default conditions by writing
0x0DAC to the software reset register (pointer byte = 0b00001111).
Setting Pins as Inputs This resets all registers to their default values and reconfigures the
I/Ox pins to their default values (85 kΩ pull-down to GND). The
To set an I/Ox pin as a general-purpose input, set the appropri-
reset function is triggered on the SCL falling edge of the eighth bit
ate bit in the GPIO read configuration register (pointer byte =
of the least significant byte (Bit 0 of Frame 4 in Figure 36), and the
0b00001010) to 1. For example, setting Bit 0 to 1 enables I/O0 as a
AD5593R does not generate an ACK signal for this byte of data.
general-purpose input. To read the state of general-purpose inputs,
The AD5593R has a RESET pin that performs the same function.
set the pointer byte to 0b01100000 (see Table 9) using any of the
For normal operation, RESET is tied high. A falling edge on RESET
read operations shown in Figure 37, Figure 38, and Figure 39. The
triggers the reset function. Both the hardware and the software
status of any I/O pin set as a general-purpose input appears in the
reset functions take 250 µs maximum and there must be no activity
appropriate bit location in the least significant data byte.
on the SCL pin of the AD5593R during this time.
THREE-STATE PINS
The I/Ox pins can be set to three-state by writing to the three-state
configuration register (pointer byte = 0b00001101) as shown in
Table 29.
analog.com Rev. H | 26 of 47
Data Sheet AD5593R
APPLICATIONS INFORMATION
analog.com Rev. H | 27 of 47
Data Sheet AD5593R
REGISTER MAP
The AD5593R has programmable user configuration registers that See the Register Details: AD5593R Control Register Map section
are used to configure the device. Table 8 shows a complete list of for details about the functions of each of the bits.
the pointer byte registers that select the operation to be executed.
See Table 9 and the Register Details: AD5593R Pointer Byte Map The Register Details: AD5593R ADC and DAC Readback section
section for details about the functions of each of the bits. provides data formats for the ADC and the DAC readback.
analog.com Rev. H | 28 of 47
Data Sheet AD5593R
REGISTER MAP
analog.com Rev. H | 29 of 47
Data Sheet AD5593R
REGISTER MAP
analog.com Rev. H | 30 of 47
Data Sheet AD5593R
REGISTER MAP
NOP Register
Reset: 0x0000, Name: NOP
No operation.
analog.com Rev. H | 31 of 47
Data Sheet AD5593R
REGISTER MAP
analog.com Rev. H | 32 of 47
Data Sheet AD5593R
REGISTER MAP
analog.com Rev. H | 33 of 47
Data Sheet AD5593R
REGISTER MAP
analog.com Rev. H | 34 of 47
Data Sheet AD5593R
REGISTER MAP
analog.com Rev. H | 35 of 47
Data Sheet AD5593R
REGISTER MAP
analog.com Rev. H | 36 of 47
Data Sheet AD5593R
REGISTER MAP
analog.com Rev. H | 37 of 47
Data Sheet AD5593R
REGISTER MAP
analog.com Rev. H | 38 of 47
Data Sheet AD5593R
REGISTER MAP
analog.com Rev. H | 39 of 47
Data Sheet AD5593R
REGISTER MAP
analog.com Rev. H | 40 of 47
Data Sheet AD5593R
REGISTER MAP
analog.com Rev. H | 41 of 47
Data Sheet AD5593R
REGISTER MAP
analog.com Rev. H | 42 of 47
Data Sheet AD5593R
REGISTER MAP
analog.com Rev. H | 43 of 47
Data Sheet AD5593R
REGISTER MAP
analog.com Rev. H | 44 of 47
Data Sheet AD5593R
REGISTER MAP
analog.com Rev. H | 45 of 47
Data Sheet AD5593R
OUTLINE DIMENSIONS
analog.com Rev. H | 46 of 47
Data Sheet AD5593R
OUTLINE DIMENSIONS
EVALUATION BOARDS
Model1 Description
EVAL-AD5593RSDZ Evaluation Board
EVAL-SDP-CB1Z Controller Board
1 Z = RoHS Compliant Part.
I2C refers to a communications protocol originally developed by Philips Semiconductors (now NXP Semiconductors).
©2014-2023 Analog Devices, Inc. All rights reserved. Trademarks and Rev. H | 47 of 47
registered trademarks are the property of their respective owners.
One Analog Way, Wilmington, MA 01887-2356, U.S.A.