Hello,
PMP20410 has an output adjustment pin. A filter could be added onto the front end to filter the PWM signal into an analog control voltage.
Above you say that the output current needs to be 4A. Are you trying to create a constant output current…