I can see power management example works and I can wakeup from PowerDown mode as expected.
But when I migrate to RTOS environment and try to put MCU to PowerDown mode on Secure side :
/* POWER DOWN */
(kPDRUNCFG_PD_LDOMEM | kPDRUNCFG_PD_FRO32K),
WAKEUP_GPIO_GLOBALINT0 | WAKEUP_GPIO_GLOBALINT1 |
| WAKEUP_FLEXCOMM3 | WAKEUP_OS_EVENT_TIMER,
I can't wakeup by using any wakeup source.
I try to use library libpower_hardrabi_s and libpower_hardabi .
GINTx interrupts processed on Secure side and others on nonsecure.
I wondering what kind of extra libraries and configurations are need for enable Power-Down mode in case
of real environment where TZ and secure/nonsecure partitioning in use ?