This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Processor sometimes ignoring WFI instruction

Hello everyone,

I have a problem with WFI instruction and deep sleep mode.
Normally everything work correct, but sometimes processor ignore instruction WFI and continue work.

I use ARM Cortex-M0+ (exactly STM32L051), and below is my sleep procedure:

I haven't found information on the conditions that must be met before use WFI in deep sleep mode.

0