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
Solved! Go to Solution.
This is expected, you should disconnect the debugger before MCU into any low power mode.
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
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.
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。
This is expected, you should disconnect the debugger before MCU into any low power mode.
I have tested your project and it works fine on myside.
(I have connect PTB13 to ground.)