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.

BQ27220: how to send a "SHUTDOWN_EN" and "SHUTDOWN" I2C command?

Part Number: BQ27220
Other Parts Discussed in Thread: BQSTUDIO

Hi

I can't find the actual description of the "SHUTDOWN_EN" and "SHUTDOWN" I2C command. The only place where these commands are mentioned are in Figure 4-1 on page 50 (SLUUBD4).

I've also checked bqStudio to see whether I could call that command from there, but it's also missing...

Thanks,

Mark

  • Hi Mark,

    It appears that command is non-existent on this gauge and that section was never corrected in the TRM. I will point this out to the system engineers.

    thanks

    Onyx

  • okay, thanks for the info. This also means that I don't need to wiggle the GPIO pin if the gauge is not responding or are there other ways the gauge could end up in a SHUTDOWN where I would need to wiggle that pin? Referring to:

    "If the device is in SHUTDOWN mode, toggling GPOUT makes the gauge exit SHUTDOWN. It is
    recommended to connect GPOUT to a GPIO of the host MCU so that in case of any inadvertent
    shutdown condition, the gauge can be commanded to come out of SHUTDOWN."

    Also, it would be really great if the TRM could be properly updated. There is so much missing information or wrongly copy pasted stuff there, that by now I'm mainly using the bqStudio and a logic analyzer to see how stuff gets actually done or directly ask here in the forum...

    Thanks!
    Mark
  • Hi Mark,
    Thanks for the feedback. The thoroughness of our TRMs are a continuous improvement process and we are working on getting things properly updated.

    There are other instances that the device could go into shutdown like in the event of susceptibility to ESD. You need to be able to toggle the gpio pin to wake the gauge in that instance.
    thanks
    Onyx
  • Thanks! At least, I didn't implement the toggle code in vein :-)

    Looking forward to an improved TRM, although now I'm almost finished with implementing everything.

    Thanks,

    Mark