Hi, I want to use 8MHZ PIC18F4523 to control the voltage regulator (LT3080). I want to generate a fairly accurate control voltage (in 2mV steps) for the above regulator. I came up with two possible solutions and hope you can help me decide which one is the best. Solution 1: Use PWM signal + RC filter + voltage follower. If I choose this method, which PWM frequency is the most effective? Do I need Op-Amp? Solution 2: Use a voltage follower and a DC (like the MCP4922). What kinds of issues will I have to deal with if I use this method? I’m eager to hear your thoughts!

Asked question