AD7249
–9
Bipolar (5 V) Configuration
The bipolar configuration for the AD7249, which gives an out-
put range of –5 V to +5 V, is achieved by connecting R
OFSA
,
R
OFSB
to V
REFIN
. The AD7249 must be operated from dual
supplies to achieve this output voltage range. Either offset binary
or twos complement coding may be selected. Figure 10 shows
the connection diagram for bipolar operation. An AD586 pro-
vides the reference voltage for the DAC but this could be pro-
vided by the on-chip reference by connecting REFOUT to
REFIN.
12-BIT
DAC A
12-BIT
DAC B
AD7249*
2R
2R
2R
2R
V
DD
V
DD
REFIN
R
OFSA
V
OUTA
5V TO +5V
R
OFSB
V
OUTB
5V TO +5V
BIN/COMPDGNDAGND
V
SS
V
SS
*ADDITIONAL PINS OMITTED FOR CLARITY.
V
DD
V
OUT
+V
IN
AD586
A1
A2
Figure 10. Bipolar Configuration with External Reference
Bipolar Operation (Twos Complement Data Format)
The AD7249 is configured for twos complement data format
by connecting BIN/COMP (Pin 7) high. The analog output vs.
digital code is shown in Table II.
Table II. Twos Complement Bipolar Code Table
Input Data Word
MSB LSB Analog Output, V
OUT
XXXY 0111 1111 1111 +REFIN × (2047/2048)
XXXY 0000 0000 0001 +REFIN × (1/2048)
XXXY 0000 0000 0000 0 V
XXXY 1111 1111 1111 –REFIN × (1/2048)
XXXY 1000 0000 0001 –REFIN × (2047/2048)
XXXY 1000 0000 0000 –REFIN × (2048/2048) = –REFIN
X = Don’t Care.
Y = DAC Select Bit, 0 = DAC A, 1 = DAC B.
Note: 1 LSB = REFIN/2048.
Bipolar Operation (Offset Binary Data Format)
The AD7249 is configured for Offset Binary data format by
connecting BIN/COMP (Pin 7) low. The analog output vs.
digital code may be obtained by inverting the MSB in Table II.
APPLYING THE AD7249
Good printed circuit board layout is as important as the overall
circuit design itself in achieving high speed converter perfor-
mance. The AD7249 works on an LSB size of 2.44 mV for the
unipolar 0 V to 10 V range and the bipolar ± 5 V range, when
using the unipolar 0 V to 5 V range the LSB size is 1.22 mV.
Therefore the designer must be conscious of minimizing noise in
both the converter itself and in the surrounding circuitry.
Switching mode power supplies are not recommended as switch-
ing spikes can feedthrough to the on-chip amplifier. Other causes of
concern are ground loops and feedthrough from microproces-
sors. These are factors which influence any high performance
converter, and proper printed circuit board layout which mini-
mizes these effects is essential to obtain high performance.
LAYOUT HINTS
Ensure that the layout has the digital and analog tracks sepa-
rated as much as possible. Take care not to run any digital track
alongside an analog signal track. Establish a single point analog
ground separate from the logic system ground. Place this star
ground as close as possible to the AD7249. Connect all analog
grounds to this star point and also connect the AD7249 DGND
pin to this point. Do not connect any other digital grounds to
this analog ground point. Low impedance analog and digital
power supply common returns are essential for low noise opera-
tion of high performance converters. To accomplish this track
widths should be kept a wide as possible and also the use of
ground planes minimizes impedance paths and also guards the
analog circuitry from digital noise.
NOISE
Keep the signal leads on the V
OUTA
and V
OUTB
signals and the
signal return leads to AGND as short as possible to minimize
noise coupling. In applications where this is not possible use a
shielded cable between the DAC outputs and their destination.
Reduce the ground circuit impedance as much as possible since
any potential difference in grounds between the DAC and its
destination device appears as an error voltage in series with the
DAC output.
Power Supply Decoupling
To achieve optimum performance when using the AD7249, the
V
DD
and V
SS
lines should be decoupled to AGND using 0.1 µF
capacitors. In noisy environments it is recommended that 10 µF
capacitors be connected in parallel with the 0.1 µF capacitors.
–10–
AD7249
MICROPROCESSOR INTERFACING
Microprocessor interfacing to the AD7249 is via a serial bus
which uses standard protocol compatible with DSP processors
and microcontrollers. The communications channel requires a
three-wire interface consisting of a clock signal, a data signal
and a synchronization signal. The AD7249 requires a 16-bit
data word with data valid on the falling edge of SCLK. For all
the interfaces, the DAC update may be done automatically
when all the data is clocked in or it may be done under control
of LDAC.
Figures 11 to 15 show the AD7249 configured for interfacing to
a number of popular DSP processors and microcontrollers.
AD7249–ADSP-2101/ADSP-2102 Interface
Figure 11 shows a serial interface between the AD7249 and the
ADSP-2101/ADSP-2102 DSP processor. The ADSP-2101/
ADSP-2102 contains two serial ports and either port may be
used in the interface. The data transfer is initiated by TFS
going low. Data from the ADSP-2101/ADSP-2102 is clocked
into the AD7249 on the falling edge of SCLK. DB12 of the
16-bit serial data stream selects the DAC to be updated. Both
DACs can be updated by holding LDAC high while performing
two write cycles to the DAC. TFS must be taken high after
each 16 bit write cycle. LDAC is brought low at the end of the
second cycle and both DAC outputs are updated together. In
the interface shown the DAC is updated using an external timer
which generates an LDAC pulse. This could also be done using
a control or decoded address line from the processor. Alterna-
tively, if the LDAC input is hardwired low the output update
takes place automatically on the 16th falling edge of SCLK.
AD7249*
ADSP-2101/
ADSP-2102*
LDAC
SCLK
SDIN
SYNC
SCLK
DT
TFS
TIMER
*ADDITIONAL PINS OMITTED FOR CLARITY.
Figure 11. AD7249–ADSP-2101/ADSP-2102 Interface
AD7249–DSP56000 Interface
A serial interface between the AD7249 and the DSP56000 is
shown in Figure 12. The DSP56000 is configured for Normal
Mode Asynchronous operation with Gated Clock. It is also set
up for a 16-bit word with SCK and SC2 as outputs and the
FSL control bit set to a “0.” SCK is internally generated on the
DSP56000 and applied to the AD7249 SCLK input. Data from
the DSP56000 is valid on the falling edge of SCK. The SC2
output provides the framing pulse for valid data. This line must
be inverted before being applied to the SYNC input of the
AD7249.
AD7249*
DSP56000
LDAC
SCLK
SDIN
SYNC
SCK
STD
SC2
TIMER
*ADDITIONAL PINS OMITTED FOR CLARITY.
Figure 12. AD7249–DSP56000 Interface
In this interface an external LDAC pulse generated from an
external timer is used to update the outputs of the DACs. This
update can also be produced using a bit programmable control
line from the DSP56000.
AD7249–TMS32020 Interface
Figure 13 shows a serial interface between the AD7249 and the
TMS32020 DSP processor. In this interface, the CLKX and
FSX signals for the TMS32020 should be generated using
external clock/timer circuitry. The FSX pin of the TMS32020
must be configured as an input. Data from the TMS32020 is
valid on the falling edge of CLKX.
The clock/timer circuitry generates the LDAC signal for the
AD7249 to synchronize the update of the output with the serial
transmission. Alternatively, the automatic update mode may be
selected by connecting LDAC to DGND.
AD7249*
TMS32020
LDAC
SCLK
SDIN
SYNC
FSX
CLKX
DX
CLOCK/
TIMER
*ADDITIONAL PINS OMITTED FOR CLARITY.
Figure 13. AD7249–TMS32020 Interface
REV. D
AD7249
–11–
AD7249–68HC11 Interface
Figure 14 shows a serial interface between the AD7249 and the
68HC11 microcontroller. SCK of the 68HC11 drives SCLK of
the AD7249 while the MOSI output drives the serial data line
of the AD7249. The SYNC signal is derived from a port line
(PC0 shown).
For correct operation of this interface, the 68HC11 should be
configured such that its CPOL bit is a 0 and its CPHA bit is a
1. When data is to be transmitted to the part, PC0 is taken low.
When the 68HC11 is configured like this, data on MOSI is
valid on the falling edge of SCK. The 68HC11 transmits its
serial data in 8-bit bytes with only eight falling clock edges
occurring in the transmit cycle. To load data to the AD7249,
PC0 is left low after the first eight bits are transferred and a sec-
ond byte of data is then transferred serially to the AD7249.
When the second serial transfer is complete, the PC0 line is
taken high.
Figure 14 shows the LDAC input of the AD7249 being driven
from another bit programmable port line (PC1). As a result,
both DACs can be updated simultaneously by taking LDAC
low after both DACs latches have updated.
AD7249*
68HC11*
LDAC
SCLK
SDIN
SYNCPC0
SCK
MOSI
*ADDITIONAL PINS OMITTED FOR CLARITY.
PC1
Figure 14. AD7249–68HC11 Interface
AD7249–87C51 Interface
A serial interface between the AD7249 and the 87C51 micro-
controller is shown in Figure 15. TXD of the 87C51 drives
SCLK of the AD7249 while RXD drives the serial data line of
the part. The SYNC signal is derived from the port line P3.3
and the LDAC line is driven port line P3.2.
The 87C51 provides the LSB of its SBUF register as the first
bit in the serial data stream. Therefore, the user will have to
ensure that the data in the SBUF register is arranged correctly
so that the don’t care bits are the first to be transmitted to the
AD7249 and the last bit to be sent is the LSB of the word to be
loaded to the AD7249. When data is to be transmitted to the
part, P3.3 is taken low. Data on RXD is valid on the falling
edge of TXD. The 87C51 transmits its serial data in 8-bit bytes
with only eight falling clock edges occurring in the transmit
cycle. To load data to the AD7249, P3.3 is left low after the
first eight bits are transferred, and a second byte of data is then
transferred serially to the AD7249 with DB12 used to select
the appropriate DAC register. When the second serial transfer
is complete, the P3.3 line is taken high and then taken low
again to start the loading sequence to the second DAC (see
timing diagram Figure 8).
Figure 15 shows the LDAC input of the AD7249 driven from
the bit programmable port line P3.2. As a result, both DAC
outputs can be updated simultaneously by taking the LDAC
line low following the completion of the write cycle to the sec-
ond DAC. Alternatively LDAC could be hardwired low and the
analog output will be updated on the sixteenth falling edge of
TXD after the SYNC signal for the DAC has gone low.
AD7249*
87C51*
LDAC
SCLK
SDIN
SYNCP3.3
TXD
RXD
*ADDITIONAL PINS OMITTED FOR CLARITY.
P3.2
Figure 15. AD7249–87C51 Interface
APPLICATIONS
OPTO-ISOLATED INTERFACE
In many process control type applications it is necessary to
provide an isolation barrier between the controller and the
unit being controlled. Opto-isolators can provide voltage
isolation in excess of 3 k. The serial loading structure of the
AD7249 makes it ideal for opto-isolated interfaces as the num-
ber of interface lines is kept to a minimum.
Figure 16 shows a 2-channel isolated interface using the
AD7249.
The sequence of events to program the output channels is as
follows.
1. Take the SYNC line low.
2. Transmit the 16-bit word for DAC A (DB 12 of the 16-bit
data word selects the DAC, DB12 = 0 to select DAC A) and
bring the SYNC line high after the 16 bits have been trans-
mitted.
3. Bring SYNC line low again and transmit 16 bits for DAC B,
bring SYNC back high at end of transmission.
4. Pulse the LDAC line low. This updates both output chan-
nels simultaneously on the falling edge of LDAC.

AD7249ARZ-REEL

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Digital to Analog Converters - DAC LC2MOS DUAL 12-BIT SERIAL IC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union