We are using nRF52833 with Softdevice S113 for BLE.
in the OS_Idle function, nrf_pwr_mgmt_run is called.
But never comes out of sleep.
Is there a need to call nrf_drv_power_sleepevt_init?
Are examples available?
thanks
Geert Venken
We are using nRF52833 with Softdevice S113 for BLE.
in the OS_Idle function, nrf_pwr_mgmt_run is called.
But never comes out of sleep.
Is there a need to call nrf_drv_power_sleepevt_init?
Are examples available?
thanks
Geert Venken
SD function?
Do you mean, if I replace WFE by WFI or visa versa in nrf_pwr_mgmt_run?
This does not make a difference, same behavior.
Sorry for the misunderstanding.
Now I got your point. In nrf_pwr_mgmt_run I removed all related to softdevice and always call __WFI.
No success. Same behavior.
I also enabled PWR_MGMT_DEBUG_PIN_SET and routed this to a LED. Goes on but never off.
Watchdog resets the system.
It's my bad, I should have referenced the full function name without any abbreviation. Anyway, thanks for confirming that you see the same behavior with __WFI(). This suggests that the issue isn’t with the sleep function (__WFI() or nrf_pwr_mgmt_run()) but rather that the RTC isn’t triggering the wake-up interrupt as expected.