If the lithium ion battery that is attached to my board completely runs out of charge (to the point where everything is turned off) I've tried many times plugging the board in to power it over USB. Just plugging in the board doesn't seem like enough to get it to power back on and start charging. Instead I've needed to plug it into the programmer and hit the hardware reset button. Can you explain how I get the battery to begin charging immediately after it's plugged in without having to do a hardware reset?
Device:
Hi alarner,
What exactly do you mean that the battery is completly discharged and how exactly you are measuring that ? What exactly do you mean that everything is turned off. The device when the battery reaches down to a certain point it will go to hibernate mode, and it will be able to wake up only via the VBUS (plug in the USB) or the via GPIO interrupt if its configured. If the battery goes in a state where it cannot supply the device and you have a VBAT zero, upon attaching the VBUS the device should wake up and use the VBUS in order to be supplied. A few things to check:
Thanks MT_dialog
l also encountered this problem.
how did you slove it
It turns out that I had a peripheral that was drawing power preventing the battery from ever fully charging. This was causing the charger to stop attempting to charge after a certain amount of time. I ended up having to turn off the peripheral when USB was plugged in and turn it back on when USB was unplugged
Hi Ryon,
I have replied you in the below forum thread :
https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/plug-usb-system-not-work#comment-27272
Thanks, PM_Dialog