I am using ATA 8520-EK1-E sigfox (ATMEL) board and I have a doubt in that the wake switch is interfaced to PD6 of the microcontroller (ATMEGA 328P) which is available on that board.Generally if the microcontroller went to sleep, it can be wakeup through an interrupt. In this case the PD6 is not an interrupt pin, how will it wake from sleep mode. Or is there any other technique to handle the wakeup option. Please guide me in this regard.
Answer by grueter · Jan 13 at 11:11 PM
The board controller (ATMega328P) is interfaced to switch 1 at pin 10 (PD6) which has the function PCINT21. This is a pin change interrupt function and can wake the device from all sleep modes. I have the device in from of me now and can verify operation of SW1 in waking the microcontroller and transmitting a message. But be aware that in the evaluation kit SW there is a 20 second time out after a button press until the button interrupt is re-enabled. During that time out there will be no response to a button press.