How to get battery power ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get battery power ?

699 Views
yaoxingshan
Contributor II

The development board I am using is FRDM-KW41Z.

Is there any API related to reading the power supply voltage in the SDK package?

Thank!

Labels (2)
Tags (2)
0 Kudos
2 Replies

499 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

Are you looking to use a specific protocol ? Are you looking to use Thread? 

You can check for example in the reed example the API called BOARD_GetBatteryLevel ? Does that work for you ? 

Regards, 

Estephania 

0 Kudos

499 Views
yaoxingshan
Contributor II

Hello there,

I am using a Thread Stack.

Does the API need to set the power mode to a specific mode?

I saw in the manual that the DCDC module needs to configure the registers to connect the DCDC module to the ADC channel, so do I need to write the registers separately?

Thank!

0 Kudos