Cannot enter VLPS mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Cannot enter VLPS mode

跳至解决方案
531 次查看
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 项奖励
回复
1 解答
485 次查看
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 项奖励
回复
1 回复
486 次查看
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 项奖励
回复