Hi - I've got a strange problem with the PG output.
First, the datasheet defines PG thus: Open-drain active-low adapter status output. Connect to pullup rail through LED and 10-kΩ resistor. The LED turns on when a valid is detected, and off in the sleep mode.
That's an error - a valid what? I'm assuming you meant "valid input power", no?
My board has a small carry-through UPS. After the board powers up and does a few self-checks, it enables the BQ24640, and the super-cap voltage ramps up to the desired value of 10.8v as expected.
If I disconnect the input power, the UPS runs the board for 20 seconds as desired. So far, so good. However...
I read the PG signal at the uC using a 100k pull-up. When I power on the board first time, everything works as expected. !PG stays low until I disconnect the power.
However, if I reset the board during debugging (with the super-caps charged), the PG signal is erratic and sometimes reads 1 and changes between 1 and 0.
This happens with input source (from bench supply through input filters and diode) at 11.6 volts and super-cap voltage 10v-to-10.8v.
Any idea what is going on???
Thanks!
Best Regards, Dave