AnsweredAssumed Answered

inverted dac

Question asked by sher.evgeni on Oct 27, 2016
Latest reply on Oct 28, 2016 by ColdWeather
I've been making a device on STM32F407VGT6
That uses UART with both DMAs, DAC, few GPIO and Timers

After some time coding it, ive came into shocking situation.
DAC have become inverted!
If i send 0, it sets 3.3V, if 4095 then 0.0V !
I've tried 1024, 2048, 3072 all of them are opocite like
U=Vref-Vref*data/4095

Tried other device and they are fine.
Maybe it's because i've passed few overbuffers ints to HAL_DAC_SetValue?
Tried full erasing & reprogramming. Nothing helped. Is this chip wasted?

Outcomes