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-R1A: SBS Command

Part Number: BQ78350-R1A

Hi,

I have captured the SMBus data from BQ78350-R1A. I am not sure how to interpret the data.

I got the following data from different SBS command.

- 0x02 00 19 for relative SOC (0x0D)

- 0x00 00 51 for Current (0x0A)

- 0xAD 7B FC for Voltage (0x09)

how to convert the hex data to the SOC, current and voltage respectively?

Thanks!

  • Hello Kim,

    The first two bytes are the data you want to measure(in little endian), the third byte is the CRC checksum calculated.

    So to interpret your HEX data:

    SOC:

    • Data = 0002; CRC = 19
    • Data (decimal) = 2

    Current:

    • Data = 0000; CRC = 51
    • Data (decimal) = 0

    Voltage:

    • Data = 7BAD; CRC = FC
    • Data (decimal) = 31661

    Best Regards,

    Luis Hernandez Salomon

  • Hi,

    Any idea why the address is 0x0B?

    I thought the SMBus address is 0x17 (as in the bq studio).

    Can help to advise?

    Thanks!

  • Hello Kim,

    The device address is usually referred to being 8-bit long, but it is actually 7 bits. So the address as 7 bits, is 0x0B (1011), if you bit shift to the left to make it into 8-bit format, it would become 0x16(10110). This is the initial address for the device, after a repeated start the address becomes 0x17.

    I would recommend you read Section 1 of the SMBus Made Simple application report. It goes into more detail on the topic there.

    Best Regards,

    Luis Hernandez Salomon