S32K144 Can·t go to sleep

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

S32K144 Can·t go to sleep

Jump to solution
1,108 Views
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

 

Tags (2)
0 Kudos
Reply
1 Solution
1,007 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@ChenPeng3

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

View solution in original post

6 Replies
1,044 Views
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 Kudos
Reply
1,040 Views
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 Kudos
Reply
1,014 Views
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 Kudos
Reply
1,008 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@ChenPeng3

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

1,004 Views
ChenPeng3
Contributor II
 
0 Kudos
Reply
1,077 Views
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 Kudos
Reply