This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ25887: BQ25887 Configuration

Part Number: BQ25887

Hi

The customer design  with BQ25887, currently in the XBL stage of Android 13, the battery voltage needs to be read when starting the prototype, and the following process is used:

Read the voltage of a single battery. During debugging, we found that the battery voltage can be obtained normally if the charger is plugged in, but cannot be obtained if the charger is not plugged in.

In this case, it is impossible to judge whether it can be turned on based on the starting voltage.

How to obtain battery voltage when not charging, what settings are required?

Waiting for your reply.

Thanks

Star

  • Hello Star,

    You would need to disable the Watchdog and Enable the ADC. Please read Section 8.3.5, "To enable the ADC, the ADC_EN bit must be set to ‘1’. The ADC is allowed to operate if either the VVBUS>VVBUS_UVLO_RISING or VBAT>VBAT_UVLO_RISING is valid. If no adapter is present, and the VBAT is less than VBAT_UVLO_RISING, the device will not perform an ADC measurement, nor update the ADC read-back values in REG17 through REG24."

    Regards,

    Mike Emanuel