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.

BQ27426: BQ27426 Gout interrupt

Part Number: BQ27426
after BQ27426 Gout interrupt happens,how can i distiguish which reason caued Gout interrupt?
if i don't know the reason,how can i deal with the interrupt service?
  • TRM section 2.5.1 GPOUT Pin has relevant information. Read the registers to see the corresponding flag that is set based on how it is configured.

  • Thank you for your reply.

    I know this table,but can't find corresponding register,or api function.could you please tell me where to find the register or api funtion.Thank you.

  • The Control Status register and Flags register should be read for this information.

    Pulse_SOC command: This is sent by host, so there i no need to read a register as host already know it sent the command

    Initialization complete: Check Initcomp bit - See TRM section 2.4.2 POR and INITIALIZATION Modes

    Battery removal: Check BAT_DET bit - See TRM section 5.4 Flags(): 0x06 and 0x07

    State change: Check  DSG bit

    Change in SOC: If none of the above, then it was triggered by Change in SOC

  • Thank you for your reply.
    This should be an exclusion method.
    Is there a possibility that DSG and SOCI occur at the same time, or is it very close in time. When the interrupt handler uses the exclusion method to check two interrupts that are valid at the same time, how to further handle them?

    谢谢你的答复。
    这应该是一种排除法。
    有没有有一种可能性,DSG和SOCI同时发生,或者说在时间上非常靠近。当中断处理程序使用排除法检查到两个同时有效的中断,怎么进一步处理?

  • The purpose of the SOCI interrupt is to interrupt the host. The host would then take action by switching based the different conditions to take action.

    And yes DSG can result in SOC drop, so those are not mutually exclusive.

  • 1. Whether the result of CCA (Coulomb Counter Auto-Calibration) will change the SOC value. For example, before CCA, SOC=90%, after CCA, SOC=89%.
    2. If bq27426 does not make any error, is it possible for SOC to change more than 1% once in bq27426? If so, can you give an example.
    3. When the SOC changes more than 2% once, how many times does Gout interrupt? For example, delta soc=2, whether Gout sends one interrupt signal or two interrupt signals.

    1、CCA(Coulomb Counter Auto-Calibration)的结果是否会改变SOC值。比如,CCA之前SOC=90%,CCA之后,SOC=89%。
    2、在bq27426不出错的情况下,SOC 1次变化大于1%在bq27426中是否可能出现?如果会出现是否可以举个例子。
    3、当SOC变化一次大于2%是,Gout发生几次中断?比如:delta soc=2,Gout是出一次中断信号还是两次中断信号给。

  • 1. CCA should not by itself change SOC value since it is a correction to measured current.

    2. Yes, SOC can change by more than 1%. A case is when a sudden high load is applied to the battery

    3. Gout will interrupt once when it crosses the threshold