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.

BQ27220: Change device parameters

Part Number: BQ27220
Other Parts Discussed in Thread: BQSTUDIO, , BQ27200

There is a document SLUUBD4 dated April 20176 that demonstrates how to update data memory. I see in steps 5&6 a write to 3E &3F. Where is this documented as to what is going on?

I also found this from the ti forums

Here is a direct example for updating a parameter:

An easy method to update a specific parameter is this sequence:

1. Enter CFG_UPDATE mode
2. Write the address AND the parameter data to 0x3E+ (auto increment)
3. Calculate the check sum: 0xFF - (sum of address and data) OR 0xFF
4. Write the check sum to 0x60 and the total length of (address + parameter data + check sum + length) to 0x61
5. Exit CFG_UPDATE mode

I have a number of parameters I want to update. Do I need to do this process each time for each register I want to modify?

  • hi Larry

    You are not following the right approach to using this gauge.

    You need to configure the gauge first using bqstudio. before using the gauge, you need to determine if this gauge's hardcoded chem id will be a fit. You do that using gpchem.

    after the gauge has been configured and a learning cycle run, you create a golden file which you program on the gauge using your host.

    For programming the golden file, pls reference app note below:

    http://www.ti.com/lit/an/slua801/slua801.pdf

    thanks

    Onyx

  • Onyx,

    I have run the test using the 6 test method as per TI and got my results back. I can flash the device using the tools and have a golden image prepared. I am looking for a way to change the parameters of devices that are already on a PCB such that I can test and confirm the configuration is sound. As such I wanted to change ram parameters before I changed OTP.

    Also, what configuration would be compatible for bq27220 Linux Driver? I see BQ27200 but not the BQ27220

    Larry

  • Hi Larry 

    section 3 of the app note  i sent addresses making changes to parameters via your host.

    There is none specifically for the bq27220, but hopefully you can can reference that of the bq27200 

    thanks

    Onyx