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.

Further BQ20Z75 Golden File Creation Issues

Other Parts Discussed in Thread: BQMTESTER, BQEVSW, BQ20Z75-V180

Hi There again,

Is anybody out there? Or are we all comfortably numb? Well I have been quiet on the GG front while I was using BQEASY to try and generate a golden file, and thankfully after two very long 14 hour days the process has completed. Yay, cheers, pass the champagne. BUT NO not so soon. Yet again BQEasy lives up to my coined mnemonic BQVIFN (BQVirtuallyImpossibleForNewbies), maybe I should add an F in there and call it BQFVIFN, I guess you can guess what the F is for, yes you guessed it, "Forlornly"! Well that's enough of the rant, back to business.

The Update Status field was modified to 0E, and some information on forums indicate that this is a valid value for some other devices. So TI guys, is it also valid for the 20Z75? The funny thing is, I had loaded down the most recently available GGEV software from the  TI website bqEVSW - Evaluation software for bq20z75-V180 and it WILL NOT recognize anything other than a 06 for the Update Status to go on to the golden file creation. Bugger! So I just spent 28 full hours and countless days setting this thing up and testing it, to get to the end to make the holy grail golden file and update status 0E is not accepted, bugger, bugger bugger. No wonder I put added an F to BQVIFN, bugger.

So I went and trawled through the documentation to see if I could create golden file manually and yet again to find conflict and ambiguity:

1. SLUA379D says the following:

8. Verify that the Gauging.State.Update Status reads 06. If not, repeat the cycle. Its normal value should be 06.
9. Use the EVSW to export the .gg File. Open the .gg file with Notepad to change DF.Gas Gauging.State.UpdateStatus to 02. Change DF.SBS Configuration.Data.Cycle Count to 0.
10. Reprogram the pack with a fresh .senc to clear all hidden constants.
11. Use the EVSW to import the modified .gg file as saved in step 9. Write All.
12. Send reset command (0x0041).

2. SLUA334B has the following to say:

1. Start the EV Software for the bq20zxx.
2. Enter the Data Flash window, and push the Read Flash button.
3. In the File menu, click Export, and choose a *.gg filename for saving the pre-learned defaults, e.g.,
optimized.gg.
4. Open the saved file in a text editor such as Notepad, and change the value of Update Status from 06
to 02, which indicates that the parameters are learned but IT is disabled (as it should be in a new pack
before calibration). Also, the cycle number in the SBS Configuration can be changed to 0.
5. Write a .senc file with the correct chemical ID to clear the hidden data-flash constants.
6. Write the gg file that you have modified back into the device.
7. You are now ready to export the data-flash image (*.ROM) file to be used in production

3. SLUA421 has the following:

Look for updated resistances and Update Status = 06 in the final .GG file.
Now that you have a properly cycled pack with updated values, it is time to create the Golden image
file that will be programmed into every pack coming off the production line.
13. Export the .GG file and make a few changes (update status and cycle count). Specifics can be found
in the Preparing Optimized Default Flash Constants for Specific Battery Types (SLUA334) application
report.
14. Reload the .SENC file to clear out Data Flash hidden values.
15. Import your changed .GG file.
16. Now you are ready to create the .ROM file to be used to program production packs. The .ROM file is
created using the bqTester Single Site or bqMTester (multisite) tester software. See Using bqTester
Single Site Software application report (SLUA352) and bqMTester User’s Guide (SLUU238).

So you can see the three datasheets have similar but slightly different instructions; but most confusingly SLUA334B says: 

"Write a .senc file with the correct chemical ID to clear the hidden data-flash constants."

The questions are:

1. Why does bq EVSW Version = 0.9.79 not recognize the 0E update status?, come on TI guys this is really bad stuff.

2a. Which .senc file should I use? The only .senc file is the latest BQ20Z75 one from TI, bq20z75_0181_bld_0003.senc, should I use that one, or is there another somewhere generated by BQEASY stored away somewhere? I did notice it generated dfi files, but my understanding is dfi files are just data flash, not the encrypted srec file, .senc.

2b. How can I find a .senc file with the "correct chemical ID"? Do I just ignore that line and use bq20z75_0181_bld_0003.senc?

3. Do I really need to issue the reset command 41? (By the way, still no word from a previous post on the undocumented commands, including 41)

3. Tom are you there? I have attached the gg file as promised, and made the recommended modifications to it. Can you or someone clever please tell me what to do next get the golden file made correctly?

Regards

Simon Buchwald

[Header]
bq EVSW Version = 0.9.79
DeviceName = bq20z75 v1.81
Time = 12-Sep-12 11:47:53 PM


[Voltage(1st Level Safety)]
COV Threshold = 4300
COV Recovery = 3900
CUV Threshold = 2300
CUV Time = 2
CUV Recovery = 3000
[Current(1st Level Safety)]
OC (1st Tier) Chg = 2875
OC (1st Tier) Dsg = 4375
OC (1st Tier) Dsg Time = 2
Current Recovery Time = 8
AFE OC Dsg = 03
AFE OC Dsg Time = 0F
AFE SC Chg Cfg = 70
AFE SC Dsg Cfg = 76
[Temperature(1st Level Safety)]
Over Temp Chg = 70.0
OT Chg Recovery = 65.0
Over Temp Dsg = 70.0
OT Dsg Recovery = 65.0

[Voltage(2nd Level Safety)]
SOV Threshold = 13500
SOV Time = 5
Cell Imbalance Current = 5
Cell Imbalance Fail Voltage = 1000
Cell Imbalance Time = 5
Battery Rest Time = 1800
Min CIM-check voltage = 3000
PFIN Detect Time = 5
[Current(2nd Level Safety)]
SOC Chg = 4600
SOC Chg Time = 1
SOC Dsg = 13000
SOC Dsg Time = 1
[Temperature(2nd Level Safety)]
SOT Chg = 75.0
SOT Chg Time = 5
SOT Dsg = 75.0
SOT Dsg Time = 5
[FET Verification(2nd Level Safety)]
FET Fail Time = 5
[AFE Verification(2nd Level Safety)]
AFE Fail Limit = 10

[Charge Inhibit Cfg(Charge Control)]
Chg Inhibit Temp Low = 0.0
Chg Inhibit Temp High = 60.0
Temp Hys = 5.0
[Pre-Charge Cfg(Charge Control)]
Pre-chg Current = 115
Pre-chg Temp = 12.0
Pre-chg Voltage = 3000
Recovery Voltage = 3100
[Fast Charge Cfg(Charge Control)]
Fast Charge Current = 2300
Charging Voltage = 12600
Suspend Low Temp = 0.0
Suspend High Temp = 70.0
[Termination Cfg.(Charge Control)]
Taper Current = 115
Taper Voltage = 225
TCA Clear % = 95
FC Clear % = 98
[Cell Balancing Cfg(Charge Control)]
Min Cell Deviation = 1350
[Charging Faults(Charge Control)]
Over Charge Capacity = 230

[Data(SBS Configuration)]
Rem Cap Alarm = 230
Rem Energy Alarm = 2480
Rem Time Alarm = 10
Init Battery Mode = 0081
Design Voltage = 10800
Spec Info = 0031
Manuf Date = 13-Sep-2012
Ser. Num. = 0001
Cycle Count = 0
CC Threshold = 2070
CF MaxError Limit = 100
Design Capacity = 2300
Design Energy = 24830
Manuf Name = GOW
Device Name = bq20z75
Device Chemistry = LION
[Configuration(SBS Configuration)]
TDA Set % = 6
TDA Clear % = 8
FD Set % = 2
FD Clear % = 5
TDA Set Volt Threshold = 5000
TDA Set Volt Time = 0
TDA Clear Volt = 5500

[Manufacturer Info(System Data)]
Manuf. Info = PUCK1
[Lifetime Data(System Data)]
Lifetime Max Temp = 30.0
Lifetime Min Temp = 20.0

[Registers(Configuration)]
Operation Cfg A = 0230
Operation Cfg B = 2448
Operation Cfg C = 0000
Permanent Fail Cfg = 0000
Non-Removable Cfg = 0000
[AFE(Configuration)]
AFE.State_CTL = 00

[Power(Power)]
Flash Update OK Voltage = 7500
Shutdown Voltage = 5250
Shutdown Time = 10
Cell Shutdown Voltage = 1750
Cell Shutdown Time = 10
Charger Present = 9000
Sleep Current = 10
Wake Current Reg = 00

[IT Cfg(Gas Gauging)]
Load Select = 1
Load Mode = 1
Ra Filter = 80.0
Term Voltage = 9000
User Rate-mA = 0
User Rate-mW = 0
Reserve Cap-mAh = 0
Reserve Cap-mWh = 0
Ra Max Delta = 44
[Current Thresholds(Gas Gauging)]
Dsg Current Threshold = 50
Chg Current Threshold = 25
Quit Current = 10
[State(Gas Gauging)]
Qmax Cell 0 = 2374
Qmax Cell 1 = 2375
Qmax Cell 2 = 2382
Qmax Cell 3 = 2300
Qmax Pack = 2374
Update Status = 02
Avg I Last Run = -462
Avg P Last Run = -524
Delta Voltage = 5

[R_a0(Ra Table)]
Cell0 R_a flag = 0055
Cell0 R_a 0 = 166
Cell0 R_a 1 = 172
Cell0 R_a 2 = 178
Cell0 R_a 3 = 217
Cell0 R_a 4 = 186
Cell0 R_a 5 = 191
Cell0 R_a 6 = 227
Cell0 R_a 7 = 169
Cell0 R_a 8 = 166
Cell0 R_a 9 = 184
Cell0 R_a 10 = 230
Cell0 R_a 11 = 264
Cell0 R_a 12 = 104
Cell0 R_a 13 = 158
Cell0 R_a 14 = 236
[R_a1(Ra Table)]
Cell1 R_a flag = 0055
Cell1 R_a 0 = 161
Cell1 R_a 1 = 167
Cell1 R_a 2 = 173
Cell1 R_a 3 = 210
Cell1 R_a 4 = 175
Cell1 R_a 5 = 181
Cell1 R_a 6 = 218
Cell1 R_a 7 = 166
Cell1 R_a 8 = 162
Cell1 R_a 9 = 180
Cell1 R_a 10 = 224
Cell1 R_a 11 = 238
Cell1 R_a 12 = 104
Cell1 R_a 13 = 159
Cell1 R_a 14 = 234
[R_a2(Ra Table)]
Cell2 R_a flag = 0055
Cell2 R_a 0 = 172
Cell2 R_a 1 = 178
Cell2 R_a 2 = 183
Cell2 R_a 3 = 222
Cell2 R_a 4 = 189
Cell2 R_a 5 = 195
Cell2 R_a 6 = 227
Cell2 R_a 7 = 171
Cell2 R_a 8 = 168
Cell2 R_a 9 = 187
Cell2 R_a 10 = 233
Cell2 R_a 11 = 264
Cell2 R_a 12 = 114
Cell2 R_a 13 = 176
Cell2 R_a 14 = 262
[R_a3(Ra Table)]
Cell3 R_a flag = FF55
Cell3 R_a 0 = 160
Cell3 R_a 1 = 166
Cell3 R_a 2 = 153
Cell3 R_a 3 = 151
Cell3 R_a 4 = 145
Cell3 R_a 5 = 152
Cell3 R_a 6 = 176
Cell3 R_a 7 = 204
Cell3 R_a 8 = 222
Cell3 R_a 9 = 254
Cell3 R_a 10 = 315
Cell3 R_a 11 = 437
Cell3 R_a 12 = 651
Cell3 R_a 13 = 1001
Cell3 R_a 14 = 1458
[R_a0x(Ra Table)]
xCell0 R_a flag = 0000
xCell0 R_a 0 = 166
xCell0 R_a 1 = 172
xCell0 R_a 2 = 178
xCell0 R_a 3 = 217
xCell0 R_a 4 = 186
xCell0 R_a 5 = 191
xCell0 R_a 6 = 227
xCell0 R_a 7 = 169
xCell0 R_a 8 = 166
xCell0 R_a 9 = 184
xCell0 R_a 10 = 230
xCell0 R_a 11 = 264
xCell0 R_a 12 = 60
xCell0 R_a 13 = 91
xCell0 R_a 14 = 136
[R_a1x(Ra Table)]
xCell1 R_a flag = 0000
xCell1 R_a 0 = 161
xCell1 R_a 1 = 167
xCell1 R_a 2 = 173
xCell1 R_a 3 = 210
xCell1 R_a 4 = 175
xCell1 R_a 5 = 181
xCell1 R_a 6 = 218
xCell1 R_a 7 = 166
xCell1 R_a 8 = 162
xCell1 R_a 9 = 180
xCell1 R_a 10 = 224
xCell1 R_a 11 = 238
xCell1 R_a 12 = 60
xCell1 R_a 13 = 92
xCell1 R_a 14 = 135
[R_a2x(Ra Table)]
xCell2 R_a flag = 0000
xCell2 R_a 0 = 172
xCell2 R_a 1 = 178
xCell2 R_a 2 = 183
xCell2 R_a 3 = 222
xCell2 R_a 4 = 189
xCell2 R_a 5 = 195
xCell2 R_a 6 = 227
xCell2 R_a 7 = 171
xCell2 R_a 8 = 168
xCell2 R_a 9 = 187
xCell2 R_a 10 = 233
xCell2 R_a 11 = 264
xCell2 R_a 12 = 70
xCell2 R_a 13 = 108
xCell2 R_a 14 = 161
[R_a3x(Ra Table)]
xCell3 R_a flag = FFFF
xCell3 R_a 0 = 160
xCell3 R_a 1 = 166
xCell3 R_a 2 = 153
xCell3 R_a 3 = 151
xCell3 R_a 4 = 145
xCell3 R_a 5 = 152
xCell3 R_a 6 = 176
xCell3 R_a 7 = 204
xCell3 R_a 8 = 222
xCell3 R_a 9 = 254
xCell3 R_a 10 = 315
xCell3 R_a 11 = 437
xCell3 R_a 12 = 651
xCell3 R_a 13 = 1001
xCell3 R_a 14 = 1458

[Device Status Data(PF Status)]
PF Flags 1 = 0000
PF Flags 2 = 0000

[Data(Calibration)]
CC Gain = 10.098
CC Delta = 10.098
Ref Voltage = 1225.35
AFE Pack Gain = 910.58
CC Offset = -0.254
Board Offset = -36.4
Int Temp Offset = 0.0
Ext1 Temp Offset = 0.0
Ext2 Temp Offset = 0.0
[Config(Calibration)]
CC Current = 3000
Voltage Signal = 16800
Temp Signal = 298.0
CC Offset Time = 250
ADC Offset Time = 32
CC Gain Time = 250
Voltage Time = 1984
Temperature Time = 32
Cal Mode Timeout = 300
[Temp Model(Calibration)]
Ext Coef 1 = -28285
Ext Coef 2 = 20848
Ext Coef 3 = -7537
Ext Coef 4 = 401.2
Ext Min AD = 0
Ext Max Temp = 401.2
Int Coef 1 = 0
Int Coef 2 = 0
Int Coef 3 = -11136
Int Coef 4 = 575.4
Int Min AD = 0
Int Max Temp = 575.4
[Current(Calibration)]
Filter = 239
Deadband = 3
CC Deadband = 10.0

  • SImon,

    1) An Update Status = 0E is a valid value for the bq20z75 v181 FW.. It indicates that a field Qmax update has occurred. I am not sure about your comment that the bqEVSW does not accept the 0E. it works on my system. You should change this value to a 02 before creating the golden image anyway.

    The golden image processes that you noted should all yield good results when generating the golden file. As a general rule, you should use the document with the most resent update if you find discrepancies.

    2a) The senc file that you noted is the correct version. 

    2b) The comment is from an older applications note. The newer devices only have one version of the senc file that covers all ChemID's.

    3) You need to issue a Reset command (41) to initialize the data in the RAM. The Reset command (41) is fairly well documented in the TRM.

    3) After you have reloaded the senc file, gg file, WRITE ALL, and RESET, then you are ready to create the .dfi file. It is a good practice to make sure that your Chemistry file is still selected, so check that in bqEASY. You can then go to the Setup screen on bqEASY and save the dfi or ROM file to use to load into other packs.

    Regards

    Tom

  • Hi Tom,

    Thanks for your reply, as you might gather I am finding this process quite frustrating, and I had been at it for 18 hours straight yesterday when I wrote that post so pardon me.

    Nevertheless:

    1. The bqEVSW version I have is bq20z75v1.18, I downloaded it directly from the web site address in the last post about 10 days ago, is it not the correct version??? Anyway when I click on All Done from 5B.Learning Cycle 2, bqEasy responds with a dialog box. I cannot seem to copy the graphics in here, but the text reads, and I quote verbatim  

    "Dataflash.Gas.Gauging.State.UpdateStatus does NOT = 6. Impedance track learning cycle was not completed correctly. Verify procedure and repeat".

    The fact that works for you is nice, but you have a customer in the field, me, for whom it is not working. I am not doing this for fun. We have a customer who is waiting on us to complete the design, and they want to produce up to 10,000 units per month using the TI chip.

    1a Do you have the exact same version of bqEasy?
    1b Is there a special version you have that is not on the web site? 

    I have actually been taking screen snapshots of the entire process with the view to writing a more complete application note on how to do this from scratch as I have done, and submitting it to TI to publish. This I cannot complete because I can not get past the above-mentioned dialog box error.

    2. Thank you for clarifying the senc file. Put yourself in my shoes and ask whether there is any way I could have known this without incremental experience on the product portfolio. 

    3. I challenge what you say there about the reset command being fairly well documented in the TRM. I did a search in SLUU265A for the BQ20Z75, and it definitely is NOT in that TRM. Given what you said I did a google search for the terms "41 Reset BQ20z" and google found it in SLUU310, the TRM for the BQ20Z60, and it is documented there. Again, in my shoes should I have thought to go back through all the past  BQ20Z reference manuals to find information that has been omitted or deleted from the BQ20Z75 manual? Probably not.

    Thanks for your second point 3, this is the clearest explanation of what to do next, I wish you had that in an app note somewhere. I will go try to complete the process doing what you suggest and let you know how it goes. By the way, did you get to look at the gg file and is it ok?

    Regards

    Simon Buchwald

  • Simon,

    I am sorry about all of the problems that you are having. Let's try this again. I did review your .gg file and your parameters look reasonable.

    1) Your .gg file indicates that you are using the bq20z75-V180. The firmware is actually v181, but the part number was released as v180. I am not familiar with the bqEVSW version bq20z75v1.18 that you listed. Maybe it was a typo. You should be using this one from this website.  http://www.ti.com/product/bq20z75-v180

    The download file is located under Software. (It is the last file.)

    I did not try running the learning cycle with bqEASY, but if you got an Update Status = 0E, then the learning cycle updated Qmax and the Ra-table and it is okay to proceed.

    3) The Reset (0x0041) command is covered on page 50 of the bq20z75 TRM document that you noted and "full reset' is covered several other times. I am not sure what else you are looking for on the reset command.

    I hope that this helps.

    Regards

    Tom

     

     

  • Hi Tom,

    Thanks for working back on this and reviewing the gg file, I see its 7:55pm your time. I have a customer demo next Wednesday, and after 2 weeks on this, still no golden file.

    So just to clarify versions:

    1. The senc file I used is the following: bq20z75_0181_bld_0003.senc

    2. The bqEasy software is in a zip file, sluc305.zip, directly from that link you showed, I down loaded it on 21 August 2012. Inside is the bqEVSWSetup00.09.79_bq20z75v1.81.exe install file, which at the time I ran and installed BqEasy. (As an aside, I had some install issues with it on another machine running XP SP3, where it would not recognize the device driver for the EV2300 but it runs on this one. Both machines have XPSP3 and are Dell Dimensions). What I wrote was definitely NOT a typo, so you may choose to familiarise yourself with what is inside sluc305.zip, because its what TI provides to generate the golden file for the BQ20z75 V1.80/V1.81.

    So I have reviewed the golden file instructions once again, and explored BQEASY some more to see how the golden dfi file can be written out. I can NOT see any option other than "5C. Update Golden Pack". At this stage I am really stuck, as I cannot get past the error I noted in my previous post where bqEVSW 00.09.79_bq20z75v1.81will not recognize the 0E status.

    My point about the Reset command was to re-inforce that the documentation is really woeful for this product range given it is so complex, and that as a customer I am not in a position to second guess where all the relevant information is given it is so disparate on the TI website, various forum posts.

    Can you find out what I should do please?

    Is it possible to escalate this issue to someone in the software/design team? Where are they all?

    Regards

    Simon Buchwald

  • Tom,

    Further to the last post, I thought to attach the screen shot log of the process for you to see. From page 35 onwards shows the 0E status and error screens.

    Can you find somebody at TI help me please?

    Regards

    Simon Buchwald

    GGEV Working Screens Calibration Dev Board 120910.docx
  • Simon

    You are making this more difficult that it needs to be. Since your Update Status = 0E and bqEASY is not accepting it. Please try these steps.

    1) Go to the Data Flash screen. Press "Read All". Then File >> Export and save the .gg file to the desktop.

    2) Edit the ,gg file with Notepad. Change the Update Status from 0E to 02. Change the Cycle Count to 0. Save the file.

    3) Go to the Pro Screen. Use the Write SMB Word section. Set SMB Command to 00. Word = 0f00. Press the Write button to put the device in ROM mode.

    4) Use the Srec programming section and find your senc file. Press the Program button and load the firmware.

    5) Use the Send SMB Command and set the SMB Command to 08. Press Send to take the device out of ROM mode.

    6) Go to the Data Flash screen. File >> Import the .gg file that you modified. Press the Write All button.

    7) Go to the SBS screen. Enter a 41 in the Manufacturer Access field and press Enter on the computer.

    8) Go to the bqEASY screen. Go to the Chemistry section and make sure that the proper Chemistry is selected.

    9) Go back the Setup section. There should be a Read dfi button. Press this button and save the dfi file somewhere. You can do this with the Read ROM button, if you want to save a ROM file. These files are your Golden files.

    10) If you want to load a Golden File into a device, then use the bqEASY Setup screen. Select the radio button that you will use a dfi file. (I think that it is the middle one.) Find your Golden file. Press the button that loads the dfi file into the device.

    11) Go to the SBS screen. enter a 41 in the Manufacturer Access field and press Enter on the computer to initialize the RAM. Enter a 21 into the Manufacturer Access field and press Enter on the computer to start Impedance tracking.Check to see if the VOK and QEN flags turn red under the Operation Status section.

    12) Go to the Data Flash screen. Press the Read All button. Select the Gas Gauging tab and check to see if the Update Status = 06. The pack is running now.

    I am listing these steps from memory, so let me know if something does not work and I will correct it.

    Good luck.

    Tom

  • Thank you Tom,

    The GG file I sent in a previous post include was at step 2.

    I will go try the rest of your steps and let you know how it goes.

    Again I wish this was documented so clearly in an app note somewhere, I am glad you were able to extract it from your memory to tell me.

    Regards

    Simon Buchwald

  • Hi Tom,

    I managed to follow your steps and save the golden dfi file, and also program up a board and initialise it. One final small problem with the prototype PCB, the charge FET is not actually turning on but its because of a bad solder joint to the gate. Tomorrow I will redo the programming of the golden file in a fresh pre-production board and see if it all works.

    A couple of odd things happened during the .senc file that I have not noticed before:

    1. Several times the following dialog box text appeared, Error Programming Flash! Error code = 772, No Acknowledge: VB_T2H_NACK. I have had problems with the I2C lines to the BQ on the target board in the past so I shortened the cable to about 10cm. This seemed to make it more reliable. Any comments or experience here?

    2. After loading the .senc file, BQEASY says: To avoid Damage to the Gas Guage, remember to restart the EVSW before updating the Data Flash! Can you tell me the significance of this please? Can I just ignore it or not?

    Regards

    Simon Buchwald

  • Simon

    You may see NACKs, if the setup is not  clean. That is probably the case since it improved with shorter cables. You can also see them when going in and out of ROM mode.

    The program recommends closing and reopening  bqEVSW after loading the senc file to make sure that they are synced up. You may have loaded a newer version of FW and addressing would be different. That was not the case with your pack, so I did not have you go through that step.

    Tom

  • Hi Tom,

    I ran through the steps, and fixed up the MOSFET issue, issued the 21 and watched what happened. The gas gauge and time to empty/full seems not to be working correctly. Attached is a file with screen shots of progress with explanatory text. I don't understand what's happening, can you help please?

    Cheers

    Simon

    GGEV Working Screens Post Golden File 120913.docx
  • Simon,

    Your charging current is displayed as a negative current, where it should be positive. You must not have not attached the proper sign to the current when calibrating the pack. You will need to recalibrate the current. Gas gauging worked when you first started, because the calculation was based on an OCV simulation of the cell voltages. It quit working, because the current measurements confused the gas gauge. It started again after the reset based on another OCV simulation.

    Tom

  • Hi Tom,

    Finally it seems that I have the BQ20Z75 fuel gauging. It turns out that on the production prototypes the  P and N to the current sense resistor was back to front, so the chip was reading negative current for positive. The circuit reviewer accidentally flipped the sense during the design review and noone picked it up.   The circuit reviewer accidentally flipped the sense during the design review and noone picked it up. Also had some COV and  CUV faults but tracked that down to hairline shorts between cell pins on the BQ20Z75.

    One last question, relating to the INIT flag. The documentation says it is cleared when the part is operating, but it always seems to stay set, even though I get an 06 status in the GG dataflash screen, and the QEN comes up and it seems to be gas gauging.  I attached the relevant SBS screenshot from when it first came up.

    Hope you can help again.

    Regards

    Simon Buchwald

    GGEV Working Screens Calibration Dev Board 120924.docx
  • Simon,

    in the case of the INIT flag, a red flag means that the part is initialized and ready to run. It should only stay green for about 1 second.

    regards

    Tom

  • Hi Tom,

     Thanks for clarifying that. It’s just the documentation says the flag is cleared on successful init, and I see the flag being set.

    If the flag is set on successful initializing as you say, then all is good, except for the documentation not matching the device again.

    As I mentioned I have almost enough screenshots and text to submit a how to to guide for the BQ20Z75 for newbies with setup diagrams and photos, are you or TI interested in publishing it?

    Regards

    Simon

  • Simon,

    The TRM does say that the INIT flag is cleared after Initialization, but it also says that 1= Initialization to adhere to the SBS Specification. A "1" is a red flag in the bqEVSW world, so a green flag is a not-cleared state in this case. 

    Tom

  • Tom,

    To me generally speaking if a bit is set, it is a one; and BQEasy shows red. If a bit is clear, it is set to zero and it shows green. To me cleared means 0, or green, and set means 1 or red.

    If there is another meaning just for this case so be it, but you answered my question that set means cleared in this case. I get what you are saying, but it really sounds like double speak to me.

    To whom should I email my BQ20z75 draft app note if you are not interested?

    Thanks

    Simon