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.

BQ20Z655-R1: BQ20Z655R1-SOFTWARE CONFIG AND LEARNING CYCLE

Part Number: BQ20Z655-R1
Other Parts Discussed in Thread: BQEVSW, BQSTUDIO,

Hi

We have designed a 4S1P Battery pack using BQ20Z655r1.

In this we have updated the Chemistry and connected through EV2300 to PC.

We are Facing the following

1.When Changing the parameters in Fuel Gauge window and gave the WRITE option ,It does not gets changed and it sets the default value.

2.During learning cycle Procedure, need to know how to enable the commands.(RDIS,VOK  and RESET commands).

  • Hi Anandan,

    1. Were there any warnings when you tried the write command? Are you able to read commands? Also, are you using bqEVSW instead of BQStudio? Also, please make sure you inputted a valid value and that your gauge is not sealed.

    2. Please follow this document for BQ20z655 learning cycle. VOK and R_DIS are not commands, they are flags that you read from OperationStatus(). For reset, you can send command 0x0041.

    Best,

    Jessica

  • HI Jessica

    No warnings have been displayed during Write. We are able to read the commands and we are using BQEVSW.

    In the Data flash when we entered the Values in Parameters and when clicking the write all option ,The Values remains same and it does not gets changed.

    Whether we can write the Parameter values only in FAS(Full Access Mode)?.Also we have read the FAS Key and Try to enable the full access option, But we could not enable the FAS flag,

    Kindly suggest a way to get this done.

    The document which you have suggested is correct, Since to perform a learning Cycle  another document has been attached in the IC page.

  • Hello Anandan,

    The gauge must be in unsealed or FAS mode to write data flash. Follow the steps to unseal first. FAS commands should be sent after gauge is in unsealed mode

  • Hi Shrish 

    we have unsealed first and then we have tried for FAS.

    First we have read the Unseal key and then we  sent that command to the Manufacturer Access .

    Then we have read the FAS key and sent that to manufacturer acess.

    But it remains same and value cannot be written in data flash

  • Hello Anandan,

    Can you post the sequence of commands that you sent and details of which window in bqEVSW?

  • Hi

    we are using BQ20Z655-R1. V0_03_BLD0004 

    In the Read Block command  we have given the unseal Key Command  0x60 and then in Write command we have given manufacturer access command  0x00 we have given the command what we have read in little indian style

    Then In read Block we have given the full access command and we have given manufacturer access command  0x00 we have given the command what we read in little indian style

  • Hello Anandan,

    The unseal key is returned on 0x60 only when the gauge is in FAS mode.What you are reading are not the correct keys. You will need to use the keys that you set before you sealed it. If you did not note down the keys that you programmed, the you should try with a fresh IC and with the default keys to understand how it works.

    Also change the MSB/LSB and key order and try. The TRM has info on how the bytes need to be reversed.

  • Hi Shirish,

                   1) As there are 4 Security modes in BQ20Z655 (Full access, Sealed, Unsealed and BootROM) what are the bits/registers in which it will show mode indication? (For example, FAS bit and SS bit in Operation status shows full access security mode and sealed security mode.) What about Unsealed mode? How can I conclude what security mode my device is in.?

                   2) We can read and write full access key in our device if this is the case, Is my device is in Full access mode or any other mode ?But Whenever we write value for any parameters in Dataflash it is not changing even if we change. What does it mean? The procedure we followed in a new PCB is given below.(FYR)

                   3)First, the data is read using the full access key(0x61) (the data we read is FFFF FFFF) and the data is written to Manufacturer access(0X00) as two words. Even we tried changing the parameters in Dataflash before writing anything to Manuacturer access in a new PCB, since TI suggested that the IC will be in Full access mode during shipment.

    Regards,

    Anandan

  • Hello Anandan,

    1)

    FAS — 0 = FULL ACCESS security mode SS — 1 = SEALED security mode

    SS=0 means unsealed

    BootROM is not a normal operating mode

  • For 2) and 3)

    The steps are valid only if device is in full access mode. Can you post a screenshot of bqEVSW FAS and SS bits?

  • Hi Shirish

    Herewith attached the screen shot of BQSW Window of FAS and SS bits.

    We have tried to write the commands and try to give the write command, But the value does not changed.

    Kindly help me to write the files on the concerned value areas and to perform learning cycle.  

  • Thanks. It is in FAS mode, so you should be able to write data flash values. Which parameter are you trying to change?

  • Can you also verify that the battery voltage is above "Flash update OK voltage"?

  • Hi we  are trying to write in Data flash like Cov CUV,Temperature bits,But it cannot be done

    Also the Battery voltage is above flash voltage

  • Hi Shirish

    I am using LG Cells ,For chemistry update it is not available in chem ID,How i Can do the chem ID config for the batteries

  • Did you update and get the latest chemistries for bqEVSW? Check https://www.ti.com/tool/download/GASGAUGECHEM-SW

  • I would try to charge the battery to >50% and then try writing data flash