Hello,
I am trying to modify the Design Capacity register over using the I2C pro screen with the EVM software. For some reason this does not work. Any ideas?
Thanks,
David
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.
Hello,
I am trying to modify the Design Capacity register over using the I2C pro screen with the EVM software. For some reason this does not work. Any ideas?
Thanks,
David
Are you trying to edit the Design Capacity parameter through directly writing to the Design Capacity register? The bq27410 (as with lots of other TI gauges) cannot be updated in this manner; you will need to use the Data Flash commands to edit that information in the fuel gauge, either by using the Data Flash screen in the evaluation software, or by manually using the Data Flash programming commands in the I2C Pro screen.
I am trying to change the Design Capacity parameter by using the Data FLash programming commands in the I2C Pro screen.
Hello,
Here is a better description of what is going on. I am following some instructions on the BQ27421 technical reference guide in chapter 3 adapted for the part I am using, BQ27410.
Here is a quick synopsis:
So, I’m just not quite sure what I’m missing here, but every attempt to get to these two registers fails me. I’m sure I’m just missing something in the documentation, but I can’t sort out what it is.
Thanks for your help.
David
I haven't done much in terms of directly editing the Data Flash outside of the evaluation software, so unfortunately I can't really provide assistance in that regard, sorry.
That said, the bq27410-G1 is based on a different platform than the bq27421-G1 (the '421 is RAM and ROM based with no user-editable non-volatile memory); the '410 shares more in common with other Flash-based gauges like the bq27510.
Also, come to think of it, have you read the application notes for the '410 like SLUA595 and SLUA596? I've taken a quick look through those notes, and they may have some information that can help you out.
The attached file might be useful for helping you to calculate the checksum. The dataflash update doesn't actually occur until you write the correct checksum.
Also, the example instructions on page 28 in the bq27520-G4 Technical Reference Manual might be more applicable in your case.
One final suggestion is to snoop the I2C bus and log the transactions that happen when you use the Data Flash tab to directly edit the Design Capacity. That might give you something to compare to your sequence.