Hello !
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 */
POWER_EnterPowerDown(
(kPDRUNCFG_PD_LDOMEM | kPDRUNCFG_PD_FRO32K),
0x7FFF,
WAKEUP_GPIO_GLOBALINT0 | WAKEUP_GPIO_GLOBALINT1 |
WAKEUP_RTC_LITE_ALARM_WAKEUP
| WAKEUP_FLEXCOMM3 | WAKEUP_OS_EVENT_TIMER,
1);
BOARD_BootClockFRO12M();
BOARD_BootClockPLL150M();
BOARD_InitDebugConsole();
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 ?
Regards,
Eugene