I'm running an XBee in sleep mode 2 (doze mode) and waking it up a couple of times a second for about 10ms using the wake pin. About half of the time it works perfectly, the rest of the time it just won't sleep. This shows the wake pin (blue line) and the status pin (yellow line):
The wake pin gets is pulled low every time (ignore the slightly longer wakeful period about 80% of the way through) and the xbee wakes up, but when the wake pin goes high it doesn't always go back to sleep again, seemingly at random.
Has anybody got any ideas?