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.
Hi Team,
We are using battery charger(BQ24161B) and Fuel Gauge(BQ27530) in our design, BQ27530 has two I2Cs(one as a master and one as a slave).
Slave I2C of BQ27530 is connected to host processor and master I2C is connecter to BQ24161
So, can we access(read/write) battery charger's registers from the host processor through fuel gauge?
Also, please let us know the procedure how it could be updated with BQSTUDIO as well
Regards,
Mythili B
Hi Mythili,
Yes, the charger registers can be accessed through the usage of the gauge's Charger Data Commands. This can be found in the bq27530 Technical Reference Manual:
However, for bqStudio to be used, the gauge must be connected to the EV2400 found below:
https://www.ti.com/tool/EV2400
If you are looking to change the registers via your host processor, there are instructions that can be found in the Host System Calibration Method document below:
https://www.ti.com/lit/pdf/slua640
Regards,
Anthony Baldino
Hi Anthony,
We are using EV2400 for accessing fuel gauge and battery charger in BQStudio.
Actually, we tried to change the data flash charger registers but it is not reflecting back in the register plugin even after refreshing
Please let us know what could be the issue, also attaching the image for your reference
Warm Regards,
Mythili B
Hi Mythili,
Can you please tell me the process that you are using to changing these registers?
Also, can you please tell me if you intend for the gauge to be the host of the charger?
Regards.
Anthony Baldino
Hi Anthony,
For changing the battery charger's registers, I am updating the values of the registers in Data memory plugin, then I am giving GG_CHRGRCTL_ENABLE command. So that Fuel gauge(BQ27530) will becomes as a host for Battery charger(BQ24161). But once if I give that command, in Register plugin battery charger's registers values are updating but that values are not matching with the values set in the data flash. Highlighted the register values in the image for reference
Yes, gauge will be the host for the battery charger
Warm Regards,
Mythili B
Hi Mythili,
Can you please tell me which exact bits you are attempting change?
Many of these values for the charger registers in the gauge are read only that are taken from the charger based on the temperature table inputted previously:
Regards,
Anthony Baldino
Hi Anthony,
We are trying to change Reg 03 Default to 0x8C(for charge voltage setting) and Reg 05 Default to 0x22(for charge current setting) value in data memory plugin
In BQ24161 registers, all bits in the memory location 03 and 02 are Read/Write capable.
I guess whatever registers explained in TRM of BQ27530 is not matching with BQ2416x series battery charger(matching with BQ2419x)
We could not able to set the charge voltage and charger current for battery charger(BQ24161) from Fuel gauge(BQ27530), Please suggest us how to configure the same from fuel gauge through BQStudio
Warm Regards,
Mythili B
Hi Mythili,
I see that the bq27530 TRM descriptions of the Charger Registers do not match the same registers represented in bqStudio. I have put in a request to receive the firmware of this gauge to see what these registers truly depict so we can troubleshoot this issue. I will update you tomorrow with a response. I apologize for the inconvenience.
Regards,
Anthony Baldino
Hi Anthony,
For BQ27530, only draft version of TRM is available in the website.
Can you please share the latest TRM for BQ27530 part
Warm Regards,
Mythili B
Hi Mythili,
We have located the correct TRM for this device and are working on publishing it to TI.com. I will update you when this process is completed.
Regards,
Anthony Baldino