How to periodically wake up the nrf52 from PM_STATE_SOFT_OFF?

Dear all,

My application is build on nrf52, nrf connect SDK v2.0.0.

For energy saving purpose, I put the nrf52 into sleep mode, using these code

const struct pm_state_info si = {PM_STATE_SOFT_OFF, 0, 0};
pm_state_force(0, &si);

And wake up via GPIOs.

But the wake up source via GPIOs may not available for a long time.

I want to have it wake up periodically, and the period should be configurable.

Please help.

Thank in advance.

Related