S32K144 Can·t go to sleep

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

S32K144 Can·t go to sleep

跳至解决方案
609 次查看
ChenPeng3
Contributor II

Hi:

      When I was using the power management module to put the MCU into sleep, I found that when I turned on the ADC module, or used UART_SendDataBlockinig, the mcu can`t go to sleep.

The attachment is my project, I hope to get your help。

 IDE:S32DS

SDK:RTM4.01

 

标记 (2)
0 项奖励
回复
1 解答
508 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@ChenPeng3

This is expected, you should disconnect the debugger before MCU into any low power mode.

在原帖中查看解决方案

6 回复数
545 次查看
ChenPeng3
Contributor II

Hi,@Senlent:

    when call POWER_SYS_SetMode(STOP1, POWER_MANAGER_POLICY_AGREEMENT);

mcu should stop in standby, but lpuart send "Core frequency" message.you can connect PB13 to VCC or GND, if mcu go to sleep, lpuart should`t have message.

 

 

thank you

0 项奖励
回复
541 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@Chenpeng3

You are right, the picture is the result of my attempt to use PTB13 wake-up test.
In fact, I tested your demo and after entering STOP1 mode(connect PTB13 to ground, make sure the wake up pin is in a stable state), the LPUART module does not output anything.

0 项奖励
回复
515 次查看
ChenPeng3
Contributor II

Hi@Senlent:

           Thank you for your reply, I tried again without debugging and found that the result was correct.but I couldn't get into STOP1 mode when I connected the emulator.This problem is still solved, thank you。

 

0 项奖励
回复
509 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@ChenPeng3

This is expected, you should disconnect the debugger before MCU into any low power mode.

505 次查看
ChenPeng3
Contributor II
 
0 项奖励
回复
578 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@ChenPeng3

I have tested your project and it works fine on myside.

(I have connect PTB13 to ground.)

Senlent_0-1713419066870.png

Senlent_1-1713419137746.png

 

0 项奖励
回复