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.

BQ78350-R1: Counter that increase every time the battery is removed from the gauge

Part Number: BQ78350-R1
Other Parts Discussed in Thread: BQSTUDIO, BQ78350

Hi,

Is there any register that increment each time battery is removed from the gauge? I haven't found anything related to this in the reference manual.

What I need is to detect that battery cables were cut off from the gauge.

I also try removing battery from the gauge and read the data memory using bqStudio but all values are the same as values before the removal.

Best regards,

Kan

  • Hi Kan,

    The device does have Lifetime data collection (see chapter 10 of the TRM), but this specific event is not logged. When the battery cables are cut from the gauge, what happens in the system - does the BQ78350 get put into Shutdown mode? The Lifetime data does log the number of Shutdown events.

    Matt

  • Hi Matt,

    When the cables are cut from the gauge, the device doesn't get put into shutdown mode. Do I need to enable something to make the shutdown mode work?

    By the way, I've found that after the battery are removed from the gauge, data bytes in flash memory address 0x413E and 0x415F got increased by 1 (Using Hex Dump). These bytes are also increased when I send the RESET command to the device while LF_EN is enabled. Moreover these bytes are reset to 0x00 and 0x01 respectively after LIFETIME_RESET command. But there is no information about these memory location in the TRM. What do these memory location mean?

    Best regards,

    Kan

  • Hi Kan,

    0x413E is the number of full resets the device has gone through. (private parameter not shown in BQStudio)

    0x415E/5F is the number of times the Lifetime flash has been written (also a private parameter)

    These are both part of the Lifetime data memory, so they will be reset when sending the LIFETIME_RESET command.

    There are multiple ways for the device to enter Shutdown mode - you can set the device to Shutdown based on voltage, based on a timer, or with a command. This is described in Section 8.4 of the TRM.

    Best regards,

    Matt