鈭?/div>
c)
Calibration Example
Nominal Offset Coefficient
= 0
Nominal Gain Coefficient
= 10/10.5 脳 8191 = 0.95238 脳 8191
= 7801
Example 1:
Channel 0, Gain Error
= 3%,
Offset Error
= 100 mV
1.
2.
Gain Error
(3%)
Calibration:
7801 脳 1.03 = 8035
=> Load Code
1 1111 0110 0011 to m Register 0
Offset Error
(100 mV)
Calibration:
LSB Size
= 10.5 / 16384 = 641 碌V;
Offset Coefficient for
100 mV
Offset
= 100 / 0.64 = 156 LSBs
=> Load
10 0000 1001 1100 to c Register 0
BUSY AND LDAC FUNCTIONS
The value of x2 is calculated each time the user writes new data
to the corresponding x1, c, or m registers. During the calcula-
tion of x2, the BUSY output goes low. While BUSY is low, the
user can continue writing new data to the x1, m, or c registers,
but no DAC output updates can take place. The DAC outputs
are updated by taking the LDAC input low. If LDAC goes low
while BUSY is active, the LDAC event is stored and the DAC
outputs update immediately after BUSY goes high. A user can
also hold the LDAC input permanently low. In this case, the
DAC outputs update immediately after BUSY goes high.
Table 11. BUSY Pulse Width
BUSY Pulse Width (ns max)
Action
Loading x1, c, or m to 1 channel
Loading x1, c, or m to 2 channels
Loading x1, c, or m to 3 channels
Loading x1, c, or m to 4 channels
Loading x1, c, or m to all 32
channels
FIFO
Enabled
530
700
900
1050
5500
FIFO
Disabled
330
500
700
850
5300
Example 2:
Channel 1, Gain Error
= 鈭?%,
Offset Error
= 鈭?00 mV
1.
2.
Gain Error
(鈭?%)
Calibration:
7801 脳 0.97 = 7567
=> Load Code
1 1110 1000 1111 to m Register 1
Offset Error
(鈭?00 mV)
Calibration:
LSB Size =
10.5 / 16384 = 641 碌V;
Offset Coefficient for
鈭?00 mV
Offset =
鈭?00 / 0.64 =
鈭?56 LSBs
=> Load
01 1111 0110 0100 to c Register 1
CLEAR FUNCTION
The clear function on the AD5378 can be implemented in
hardware or software.
Hardware Clear
Bringing the CLR pin low switches the outputs, VOUT0 to
VOUT31, to the externally set potential on the REFGND pin.
This is achieved by switching in REFGND and reconfiguring
the output amplifier stages into unity gain buffer mode, thus
ensuring that VOUT is equal to REFGND. The contents of the
input registers and DAC registers are not affected by taking
CLR low. When CLR is brought high, the DAC outputs remain
cleared until LDAC is taken low. While CLR is low, the value of
LDAC is ignored.
The value of x2 for a single channel or group of channels is
recalculated each time there is a write to any x1 register(s), c
register(s), or m register(s). During the calculation of x2, BUSY
goes low. The duration of this BUSY pulse depends on the
number of channels being updated. For example, if x1, c, or m
data is written to one DAC channel, BUSY goes low for 550 ns
(max). However, if data is written to two DAC channels, BUSY
goes low for 700 ns (max). There are approximately 200 ns of
overhead due to FIFO access. See Table 11.
The AD5378 contains an additional feature whereby a DAC
register is not updated unless its x2 register is written to since
the last time LDAC was brought low. Normally, when LDAC is
brought low, the DAC registers are filled with the contents of
the x2 registers. However, the AD5378 updates the DAC register
only if the x2 data changes, thereby removing unnecessary
digital crosstalk.
Rev. PrA | Page 20 of 28