Hello, I'm facing issues to wake up Intel Quark D2000 microcontroller from sleep mode(Sleep Mode with RTC). I have used the function soc_sleep() to put the controller to sleep and trying to wake it up using hardware interrupt i.e. switch present on the board. But the controller not waking up. Kindly let me know if I need to work on some additional settings for the interrupt to wake it up.
Before entering into a low power state, you have to configure the wake up source you are planning to use. This might be the reason why the microcontroller is not returning to the active state. I recommend you to check the datasheet on page 78 (section 9.2), that section explains the power down sequences: Intel® Quark™ Microcontroller D2000: Datasheet
In page 79 there is a summary of the settings you should do in order to configure a GPIO level triggered interrupt as wake up source.