unable to enter STOP mode using SMC_SetPowerModeStop

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

unable to enter STOP mode using SMC_SetPowerModeStop

763 Views
tuomasaaltio
Contributor II

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);

Labels (1)
0 Kudos
Reply
3 Replies

588 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

588 Views
tuomasaaltio
Contributor II

KL25Z128VLK

0 Kudos
Reply

588 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply