Datasheet
2011 Microchip Technology Inc. Preliminary DS41576B-page 115
PIC12F752/HV752
14.0 DIGITAL-TO-ANALOG
CONVERTER (DAC) MODULE
The 5-bit, dual range Digital-to-Analog Converter
(DAC) module supplies a variable voltage reference,
with 64 selectable output levels of which 3 levels are
duplicated. The output is ratiometric with respect to the
input source, V
SRC+. See Figure 14-1 for a block
diagram of the DAC module.
The input of the DAC can be connected to two external
voltage connections:
•V
DD pin
•VREF+ pin
The output of the DAC module provides a reference
voltage to the following:
• Comparator positive input
• ADC input channel
• FVR input reference
•DACOUT pin
The DAC is enabled by setting the DACEN bit of the
DACCON0 register.
FIGURE 14-1: DIGITAL-TO-ANALOG CONVERTER BLOCK DIAGRAM
R
2
(2)
DACOE
VREF+
VDD
DACPSS
R
2
(30)
V
SRC+
DACEN
Full Range
DACOUT
R
1
(30)
R
1
(16)
R
1
(31)
Limited Range
R
1
(15)
R
1
(0)
DACRNG
1
0
R
2
(31)
1
0
R
1
(1)
R
2
(1)
R
2
(0)
DACR<4:0>
11111
11110
00010
00001
00000
11111
11110
10000
01111
00001
00000
5
dac_ref
Note: R
2
= 16*R
1
(to Comparator, FVR
FVR and ADC modules)