I have a test app (Project Lab WakeOnInterrupt sample). It sleeps on a falling interrupt, wakes on rising on the same pin. Sleep wake works very reliably with this sample (except the SPI not coming back, but that's a separate issue).
I extended the sample to connect to the network and then continually call postman echo. And I get the following behavior:
power up
network connects
postman returns data
falling interrupt
device goes to sleep
rising interrupt
device wakes
postman returns data
falling interrupt
device goes to sleep
device "half wakes" best I can describe - the USB connection on the PC sees it, but comes up as "Unknown USB Device - Device Descriptor Request failed"
At this point
no interrupts do anything - device won't wake or sleep
device is not enumerating as a serial device, so can't check for output
99% sure code is not running as the GPIO toggle for the display backlight is not changing state
Odd bug, but very, very repeatable.
I have a test app (Project Lab
WakeOnInterrupt
sample). It sleeps on a falling interrupt, wakes on rising on the same pin. Sleep wake works very reliably with this sample (except the SPI not coming back, but that's a separate issue).I extended the sample to connect to the network and then continually call postman echo. And I get the following behavior:
At this point