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.

BQ76940: Current sample question

Part Number: BQ76940

Tool/software:

I am now using a resistor load discharge with an actual current of 10A, measuring a voltage of 6mV on the sample resistor with a value of 0.6mR on the sample resistor, but the value read in the CC register is 0x94FE.I don't know whether there is a problem with my use method or the calculation method. The calculation result is very different from the actual current

  • Hello,

    The CC Register needs to be converted to a uV value, then this would be converted to current based on your current sense resistor.

    The register value will be represented as a 16-bit 2's complement value. The steps to convert is described in Section 8.3.1.1.3 16-Bit CC of the datasheet:

    Best Regards,

    Luis Hernandez Salomon

  • Hello,

    thanks for your reply.I use the example on the bq76940's page,i use the structure CCWrod.  When I use ccword, I find that the high and low bits are opposite and need to concatenate themselves. Like this