Data Sheet AD5541/AD5542
Rev. F | Page 13 of 20
POWER-ON RESET
The AD5541/AD5542 have a power-on reset function to ensure
that the output is at a known state on power-up. On power-up,
the DAC register contains all 0s until the data is loaded from
the serial register. However, the serial register is not cleared on
power-up, so its contents are undefined. When loading data
initially to the DAC, 16 bits or more should be loaded to prevent
erroneous data appearing on the output. If more than 16 bits are
loaded, the last 16 are kept, and if less than 16 bits are loaded,
bits remain from the previous word. If the AD5541/AD5542
need to be interfaced with data shorter than 16 bits, the data
should be padded with 0s at the LSBs.
POWER SUPPLY AND REFERENCE BYPASSING
For accurate high-resolution performance, it is recommended
that the reference and supply pins be bypassed with a 10 μF
tantalum capacitor in parallel with a 0.1 μF ceramic capacitor.
AD5541/AD5542 Data Sheet
Rev. F | Page 14 of 20
MICROPROCESSOR INTERFACING
Microprocessor interfacing to the AD5541/AD5542 is via a
serial bus that uses standard protocol that is compatible with
DSP processors and microcontrollers. The communications
channel requires a 3- or 4-wire interface consisting of a clock
signal, a data signal and a synchronization signal. The
AD5541/AD5542 require a 16-bit data-word with data valid on
the rising edge of SCLK. The DAC update can be done
automatically when all the data is clocked in or it can be done
under control of the
LDAC
(AD5542 only).
AD5541/AD5542 TO ADSP-21XX INTERFACE
Figure 25 shows a serial interface between the AD5541/AD5542
and the ADSP-21xx. The ADSP-21xx should be set to operate in
the SPORT transmit alternate framing mode. The ADSP-21xx are
programmed through the SPORT control register and should be
configured as follows: internal clock operation, active low
framing, 16-bit word length. Transmission is initiated by
writing a word to the Tx register after the SPORT has been
enabled. As the data is clocked out on each rising edge of the
serial clock, an inverter is required between the DSP and the
DAC, because the AD5541/AD5542 clock data in on the falling
edge of the SCLK.
LDAC**
CS
DIN
SCLK
FO
TFS
DT
SCLK
AD5541/
AD5542*
ADSP-21xx
*ADDITIONAL PINS OMITTED FOR CLARITY.
**AD5542 ONLY.
07557-025
Figure 25. AD5541/AD5542 to ADSP-21xx Interface
AD5541/AD5542 TO 68HC11/68L11 INTERFACE
Figure 26 shows a serial interface between the AD5541/AD5542
and the 68HC11/68L11 microcontroller. SCK of the 68HC11/
68L11 drives the SCLK of the DAC, and the MOSI output drives
the serial data line serial DIN. The
CS
signal is driven from one
of the port lines. The 68HC11/68L11 is configured for master
mode: MSTR = 1, CPOL = 0, and CPHA = 0. Data appearing
on the MOSI output is valid on the rising edge of SCK.
LDAC**
CS
DIN
SCLK
PC6
PC7
MOSI
SCK
AD5541/
AD5542*
68HC11/
68L11*
*ADDITIONAL PINS OMITTED FOR CLARITY.
**AD5542 ONLY.
07557-026
Figure 26. AD5541/AD5542 to 68HC11/68L11 Interface
AD5541/AD5542 TO MICROWIRE INTERFACE
Figure 27 shows an interface between the AD5541/AD5542
and any MICROWIRE-compatible device. Serial data is shifted
out on the falling edge of the serial clock and into the AD5541/
AD5542 on the rising edge of the serial clock. No glue logic is
required because the DAC clocks data into the input shift
register on the rising edge.
DIN
SCLK
SO
SCLK
AD5541/
AD5542*
MICROWIRE*
*ADDITIONAL PINS OMITTED FOR CLARITY.
07557-027
CSCS
Figure 27. AD5541/AD5542 to MICROWIRE Interface
AD5541/AD5542 TO 80C51/80L51 INTERFACE
A serial interface between the AD5541/AD5542 and the 80C51/
80L51 microcontroller is shown in Figure 28. TxD of the micro-
controller drives the SCLK of the AD5541/AD5542, and RxD
drives the serial data line of the DAC. P3.3 is a bit programmable
pin on the serial port that is used to drive
CS
.
The 80C51/80L51 provide the LSB first, whereas the AD5541/
AD5542 expects the MSB of the 16-bit word first. Care should
be taken to ensure the transmit routine takes this into account.
When data is to be transmitted to the DAC, P3.3 is taken low.
Data on RxD is valid on the falling edge of TxD, so the clock
must be inverted as the DAC clocks data into the input shift
register on the rising edge of the serial clock. The 80C51/80L51
transmit data in 8-bit bytes with only eight falling clock edges
occurring in the transmit cycle. As the DAC requires a 16-bit
word, P3.3 must be left low after the first eight bits are transferred,
and brought high after the second byte is transferred.
LDAC
on
the AD5542 can also be controlled by the 80C51/ 80L51 serial
port output by using another bit programmable pin, P3.4.
LDAC**
CS
DIN
SCLK
P3.4
P3.3
RxD
TxD
AD5541/
AD5542*
80C51/
80L51*
*ADDITIONAL PINS OMITTED FOR CLARITY.
**AD5542 ONLY.
07557-028
Figure 28. AD5541/AD5542 to 80C51/80L51 Interface
Data Sheet AD5541/AD5542
Rev. F | Page 15 of 20
APPLICATIONS INFORMATION
OPTOCOUPLER INTERFACE
The digital inputs of the AD5541/AD5542 are Schmitt-triggered so
that they can accept slow transitions on the digital input lines.
This makes these parts ideal for industrial applications where it
may be necessary to isolate the DAC from the controller via
optocouplers. Figure 29 illustrates such an interface.
10kΩ
10µF
0.1µF
V
DD
V
OUT
V
DD
SCLK
POWER
10kΩ
V
DD
CS
CS
DIN
GND
SCLK
10kΩ
V
DD
DIN
5V
REGULATOR
AD5541/AD5542
07557-029
Figure 29. AD5541/AD5542 in an Optocoupler Interface
DECODING MULTIPLE AD5541/AD5542s
The
CS
pin of the AD5541/AD5542 can be used to select one of
a number of DACs. All devices receive the same serial clock and
serial data, but only one device receives the
CS
signal at any one
time. The DAC addressed is determined by the decoder. There is
some digital feedthrough from the digital input lines. Using a
burst clock minimizes the effects of digital feedthrough on the
analog signal channels.
Figure 30 shows a typical circuit.
AD5541/AD5542
CS
DIN
SCLK
V
OUT
AD5541/AD5542
CS
DIN
SCLK
V
OUT
AD5541/AD5542
CS
DIN
SCLK
V
OUT
AD5541/AD5542
CS
DIN
SCLK
V
OUT
V
DD
DGND
EN
CODED
ADDRESS
SCLK
DIN
ENABLE
DECODER
07557-030
Figure 30. Addressing Multiple AD5541/AD5542s

AD5542CRZ-REEL7

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Digital to Analog Converters - DAC 16-Bit DAC BiPolar V-Out
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union