Hi Everyone,
I am trying to put MPU domain to retention mode. Using the following sequence.
- PM_PWSTCTRL_MPU register is updated with 0x1: RETENTION state.
- All interrupts in INTC are disabled and no interrupt is pending when we do that.
- No peripheral is active at this point.
- Set the CM_AUTOIDLE_PLL_MPU to 0x01
- Set the CM_CLKEN_PLL_MPU to 0x05 (DPLL1 in bypass low power mode)
- Set the CM_CLKSTCTRL_MPU to 0x02 (software controlled), When I set to 0x03 my debug is lost.
After that I execute WFI.
When I resume and check the PM_PREPWSTST_MPU it is still showing 0x0 means domain was off last time. It also state transition did not happen.
Please let me know what I am missing?. How can I debug this?.
Regards,
Haider