On Fri, Mar 28, 2014 at 07:17:49PM -0400, Michael Casadevall wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 03/28/2014 05:29 PM, Christoffer Dall wrote:
On Fri, Mar 28, 2014 at 05:08:03PM -0400, Michael Casadevall wrote:
if you run the interrupt handler you are not stuck in wfi, but re-execute it, and it's your software wait condition which is the problem - likely related to the missing rtc?
The pc returns to the wfi instruction after executing the interrupt handler; this is in a bit of assembly, and not in C code.
It shouldn't. It should return to the instruction after the wfi instruction.
-Christoffer