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.

bq34z100EVM: Error setting the CHEMID

Part Number: BQ34Z100EVM
Other Parts Discussed in Thread: BQSTUDIO, , BQ34Z100

I am using a EV2300 board to program a bq34z100EVM board. I open up bqstudio and it auto-detects my device and starts up fine. Then information on the right hand side is not grayed out and I am able to communicate with the device using the commands on the right hand side. Then I go to set the ChemID and I keep getting "Error code = 3" 90% of the time and "Error code: 1470" 10% of the time. I have attached screen shots of the error messages. How can I set the ChemID?!?!?

  • What chem id are you trying to program? if this occurs with all chem ids, try installing a different version of bqstudio from what you currently have,
    thanks
    Onyx
  • I was using version 1.3.54.1 originally and trying to program chemID 461. I tried several other chemID's and ll returned the above errors. 

    Now I've downloaded version 1.3.76 but I still get the above errors for chemIID 461 and I tried a dozen others with no luck. 

    Those are the only two versions I see on that download page. Is there somewhere I can find older versions of the software to try?

  • can you send a screen shot of your entire register/bqstudio window?
    thanks
    Onyx
  • your device is sealed. See the padlock sign next to the IC which indicates that. Also the FAS and SS flag being set indicates that as well. when the device is sealed you cannot program a chem id. Pls click on the unseal button and full access button on the command window on the far right screen of bqstudio.
    thanks
    Onyx
  • I did try that before, and I just now tried that again with no luck, but after unsealing with full access the FAS and SS registers are still set. What are those registers and do I need to unset them to program the ChemID?

  • your voltage is too low. it should above the flash update voltage to be able to unseal the device. if your configuration is for 1s, voltage should be above 3V
    thanks
    Onyx
  • I'm connected to a fully charged 24v battery. I'm not sure why it reads ~600mV.

  • you likely either have not carried out voltage calibration or you didn't configure the number of cells correctly. Are you doing this on an EVM? Pls see the DS instructions on setting the gauge up for 1s and greater.
    thanks
    Onyx
  • I'm using the EV2300 USB adapter and the bq34z100EVM eval board. I had set the jumpers on J5 to the two >5 positions but I missed the part in the manual on page 7 where it mentions that you need to set the "Number of series cells" value. But now I've set that to be 8 and I issued the reset command. Then I went to calibrate the voltage so I measure my pack voltage with a DMM to be 26500mV. So I entered that value in and checked the calibrate voltage checkbox and then hit calibrate gas gauge button and it gave the error "no acknowledge from device". I noticed that it was sealed so I issued the "UNSEAL_FULL_ACCESS" command and then retried and I got the error "Calibration - Cell Voltage correction is beyond allowed range". I went back to the data memory tab and made sure my number of series cells value is still 8. What do I do now?
  • Hi Nicholas,

    Did you set the voltsel bit? Pls carefully review the EVM user guide on setting the number of cells and calibration.
    thanks
    Onyx
  • I have reviewed it carefully and it only mentions the voltsel bit under the section describing what to do if the stack voltage is <= 5v. My battery pack voltage is 24v so I didn't do anything with the voltsel bit.
  • Also I unplugged the battery pack and replugged it in and the "Number of series cells" was back to being 1. So my issue is currently not knowing how to set that value, because the instructions in the manual didn't work and I have tried a whole bunch of combinations of sealing and unsealing and reseting nothing has worked so far.
  • Hi Nicholas,
    The voltsel is for voltages > than 5 V. That is a typo in the user guide and sorry for the misdirection of the user guide. You have to set the voltsel bit to be able to set the number of cells. i will contact the team responsible to have that portion of the user guide corrected.

    thanks
    Onyx
  • Hi Onyx,

    Setting the Voltsel bit allowed me to set the number of series cells and to calibrate the voltage, but I still get the same error when I try to set the ChemID to 461.

  • 56280.EV23000_876FW Updater.zip

    Hi Nicholas,

    Thanks for sharing your screen shot. It shows that you are using v3.1c of the ev2300. Can you update it using the attached file and let me know if that resolves the issue. Note: you will need two ev2300 to update the firmware on the ev2300.

    thanks

    Onyx

  • Also, i was able to program chem id 461 on my bq34z100 which indicates that the chem id is not the problem. The likely issue is the firmware on the ev2300.

    thanks
    Onyx
  • I tried a few more times and eventually it took , so now its calibrated and the chemID is set to 461. However its still reporting 0% state of charge (I would guess the battery is about 80% charged right now, definitely not 0%). My GPC_report says that max deviation is 7.1% which is above the recommended level, and that I should send my battery to Dallas to get profiled. I would have thought that it would be better than what I'm seeing, which makes me believe I still have another issue, but I'm willing to send my battery in. What do you think Onyx?

    Chemistry ID selection tool, rev=2.25		
    		
    Configuration used in present fit:		
    ProcessingType=2		
    NumCellSeries=8		
    ElapsedTimeColumn=0		
    VoltageColumn=1		
    CurrentColumn=2		
    TemperatureColumn=3		
    		
    Best chemical ID : 461	Best chemical ID max. deviation, % : 7.1	
    		
    		
    		
    Summary of all IDs with max. DOD deviation below 3%		
    		
    Chem ID	max DOD error, %	Max R deviation, ratio
    0	0	0
    		
    Warning: Deviation is above recommended level. New chem ID needs to be released for this cell. Please contact your TI representative to send the cell to Dallas for characterization		
    		
    		
    Selection of best generic ID for ROM based devices like bq274xx		
    		
    		
    Device / Family #1		
    Generic Chem ID	Device/ Voltage/ Chemistry	max DOD error, %
    354	bq27411-G1C: 4.35V LiCoO2	41.07
    3142	bq27421-G1D: 4.4V LiCoO2	45.35
    128	bq27421-G1A: 4.2V LiCoO2	4883.47
    312	bq27421-G1B: 4.3V LiCoO2	24422.83
    Best generic ID 354		
    Warning: Generic ID Deviation is so high that it is most likely due to anomaly in the data. Please check that data files have recomended format, units and test schedule		
    		
    		
    Device / Family #2		
    Generic Chem ID	Device/ Voltage/ Chemistry	max DOD error, %
    1202	bq27621: (default) 4.2V LiCoO2	41.05
    354	bq27621:  (ALT_CHEM2) 4.35V LiCoO2	41.07
    1210	bq27621:  (ALT_CHEM1) 4.3V LiCoO2	44.1
    Best generic ID 1202		
    Warning: Generic ID Deviation is so high that it is most likely due to anomaly in the data. Please check that data files have recomended format, units and test schedule		
    		
    		
    Device / Family #3		
    Generic Chem ID	Device/ Voltage/ Chemistry	max DOD error, %
    3230	bq27426: (default) 4.35V LiCoO2	38.69
    1202	bq27426: (ALT_CHEM1) 4.2V LiCoO2	41.05
    3142	bq27426: (ALT-CHEM2) 4.4V LiCoO2	45.35
    Best generic ID 3230		
    Warning: Generic ID Deviation is so high that it is most likely due to anomaly in the data. Please check that data files have recomended format, units and test schedule		
    		
    		
    

  • Nevermind, I cycled power and it started reading 61% state or charge. Now I'm doing a discharge test at 2A, my battery is 10Ah so I would expect the SOC to drop 1% every ~3 minutes, but its dropping 1% every ~13s, much faster than expected. I'm wondering if its because chemistry 461 is for a 5Ah battery and my battery is 10 Ah. Do you think thats the case? How do I send my battery in for profiling?
  • Hi Nicolas,

    You will have to run a learning cycle before the gauge can be accurate. app note attached. 

    It is likely that learning might fail given that your cells chem id match  max dod error is greater than 3% but it is worth giving it a shot.

    Sending your cells to TI for a chem id to be generated takes upwards of two months. You will need to contact us offline if you need to send your cells to generate a new chem id.

    thanks

    Onyx

  • Sorry, I've looked through that PDF, bqStudio, the bq34z100EVM manual, and the forums and I can't seem to find a description of how to do a learning cycle. Can you point me in the right direction?
  • section 1.2.5 of the attached document describes the flow for the leaning cycle.

    The summary of the process is below after you have programmed your chem id.


    1. Discharge to empty
    2. Wait until the OCVTAKEN flag turns red. Let is rest for at least 1 hour.
    3. Send IT Enable command to set a DOD0 reference point.
    4. Charge to full at a C/5 rate. (FC bit set.)
    5. Wait until the OCVTAKEN flag turns red. You should see VOK turn green after Qmax has learned. You should see Update Status change to a 05. Let is rest for at least 2 hours.
    6. Discharge at a C/8 rate down to Term Voltage.
    7. Wait until the OCVTAKEN flag turns red. You should see Update Status change to a 06 during the rest period. Let it rest for at least 2 hours.

    thanks
    Onyx