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.

BQ27Z561: bq27z561 Current calibration???

Part Number: BQ27Z561

Tool/software:

Hello current calibration has this item here:

// 5. Check the ADC conversion current output from MACData():
// • ADCcc = AAaa of MACData()
// Is ADCcc < 0x8000? If yes, use ADCcc; otherwise, ADCcc = –(0xFFFF – AAaa
// + 0x0001).


ADCcc is a 16 bit value, This check does not make sense if we're interpreting ADCcc as a 2's complement number...

Are we supposed to interpret it as a uint16_t type???????? T