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.

BQ78350-R1: When I use ManufacturerBlockAccess to read 0X0055 ( ChargingStatus ), the data return is wrong.

Part Number: BQ78350-R1
Other Parts Discussed in Thread: BQSTUDIO

Hi,

   The real data of ChargingStatus( 0x0055 )  is  0x0402,  so the data return should be 55 00 02 04, but i have got the wrong data " 55 00 04 02".

   Please help to check which is correct. 

   Thanks!

 

  • Hi Zehua,
    The data is reported in "little-endian" format so you need to swap the bytes after you read them back. The lowest byte is reported first and then the highest byte. If you read 04 02 then you need to swap it to 02 04 before decoding.
  • Hi dMax,
    This is just the question. The lowest byte should be 02, the highest byte should be 04, but the result is wrong.
    I have tested that the others register is right execpt the 0X0055 register.
  • Hi Zehua,
    I agree, the bytes are reversed from the description in the documentation. In bqStudio the 2 values are represented as byte registers TempRange and Charging Status. It would appear they were combined in the wrong order in the technical reference manual as a word register. You see how to read the proper value. I have flagged this issue for clarification in a future revision of the technical reference manual.