How to control constant voltage and current from microcontroller?

3 posts / 0 new

Hi,

I'm planning to use TOP257EN for battery charger application. Output rating is 20V /4A.
In this I would like to control both output voltage and current from microcontroller but I couldn't found any application note or reference circuit fro same.

Could you please guide how to achieve this?

If this device is not suitable for this kind of application then kindly suggest suitable device.

Please advice

Hi,
you can control the output voltage by over riding the signal on C (control pin) switch high when you need more power and switch low when you are above voltage set point. As for the current it would be the same if you have current sensing in the output and shut the control pin if you have reach over maximum current/4A.

Regards