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.

Writing to the BQ34Z110EVM

Hi,
I am new to TI products usage. And in our company it is the first time that we are using the Gas Gauge or for that matter the Battery Evaluation platform.
We are also new to your evaluation software and the EV2300 setup. As a result there are a lot of gaps in understanding the Gas gauging application.

Setup Information:

  • A lead acid, 12V, 40Ah battery is connected to the BQ34Z110EVM as per the schematic.
  • The EVM is connected to the PC via the EV2300, HPA002. The mode of communication between EV2300 and the BQ34Z110EVM is I2C.
  • Connections are as per the details in the schematic of BQ34Z110EVM as in 'sluua15.pdf'.
  • The correct BQ Gas Gauging Evaluation Software and required drivers are installed and communication is established.
  • The system on which the system is connected and installed is a WindowsXP OS based Desktop.
  • Communication is established between the BQ34Z110EVM and the BQ Gas Gauging Evaluation Software through the EV2300.

Issue: Teething problems in usage of the user interface. - I know that the solution to the issue might be very trivial, but I am not aware of the solution.

  • I am able to communicate with the BQ34Z110EVM using the evaluation software. We can read the battery voltage and current values. Can log the charging and discharging data.
  • Cannot do Voltage Calibration and Pack Current Calibration, but Can perform the Current and CC offset calibration.
  • Cannot change parameters in the Data Flash screen. The content is shown in RED and once the 'Write All' or 'Write All and Preserve' command is issued, reverts back to old default settings with normal text background.
  • Don't know how to use your I2C pro screen to communicate with the device to positively write data. Can read the data bytes from the chip using the read command on the page. Have been able to write only one byte of data to the device, only the command byte. Verified on Oscilloscope. May be as the device is in 'Sealed' mode, it does not respond.
  •  Unsure of the status of the chip, 'Sealed/unsealed'. Status of SS and FAS is green '0', But still cannot change register data. I think the chip is in 'Sealed' mode. But am unable to change to 'Unsealed'. I dont know where to enter the data in the I2C pro screen.
  • I have downloaded the .gg file of the Data flash, I uploaded the same on the chip with modification in 
    • Cell Taper Voltage = 110, instead of 100 mAh
    • CC Threshold = 3600, instead of 900 mAh
  • After loading the edited .gg file found the update on the screen, but once I issue a 'Write All' or 'Write All and Preserve' the data flash content is reverted back to default values.
  • I tried to load one of the 'senc' files using the I2C pro screen but got the NAck error 722 in return, maybe since I couldn't or didn't change to ROM mode. But other read communication is happening. 
  • Also I am not able to understand the legends in the Graph sheet. What is meant by some legends. eg., Elapsed (time elapsed during log), State of Charge (Battery Charge Capacity). But what is Control and Control Status.

Please guide me through the process of 'unsealing' the chip, if sealed or as necessary otherwise.

Please find attached some screenshots, the '.gg' file, etc... 

Please let me know if you require any further details.

Data recorded while charging the Pb-Acid battery - 5633.Data Log 2014_3_20 12_27.log

The '.gg' file -

[Header]
bq EVSW Version = 0.9.90	
DeviceName = bq34z110 v0.04
Time = 3/20/2014 6:33:48 PM	


[Safety(Configuration)]
OT Chg = 55.0
OT Chg Time = 2
OT Chg Recovery = 50.0
OT Dsg = 60.0
OT Dsg Time = 2
OT Dsg Recovery = 55.0
[Charge Inhibit Cfg(Configuration)]
Chg Inhibit Temp Low = 0.0
Chg Inhibit Temp High = 45.0
Temp Hys = 5.0
[Charge(Configuration)]
Suspend Low Temp = -5.0
Suspend High Temp = 55.0
Chg Eff = 100
Chg Eff Temp Comp = 25
Chg Eff Drop Off % = 96
Chg Eff Reduction Rate = 10
Maintenance Current = 0
[Charge Termination(Configuration)]
Taper Current = 100
Min Taper Capacity = 25
Cell Taper Voltage = 100
Current Taper Window = 40
TCA Set % = 99
TCA Clear % = 95
FC Set % = 100
FC Clear % = 98
DODatEOC Delta T = 10.0
[Data(Configuration)]
Rem Cap Alarm = 100
Design Cell Voltage = 2000
Initial Standby = -10
Initial MaxLoad = -500
Manuf Date = 01-Jan-1980
Ser. Num. = 0001
Cycle Count = 0
CC Threshold = 900
Design Cell Capacity = 4000
Design Cell Energy = 8000
SOH Load I = -400
TDD SOH Percent = 90
Cell Charge Voltage T1-T2 = 2250
Cell Charge Voltage T2-T3 = 2450
Cell Charge Voltage T3-T4 = 2350
Charge Current T1-T2 = 10
Charge Current T2-T3 = 50
Charge Current T3-T4 = 30
JEITA T1 = 0
JEITA T2 = 10
JEITA T3 = 45
JEITA T4 = 55
ISD Current = 10
ISD I Filter = 127
Min ISD Time = 7
Design Energy Scale = 1
Device Name = b34z110
Manufacturer Name = Txas Inst.
Device Chemistry = PA
[Discharge(Configuration)]
SOC1 Set Threshold = 150
SOC1 Clear Threshold = 175
SOCF Set Threshold = 75
SOCF Clear Threshold = 100
Cell BL Set Volt Threshold = 1800
Cell BL Set Volt Time = 2
Cell BL Clear Volt Threshold = 1850
Cell BH Set Volt Threshold = 2450
Cell BH Volt Time = 2
Cell BH Clear Volt Threshold = 2400
[Manufacturer Data(Configuration)]
Pack Lot Code = 0000
PCB Lot Code = 0000
Firmware Version = 0000
Hardware Revision = 0000
Cell Revision = 0000
DF Config Version = 0000
[Integrity Data(Configuration)]
Static Chem DF Checksum = 011D
[Lifetime Data(Configuration)]
Lifetime Max Temp = 30.0
Lifetime Min Temp = 20.0
Lifetime Max Chg Current = 0
Lifetime Max Dsg Current = 0
Lifetime Max Pack Voltage = 1500
Lifetime Min Pack Voltage = 32500
[Lifetime Temp Samples(Configuration)]
LT Flash Cnt = 0
[Registers(Configuration)]
Pack Configuration = 0961
Pack Configuration B = FF
Pack Configuration C = 30
LED_Comm Configuration = 00
Alert Configuration = 0000
Number of series cell = 6
[Lifetime Resolution(Configuration)]
LT Temp Res = 1.0
LT Cur Res = 100
LT V Res = 25
LT Update Time = 60
[LED Display(Configuration)]
LED Hold Time = 4
[Power(Configuration)]
Flash Update OK Cell Volt = 1000
Sleep Current = 10
FS Wait = 0

[Manufacturer Info(System Data)]
Block A 0 = 00
Block A 1 = 00
Block A 2 = 00
Block A 3 = 00
Block A 4 = 00
Block A 5 = 00
Block A 6 = 00
Block A 7 = 00
Block A 8 = 00
Block A 9 = 00
Block A 10 = 00
Block A 11 = 00
Block A 12 = 00
Block A 13 = 00
Block A 14 = 00
Block A 15 = 00
Block A 16 = 00
Block A 17 = 00
Block A 18 = 00
Block A 19 = 00
Block A 20 = 00
Block A 21 = 00
Block A 22 = 00
Block A 23 = 00
Block A 24 = 00
Block A 25 = 00
Block A 26 = 00
Block A 27 = 00
Block A 28 = 00
Block A 29 = 00
Block A 30 = 00
Block A 31 = 00

[IT Cfg(Gas Gauging)]
Load Select = 1
Load Mode = 0
Max Res Factor = 15
Min Res Factor = 3
Ra Filter = 500
Fast Qmax Start DOD % = 92
Fast Qmax End DOD % = 96
Fast Qmax Start Volt Delta = 100
Cell Terminate Voltage = 1800
Cell Term V Delta = 25
ResRelax Time = 200
User Rate-mA = 0
User Rate-Pwr = 0
Reserve Cap-mAh = 0
Reserve Energy = 0
Max Scale Back Grid = 4
Cell Max DeltaV = 100
Cell Min DeltaV = 0
Max Sim Rate = 2
Min Sim Rate = 20
Ra Max Delta = 44
Qmax Max Delta % = 5
Cell DeltaV Max Delta = 10
Fast Scale Start SOC = 10
Charge Hys V Shift = 40
[Current Thresholds(Gas Gauging)]
Dsg Current Threshold = 60
Chg Current Threshold = 75
Quit Current = 40
Dsg Relax Time = 60
Chg Relax Time = 60
Quit Relax Time = 1
Cell Max IR Correct = 400
[State(Gas Gauging)]
Qmax Cell 0 = 4000
Cycle Count = 0
Update Status = 00
Cell V at Chg Term = 2400
Avg I Last Run = -299
Avg P Last Run = -1131
Cell Delta Voltage = 2
T Rise = 20
T Time Constant = 1000

[OCVa Table(OCV Table)]
Chem ID = 0800

[R_a0(Ra Table)]
Cell0 R_a flag = FF55
Cell0 R_a 0 = 83
Cell0 R_a 1 = 66
Cell0 R_a 2 = 56
Cell0 R_a 3 = 51
Cell0 R_a 4 = 47
Cell0 R_a 5 = 47
Cell0 R_a 6 = 49
Cell0 R_a 7 = 56
Cell0 R_a 8 = 59
Cell0 R_a 9 = 64
Cell0 R_a 10 = 72
Cell0 R_a 11 = 83
Cell0 R_a 12 = 150
Cell0 R_a 13 = 267
Cell0 R_a 14 = 275
[R_a0x(Ra Table)]
xCell0 R_a flag = FFFF
xCell0 R_a 0 = 83
xCell0 R_a 1 = 66
xCell0 R_a 2 = 56
xCell0 R_a 3 = 51
xCell0 R_a 4 = 47
xCell0 R_a 5 = 47
xCell0 R_a 6 = 49
xCell0 R_a 7 = 56
xCell0 R_a 8 = 59
xCell0 R_a 9 = 64
xCell0 R_a 10 = 72
xCell0 R_a 11 = 83
xCell0 R_a 12 = 150
xCell0 R_a 13 = 267
xCell0 R_a 14 = 275

[Data(Calibration)]
CC Gain = 10.124
CC Delta = 10.147
CC Offset = -0.78
Board Offset = 0
Int Temp Offset = 0.0
Ext Temp Offset = 0.1
Voltage Divider = 55249
[Current(Calibration)]
Deadband = 5

[Codes(Security)]
Sealed to Unsealed = 36720414
Unsealed to Full = FFFFFFFF
Authen Key3 = 01234567
Authen Key2 = 89ABCDEF
Authen Key1 = FEDCBA98
Authen Key0 = 76543210

The edited '.gg' file that I tried saving -

[Header]
bq EVSW Version = 0.9.90	
DeviceName = bq34z110 v0.04
Time = 3/20/2014 6:33:48 PM	


[Safety(Configuration)]
OT Chg = 55.0
OT Chg Time = 2
OT Chg Recovery = 50.0
OT Dsg = 60.0
OT Dsg Time = 2
OT Dsg Recovery = 55.0
[Charge Inhibit Cfg(Configuration)]
Chg Inhibit Temp Low = 0.0
Chg Inhibit Temp High = 45.0
Temp Hys = 5.0
[Charge(Configuration)]
Suspend Low Temp = -5.0
Suspend High Temp = 55.0
Chg Eff = 100
Chg Eff Temp Comp = 25
Chg Eff Drop Off % = 96
Chg Eff Reduction Rate = 10
Maintenance Current = 0
[Charge Termination(Configuration)]
Taper Current = 100
Min Taper Capacity = 25
Cell Taper Voltage = 110
Current Taper Window = 40
TCA Set % = 99
TCA Clear % = 95
FC Set % = 100
FC Clear % = 98
DODatEOC Delta T = 10.0
[Data(Configuration)]
Rem Cap Alarm = 100
Design Cell Voltage = 2000
Initial Standby = -10
Initial MaxLoad = -500
Manuf Date = 01-Jan-1980
Ser. Num. = 0001
Cycle Count = 0
CC Threshold = 3600
Design Cell Capacity = 4000
Design Cell Energy = 8000
SOH Load I = -400
TDD SOH Percent = 90
Cell Charge Voltage T1-T2 = 2250
Cell Charge Voltage T2-T3 = 2450
Cell Charge Voltage T3-T4 = 2350
Charge Current T1-T2 = 10
Charge Current T2-T3 = 50
Charge Current T3-T4 = 30
JEITA T1 = 0
JEITA T2 = 10
JEITA T3 = 45
JEITA T4 = 55
ISD Current = 10
ISD I Filter = 127
Min ISD Time = 7
Design Energy Scale = 1
Device Name = b34z110
Manufacturer Name = Txas Inst.
Device Chemistry = PA
[Discharge(Configuration)]
SOC1 Set Threshold = 150
SOC1 Clear Threshold = 175
SOCF Set Threshold = 75
SOCF Clear Threshold = 100
Cell BL Set Volt Threshold = 1800
Cell BL Set Volt Time = 2
Cell BL Clear Volt Threshold = 1850
Cell BH Set Volt Threshold = 2450
Cell BH Volt Time = 2
Cell BH Clear Volt Threshold = 2400
[Manufacturer Data(Configuration)]
Pack Lot Code = 0000
PCB Lot Code = 0000
Firmware Version = 0000
Hardware Revision = 0000
Cell Revision = 0000
DF Config Version = 0000
[Integrity Data(Configuration)]
Static Chem DF Checksum = 011D
[Lifetime Data(Configuration)]
Lifetime Max Temp = 30.0
Lifetime Min Temp = 20.0
Lifetime Max Chg Current = 0
Lifetime Max Dsg Current = 0
Lifetime Max Pack Voltage = 1500
Lifetime Min Pack Voltage = 32500
[Lifetime Temp Samples(Configuration)]
LT Flash Cnt = 0
[Registers(Configuration)]
Pack Configuration = 0961
Pack Configuration B = FF
Pack Configuration C = 30
LED_Comm Configuration = 00
Alert Configuration = 0000
Number of series cell = 6
[Lifetime Resolution(Configuration)]
LT Temp Res = 1.0
LT Cur Res = 100
LT V Res = 25
LT Update Time = 60
[LED Display(Configuration)]
LED Hold Time = 4
[Power(Configuration)]
Flash Update OK Cell Volt = 1000
Sleep Current = 10
FS Wait = 0

[Manufacturer Info(System Data)]
Block A 0 = 00
Block A 1 = 00
Block A 2 = 00
Block A 3 = 00
Block A 4 = 00
Block A 5 = 00
Block A 6 = 00
Block A 7 = 00
Block A 8 = 00
Block A 9 = 00
Block A 10 = 00
Block A 11 = 00
Block A 12 = 00
Block A 13 = 00
Block A 14 = 00
Block A 15 = 00
Block A 16 = 00
Block A 17 = 00
Block A 18 = 00
Block A 19 = 00
Block A 20 = 00
Block A 21 = 00
Block A 22 = 00
Block A 23 = 00
Block A 24 = 00
Block A 25 = 00
Block A 26 = 00
Block A 27 = 00
Block A 28 = 00
Block A 29 = 00
Block A 30 = 00
Block A 31 = 00

[IT Cfg(Gas Gauging)]
Load Select = 1
Load Mode = 0
Max Res Factor = 15
Min Res Factor = 3
Ra Filter = 500
Fast Qmax Start DOD % = 92
Fast Qmax End DOD % = 96
Fast Qmax Start Volt Delta = 100
Cell Terminate Voltage = 1800
Cell Term V Delta = 25
ResRelax Time = 200
User Rate-mA = 0
User Rate-Pwr = 0
Reserve Cap-mAh = 0
Reserve Energy = 0
Max Scale Back Grid = 4
Cell Max DeltaV = 100
Cell Min DeltaV = 0
Max Sim Rate = 2
Min Sim Rate = 20
Ra Max Delta = 44
Qmax Max Delta % = 5
Cell DeltaV Max Delta = 10
Fast Scale Start SOC = 10
Charge Hys V Shift = 40
[Current Thresholds(Gas Gauging)]
Dsg Current Threshold = 60
Chg Current Threshold = 75
Quit Current = 40
Dsg Relax Time = 60
Chg Relax Time = 60
Quit Relax Time = 1
Cell Max IR Correct = 400
[State(Gas Gauging)]
Qmax Cell 0 = 4000
Cycle Count = 0
Update Status = 00
Cell V at Chg Term = 2400
Avg I Last Run = -299
Avg P Last Run = -1131
Cell Delta Voltage = 2
T Rise = 20
T Time Constant = 1000

[OCVa Table(OCV Table)]
Chem ID = 0800

[R_a0(Ra Table)]
Cell0 R_a flag = FF55
Cell0 R_a 0 = 83
Cell0 R_a 1 = 66
Cell0 R_a 2 = 56
Cell0 R_a 3 = 51
Cell0 R_a 4 = 47
Cell0 R_a 5 = 47
Cell0 R_a 6 = 49
Cell0 R_a 7 = 56
Cell0 R_a 8 = 59
Cell0 R_a 9 = 64
Cell0 R_a 10 = 72
Cell0 R_a 11 = 83
Cell0 R_a 12 = 150
Cell0 R_a 13 = 267
Cell0 R_a 14 = 275
[R_a0x(Ra Table)]
xCell0 R_a flag = FFFF
xCell0 R_a 0 = 83
xCell0 R_a 1 = 66
xCell0 R_a 2 = 56
xCell0 R_a 3 = 51
xCell0 R_a 4 = 47
xCell0 R_a 5 = 47
xCell0 R_a 6 = 49
xCell0 R_a 7 = 56
xCell0 R_a 8 = 59
xCell0 R_a 9 = 64
xCell0 R_a 10 = 72
xCell0 R_a 11 = 83
xCell0 R_a 12 = 150
xCell0 R_a 13 = 267
xCell0 R_a 14 = 275

[Data(Calibration)]
CC Gain = 10.124
CC Delta = 10.147
CC Offset = -0.78
Board Offset = 0
Int Temp Offset = 0.0
Ext Temp Offset = 0.1
Voltage Divider = 55249
[Current(Calibration)]
Deadband = 5

[Codes(Security)]
Sealed to Unsealed = 36720414
Unsealed to Full = FFFFFFFF
Authen Key3 = 01234567
Authen Key2 = 89ABCDEF
Authen Key1 = FEDCBA98
Authen Key0 = 76543210

The DataRam Screen shot - SS and FAS flags appear green '0'

Error while trying to do the Voltage Calibration

Error while attempting to write LED configuration register, same error while updating other fields too

The legends like 'Control' and 'Control Status', what do they mean?

with regards,

Vishal Vijay Singh

+91 99401 31329