High current consumption in STOP mode
EDIT: The program is stopping at _WFI() but the current consumption is too high (3.9mA).
I'm using STM32L476 processor and while trying to enter stop mode (tried both with and without tickless mode), the program never waits at _WFI(). Is there a way to know what interrupt caused the wakeup? Or which interrupts are enabled while entering into the stop mode because I have tried to disable all the interrupts?
Software Used: STMCubeIDE
