XMega128A4U DAC outputs 22mV with '0' command value; cannot get 0 volt output. Have been adjusting offset and gain, but to no avail.
I can adjust the gain, for instance, to get exactly 1.00V with 0xfff command (with 0x800 giving exactly .500V), but the '0' point is still 22mV.
Have tried jacking the offset low, but it still doesn't seem to affect the output at '0' command.
The DAC output is attached to the input of an analog switch.