S76G/S78G Commands Set Reference
v1.6.5
July 2, 2018
20 of 73
Product Name
Version
Doc No
Date
Page
Purpose: To tell the battery voltage value (Vbat) & ADC value (Vadc) by given R1 & R2 values.
Although a voltage divider circuit is used for reducing external voltage (i.e. Vbat), the maximum
input voltage value (Vadc) of S7XS ADC can’t exceed 3.3V
Example:
sip get_batt_volt
>> adc volt(2807 mv)
>> battery volt(4197 mv)
b.
R1 & R2 Not Set.
Response: Return ADC voltage only if R1 & R2 didn’t set by calling “sip set_batt_resistor”.
Purpose: The external voltage can be attached with S7XS GPIO PB_1 pin directly when the maximum
external voltage is not more than 3.3 volt.
Example:
sip get_batt_volt
>> battery volt(2806 mv)