This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NRF52832 sdk14.2 POF function error

Hi

    I am testing POF function on 52832 based on SDK14.2 and  SDK17.0. And test project  is SDK example ble_app_beacon.

Code as show:

#include "nrf_drv_power.h"
static void pof_deal(void)
{
SYS_LOG("---------------pof_deal-----------------\r\n");
}
static void pof_init(void)
{
static uint8_t flag = 0;
if(flag == 0)
{
flag = 1;
nrf_drv_power_pofwarn_config_t pof_config;
pof_config.handler = pof_deal;
pof_config.thr = NRF_POWER_POFTHR_V27;//27
uint32_t ret = nrf_drv_power_pof_init(&pof_config);
SYS_LOG("driver powe ret is %d\r\n",ret);
}
}

In SDK17.0  ,when I lower the chip working voltage to 2.6V,the POF interrupt  trigger  .

But in SDK 14.2 ,nothing happens. And I see the register NRF_POWER->PONCON value =0X00000001 after  nrf_drv_power_pof_init.

Because the SDK of our device firmware is 14.2, we can only use POF function to DEBUG on 14.2.

How should I use POF function in SDK14.2?

Parents Reply Children
Related