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.

BQ40Z60: Bringing up custom board

Part Number: BQ40Z60
Other Parts Discussed in Thread: BQSTUDIO

I have a custom board with a BQ40Z60 and 4S LiPo battery pack.  I have the same battery pack working with the EVM board and am using mostly the same settings on the custom board.  I can't get the custom board to enable charge or discharge.

When I read OperationStatus, I get 0x 00 00 61 e0.  Thus, charge and discharge are disabled, ACLW is asserted (when no charger is present), FUSE is asserted, ACFET is not, PRES is not set.  There are no safety of PF alert or status conditions.  Unfortunately, I can't connect the EV2300 to my custom board - an oversight in our initial circuit design.

There are a few differences between our board and the EVM:

  • We don't use any thermistors (all TS inputs are floating)
  • we don't use the GPIO pins - I attempted to clear the NR flag in DA Config
  • AFEFUSE is also not connected

Are these hardware differences driving the problem?  How should the flash be set for this configuration?

  • Based on this post (e2e.ti.com/.../1631282, it looks like I should tie the AFEFUSE pin to ground. Does this need to be done if MFG Status Init[FUSE_EN] is set to 0?
  • Grounding the fuse does get rid of the fuse flag in the OperationStatus register. With no AC adapter, OperationStatus is 0x 00 00 61 C0. With adapter, 0x 00 00 61 90.

    There is still no charging/discharging.
  • do you have an EVM to do a side by side comparison to see what is going wrong?
  • Yes. The settings I'm using are nearly identical. However, the hardware is slightly different as spelled out above (no fuse, no thermistors, GPIOs not connected). I've also reduced the charge current because we are likely to be connected to a 0.5A USB connection which we step up to 19V, but will be a little over 100 mA due to the step up.
  • Hi Rob,

    A few pointers to make simplify the debug process,

    -Solder wires to the comm lines to allow you connect the ev2300 so you can read the registers using bqstudio and post screen shots of the bqregister. That will help us easily see where the problem is.

    -Also, if your ACLW flag is set, it means your adapter voltage is below the threshold. After you apply the adapter does this flag clear?

    - Your pres flag has to be set as this indicates your battery is inserted. Pls see TRM. I have attached the necessary snippet below. It states that if the TCA and TDA flags are set, the charge and discharge fets will be turned off. You need to configure your NR bit appropriately.

    thanks

    Onyx

  • That definitely peeled the next layer (or two) of the onion. I had misread the documentation on the NR bit and deliberately set it exactly backwards of how it should be.

    It now discharges, but will not charge. I will look more at the various fields to see if I can determine why on my own using the suggestions you gave. I'm considering it resolved and will post a separate issue if I can't get it to charge in the near future.