User manual

Quick Start Instructions
© 2009 Microchip Technology Inc. DS51837A-page 23
Figure 1-15: V
OUT
for Example 4: Multi-Write Command for Channels A and B with V
REF
= V
DD
and Gain = 1.
V
OUT
V
REF
D
n
×
()
4096
------------------------------ -
G
x
=
Where:
V
REF
=V
DD
if external VREF is selected
= 2.048V if internal V
REF is selected.
D
n
= Input code
LSB = V
REF/4096
V
OUT
A
V
DD
4095
×
()
4096
--------------------------------- -
V
DD
4096 1
4096
-------------------- -
⎝⎠
⎛⎞
V
DD
1
1
4096
----------- -
⎝⎠
⎛⎞
V
DD
LSB====
In Script file, Dn for Channel A = 0FFF (hex) = 4095 (decimal)
(A) Channel A Output:
Note that Dn and Gain (G
x
) must be selected with the following conditions:
V
OUT
V
REF
D
n
×
()
4096
-------------------------------
G
x
V
DD
=
(B) Channel B Output:
In Script file, Dn for Channel B = 0800 (hex) = 2048 (decimal)
V
OUT
B
V
DD
2048
×
()
4096
--------------------------------- -
V
DD
2
---------- -==
(C) Channel C Output:
No change. The device maintains its output with previous settings.
(D) Channel D Output:
No change. The device maintains its output with previous settings.