• WFE/WFI and pending interrupts?
    I'd like to know the behavior of WFE and WFI regarding pending interrupts that occur prior to these instructions, on 2 different Cortex profiles.  In both cases, t he goal is to ensure any incoming interrupt...
  • A53 core does not enter sleep state with WFE
    I am trying to use WFE on Linux user space. I have the following code, while(1) { if (condition==TRUE) break; __asm__ __volatile__ ("wfe" : : : "memory"); ... } It seems the core never...
  • wfi in debug mode
    Hi, Please help me understand expected behavior of CM4 when CM4 is in debug mode and WFI is executed through single step. Does CM4 enter sleep/sleepdeep in such case ? Thanks, Sandeep
  • 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+...
  • Race condition between wake up event and WFI on Cortex-M3/M4
    When I read below thread in arm forum, I still not clear which one is the safety way. Cortex-M4: guaranteed wakeup from WFI? There're two solutions mentioned above, using WFE instead of WFI, and swap...