Wierd DAC behaviour

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Chandrika R on Tue Jan 05 07:29:58 MST 2016

I am using the DAC peripheral in LPC1549 micro controller (100-pin controller) to generate the DAC output which in turn i am using it to generate 0-10V. I am observing a weird behavior in it. If I am loading the DAC count value equivalent to get 10V output, I am able to get the correct value at my output side and the expected DAC output value(DAC count value: 2641; DAC output value = 2.12V to get 10V overall output) is also correct. But when the same code which i had used in debug mode, if i just flash it and run it it is getting saturated i.e., I am not even able to go above 9.6V(DAC output voltage getting saturated at 2.09V itself). Has anyone found this kind of an issue? Please guide me with this as I am not able to figure it out.