PID tuning

dc buck converter won't work. Help!

I'm using your dc-2buck-f2808-d diagram as a starting point to control my buck converter. I've taken the output voltage and wired it to ADCINB0 through a 1K resistor (I know it should be buffered but I want to do a quick test). I'm assuming that c0: is the reference? So if I set that to .5 my reference would be full scale input/2? 1.5V? But when I move the slider to a non zero value, the regulator goes from 0V to full on. What am I doing wrong?

Syndicate content