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.

BQ25790EVM: GUI Composer Usage with BQ25790EVM

Part Number: BQ25790EVM
Other Parts Discussed in Thread: BQSTUDIO, USB2ANY, EV2400, BQ25790, BQ24179

According to a similar post:

BQSTUDIO only works with EV2300/2400.

GUI Composer, which we will be using with all new devices, only works with USB2ANY.

In the design guide:
https://www.ti.com/lit/pdf/sluuc51

I see steps on how to use the eval board along with BQSTUDIO, but no details on how to use it with GUI Composer. Is there a similar walk-through/guide on how to use the eval board with GUI Composer specifically?

As I am not familiar with development using USB2ANY nor the EV2400, I want to ensure I can do everything with the USB2ANY+GUI Composer that I would otherwise be able to do with the EV2400+BQSTUDIO before purchasing one or the other. If I need both for whatever reason, please indicate why this is the case.

Along the same line, would the combination of either be more helpful when trying to design a custom circuit using the BQ25790 family of devices, e.g. (BQ24179)? Rather than programming all the serial protocol listed in the datasheet, does either combo (USB2ANY+GUI Composer) or (EV2400+BQSTUDIO) reduce development time with some sort of API or the like that implements all the serial protocol details?

Best regards,
Christopher

  • Hi Christopher,

    Both BQSTUDIO and GUI Composer only provide an interface for reading and writing to the charger's I2C registers.  GUI Composer was intended to be a bit more intuitive, less overwhelming to use, with key registers grouped by function on different pages.  BQSTUDIO only has 2 pages, one for all the 8 bit registers and the other other for all the 16-bit registers, which means that some functions that use both 8-bit and 16-bit register settings are on different pages.  GUI Composer also allows for running a sequence of reads and writes, while BQSTUDIO does not.

    Regards,

    Jeff

  • Thanks for the info Jeff, that helps a bit. Before I buy one or the other I still have a few things to clarify, so I appreciate your help.

    Does either GUI Composer or BQSTUDIO have some API that reads which registers exist and their corresponding functionality or are they both just bare bones controls where I need to specify the register number and what bit values to write?

    As an example REG00 bits 5-0 control the Minimal System Voltage on the BQ24179 according to p46 of the datasheet.

    www.ti.com/.../bq24179

    Would either BQSTUDIO or GUI Composer know that REG00 bits 0-5 correspond to the Minimal System Voltage if I were to connect a BQ24179 via a USB2ANY or EV2400 and open the corresponding software? If not that level of chip specific detail, would either one know to write only to bits 0-5 (as opposed to the reserved bits 6-7)? Would they know the acceptable values (e.g. 2500mV-16000mV) and generate the bit values required for the values specified?

    Assuming they are just bare bones consoles that allow me to specify a register and bit values, if I wanted to set REG00 to its maximum value corresponding to 16000mV, would I just write bit values of 111111? What if I added an additional bit by mistake, i.e. 1111111. What kind of error handling is available in either system to prevent/catch these errors?

    Finally, I guess this is chip specific, but are these registers persistent even after powering off? In other words, will I have to program the read/writes of these registers on my microcontroller to occur on each startup, or can I write all the registers via GUI Composer or BQSTUDIO and not have to worry about coding in the read/write sequences into a microcontroller? If I do need to program these, does TI offer any kind of API or library for c/c++ to speed up the development of the microcontroller code to read/write these registers without having to manually create the serial read/write code for each chip from text in a datasheet?

    Best regards,
    Christopher


  • Hi Christopher,

    Both GUIs have labelled drop downs and check boxes, as well as direct register access. In addition to I2C standard error handling with ACK signals, the charger has limits on certain registers that prevent writing out of range values.  As long as there is input power or battery above the UVLO values, the registers only reset to defaults if the WD timer is enabled and there is no periodic write to the WD bit.  You can disable the WD timer. 

    Regards,
    Jeff