Hi. I did this on a MC090-010, with a PWM output (c1p29).
PinConfig: 3
DitherAmp: 0
ReqFreq:1000
A made a low-pass filter, with two zener diodes (for safety).
I controlled a charger, with a 0-5V input to control the charging current. In my case, I didn't need to change the signal fast. I was more interested in having a smooth voltage. I made a small PCB with three connectors (there are two chargers to control).
The first resistor and zener diode limits the PWM signal to 5,6V peak. Then we have a lowpass filter, with a cutoff frequency of 16Hz. After that a zener diode again, to limit the maximum voltage to 5,1V. I did this for a few years ago, so I don't remember if the output are linear. If you want to try it, you have to do some tests to see if it is smooth enough, if the response to a changing voltage are quick enough, and to see how a certain PWM dutycycle corresponds to a certain voltage.