2025-03-20 10:13 AM
I'm trying to run a sample PWR_DEEPSTOP_RTC from PWR_DEEPSTOP_RTC, but I'm facing some problems.
The code works correctly, the UC enters deepstop mode and returns to run mode, but when I try to measure the current in PJ2 as described in item 7.1.4 of UM3345, I get 90uA when in deepstop mode and not around 1uA as the datasheet says. (RTC wakeUP, LSi 32k).
I follow this example recipe:
/* The following Wakeup sequence is highly recommended before each entry into Deepstop mode
especially when using more than one wakeup source, this is to not miss any wakeup event.
- Disable all used wakeup sources,
- Clear all related wakeup flags,
- Re-enable all used wakeup sources,
- Enter Deepstop mode.
*/
Is there anything I missed or didn't understand?