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.

MSP430FR2153: MSP430FR2153 code for BQ24770

Part Number: MSP430FR2153
Other Parts Discussed in Thread: BQ24770, BQ20Z90, MSP430F5510, TMP006, MSP430FR5969

Dear Champs,

Our customer hope to use MSP430FR2153 to control BQ24770. 

Do we have any source code for this or any reference code we could modify it?

If you have any suggestion, please feel free to let me know.

Thanks a lot.

  • Hi Janet,

    We don't have any code example for BQ24770 in particular, but we have several examples using SMBus which could be modified.

    This AppNote uses a MSP430F5510 together with BQ20Z90: www.ti.com/lit/pdf/slaa476
    This TID shows how to use the SMBus Library to implement a SMBus Slave or Master, and it communicates with a TMP006: www.ti.com/.../TIDM-SMBUS
    The SMBus Library is available at: www.ti.com/.../MSP430-SMBUS

    The AppNote might be similar to your requirements, so it could be a good starting point; but my recommendation would be to use the SMBus library which is modular and has support for MSP430FR5969 which has an eUSCI module (like the MSP430FR2153).

    Regards,
    Luis R

  • Dear Luis,

    Thanks for your information sharing.
    I have used SMbus library to build up a project for MSP430FR2153. Then will look at the apps note you mean to see how to control BQ24770.
    One more concern, user need to build up battery-charger commands by themselves. right?
    If you have more suggestion, please feel free to let me know.
    Thanks a lot.
  • Hi Janet,

    Sorry for the delay.

    Yes, SMBus defines the Physical, Data Link and Network layers, including the format of the commands ("bus protocols"), but it doesn't define the commands themselves.

    What that means is that the BQ24770 can be compatible with SMBus, but it can have a unique set of commands not necessarily compatible with other SMBus-based battery charger controllers.

    Regards,

    Luis R

**Attention** This is a public forum