Hi @SantiRP,
According to the reference manual, in chapter 13.3.6.6 (Wake-up from deep-power down mode), the microcontroller will do a reset process on wakeup:
"The part goes through the entire reset process when a deep-power down wake-up event occurs:
- The PMU will turn ON the on-chip voltage regulator. When the core voltage reaches the Power-ON-Reset (POR) trip point, a system reset will be triggered and the chip boots.
- All registers will be in their reset state."
If the reset process is an inconvenience to your application, I would suggest looking into the chapter 13.3 (Functional description of power management) to select between the other low power modes.
There is also an example for the selection of this low power modes in the SDK of this part. It is called "power_manager_lpc" under "demo_apps" and it shows the usage of normal power mode control APIs for entering the three kinds of low power mode: Sleep mode, Deep Sleep mode and Sleep Power Down mode.
I hope you find this helpful!
Best regards, Julian