i'm trying to use the function of power warning with s132 and nrf52 with sdk 11.
i use the function
err_code = sd_power_pof_threshold_set( NRF_POWER_THRESHOLD_V27); APP_ERROR_CHECK(err_code); err_code = sd_power_pof_enable(POWER_POFCON_POF_Enabled); APP_ERROR_CHECK(err_code);
but seems that it not set correctly the threshold. I expect that warning occurs when voltage goes under 2,7. But what i can see is that the warning occurs with 2.0 V.
if i try to set the value register "manually" NRF_POWER->POFCON = 0x1D; the softdevice goes in assert.
Can help me?