Question
inverted dac
Posted on October 27, 2016 at 19:26
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? #stm32 #stm32f4 #dac