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

S140 pof not getting NRF_EVT_POWER_FAILURE_WARNING event

Hi,

Tried enabling POF on while using S140 with the following code:

static void power_pof_init(void)
{
    ret_code_t err_code;

     err_code = sd_power_pof_enable(true);
     APP_ERROR_CHECK(err_code);

     err_code = sd_power_pof_threshold_set(NRF_POWER_THRESHOLD_V28);
     APP_ERROR_CHECK(err_code);

     err_code = sd_power_pof_thresholdvddh_set(NRF_POWER_THRESHOLDVDDH_V27);
     APP_ERROR_CHECK(err_code);
}

The board VDD and VDDH are configured to be 3.3V and in the lab, were dropping the voltage to 2.2V but we are not getting any events in nrf_sdh_soc.c (enabled DEBUG level logs and using a breakpoint).

Is there anything else I need to enable to get the event?

Thanks

Related