21. Module: DAC

Both DAC output buffers are non-linear near the supply rails. As a result, the DAC's electrical specifications can be greatly affected when using the DAC output buffers.

Work around
Use the UREF module to route DAC1-DAC7 signals to the UREF output pin. The following is an example of how to route the DAC signal through the UREF:
// Input to UREF is set to DAC1
UREFCONbits.INSEL = 6;

// Output from UREF is set to UREF pin
UREFCONbits.OUTSEL = 1; 

// Turn UREF module on
UREFCONbits.ON = 1; 	 	
Affected Silicon Revisions
A1
A2
X