Hello,
The user manual of the LPC1114 is clear about how to wake up the chip from deep sleep: I use IO pin 0.6 which induces an interrupt. The trouble is that this interrupt keeps on coming and the controller never returns to the main loop unless I do this:
LPC_SYSCON->STARTRSRP0CLR |= (1<<6) ;
to reset to start logic of deep sleep. This is not mentioned in the user manual - as far as I can tell, which makes me wonder if I am following the right procedure.
Thanks in advance
I guess it's a level-trigged interrupt, since edge-trigged interrupts would normally expect a working clock for sampling of the signal.
But what stimuli do you give on the pin - constant signal or just a short pulse or what? And what does your processor do in the interrupt handler for that interrupt?
Hello Per,
It's a short pulse (associated with a button - later, there will be a signal coming in from an external RTC as well). The ISR is currently empty - apart from identifying the interrupt source and clearing the startup logic.
Ah, I found a NXP sample that does that same so I am probably doing the right thing!