19.5.3 Using DAC as Voltage Reference for External Comparator

If the DAC output is used as a reference voltage for a comparator external to the PIC32A device, the Transition mode’s transient response can cause unwanted comparator trips when changing DACDAT values. When the DAC is in Transition mode, the blanking feature (CBE = 1) can be set to mask the internal comparator’s output. However, this blanking feature is not available on an external comparator.

A work around for this use case is to set the TMODTIME[9:0] bits in the DACCTRL2 register to zero to disable Transition mode. The DAC will slew slower to the new target voltage.