Does anyone know the IC used for for the battery charging circuit?
The schematic just labels it as U1 and does not give a part number.
I want to use a secondary 4.5V power supply (not a battery) to power the board when USB is not plugged in, so I planned on connecting it to the battery pads. This is higher than a battery’s typical voltage, so I just want to make sure it’s safe to do so. The 3.3V LDO regulator circuit looks like it would work with a 4.5V power supply, but I can’t confirm that the battery charging circuit won’t explode when 4.5V is applied to the battery voltage because I don’t know what IC it is.
Since this connects the outputs of two 5V power sources, it could cause a malfunction depending on the type of power source connected. I do not recommend supplying power to both the USB and 5V pins at the same time.
So , “NO” would be the correct answer. Generally or otherwise. Have a Look at the Schematic, you will see where two power paths and the potential for a conflict , source or SInk. so, NO. it is never advised and is not listed in the wiki or technical documentation any where, quite the contrary.
If there is a way to prevent feed back from XIAO’s Pin 5V to USB 5V or vice versa then no. Otherwise there could be an issue.
Since the USB 5V (voltage) can’t be controlled (depends on USB), the easiest way is to have the “regulated” 5V include a series diode/MosFET and be a lower voltage than the USB’s 5V (eg 4.5V - I have some USB hubs that can only supply 4.7V).