Cannot enter VLPS mode

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

Cannot enter VLPS mode

Jump to solution
537 Views
sungjun
Contributor II

There is difficulty entering VLPS mode in SPLL mode.
Our project is using the SPLL -> FIRC -> VLPS mode entry procedure.

The SCG status is attached below.

<SPLL>

sungjun_0-1695250324507.png

<SPLL -> FIRC>

sungjun_1-1695250348998.png

After adding OSIF_TimeDelay in this modification, it is impossible to enter VLPS mode. (Trace32 debugger attached)

However, it was confirmed that VLPS mode was entered normally when the debugger was disabled.

For some reason, I cannot enter VLPS mode with the debugger connected?

I am inquiring because I cannot find information in the reference manual.

thank you

0 Kudos
Reply
1 Solution
491 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Please read the 40.4.5 Debug in low power modes of S32K1xx MCU Family - Reference Manual.
When both requests are asserted, the mode controller handles attempts to enter STOP and VLPS by entering an emulated stop state.

handles attempts to enter STOP and VLPS by entering an emulated stop state.png

7.3. Tips for making low-power measurements on the bench of AN5425 Power Management for S32K1xx also suggest that you should: Disconnect the debugger and power cycle the MCU

Disconnect the debugger and power cycle the MCU AN5425.png

 

Please refer to the power_mode_switch_s32k144 example in S32K1 SDK.(for example: S32K1 SDK RTM4.0.3 in S32DS v3.4)

POWER_SYS_SetMode.png

As you can see, it will disable SPLL\FIRC\SOSC at line 498 returnCode = POWER_DRV_DisableVlpClockSrc(); by SCG_SetEnableSPLL(false); and SCG_SetEnableFIRC(false);POWER_DRV_DisableVlpClockSrc.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
1 Reply
492 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Please read the 40.4.5 Debug in low power modes of S32K1xx MCU Family - Reference Manual.
When both requests are asserted, the mode controller handles attempts to enter STOP and VLPS by entering an emulated stop state.

handles attempts to enter STOP and VLPS by entering an emulated stop state.png

7.3. Tips for making low-power measurements on the bench of AN5425 Power Management for S32K1xx also suggest that you should: Disconnect the debugger and power cycle the MCU

Disconnect the debugger and power cycle the MCU AN5425.png

 

Please refer to the power_mode_switch_s32k144 example in S32K1 SDK.(for example: S32K1 SDK RTM4.0.3 in S32DS v3.4)

POWER_SYS_SetMode.png

As you can see, it will disable SPLL\FIRC\SOSC at line 498 returnCode = POWER_DRV_DisableVlpClockSrc(); by SCG_SetEnableSPLL(false); and SCG_SetEnableFIRC(false);POWER_DRV_DisableVlpClockSrc.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply