Hi Dialog,
My VBUS pin connects with power supplier, 4.5V. However, the voltage in VBUS seems not go throught "CCCV charger" to another side, VBAT1. I measured nothing voltage in VBAT1 Pin.
the attached is the block diagram figure. How to turn on the "CCCV charger" by correct setting ? the below is my setting in custom_config_qspi.h. thanks for your help.
#define dg_configBATTERY_TYPE (BATTERY_TYPE_CUSTOM)
#define dg_configBATTERY_CHARGE_VOLTAGE (0x0B) // 4.25V
#define dg_configBATTERY_TYPE_CUSTOM_ADC_VOLTAGE (3481) // 4.25V
#define dg_configBATTERY_LOW_LEVEL (1) // enable auto low battery handling
#define dg_configPRECHARGING_THRESHOLD (2871) // 3.505V
#define dg_configCHARGING_THRESHOLD (2907) // 3.55V
#define dg_configBATTERY_CHARGE_CURRENT (1) // 10mA
#define dg_configBATTERY_PRECHARGE_CURRENT (20) // 2.1mA
#define dg_configBATTERY_CHARGE_NTC (1) // disabled
#define dg_configPRECHARGING_TIMEOUT (30 * 60 * 100) // N x 10msec
#define dg_configUSE_SOC 1 //SOC: state of charging
#define dg_configUSE_USB 1
#define dg_configUSE_USB_CHARGER 1
#define dg_configUSE_USB_ENUMERATION 0
#define dg_configALLOW_CHARGING_NOT_ENUM 1
#define dg_configUSE_NOT_ENUM_CHARGING_TIMEOUT (0)
Hi nigelyang,
System supply (Vsys) is generated by either LDO_USB or LDO_VBAT (VBUS or VBAT1). The moment the USB is connected (VBUS > 4.2V is present), the DA14681 is supplied by VBUS via the LDO_USB 3.3V. Not from VBAT1
When the system is connected to a USB charger, pin VBUS is the source of the power instead of pin VBAT1/VBAT2. The same path is used as with VBAT2, but the LDO_USB is responsible for providing the System supply line Vsys with power. This LDO is automatically switched on as soon as a VBUS > VBAT1 voltage is sensed.
VBAT1 should be connected to VBAT2 externally and supplies the LDOs,while VBAT2 supplies the SIMO DC-DC converter.
As long the battery is connected to VBAT1, and VBUS voltage is applied, charging will work. The charge current is always delivered by USB VBUS
Thanks, PM_Dialog