A simple three-component solution for a switching regulator chip to use for output voltage programming via PWM.
What makes this so difficult is the voltage offset created by current in the microcontroller bond wire, amongst other things. A simple low-pass filter (120kΩ 470nF) converted the pwm waveform to dc in ...