AnsweredAssumed Answered

My DAC outputs inverted values (0000 = 3.3V and 4095 = 0V)

Question asked by prieur.jean on Jul 14, 2014
Latest reply on Feb 29, 2016 by laurijssen.dennis

I have a trouble with my DAC, for example when I set the DAC output (Channel1 or Channel2) to the maximum voltage, the DAC generate the minimum voltage:

DAC_SetChannel1Data(DAC_Align_12b_R, 4095);
Vout ~ 0V

DAC_SetChannel1Data(DAC_Align_12b_R, 0);
Vout ~ 3.3V

DAC_SetChannel1Data(DAC_Align_12b_R, 1000);
Vout ~ 0.8V

The strange thing is, I have two test boards, and the problem happens only on one board. The other board have a correct behavior, with the same project!

Do you have any ideas? Thanks a lot! 
DAC_SetChannel1Data(DAC_Align_12b_R, 4095);
Vout ~ 0V
DAC_SetChannel1Data(DAC_Align_12b_R, 4095);
Vout ~ 0V