Hello team, I'm having problem with ADC reading from BQ25713B through I2C. I'm setting the registers in the following order:
1: CHARGE_OPTION_0.EN_LWPWR=0; // Disable Low power mode
2: CHARGE_OPTION_1.EN_IBAT=1; // Enable the IBAT output buffer
3: ADC_OPTION.ADC_CONV=1; // Continuous update (every 1 sec)
4: ADC_OPTION.ADC_START=1; // Start conversion
5: ADC_OPTION.EN_ADC_ICHG=1; // Enable ICHG
6: ADC_OPTION.EN_ADC_IDCHG=1; // Enable IDCHG
7: ADC_OPTION.EN_ADC_IIN=1; // Enable IIN
8: ADC_OPTION.EN_ADC_VBAT=1; // Enable VBAT
9: ADC_OPTION.EN_ADC_VBUS=1; // Enable VBUS
10: ADC_OPTION.EN_ADC_VSYS=1; // Enable VSYS
11: After writing ADC_OPTION register read it again.
Out of all ADC readings, I get response only from V_SYS (ADC_VSYS_VBAT register).
V_BUS value is changing only once as I turn-off the V_BUS voltage and turn it on again (battery connected).
Other ADC readings (I_CHG,I_DCHG,V_BAT) are 0. After enabling them from ADC_OPTION I read this register again and observe that EN_ADC_VSYS,EN_ADC_ICHG, EN_ADC_IDCHG,EN_ADC_IIN,EN_ADC_VBUS,ADC_START,ADC_CONV are not setted to 1, their values are 0.
The most interesting part is that EN_ADC_VBAT is 1 after reading it again, however I get 0 in the ADC_IBAT register.
I have tried both with V_BUS (CHRG_OK = HIGH) and while powering from battery (CHRG_OK = LOW).
The following functions of BQ25713 are not used: PROCHOT(unconnected), OTG/VAP(unconnected), CMPOUT(unconnected), CMPIN(grounded), PSYS(unconnected).
Here is the schematics (Identical with the Evaluation module's schematics):
What am I missing? Maybe I should set some other register too?
Please let me know if you need any additional information.
Thanks in advance, Dmitriy.