Content originally posted in LPCWare by Frankb on Thu Dec 06 05:56:35 MST 2012
Great, thanks! I have used part of the code from the example to use in my own code, but now I have the problem that the code "hangs" when it wakes up. When I am in debug mode I see that when the Wake up interrupt is triggered, the code returns close to the __WFI(); command. When I press "step over" it goes to the first line after __WFI(); Now when I press play the code runs as it should. But if I´m not in debug mode the microprocessor doesnt do anything anymore after waking up. Any ideas why this could be?