389
8331B–AVR–03/12
Atmel AVR XMEGA AU
Equation 29-3.
Gain calibration.
Including calibration in the equation, the DAC output can be expressed by
.
Equation 29-4.
DAC output calculation
V
DAC_out
= V
DAC
+ V
OCAL
+ V
GCAL
V
GCAL
V
(
DAC
VREF
2
---------------
⎝
⎠
⎛
⎞
⎠
⎞
–
1 2.
G
–
CAL
7
[ ]
(
)
GCAL
6
[ ]
16
------------------------
GCAL
5
[ ]
32
------------------------
GCAL
4
[ ]
64
------------------------
GCAL
3
[ ]
128
------------------------
GCAL
2
[ ]
256
------------------------
GCAL
1
[ ]
512
------------------------
GCAL
0
[ ]
1024
------------------------
+
+
+
+
+
+
⎝
⎠
⎛
⎞
⋅
⋅
=