External hardwire to get battery level & voltage?

⚠️
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 https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
7 posts / 0 new
Last post
frankie
Offline
Last seen: 6 months 1 week ago
Joined: 2019-11-02 03:08
External hardwire to get battery level & voltage?

Dear Dialog Team,

We come across a tech issue in design regarding to battery level data for DA14531. We notice there are a bunch of batt functions defined in the sdk for DA14531 & DA1458X platform. We understand it shall have been implemented to attain battery voltage and level in software. We would like know how hardware be considered which is not detailed in spec. Is the battery voltage measured internally inside the chip and returned value when calling up battery_get_voltage , battery_get_lvl without external hardwiring battery to ADC pins ? Or have to hardwire battery positive to ADC pin to get measured externally? and how to map the batt function to the ADC pins which connected to batt should external hardwiring is a must?

 

Kind regards

Frank Xu

Device: 
PW_Dialog
Offline
Last seen: 2 months 3 weeks ago
Staff
Joined: 2019-04-03 02:54
Hi Frankie,

Hi Frankie,

With our Dev-kit Pro hardware the power consumption can be measured by the Toolbox.

Br,

PW

frankie
Offline
Last seen: 6 months 1 week ago
Joined: 2019-11-02 03:08
Dear PW_Dialog,

Dear PW_Dialog,

Understand measurement can be done on dev-kit. My question is whether the external hardwire from battery positive to ADC pin is required or this link has been done internally inside the chip such that the battery voltage & level is able to be sensed. As shown in the attached image.

 

Merry Christmas

Frank Xu

Attachment: 
PW_Dialog
Offline
Last seen: 2 months 3 weeks ago
Staff
Joined: 2019-04-03 02:54
Hi Frank,

Hi Frank,

To measure V_BAT voltage, ADC connection is not necessary, that can be read by chip internally.

Br,

PW_Dialog

frankie
Offline
Last seen: 6 months 1 week ago
Joined: 2019-11-02 03:08
Hi, PW_Dialog,

Hi, PW_Dialog,

Thanks for the reply. That's what I thought. Just not quite sure how the chip get the battery voltage internally as there are quate a few levels of voltage segragation inside, DC/DC, LDO. Is there any check point at the battery voltage input pin to sense the battery voltage in the chip?

 

Kind regards

Frank Xu

PW_Dialog
Offline
Last seen: 2 months 3 weeks ago
Staff
Joined: 2019-04-03 02:54
Hi Frank,

Hi Frank,

Yes, you're right. The voltage at input pin can be read from register.

Br,

Peter

frankie
Offline
Last seen: 6 months 1 week ago
Joined: 2019-11-02 03:08
Thanks, Peter.

Thanks, Peter.

 

Regards

Frank Xu