⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
garzola
Offline
Last seen:3 months 1 week ago
加入:2018-07-23 13:21
battery li-po 3.7V

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:
PM_Dialog
Offline
Last seen:16 hours 21 min ago
Staff
加入:2018-02-08 11:03
嗨garzola,

嗨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

garzola
Offline
Last seen:3 months 1 week ago
加入:2018-07-23 13:21
Hi,

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

PM_Dialog
Offline
Last seen:16 hours 21 min ago
Staff
加入:2018-02-08 11:03
嗨garzola,

嗨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