• Problem: WFI instruction slowing down SYStick interrupt
    I've configured my Infineon relax kit for max frequency(120 MHz). I've set my SYSTick for a periodic interrupt of 10 ms. For power saving, I use a WFI assembler instruction whenever my processor is idle...
  • Cortex-M4: guaranteed wakeup from WFI?
    Note: This was originally posted on 8th August 2013 at http://forums.arm.com Hi all! I'm wondering how to ensure that the Cortex-M4 is always woken up on an interrupt from the WFI instruction when executing...
  • 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+...
  • What is the execution priority inside WFI for CortexM4?
    Hi, We always have the following code to make sure that only the interrupts with higher priority than 0x20 will wake up the processor. PRIMASK = 1 BASEPRI = 0x20 do sth... WFI() do sth...
  • A panic function to halt the processor in low-power sleep using WFI?
    As part of fault detection / debugging, it's useful to have a panic() function that halts the processor. It is easy enough to disable interrupts and put the processor in an infinite busy loop (while...