S32K144 Power mode transitions

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K144 Power mode transitions

ソリューションへジャンプ
3,600件の閲覧回数
Niuyanlin
Contributor I

NXP Team

Hello, I enabled the LPTMR timer to periodically wake up the MCU and wanted to switch directly from VLPS mode to RUN mode. However, during actual testing, I found that the MCU switched from VLPS mode to VLPR mode I have a few questions:

1. Process 4 shown in the following figure: How to understand switching from vlps to run

2. After the MCU is awakened, there is no need to initialize the clock (FIRC)

Niuyanlin_0-1692235437335.pngNiuyanlin_0-1692235437335.png

Niuyanlin_1-1692235536677.pngNiuyanlin_1-1692235536677.png

 

 

0 件の賞賛
返信
1 解決策
3,525件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@Niuyanlin

The clock needs to be set after VLPR wakes up, which is somewhat different from VLPS wakeup.

Senlent_0-1692338992973.pngSenlent_0-1692338992973.png

Secondly, the clock output by clockout has an upper limit, which cannot exceed 20MHz.

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
3,571件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@Niuyanlin

        Make sure that the clock source of LPTMR in low-power mode should be SIRC, and then disconnect the debugger before entering low-power mode

1. Process 4 shown in the following figure: How to understand switching from vlps to run

       If it enters VLPS mode from run, then it is exit VLPS to RUN after waking up, not VPLS->VLPR->RUN

2. After the MCU is awakened, there is no need to initialize the clock (FIRC)

"STOP and VLPS mode exit sequence
Exit from a low-power stop mode is initiated either by a reset or an interrupt event. The following sequence then executes to restore the system to a run mode (RUN or VLPR):
1. The on-chip regulator in the PMC, clock generators and internal power switches are restored. This step is valid only for VLPS and not for STOP as in STOP mode the PMC is in Run regulation.
2. System and bus clocks are enabled to all masters and slaves.(so the answer is yes)
3. The CPU clock is enabled and the CPU begins servicing the reset or interrupt that initiated the exit from the low-power stop mode."

0 件の賞賛
返信
3,564件の閲覧回数
Niuyanlin
Contributor I
@ Senlent
I output BUS through the CLKOUT pin_ CLK's clock was found to be 4M, not the 48M clock I set for RUN mode.Is it necessary to set it up somewhere
0 件の賞賛
返信
3,560件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@Niuyanlin

I don't know how you set CLKOUT, what is the Divide Ratio?

0 件の賞賛
返信
3,544件の閲覧回数
Niuyanlin
Contributor I

@Senlent 

The following figure shows my configuration:

Niuyanlin_3-1692321636985.pngNiuyanlin_3-1692321636985.png

 

Niuyanlin_1-1692319553594.pngNiuyanlin_1-1692319553594.png

Niuyanlin_2-1692321550134.pngNiuyanlin_2-1692321550134.png

 

 

0 件の賞賛
返信
3,526件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@Niuyanlin

The clock needs to be set after VLPR wakes up, which is somewhat different from VLPS wakeup.

Senlent_0-1692338992973.pngSenlent_0-1692338992973.png

Secondly, the clock output by clockout has an upper limit, which cannot exceed 20MHz.

0 件の賞賛
返信