beautypg.com

Rainbow Electronics MAX5661 User Manual

Page 23

background image

MAX5661

Single 16-Bit DAC with Current and Voltage

Outputs for Industrial Analog Output Modules

______________________________________________________________________________________

23

Set the OUTI4/0EN bit (D11) low to enable the OUTI4/0
hardware input. Set the I4TO20BIT bit (D10) high to
select the current-output range through the software.
Set the CLREN bit (D9) low to enable the CLR hardware
input. Set the CLRMODE bit (D8) high to force the out-
put to the value in the clear register or the zero state
when the CLR hardware input is pulled low. Set the
RCLR bit (D7) high to remain in the clear state. Set the
FAULTEN bit (D6) high to enable the FAULT output

functionality. Set the CLRFLAGEN bit (D5) high to acti-
vate the FAULT output when the MAX5661 is in the
clear state.

Bits D4, D3, and D2 are read-only bits. The FAULTV bit
(D4) is set to 1 when OUTV is short circuited. The
FAULTI bit (D3) is set to 1 when OUTI is open circuited.
The CLEARST bit (D2) is set to 1 when the MAX5661 is
in the clear state.

C7

C6

C5

C4

C0

D15

D14

D13

D0

WRITE COMMAND EXECUTED

DIN CLOCKED IN ON THE

SCLK RISING EDGE

SCLK

DIN

CS

Figure 4. Write Timing

C7

C6

C5

C4

C0

D15

D14

D13

D0

C7

C6

C5

C4

C0

D15

D14

D13

D0

READ COMMAND EXECUTED

DOUT READY

DOUT TRANSITIONS ON THE FALLING SCLK EDGE

SCLK

SCLK

DIN

DOUT

DIN

DOUT

X

X

X

X

X

X

X

X

X

CS

CS

X = DON'T CARE.

Figure 5. Read Timing