In a project, I use the MCP73831 battery charge management controller. You can see the schematics below.
Problem is, if I use it as it is, I have a voltage drop-out on a 1n5819 diode and this regulator lose some noise. If I remove it and bypass it, it works. Sort of. There is no noise. But that LED is not turn on as bright as it should. Can’t say if it charges the battery at all.
If I connect it with the 12V/3A power supply, my LiPo battery is charging. When charged, LED will turn off. If I remove this 12V powering it, my setup will work.
But, if I just plug my battery, without 12V powering it, That LED U22 on LM2596 will turn on and I get a magic smoke from MCP73831. Something is wrong, and I can not see what.