Applications information, Table 2. unipolar code table (gain = +2) – Rainbow Electronics MAX5159 User Manual

Page 13

Advertising
background image

Serial-Data Output

The serial-data output, DOUT, is the internal shift regis-
ter’s output. DOUT allows for daisy chaining of devices
and data readback. The MAX5158/MAX5159 can be
programmed to shift data out of DOUT on SCLK’s
falling edge (Mode 0) or on the rising edge (Mode 1).
Mode 0 provides a lag of 16 clock cycles, which main-
tains compatibility with SPI/QSPI and Microwire inter-
faces. In Mode 1, the output data lags 15.5 clock
cycles. On power-up, the device defaults to Mode 0.

User-Programmable Logic Output (UPO)

UPO allows an external device to be controlled through
the serial interface (Table 1), thereby reducing the num-
ber of microcontroller I/O pins required. On power-up,
UPO is low.

Power-Down Lockout Input (

P

PD

DL

L

)

The power-down lockout pin (PDL) disables software
shutdown when low. When in shutdown, transitioning
PDL from high to low wakes up the part with the output
set to the state prior to shutdown. PDL can also be
used to asynchronously wake up the device.

Daisy Chaining Devices

Any number of MAX5158/MAX5159s can be daisy
chained by connecting the DOUT pin of one device to
the DIN pin of the following device in the chain (Figure 7).

Since the MAX5158/MAX5159’s DOUT pin has an internal
active pull-up, the DOUT sink/source capability deter-
mines the time required to discharge/charge a capacitive

load. Refer to the digital output V

OH

and V

OL

specifica-

tions in the

Electrical Characteristics

.

Figure 8 shows an alternate method of connecting sev-
eral MAX5158/MAX5159s. In this configuration, the
data bus is common to all devices; data is not shifted
through a daisy chain. More I/O lines are required in
this configuration because a dedicated chip-select
input (CS) is required for each IC.

__________Applications Information

Unipolar Output

Figure 9 shows the MAX5158/MAX5159 configured for
unipolar, rail-to-rail operation with a gain of +2V/V. The
MAX5158 can produce a 0V to 4.096V output with a
2.048V reference (Figure 9), while the MAX5159 can

MAX5158/MAX5159

Low-Power, Dual, 10-Bit, Voltage-Output DACs

with Serial Interface

Table 2. Unipolar Code Table (Gain = +2)

MAX5158
MAX5159

DAC_

GAIN = +2V/V

REF_

OUT_

OS_

DGND

AGND

+5V/+3V

V

DD

R

R

Figure 9. Unipolar Output Circuit (Rail-to-Rail)

MAX5158
MAX5159

DAC _

AGND

DGND

REF_

OUT_

OS_

V

OS

+5V/+3V

V

DD

R

R

______________________________________________________________________________________

13

ANALOG OUTPUT

1 1

1 1 1 1

1 1 1 1 ( 0 0 0 )

1 0

0 0 0 0

0 0 0 1 ( 0 0 0 )

DAC CONTENTS

MSB

LSB

1 0

0 0 0 0

0 0 0 0 ( 0 0 0 )

0 1

1 1 1 1

1 1 1 1 ( 0 0 0 )

0 0

0 0 0 0

0 0 0 0 ( 0 0 0 )

0V

0 0

0 0 0 0

0 0 0 1 ( 0 0 0 )

+V

1023

1024

x 2

REF







+V

513

1024

x 2

REF







+V

512

1024

x 2

V

REF

REF







=

+V

511

1024

x 2

REF







+V

1

1024

REF







Figure 10. Setting OS_ for Output Offset

Note:

( ) are for the sub bits.

Advertising