Quantcast
Channel: Power management
Viewing all articles
Browse latest Browse all 80965

Forum Post: RE: how can I read data from bq34z100 I2C_write,I2C_read ?

$
0
0

Shin,

I looks like you have the pack gauging, but not perfectly. There are some steps required to insure accurate gauging.

1) The device parameters must be setup properly.

2) The proper ChemID for the batteries must be loaded in the device.

3) The device must be calibrated.

4) Impedance Track must be enabled. Enter 21 <enter> in the Control field on the DataRAM screen.

5) You must run a learning cycle on the pack to calibrate Qmax and the Ra-table.

Have you completed all of these steps? You can send me a .gg file and I can check it for potential problems. You can save a .gg file by going to the Data Flash page.

1) Press the Read button to populate the table.

2) Go to File > Export and save the .gg file onto your computer. You can attach this file to this message string.

The process looks correct to unseal the device, but I would not seal it until everything has been setup and is working properly. Unfortunately, you cannot keep it unsealed, if the seal command has already been sent. You will have to reload the Instruction Flash program to disable seal mode. I attached the .senc file to help you do this. To initialize the device back to the brand new state.

1) Download the .senc file.

2) Disable "Keep Scanning" on the DataRAM screen, if it is enabled.

3) Save the gg file, if you have already made changes to the Data Flash screen and you want to import those changes back into the device. (This will not seal the device.)

4) Go to the I2C Pro screen.

5) Use the "Write I2C Data Block" field to put the device into ROM mode. I2C Com and 00 DataBlock 000f.

6) Use the "Programming" field. Search for the .senc file. Press the Program button. A pop-up window should appear with downloading progress. DO NOT STOP THE DOWNLOADING PROCESS ONCE IT HAS STARTED. It may damage the device, if you do stop it in the wrong place.

7) Close the pop-up window after it has completed. Press the Execute button to return the device to normal mode.

The device is now in a new state. You can reload your gg file and ChemID to proceed.

To load the gg file.

1) Go to the Data Flash screen.

2) Go to File > Import. Find your file and load it.

3) Press the Write All button to save the data into the flash.

3) Go to the DataRAM screen.

4) Enter the 41 command in the Control field <enter>  to reset the device and transfer data from flash to RAM.

5) Enter the 21 command in the Control field <enter> to enable Impedance Track.

I hope that this helps.
Tom


Viewing all articles
Browse latest Browse all 80965

Trending Articles