Hi ,
i've been using a li-po rechargeable battery with 3.7V but i do not understand how to set define in the SW.
#define dg_configBATTERY_TYPE (BATTERY_TYPE_CUSTOM)
#定义dg_configBATTERY_CHARGE_VOLTAGE 0xA // 4.2V
#define dg_configBATTERY_TYPE_CUSTOM_ADC_VOLTAGE (3439)
#define dg_configPRECHARGING_THRESHOLD (2462) // 3.006V
#define dg_configCHARGING_THRESHOLD (2498) // 3.05V
#定义dg_configBATTERY_CHARGE_CURRENT 4 // 60mA
#define dg_configBATTERY_PRECHARGE_CURRENT 20 // 2.1mA
#定义dg_configBATTERY_CHARGE_NTC 1 // disabled
#define dg_configPRECHARGING_TIMEOUT (30 * 60 * 100) // N x 10msec
any advise how to set all the defines above?
thanks
Device:
嗨garzola,
I would highly suggest you to have a look at theAN-B-035 Application Note: DA1468x Battery Chargingfrom our support page. In this document you could find all the configurations should be done. Also, could you please let me know if you have a custom board or any of our DKs? In case you have the Pro-DK, you can also check Figure 29: Connection of the Li-Po battery of theUM-B-060 User Manual: DA1468x/DA1510x Development Kit - Proin order to make sure that you have the correct configuration. In the definitions that you have posted in your thread, you should modify them according to your battery characteristics.
Thanks, PM_Dialog
Hi,
thanks for the reply. I have a custom board with Li-po battery @ 3.7 .
I read the doc but i did not find anything related to 3.7 V battery ...only 4.2. I got i have to use #define dg_configBATTERY_TYPE (BATTERY_TYPE_CUSTOM) but i do not understand other stuff...
thanks again
Marco
嗨garzola,
I am not completely sure if we have ever used 3.7V battery, I have to ask the Team and get back to you. Did you change the definitions according to the battery specifications?
Thanks, PM_Dialog