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.

Problems getting BQ34Z950 to write data flash

Other Parts Discussed in Thread: BQ20Z65, BQEVSW

I am trying to evaluate the BQ34Z950. Following suggestions I read on another post I am using the BQ20Z95 EVM I have made the following changes to the board

To bench test, acquire a bq20z65 or bq20z95 EVM and make the following modification:
1) Short D2, the diode between pin16 and TP3.
2) Takes off D3 and Q1 that connect to FUSE pin

I can connect to the board using HDQ or using the SMB connections. 

I have the link to the updated version of the PC software, the data is being read back correctly but I am having problems with writing data.  This is what I get on my screen:

I can't charge or discharge the battery pack as the output FETs appear to be turned off, if I run the calibration tests then they are turned on for the tests, so I have no reason to believe that they are not working, at least the output FET for sure on the current test.  The pack I am using is a 3 cell pack.  I have managed to change the mode of the pack to reflect that there are 3 cells in it:

If I try to change other parameters such as Term Voltage in Gas Guaging or design voltage in SBS Configuration, if I click on 'Write Class', Write SubClass', or 'Write All' it appears to have written correctly with no errors but then resets to the original value when read back again.

I have tried with just running off the cells, just off the power supply without the cells present, and with both on.  I just can't this to enable charging or device operation in a sensible way. 

I have set the bqCHEM to the A123 cells which I am using and have run through the calibrations, but there is still no output from the battery pack.

I'm basically out of ideas, so any pointers would be much appreciated.  You can get me on here or directly by email to mhill at race-technology dot com.

Thanks very much,

Martin

  • Martin,
    You have a PF Fault (VSHUT) present, so this is going to restrict you for writing data and turning the FETs on. Try using the Write 2 word Command button and enter 2673 1712 to clear the PF fault. If it does clear, then go to the SMB Pro screen and export a senc file to send to me. You will use the Write SMB Word section and SMB Command 00, Word 0f00, <Write> to place the device into RO mode. You then use the Flash Memory pull-down menu and Read the data to a file. After this has completed, then you can return the gauge to normal mode by using the Send SMB Command section. SMB Command 08, <Send>.

    I can check the setup for you.

    Tom
  • I sent the command and it cleared the error, I have the file and am trying to work out how to send it to you, I couldn't see how to add attachments.

    After setting back to normal mode I tried again to write values but it still did the same.  the SBS screen is now showing this:

    Outputs are still off and it still isn't charging.  Thanks for looking at the file, I hope you can read it from there, if not let me know how best to get it to you.

    Martin

  • The PRES flag is on, so the FETs should turn on after you send the IT Enable (21) command.
  • Thank you very much for your quick and accurate support, I now have current going in and out.
  • I have now set the pack up as a 2 cell pack, I am having real problems getting data which is written to the data flash to stay.  I have run it with 3 cells so that the voltage is over 10v and tried to set the Flash Update OK Voltage down to 6300mV and the shutdown voltage down to 4400mV but after writing they revert back to their original settings.  Is there anything else I need to set first?  I managed to set the Configuration to 0129 from 0229 to indicate that there are only 2 cells and that has written correctly, I have since tried to change it back but again I can't get it to store the updates.

    There are no flags showing in the PF status, the only flags set are RTA and INIT in Battery Status, PRES and QEN in Operation Stuatus, FCHG in Charging Status, ChgM, AM, CF and ICC in Battery Mode and CHG and DSH in FET Status.

    Martin

  • Do you have any faults present? PF Faults will restrict you from writing to flash. Can you provide a screen shot of the SBS screen in bqEVSW?
  • I have found the problem. When entering values in to a cell I had been clicking on the cell, entering the value and then clicking out of the cell. This means that the value on the screen is updated, so the new value is shown, but it is not recognised by the software. If I type the value in the cell and then press Enter then it works 100%. So it is just a minor bug in the Eval software. Now I know of course it is no issue, but this has given me quite a few hours of head scratching.
  • Martin

    It is good to hear that you found the problem. You will find that you need to press the <enter> key to transfer the new data to data flash with all of our GUI tools. Another option is to enter the data on a given page and press the Write to DF button to transfer the data, but you must press the button before moving to a different screen.

    Tom