AD5532
Rev. D | Page 15 of 20
TRACK
FUNCTION (ISHA MODE)
Typically in ISHA mode of operation
TRACK
is held high and
the channel begins to acquire when it is addressed. However, if
TRACK
is low when the channel is addressed, V
IN
is switched to
the output buffer and an acquisition on the channel does not
occur until a rising edge of
TRACK
. At this stage, the
BUSY
pin
goes low until the acquisition is complete, at which point the
DAC assumes control of the voltage to the output buffer and V
IN
is free to change again without affecting this output value.
This is useful in an application where the user wants to ramp up
V
IN
until V
OUT
reaches a particular level (see Figure 20). V
IN
does not need to be acquired continuously while it is ramping
up.
TRACK
can be kept low and only when V
OUT
has reached its
desired voltage is
TRACK
brought high. At this stage, the
acquisition of V
IN
begins.
In the example shown, a desired voltage is required on the
output of the pin driver. This voltage is represented by one input
to a comparator. The microcontroller/microprocessor ramps up
the input voltage on V
IN
through a DAC.
TRACK
is kept low
while the voltage on V
IN
ramps up so that V
IN
is not continually
acquired. When the desired voltage is reached on the output of
the pin driver, the comparator output switches. The μC/μP then
knows what code is required to be input to obtain the desired
voltage at the DUT. The
TRACK
input is now brought high and
the part begins to acquire V
IN
. At this stage
BUSY
goes low until
V
IN
has been acquired. The output buffer is then switched from
V
IN
to the output of the DAC.
MODES OF OPERATION
The AD5532 can be used in four different modes of operation.
These modes are set by two mode bits, the first two bits in the
serial word.
Table 9. Modes of Operation
Mode Bit 1 Mode Bit 2 Operating Mode
0 0 ISHA mode
0 1 DAC mode
1 0 Acquire and Read Back
1 1 Read Back
1. ISHA Mode
In this mode, a channel is addressed and that channel acquires
the voltage on V
IN
. This mode requires a 10-bit write (see Figure
21a) to address the relevant channel (V
OUT
0–V
OUT
31, offset
channel or all channels). MSB is written first.
2. DAC Mode
In this standard mode, a selected DAC register is loaded serially.
This requires a 24-bit write (10 bits to address the relevant DAC
plus an extra 14 bits of DAC data). MSB is written first. The
user must allow 400 ns (min) between successive writes in DAC
mode.
3. Acquire and Readback Mode
This mode allows the user to acquire V
IN
and read back the data
in a particular DAC register. The relevant channel is addressed
(10-bit write, MSB first) and V
IN
is acquired in 16 μs (max).
Following the acquisition, after the next falling edge of
SYNC
,
the data in the relevant DAC register is clocked out onto the
D
OUT
line in a 14-bit serial format. The full acquisition time
must elapse before the DAC register data can be clocked out.
4. Readback Mode
Again, this is a Readback mode but no acquisition is performed.
The relevant channel is addressed (10-bit write, MSB first) and
on the next falling edge of
SYNC
, the data in the relevant DAC
register is clocked out onto the D
OUT
line in a 14-bit serial
format. The user must allow 400 ns (min) between the last
SCLK falling edge in the 10-bit write and the falling edge of
SYNC
in the 14-bit read back. The serial write and read words
can be seen in . Figure 21
This feature allows the user to read back the DAC register code
of any of the channels. In DAC mode, this is useful in
verification of write cycles. In ISHA mode, readback is useful if
the system has been calibrated and the user wants to know what
code in the DAC corresponds to a desired voltage on V
OUT
. If
this voltage is required again, the user can input the code
directly to the DAC register without going through the
acquisition sequence.
00939-C-019
TRACK
V
IN
DAC
ACQUISITION
CIRCUIT
V
OUT
1
BUSY
OUTPUT
STAGE
CONTROLLER
PIN
DRIVER
DEVICE
UNDER
TEST
THRESHOLD
VOLTAGE
ONLY ONE CHANNEL SHOWN FOR SIMPLICITY
AD5532
Figure 20. Typical ATE Circuit Using
TRACK
Input
AD5532
Rev. D | Page 16 of 20
SERIAL INTERFACE
The serial interface allows easy interfacing to most micro-
controllers and DSPs, such as the PIC16C, PIC17C, QSPI, SPI,
DSP56000, TMS320, and ADSP-21xx, without the need for any
glue logic. When interfacing to the 8051, the SCLK must be
inverted. The Microprocessor Interfacing section explains how
to interface to some popular DSPs and microcontrollers. Figure
4, Figure 5, and Figure 6 show the timing diagram for a serial
read and write to the AD5532. The serial interface works with
both a continuous and a noncontinuous serial clock. The first
falling edge of
SYNC
resets a counter that counts the number of
serial clocks to ensure the correct number of bits are shifted in
and out of the serial shift registers. Any further edges on
SYNC
are ignored until the correct number of bits are shifted in or
out. Once the correct number of bits for the selected mode has
been shifted in or out, the SCLK is ignored. In order for another
serial transfer to take place the counter must be reset by the
falling edge of
SYNC
.
In readback, the first rising SCLK edge after the falling edge of
SYNC
causes D
OUT
to leave its high impedance state and data is
clocked out onto the D
OUT
line and also on subsequent SCLK
rising edges. The D
OUT
pin goes back into a high impedance
state on the falling edge of the 14th SCLK. Data on the D
IN
line
is latched in on the first SCLK falling edge after the falling edge
of the
SYNC
signal and on subsequent SCLK falling edges.
During read-back D
IN
is ignored. The serial interface does
not shift data in or out until it receives the falling edge of the
SYNC
signal.
Table 10
Pin Description
SER/PAR This pin is tied high to enable the serial interface
and to disable the parallel interface. The serial
interface is controlled by the four pins that follow.
SYNC,
D
IN
, SCLK
Standard 3-wire interface pins. The SYNC pin is
shared with the CS function of the parallel interface.
D
OUT
Data Out pin for reading back the contents of the
DAC registers. The data is clocked out on the rising
edge of SCLK and is valid on the falling edge of
SCLK.
Mode
Bits
The four different modes of operation are described
in the Modes of Operation section.
Cal Bit
In DAC mode, this is a test bit. When high, it loads all
0s or all 1s to the 32 DACs simultaneously. In ISHA
mode, all 32 channels acquire V
IN
at the same time
when this bit is high. In ISHA mode, the acquisition
time is then 45 μs (typ) and accuracy may be
reduced. This bit is set low for normal use.
Offset Sel
Bit
If this is set high, the offset channel is selected and
Bits A4–A0 are ignored.
Test Bit Must be set low for correct operation of the part.
A4–A0
Used to address any one of the 32 channels
(A4 = MSB of address, A0 = LSB).
DB13–
DB0
Used to write a 14-bit word into the addressed DAC
register. Only valid when in DAC mode.
00939-C-020
OFFSET_SEL A4–A0
CAL00
MSB LSB
MODE BIT 1 MODE BIT 2
MODE BITS
0
TEST BIT
OFFSET_SEL
A4–A0
CAL10
MSB LSB
MODE BITS
DB13–DB0
0
TEST BIT
a. 10-BIT SERIAL WRITE WORD (ISHA MODE)
b. 24-BIT INPUT SERIAL WRITE WORD (DAC MODE)
c. INPUT SERIAL INTERFACE (ACQUIRE AND READ-BACK MODE)
d. INPUT SERIAL INTERFACE (READ-BACK MODE)
OFFSET_SEL A4–A0CAL01
MSB LSB
MODE BITS
DB13–DB00
TEST BIT
10-BIT
SERIAL WORD
WRITTEN TO PART
14-BIT DATA
READ FROM PART AFTER
NEXT FALLING EDGE OF SYNC
(DB13 = MSB OF DAC WORD)
MSBLSB
10-BIT
SERIAL WORD
WRITTEN TO PART
14-BIT DATA
READ FROM PART AFTER
NEXT FALLING EDGE OF SYNC
(DB13 = MSB OF DAC WORD)
OFFSET_SEL
A4–A0CAL11
MSB LSB
MODE BITS
DB13–DB00
TEST BIT
MSBLSB
Figure 21. Serial Interface Formats
AD5532
Rev. D | Page 17 of 20
PARALLEL INTERFACE (ISHA MODE ONLY)
The SER/
PAR
bit must be tied low to enable the parallel
interface and disable the serial interface. The parallel interface is
controlled by nine pins, as described in . Table 11
Table 11.
Pin Description
CS Active low package select pin. This pin is shared
with the SYNC
function for the serial interface.
WR Active low write pin. The values on the address
pins are latched on a rising edge of WR
.
A4–A0
Five address pins (A4 = MSB of address,
A0 = LSB). These are used to address the
relevant channel (out of a possible 32).
OFFSET_SEL
Offset select pin. This has the same function as
the Offset_Sel bit in the serial interface. When it
is high, the offset channel is addressed. The
address on A4–A0 is ignored in this case.
CAL
When this pin is high, all 32 channels acquire
VIN simultaneously. The acquisition time is then
45 μs (typ) and accuracy may be reduced.
MICROPROCESSOR INTERFACING
AD5532 to ADSP-21xx Interface
ADSP-21xx DSPs are easily interfaced to the AD5532 without
the need for extra logic.
A data transfer is initiated by writing a word to the TX register
after the SPORT has been enabled. In a write sequence, data is
clocked out on each rising edge of the DSP serial clock and
clocked into the AD5532 on the falling edge of its SCLK. In
readback, 16 bits of data are clocked out of the AD5532 on each
rising edge of SCLK and clocked into the DSP on the rising
edge of SCLK. D
IN
is ignored. The valid 14 bits of data is
centered in the 16-bit RX register in this configuration. The
SPORT Control register should be set up as in Table 12.
Table 12.
TFSW = RFSW = 1 Alternate framing
INVRFS = INVTFS = 1 Active low frame signal
DTYPE = 00 Right justify data
ISCLK = 1 Internal serial clock
TFSR = RFSR = 1 Frame every word
IRFS = 0 External framing signal
ITFS = 1 Internal framing signal
SLEN = 1001 10-bit data-words (ISHA mode write)
SLEN = 0111 3 × 8-bit data-words (DAC mode write)
SLEN = 1111 16-bit data-words (Readback mode)
Figure 22 shows the connection diagram.
00939-C-021
D
OUT
AD5532*
*ADDITIONAL PINS OMITTED FOR CLARITY
SYNC
D
IN
SCLK
DR
TFS
DT
RFS
SCLK
ADSP-2101/
ADSP-2103*
Figure 22. AD5532 to ADSP-2101/ADSP-2103 Interface
AD5532 to MC68HC11
The serial peripheral interface (SPI) on the MC68HC11 is
configured for master mode (MSTR) = 1, clock polarity bit
(CPOL) = 0, and the clock phase bit (CPHA) = 1. The SPI is
configured by writing to the SPI control register (SPCR)—see
the
68HC11 User Manual. SCK of the 68HC11 drives the SCLK
of the AD5532, the MOSI output drives the serial data line (D
IN
)
of the AD5532, and the MISO input is driven from D
OUT
. The
SYNC
signal is derived from a port line (PC7). When data is
being transmitted to the AD5532, the
SYNC
line is taken low
(PC7). Data appearing on the MOSI output is valid on the
falling edge of SCK. Serial data from the 68HC11 is transmitted
in 8-bit bytes with only eight falling clock edges occurring in
the transmit cycle. Data is transmitted MSB first. To transmit
10 data bits in ISHA mode, it is important to left-justify the data
in the SPDR register. PC7 must be pulled low to start a transfer.
It is taken high and pulled low again before other read/write
cycles can take place. shows a connection diagram. Figure 23
00939-C-022
AD5532*
*ADDITIONAL PINS OMITTED FOR CLARITY
MC68HC11*
D
OUT
MISO
D
IN
MOSI
SCLK SCK
PC7SYNC
Figure 23. AD5532 to MC68HC11 Interface

AD5532ABC-3

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Digital to Analog Converters - DAC 32 CH 14-BIT Bipolar VOUT
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union