Battery Charge doesn't work if starting when EN grounded

@ielec , I have a few observations from your results, and comments:

Your Li-Po being tested appears to be mostly charged. You might want to try one at a lower voltage. Maybe even log the VCell Voltage instead of SOC, since SOC is an assumption where as Voltage is a direct measurement ?

Looking at your log, it takes ~10 seconds before the Min Input Voltage is established after EN Pin Shutdown for the API.

I assume that's because System Power manager waits for the PMIC to perform it's startup duties, including Datasheet Section 8.3.1.3 Power Up from DC Source: , (Link)
The linked post mentions the Data Lines (D+/D-) which may be playing a factor in my USB Connector Vs Vin results. But this gets tricky because (at that time), tying the Data lines together had different results based on Vin or USB Connector.

The diode that @tve mentions later on in the thread might also be the reason for the different results between Vin and USB,

It also mentions pmic.enableBuck(). I started using it for an EN Pin Low Powered Solar Boron after a test way back in 2018 (Link). I never understood why this had an impact based on the datasheet. I never did find any clarity on the subject.

Trial #1 required a modification to the Code during the experiment. Originally, the PMIC would not resume recharging the Li-Po if the input (solar) voltage dropped out completely. This means that charging would not resume after severe cloudy conditions, or night time. My solution was to add pmic.enableBuck(); inside the Setup() routine which runs each time the Boron Starts-up from the external Timer.


While not specific to the EN Pin charging for @runfastman's (this) thread, these are most of the "issues/unknowns/variables/etc" that I'm aware of relating to the topic.

  • Vin verses USB Connector
  • D+/D- wires,
  • Timing of PMIC's Power Up routine checks
  • Diode on USB connector’s power pin to Vin
  • enableBuck()'s influence on charging

For me, the answer is using the USB connector and the new API. I haven't personally discovered issues with that combination......but that can obviously change as the firmware matures.