the following code fails to enter stop mode.
SMC_PreEnterStopModes();
SMC_SetPowerModeStop(SMC, kSMC_PartialStop);
SMC_PostExitStopModes();
SMC_PMCTRL.STOPA is set.
What could cause this?
I have at initialization set
SMC_SetPowerModeProtection(SMC, kSMC_AllowPowerModeAll);
Hi
Could you let us know which product you are using? Thanks.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
KL25Z128VLK
Hi
I would recommend customer to refer [power_manager] demo located at ..\SDK_2.1_FRDM-KL26Z\boards\frdmkl25z\demo_apps\power_manager folder.
The KSDK V2.1 .0 for FRDM-KL25Z board software, could be downloaded from here.
Wish it helps.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------