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.

BQ40Z80: BQ40Z80 use GPIO for alarm interrupt function

Part Number: BQ40Z80

Hi

The customer design 7S with BQ40Z80, they want to use GPIO pin for alarm interrupt function.

Attached the schematic for your reference.

LY-BP179-A0原理图(1).pdf

When the battery triggers overvoltage, overcurrent and overtemperature protection), GPIO pin outputs high voltage to system. 

(COV CUV OCC OCD OTC OTD UTC UTD )one of these flag bits are triggered. Is the 20th pin of IC to actively trigger the interrupt signals?

If it can, how to set the corresponding parameters in the software? Is there any relevant information?

Waiting for your reply.

Thanks

Star 

  • Hello Star,

    If this is a new design this gauge no longer supports 7S systems, it has been reduced to 6S.

    All of the instructions for setting the GPIO interrupts are explained in the TRM.

    Check section: 2.7 RLX (Pins 20, 21, 22) Multifunctions 

    • This section explains which bits to set to configure the pins as GPIO.

    Check section: 13.2 GPIO Interrupt

    • This section explains how to map the interrupts to the GPIO.

    If you have specific questions with the setup we can assist.

    Sincerely,

    Wyatt Keller

  • Dear Wyatt

    Our  design is old design , and we could not change desgin now .

    1. Could u tell me if BQ40Z80 change to 6S version ,but we still need to buy 7S version ,and how we could cofigure which version is 7S ?

    2.(COV CUV OCC OCD OTC OTD UTC UTD )one of these flag bits are triggered. Is the 20th pin of IC to actively trigger the interrupt signals? Could u help to give a direct response ?

  • Hello Gabriel,

    The firmware has not been updated for only 6s support, so all tools used before can still be used.

    The gauge can be configured for interrupts on multiple pins, for pin 20 you can configure the type of interrupt you want (high Z, low, high).

    Sincerely,

    Wyatt Keller