I try to add PowerDown mode to tickless implementation of RTOS in SDK and all calculation located in this macro:
Enter_PowerDown() is called there. Looks like it enter to PowerDown mode but it is not possible to wakeup it back by any source.
But freertos handler disable all interrupts and enable those back after.
(kPDRUNCFG_PD_LDOMEM | kPDRUNCFG_PD_FRO32K),
WAKEUP_GPIO_GLOBALINT0 | WAKEUP_GPIO_GLOBALINT1 |
| WAKEUP_FLEXCOMM3 | WAKEUP_OS_EVENT_TIMER,
Can wakeup works with disabled interrupts ?
What are other preconditions ?