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.

Can't able to read Manufacturer info in bq40z50

Other Parts Discussed in Thread: BQ40Z50, BQSTUDIO

Hi,

I am trying to read the manufacturer info by using SBS command value of 0x23 via i2c communication in BQ40Z50. But for that command i am receiving only chunk character as "0xFF".  Anyone tell the reason,because the remaining parameters value i am able to receive correctly. I have tried to communicate with the same battery by using Battery Management Studio i can able to see the manufacture info properly.  Even i have checked in logic analyzer, in that also the signals are represent the value of "0xFF". Can any one help me.

Also for the command values of 0x21, 0x22, 0x23 i am receiving one space before the starting characteras "  Texas" instead of "Texas". I am not able to find the reason for this behaviour could anyone help me.

Thanks in advance.

  • To read Manufacturer Info using SBS commands, you first need to set up the read. To do this, write the Manufacturer Info address (0x0070) to MAC (0x00). Then, do a read block from address 0x23. This will return the Manufacturer Info data.
    For the other commands, are you using bqStudio to read these values? I am not seeing the spaces when I read from these addresses with bqStudio.
  • Hi Chase,

    Thanks for your reply

    Chase7071949597 said:
    For the other commands, are you using bqStudio to read these values? I am not seeing the spaces when I read from these addresses with bqStudio.

    Actually while trying with bqstudio its working fine, when i am trying to read through i2c communication i am receivink a junk character for string type parameters  (0x20, 0x21 0x022 commands) as a first character. This first character come as a fixed value in every read of those commands for example for the command 0x20

    "@Texas" means for every read '@' comes as a prefix as like"@Texas"mentioned. Can you help me to resolve it.

    And for the Manufacturer  Data (0x23 command) i have implemented i2c logic  as follows

    SlaveAddress   ManfacturerAccess    Datasent              ManufacturerData

    0x0b                  0x00                          0x00 0x70             0x23

    for all the cases i am receiving the ack from battery, but i can't able to receive the expected data from battery. can you tell me whether i am doing correctly. In reference manual also the same kind of  explanation there, i am not able to find where i am doing mistake.

    Thanks in advance