I think you mean the opposite: https://www.adafruit.com/product/935Something like this work? https://www.adafruit.com/product/1083 or is there a simpler solution? Pi PWM runs at 3.3vdc, right? Pull the 5v and ground from the Current pump controller, A0 back to center pin, scl and sda from the pi.
You should try 5V pwm first (use a simple npn transistor to convert 3.3V pwm to 5V pwm) and if that does not work use an RC circuit or a full blown DAC (like the one I linked) to convert the 5v pwm to 0-5V analog.
