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.

BQ25720: wrong value in register ADCVSYSVBAT in case of no battery

Part Number: BQ25720

Tool/software:

Hello, 

BQ25720 is configured to manage a 3S battery. When no battery inserted, using a multimeter I checked that the VSYS voltage is 9.2V . 

I try to read VSYS value (9.2V) with the internal ADC, but the reported value is not correct:  

 ADCVSYSVBAT Register (SMBus address = 26h) report 0x6300 => VBAT is zero (OK) and VSYS= 0x63*64mV= 6 336mV (!=9.2V)

Below is the sequence i execute before readin the 0x26 register.

(Reported voltage is correct when a battery is inserted)

Thanks for your help.

Philippe

#Diasble EN_LWPWR in  ChargeOption0 Register (SMBus address = 12h) [reset = E70Eh]

echo "0x670e" > /sys/bus/i2c/devices/0-0009/ChargeOption0

#Config PSYS_CONFIG to "00" in  ChargeOption1 Register (SMBus address = 30h) [reset = 3300h]

echo "0x0300" > /sys/bus/i2c/devices/0-0009/ChargeOption1

#Setup ADC_FULLSCALE=2.04V and enable All ADC -  ADCOption Register (SMBus address = 35h)

echo "0x00FF" > /sys/bus/i2c/devices/0-0009/ADCOption

#Setup ADC_CONV to continuous update (1sec) -  ADCOption Register (SMBus address = 35h)

echo "0x80FF" > /sys/bus/i2c/devices/0-0009/ADCOption