PIC12F/LF1822/16F/LF1823
16.4 DAC Voltage Reference Output
The DAC can be output to the DACOUT pin by setting
the DACOE bit of the DACCON0 register to ‘1’. Selecting
the DAC reference voltage for output on the DACOUT
pin automatically overrides the digital output buffer and
digital input threshold detector functions of that pin.
Reading the DACOUT pin when it has been configured
for DAC reference voltage output will always return a ‘0’.
Due to the limited current drive capability, a buffer must
be used on the DAC voltage reference output for
external connections to DACOUT. Figure 16-3 shows
an example buffering technique.
FIGURE 16-2:
DIGITAL-TO-ANALOG CONVERTER BLOCK DIAGRAM
FVR BUFFER2
VDD
VREF+
DACPSS<1:0> 2
DACEN
DACLPS
VREF-
VSS
Digital-to-Analog Converter (DAC)
VSRC+
R
R
R
R
R
32
Steps
R
R
R
5
DACR<4:0>
DAC
(To Comparator, CSM and
ADC Modules)
DACOUT
DACOE
VSRC-
2010 Microchip Technology Inc.
Preliminary
DS41413A-page 149