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.

bq2084 RemainingCapacityAlarm bit set?

Other Parts Discussed in Thread: BQ2084-V143

Hello,

For the bq2084:

The BatteryStatus() function returns 0x02C0, which means: REMAINING_CAPACITY_ALARM, Initialized and DISCHARGING.

RemainingCapacity() returns 0xAE31, and RemainingCapacityAlarm() is set to 0x01B8; therefore, BatteryStatus() should return 0x00C0 - REMAINING_CAPACITY_ALARM bit should only be set when RemainingCapacity() is less than RemainingCapacityAlarm()!

I tried setting RemainingCapacityAlarm() to 0x0000 to disable the alarm, but BatteryStatus() still returns REMAINING_CAPACITY_ALARM bit set.

4 of the 5 LEDs blink: 4 LEDs indicate at >80% capacity; blinking indicates REMAINING_CAPACITY_ALARM bit set. This should mean that RemainingCapacityAlarm() is set very high, so that even at 80% capacity, RemainingCapacity() is less than RemainingCapacityAlarm(). But read RemainingCapacity() is greater than read RemainingCapacityAlarm() !

So how do I clear the REMAINING_CAPACITY_ALARM bit?

Thank you

Martin

  • Martin,

    This is from the datasheet.

    REMAINING_CAPACITY_ALARM bit is set when the bq2084-V143 detects that RemainingCapacity() is less
    than that set by the RemainingCapacityAlarm() function. This bit is cleared when either the value set by the
    RemainingCapacityAlarm() function is lower than the RemainingCapacity() or when the RemainingCapacity() is
    increased by charging.

    Regards

    Tom

  • Hi Tom,

    I know this from the datasheet.

    But as I stated in the post above: when I read RemainingCapacity(), it returns 0xAE31; when I read RemainingCapacityAlarm() it returns 0x01B8. Therefore, RemainingCapacity() is GREATER than RemaningCapacityAlarm(), and REMAINING_CAPACITY_ALARM bit should then be cleared, but it is set.

    This is why I am confused and need to know how to clear the REMAINING_CAPACITY_ALARM bit other than what is mentioned in the datasheet.

    I also tried lowering the RemainingCapacityAlarm() even further, even setting it to 0x0000, but REMAINING_CAPACITY_ALARM bit still set. Also re-tried charging, but REMAINING_CAPACITY_ALARM bit still set.

    A thing I see though, is that it is in relearn mode and not coming out of it (BatteryMode()). This is undocumented in the datasheet, but maybe things are not correct when still in re-learn mode, even though RemainingCapacity() is greater than RemainingCapacityAlarm()?

    Martin