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.

BQ25155: BQ25155 Active Battery Mode ADC Measurement

Part Number: BQ25155


I'm able to measure VBat when connected to Vin, but have been unable to get a reading when measuring in active battery mode.

In my current code:

       HAL_GPIO_WritePin(GPIOE, GPIO_PIN_2, GPIO_PIN_SET); //Set LP pin on BQ25155


     bq25155_set_charge_rate();   // {0x13, 0x5C};

     bq25155_disable_long_press(); // {0x36, 0x20};

     bq25155_enable_vbat_read();  //{0x58, 0x08};

     bq25155_active_ADC();   //{0x40, 0x62};

     float vbat = bq25155_vbat_read();

  • Hi,

    For additional context, can you answer some of these questions?

    • Can you confirm what values are you reading from VBAT ADC (Registers 0x42 and 0x43)?
    • Does setting ADC read rate to 1 second update the VBAT values?
    • Does disabling ADC Ready INT mask causes ADC Ready interrupts to generate in 1 second read rate?

    Best Regards,

    Juan Ospina.