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.

BQ3055 data flash access

Other Parts Discussed in Thread: BQ3055, BQ3050, BQEVSW

Hi,

 I am having trouble accessing the data flash. Datasheet says it can be accessed by writing the row offset to 'manufacture access' and reading the entire row of 32 bytes from 'manufacture input'. But it doesn't specify the variable offsets and row offsets. How to access the different variables in the data flash of BQ3055? Is there a document specifying the row and variable offsets?

  • Hello Harini,

    Welcome to the Forum!

    I have not used the bq3055 so this is just a suggestion from looking at the datasheet.

    In the Technical Manual for the bq3055 on page 86 there is what looks like a memory map of sorts for the device.  If you use the command for the manufacture access and in that you place the DFRowAddress(0x01yy) where the yy represents the row, you show be able to access the data.  So if you wanted to read the charging current then you would use the number 14 foy yy.  This is how I interpret the offset from manufactures access which is 0x00.

    Thanks,

  • Hi ,

    I tried using '14' in the place of 'yy' to read charging current.  It did not return the correct charging current value. I tried reading other data flash variables in the same way. But it did not work.

    Thanks,

  • Harini,

    The "yy" command that you are using is to be used to read blocks of data from the DF. It looks like you want to read Standard SBS commands and you can do that by using the Read SMB word command on the Pro screen. Enter the SBS address, such as 14, this will return the ChargingCurrent.

    Tom

  • Hi Tom,

    I need to read/write to data flash "ST COV Threshold" but I can't find the row number reference any where in the bq3050 or bq3055 TRM.  Could you please let me know where I can find the row number info. in order to read/write to the data flash values.  Or at least let me know the row number for  "ST COV Threshold". 

    Thanks in advance!

    Al

  • Al,

    The ST COV Threshold is located on Row Number 23, Row Offset 17, Data Length 2. You should have a Classic View button on the Data Flash Screen and it will open a different view that has this information.

    Tom

  • Tom,

    You must be referring to bq3055.  I found the flash data for ST COV Threshold at row 17 for the bq3050 using the "Write SMB Word 0117" and "Read SMB Block 2F" in the Pro section of bq EVSW 0.9.79.  I don't see the "Classic View" button in this software.  Can you show me where I can get this info.  so I can easily find the row info. for the variable I am interested? 

    Thanks,

    -Al

  • Al,

    The button should be name "All View" instead of "Classic VIew". If it is not present in your bqEVSW, then place the attached file in the C:\Program Files\Texas Instruments\bq Evaluation Software directory and it should show up.

    Tom

    bq3050_0_02.ini
  • Tom,

    Thanks for the .ini file!  I can see the "All View" button now after placing it in the bq Evaluation Software folder.  I can now see the row and offset information for the data flash variables. 

    But now I need help writing to the data flash.  I am getting the SMB Write Block Error msg. "Error code: SMB terminated: VB_T2H_UNKNOWN after Write SMB Block "2F" and a Block Data of 32 Bytes of copied Result data from the Read SMB Block.  Please let me how I can fix this. 

    Thanks,

    -Al   

  • Al,

    Did you have this problem before using the new .ini file? if so, can you send me the .ini file that you were using before and I will modify it.

    Tom

  • Tom,

    Yes, I had this problem before using the new .ini file.  Attached is the .ini file I was using. 

    Thanks,

    -Al

    3000.bq3050_0_02old.ini

  • Tom,

    I got it to work now.  The Write SMB Word "0x0117" command was missing before the Write SMB Block command. 

    The entire read and write sequence is as follows:

    Write SMB Word "0x00" and "0x0117"
    Read SMB Block "0x2F"

    Write SMB Word "0x00" and "0x0117"
    Write SMB Block "0x2F" and 32 byte block data. 

    Thanks,

    -Al 

  • Al,

     Thanks for the update. 

    Tom