This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Going to Low power mode and coming back in nrf52832

Hi Nordic Support Team,

I try to go to low power mode and coming back but can't at all.

I have used the example pwr_mgmt in sdk 12.3.0, but when try to use its function

"nrf_pwr_mgmt_shutdown(NRF_PWR_MGMT_SHUTDOWN_GOTO_SYSOFF);"

in my code after compile I get following error in linking sequence:

.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nrf_pwr_mgmt_shutdown (referred from main.o).

I have also copied all definitions from the example sdk config file to my config file.

I have also tried to go to low power mode by following lines but it doesn't work after programming the chip:

"

 NRF_POWER->TASKS_LOWPWR = 1;
NRF_POWER->SYSTEMOFF = POWER_SYSTEMOFF_SYSTEMOFF_Enter;
NRF_POWER->TASKS_CONSTLAT = 1 ; 

"

I found that by using this function "sd_power_system_off()" it is possible but compiler says that can't find it.

Thanks for your help.

Related