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

nrf52 high current after sd_power_system_off

Hi I am trying to put the nrf52 device to system off state, in order to get minimal current consumption. When I don't use the soft device, and enter system off state by "NRF_POWER->SYSTEMOFF = 1", I see that CPU current goes down to a few uA. But when I enable the softdevice (using "SOFTDEVICE_HANDLER_INIT"), and than enter system off state by ""softdevice_handler_sd_disable" & "sd_power_system_off", I see CPU current of 5.83 mA!!!. If I add "NRF_POWER->SYSTEMOFF = 1" after "sd_power_system_off" , the CPU current goes down to 2.46 mA. I am currently using soft device version s132_nrf52_1.0.0-3.alpha. Is this a known issue with this version? If not, can some please explain? What is the correct way to enter system off state after soft device is enabled?

Thanks Yaron

Parents
  • Hi Visti I am calling SOFTDEVICE_HANDLER_INIT with "NRF_CLOCK_LFCLKSRC_RC_250_PPM_1000MS_CALIBRATION" option. (Like you, I also don't have a 32Khz xtal on my board). As I see it, if you don't call SOFTDEVICE_HANDLER_INIT, the soft device doesn't work, so no wonder that you get low current. I don't know what happens if you use a clock source which doesn't exist (do you get an error code from SOFTDEVICE_HANDLER_INIT?) Yaron

Reply
  • Hi Visti I am calling SOFTDEVICE_HANDLER_INIT with "NRF_CLOCK_LFCLKSRC_RC_250_PPM_1000MS_CALIBRATION" option. (Like you, I also don't have a 32Khz xtal on my board). As I see it, if you don't call SOFTDEVICE_HANDLER_INIT, the soft device doesn't work, so no wonder that you get low current. I don't know what happens if you use a clock source which doesn't exist (do you get an error code from SOFTDEVICE_HANDLER_INIT?) Yaron

Children
No Data
Related