TI E2E Community
Battery Management - Gas Gauge Forum
bq2014H send soft DONE trough HDQ
I'm using a bq2014H (I can't change it to bq2060) and as far as I know, on battery change event the user MUST fully charge and then fully discharge so the device can "learn" the new capacity of the batteries.
I also know there's a DONE pin which on high state automatically assumes a 100% charge on the NAC register and this DONE pin should be connected to the charger but this bq2002C (can't change this part neither) has no such pin to send this signal.
So my idea is to do this "charge DONE" thing via software with the microcontroller in a similar way that the soft reset works by writing some registers
I tried writing to NAC register the PFC value (in my case 0x9000, full battery), I had no luck because for some reason this puts NAC on 0x0000.
The datasheet is clear about soft reseting but says nothing about soft "preseting".
Does anyone know how can I send the equivalent to a DONE full charge signal/command/whatever through the HDQ communication?
I'm using a bq2014H and I'd like to know whats the procedure to send a "charging is DONE" command to trough the HDQ communication.
The datasheet describes the procedure to make a reset via software by writing zeros to some registers.
I know there's a DONE pin which on high state puts the NAC on the maximum LMD (or PFC) value just the way a full charge should be, can I get this same effect by writing to any of the registers?
I tried writing 0x9000 (wich is my full Programed Full Count) directly to NAC but had no luck there.
Does anybody got any ideas?
Writing NACH to the value in LMD, not PFC, and NACL to 0xFF should do the trick.
Thanks Garry it worked
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.